the ICC example uses ED50 / UTM zone 30 North, that was one of my first headaches, (OSM , google ... use spherical mercator) and even appling the tranformation there still was some offset that finally I have to hard code, I have not tested but surely using the class included to lat-lon-> to UTM will give you correct spherical mercator UTM cordinates. cause is spherical mercator uses WGS84 datum
2009/7/3 Joseph Reeves <iknowjos...@gmail.com>: > Great stuff! :) > > What map projections are supported? I guess just spherical mercator? > > Cheers, Joseph > > > > 2009/7/3 David Reyes Samblas Martinez <da...@tuxbrain.com>: >> Dear all, >> I have published a piece of PHP in the tuxbrain blog[1] that allows to >> "translate" the OSM tile sistem used by TangoGPS(and omgps) to a >> standard OGC WMS 1.1.1 web services, >> In the code[2] is an example implemented the Institut Catala de >> Cartografia (http://www.icc.cat) but I think the hard stuff (changing >> coordinates), change datum, etc can be reused to other wms server out >> there, the maps usually are free aviable for non comercial use, so I >> think it can be interesting to use other maps source than OSM (low >> detail in some zones) or google maps (not able to mass download). >> The article is in spanish but the source code comments are on english. >> As always comments are welcome. >> >> [1]http://www.tuxbrain.com/usando-mapas-wms-en-tangogps >> [2]http://www.tuxbrain.com/sites/default/files/tiletoUTM-0_1_tar.bz2 >> >> Regards >> -- >> David Reyes Samblas Martinez >> http://www.tuxbrain.com >> Open ultraportable & embedded solutions >> Openmoko, Openpandora, Arduino >> Hey, watch out!!! There's a linux in your pocket!!! >> >> _______________________________________________ >> Openmoko community mailing list >> community@lists.openmoko.org >> http://lists.openmoko.org/mailman/listinfo/community >> > > _______________________________________________ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > -- David Reyes Samblas Martinez http://www.tuxbrain.com Open ultraportable & embedded solutions Openmoko, Openpandora, Arduino Hey, watch out!!! There's a linux in your pocket!!! _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community