[postgis-users] Overlay Google Maps in SVG

Paul Ramsey pramsey at cleverelephant.ca
Wed Mar 5 11:06:18 PST 2008


The magic incantation is as follows.

+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0
+x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null

On 3/5/08, Sean Montague <couloir007 at yahoo.com> wrote:
> I've been trying to get Google Maps tiles into an SVG map with the viewBox set in DD. Given that the tiles are 256x256, and the width in DD is not the same as height, it has been problematic. I've given up on the DD viewBox. I want to go to a pixel based coord system so the tiles line up correctly. Am I be able to project some map data from my postGIS database into Google's projection, and then either scale or transform it with relative ease? I know this is against Google's policy, but if I can get it to work, I'll seek permission later.
>
>  Sean
>
>  _______________________________________________
>  postgis-users mailing list
>  postgis-users at postgis.refractions.net
>  http://postgis.refractions.net/mailman/listinfo/postgis-users
>



More information about the postgis-users mailing list