User Tools

Site Tools


Sidebar

Writing /var/www/html/john.de-graaff.net/webroot/wiki/data/cache/b/bfcdbafda56fcdcbdb623fabc777bcf3.metadata failed
Writing /var/www/html/john.de-graaff.net/webroot/wiki/data/cache/b/b94b6a665c58cc929457e4b81b260c2e.metadata failed
Writing /var/www/html/john.de-graaff.net/webroot/wiki/data/cache/b/b94b6a665c58cc929457e4b81b260c2e.xhtml failed

img_6759_face.jpg .

Info

Links

links:geocodes
Writing /var/www/html/john.de-graaff.net/webroot/wiki/data/cache/b/bfcdbafda56fcdcbdb623fabc777bcf3.xhtml failed

Geo-Codes

GPS coordinates

The new World Geodetic System was called WGS 84. It is currently the reference system being used by GPS.

Google Earth

Google Maps

je kunt ook Google Maps gewoon de coordinaten invullen (ipv straat/plaats):

Conversies

There are three commonly used units types:

  • Degrees Minutes Seconds - DD MM SS (Example = 39 54 32 W).
  • Decimal Degrees (Example = 39.909deg) - The minutes and seconds (54 32) are converted to decimal format (.909).
  • GPS Coordinates (Example = 39deg 54.333min) - The seconds (32) are converted to decimal format (.333).

Online convert tools:

Tools

Show coordinates of center in Google Maps

javascript:void(prompt('',gApplication.getMap().getCenter()));

UTM

Howto export KML from Google Maps

In Google Maps, you can export your map with the button “View in Google Earth” (NL: “Weergeven in Google Earth”). This will download a KML file. But this KML does NOT contain the GPS coordinates. Instead it contains a web-reference (HREF) to Google Maps.

Example:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
  <name></name>
  <description><![CDATA[]]></description>
  <NetworkLink>
    <name></name>
    <Link>
      <href>http://maps.google.nl/maps/ms?hl=nl&amp;...
            &amp;msid=103949872864124130000.0001234b8d6c93f97656a&amp;output=kml
      </href>
    </Link>
  </NetworkLink>
</Document>
</kml>

Here is how to get the KML-file with all the GPS coordinates:

  • download the KML-file
  • open the KML-file in a text-editor.
  • extract only the URL (web-address in <href>-tags)
  • rename the string &amp; to just &
  • copy-paste the URL in a browser and hit enter
  • now it will download a new KML-file with the GPS coordinates

This is an example of the resulting KML-file:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
  <name>d0907 Tour de Vin de France</name>
  <description><![CDATA[]]></description>
  <Placemark>
    <name>Le Brulot</name>
    <description>
      <![CDATA[<div dir="ltr">Antibes<br>Le Brulot 3</div>]]>  
     </description>
    <styleUrl>#style12</styleUrl>
    <Point>
      <coordinates>7.127367,43.581200,0.000000</coordinates>
    </Point>
  </Placemark>
</Document>
</kml>

Short version:

  • Just take the Google-Maps URL and add at the end: &output=kml

Embedding Google Map in website

Geocoding

Geocoding is the process of converting addresses (like 
"1600 Amphitheatre Parkway, Mountain View, CA") into geographic 
coordinates (like latitude 37.423021 and longitude -122.083739), 
which you can use to place markers or position the map.

Generate KML from Perl

/var/www/html/john.de-graaff.net/webroot/wiki/data/pages/links/geocodes.txt · Last modified: 2019/03/06 07:33 (external edit)