News for hackers. Stuff that matters.
Re:Latitude doesn’t exactly mean what I thought by nraynaud on Sunday September 18, 2011 @07:01PM (#3011525)
basically don't do projection/unprojection/coordinate transformations on your own, if you really want to write the code use the specs directly (good luck!) or use a lib if you can.

Best thing: stick to WGS84+webmercator as much as you can (some people can't help it: continents drifts, legacy compatibility etc.) Geography geekness is fun for geographs and pisses everybody else in the world (and I'm doing GIS stuff for a living).

Re:Latitude doesn’t exactly mean what I thought by colanderman on Monday September 19, 2011 @12:34AM (#3012256)
Except we can't, because standards dictate stupid this. My example: GPS data gives altitude above the spheroid; KML requires altitude above the geoid. This means that even 2D GPS coordinates that were not taken at sea level cannot be used directly in KML and hence Google Maps.

Converting this requires projecting spheroid data into 3-space and reprojecting it onto the geoid (which is a complex geometrical shape). Neither of these steps is trivial. Of course it's easy if you've got proj4; but this kind of stuff just does not ship with Android.

Re:Latitude doesn’t exactly mean what I thought by deadmansshoes on Monday September 19, 2011 @02:23AM (#3012554)
There's always http://proj4js.org/