[mapserver-users] Tilemode Projection Problem
Ian Dees
ian.dees at gmail.com
Wed Jan 6 12:23:40 PST 2010
Hi everyone,
I've spent the better part of today scouring the internet for documentation
and help on the tile mode present in mapserver, but I couldn't find an
answer to my problem, so please forgive me if I'm missing some obvious
documentation some where...
I am attempting to show some GeoTIFFs (from here:
ftp://geoftp.ibge.gov.br/mapas/ortofoto/). My research says they're in
epsg:31984.
I'm trying to use MapServer's tile mode to display them on a Google Map API
instance, but can't seem to get any of the images to show up.
Also, why am I required to give a PROJECTION statement as a child to the MAP
statement (what I assume is the "viewing projection") if the tile mode is
just going to reproject to spherical mercator?
My .map file is below.
Thanks!
MAP
NAME GMAP_TILE
STATUS ON
PROJECTION "init=epsg:31984" END
IMAGECOLOR 192 192 192
IMAGEQUALITY 95
IMAGETYPE png
OUTPUTFORMAT
NAME png
DRIVER 'GD/PNG'
TRANSPARENT ON
END
LAYER
NAME brazil
TYPE raster
DATA "/var/www/map/2414-1-SO.tif"
STATUS ON
PROJECTION "init=epsg:31984" END
END
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100106/a9f2283a/attachment.htm>
More information about the MapServer-users
mailing list