- 382.6K All Categories
- 2.1K Data
- 212 Big Data Appliance
- 1.9K Data Science
- 448.4K Databases
- 221.1K General Database Discussions
- 25 Multilingual Engine
- 541 MySQL Community Space
- 469 NoSQL Database
- 7.8K Oracle Database Express Edition (XE)
- 2.9K ORDS, SODA & JSON in the Database
- 499 SQLcl
- 3.9K SQL Developer Data Modeler
- 186.3K SQL & PL/SQL
- 21.1K SQL Developer
- 293.8K Development
- 9 Developer Projects
- 130 Programming Languages
- 290.5K Development Tools
- 96 DevOps
- 3K QA/Testing
- 645.6K Java
- 24 Java Learning Subscription
- 36.9K Database Connectivity
- 151 Java Community Process
- 104 Java 25
- 22.1K Java APIs
- 137.9K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 17 Java Essentials
- 146 Java 8 Questions
- 85.9K Java Programming
- 79 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.2K Java SE
- 13.8K Java Security
- 200 Java User Groups
- 292 LiveLabs
- 36 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.8K Other Languages
- 2.3K Chinese
- 168 Deutsche Oracle Community
- 1.2K Español
- 1.9K Japanese
- 234 Portuguese
How To Add A JUG To The JUG Leaders Map
Java User Groups International Map
You can see this KML file loaded into Google Maps here.
This map has become the official JUG Profiles Page for the JUGs Community on java.net. There are many JUGs on the map already and we are adding more on almost a daily basis lately. Keep them coming!
Adding Your JUG To The Map
Here is the XML that defines the Silicon Valley Web Developer JUG entry on the map:
<Placemark> <name>Silicon Valley Web Developer JUG</name> <description> <![CDATA[ Up to a maximum of 250 characters of general group description text can precede the JUG Leader and JUG Site information.<br/> <b>Leaders:</b> <a href="http://weblogs.java.net/blog/van_riper/">Mike Van Riper</a> and <a href="mailto:[email protected]">Kevin Nilson</a> <br/> <b>Site:</b> https://sv-web-jug.dev.java.net/ ]]> </description> <Point> <coordinates>-122.050766,37.392958,0</coordinates> </Point> <styleUrl>#jugStyle</styleUrl> </Placemark>
The coordinates are expected in the following order: longitude, latitude, altitude. Please remember many resources list the latitude first, but KML needs the longitude first.
The name is not allowed to have any HTML markup in it.
It is optional to attach a link to each leaders name in the description text. Because this is embedded in an XML document, you need to use CDATA sections as shown to add the links.
When you have the XML for your JUG Placemark ready, you can email it to the [[email protected] ] JUG leaders list.
Please include the name of the JUG in the subject of your message and prepend [MAP] in the subject line of your message. Multiple volunteers are now helping to update the world map KML file. An example of a well formed subject would be:
Subject: [MAP] Silicon Valley Web Developer JUG Placemark
In addition to the Placemark XML snippet, please include the name of the country where the JUG is located. This is not always obvious from the Placemark data. Thanks!
NOTE: If you can't submit the information to the JUG Leaders List, you can send it directly to Van Riper. However, this is only as a last resort. It is much preferred that you use our community mailing list instead. Any logged in java.net user can subscribe to the JUG Leaders List.
For the US, this service should do the trick:
Outside the US, the one free international geocoding service that I have used so far is described here:
As an example, here is the REST request to get the latitude/longitude values for Jakarta, Indonesia:
And the result you get back in the browser is:
Please note that the response comes back with latitude as first value and longitude as the second value. In the KML file XML format, the values are expected in the opposite order. So, you need to reverse the order when placing them in your XML snippet for your Placemark. In this example, the resulting coordinates element with altitude set to zero would be:
The reason for the altitude value is because KML files can be used with Google Earth and/or Google Maps. For Google Maps, it is fine to omit the altitude value or set it to a default value of zero. For data intended to use with Google Earth, you would obviously want to provide an accurate altitude for your location for proper mapping onto Google Earth.
The old site that explains how to add JUGs to the map did retire and won't be further maintained.