[postgis-users] Overlay Google Maps in SVG

Sean Montague couloir007 at yahoo.com
Thu Mar 6 07:37:26 PST 2008


Hi Paul,

Thanks for "magic incantation", I seem to be on the right track. Does 
this projection exist in the spatial_sys_ref table? I don't see it, so I 
added it. Of course there is no srtext info.

Sean

Paul Ramsey wrote:
> 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
>>
>>     
> _______________________________________________
> 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