Order Tray | Contact Us | Home | SIG Lists

[aprssig] Andorid APRS

Ryan Tourge k2rrt.lists at gmail.com
Sun Dec 27 03:30:22 UTC 2009


Google Latitude can output json and kml

here is the kml output (real easy to parse the XML):
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<Style id="4123658402536034868">
<IconStyle>
<Icon>
<href><![CDATA[http://www.google.com/latitude/apps/badge/api?type=photo_placard&photo=rdsuziUBAAA.7W1Z-pRp64_OzjQEoaJ8kg.gog90gffVt-KYAgI1V6gAg&moving=true&stale=false&lod=1&format=png]]></href>
</Icon>
<scale>1</scale>
<hotSpot x="0.5"  y="0.0" xunits="fraction" yunits="fraction"/>
</IconStyle>
</Style>
<Placemark>
<styleUrl>#4123658402536034868</styleUrl>
<description>Accurate to 1750 meters as of 9 minutes ago.
http://www.google.com/latitude/apps/badge</description>
<Point>
<coordinates>-73.6947441,43.3309218</coordinates>
</Point>
</Placemark>
</Document>
</kml>


here is the json for my location (I haven't played with JSON much):

{ "type": "FeatureCollection",
"features": [
{ "type": "Feature",
"geometry": {"type": "Point", "coordinates": [-73.6947441, 43.3309218]},
"properties": {
"id": "4123658402536034868",
"accuracyInMeters": 1750,
"timeStamp": 1261883991,
"reverseGeocode": "Queensbury, NY, USA",
"photoUrl": "http://www.google.com/latitude/apps/badge/api?type=photo&photo=1mEqziUBAAA.7W1Z-pRp64_OzjQEoaJ8kg.kR2qjUDS7DQWd6-69-zgOw",
"photoWidth": 96,
"photoHeight": 96,
"placardUrl": "http://www.google.com/latitude/apps/badge/api?type=photo_placard&photo=1mEqziUBAAA.7W1Z-pRp64_OzjQEoaJ8kg.kR2qjUDS7DQWd6-69-zgOw&moving=true&stale=false&lod=1&format=png",
"placardWidth": 56,
"placardHeight": 59
}
}
]
}



More information about the aprssig mailing list