[mapserver-users] Missing 1/2 a raster image in Google tilemode
forums
forums at craniumjuice.com
Fri Aug 5 06:23:17 PDT 2011
I have a GeoTiff file with an extent of:
Upper Left ( 0.0000000, 90.0000000) ( 0d 0' 0.01"E, 90d 0' 0.00"N)
Lower Left ( 0.0000000, -90.0000000) ( 0d 0' 0.01"E, 90d 0' 0.00"S)
Upper Right ( 360.000, 90.000) (360d 0' 0.00"E, 90d 0' 0.00"N)
Lower Right ( 360.000, -90.000) (360d 0' 0.00"E, 90d 0' 0.00"S)
Center ( 180.0000000, 0.0000000) (180d 0' 0.00"E, 0d 0' 0.01"N)
I set the extent in my map file to:
EXTENT 0 -90 360 90
When I set "&mode=map" the full image displays as I would expect it.
But when I incorporate it into a Google Maps API using
"&mode=tile&tilemode=gmap" only the part of the image to show. Only
the Eastern Hemisphere shows on the map.
I tried gdal_translate to alter the corners, which shows the whole
map, but East/West hemispheres are swapped.
Are there any tricks I can do to get the whole thing to display?
I'm thinking I might have to some how programmaticly swap left/right
sides of the raster.
Thanks, I appreciate any insight anyone might have.
Jerl
More information about the MapServer-users
mailing list