Defining a projection for SetProjection()
David Stajan
dls at INFORMGIS.COM
Wed Dec 19 14:48:35 PST 2007
Thanks frank.
However I'm not getting the right results when comparing the data with what
it looks like in ArcMap.
Maybe you can explain this to me!!!
My data is in this projection +proj=goode +ellps=WGS84 +datum=WGS84
+units=m and mapserver renders an image that looks like the attached
+image
worldLayerAsGooode.png
When I try the reproject the layer using this projection +proj=utm +zone=55
+units=m +ellps=aust_SA +south in the map file mapserver renders an
+image
that looks like worldLayerAsAussie.png.
This is not what it should look like. If I reproject the data in ArcMap to use
the Aussie projection you translated for me earlier it looks like
worldLayerDataReprojected.png
So I did one more test, If I export my data out of ArcMap using the Aussie
projection and have my map file reference that data it displays the world as
worldLayerDataReprojected.png.
So the only conclusion that I can come up with is that Proj.4 definition of
+proj=utm +zone=55 +units=m +ellps=aust_SA +south is not coorect.
Any ideas?
Thanks,
DaviD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Z:\tfmLite\gfp\projectionProblem\worldLayerAsAussie.png
Type: image/x-png
Size: 10951 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071219/f0a6ec31/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Z:\tfmLite\gfp\projectionProblem\worldLayerAsGoode.png
Type: image/x-png
Size: 18236 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071219/f0a6ec31/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Z:\tfmLite\gfp\projectionProblem\worldLayerDataReprojected.png
Type: image/x-png
Size: 12349 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071219/f0a6ec31/attachment-0002.bin>
More information about the MapServer-users
mailing list