[mapserver-users] What is the default coordinate system used in MapServer (if no projection is defined)?
Basques, Bob (CI-StPaul)
bob.basques at ci.stpaul.mn.us
Mon Jun 2 20:55:28 PDT 2014
I had an extent of 0 0 360 120 (units inches, 10ftx30ft)
Anyway, I think I tried zooming in to 50 50 80 80 and the "80" values seem to have been the problem. I can send the actual link tomorrow if you want I have it in browser cache at the other desk.
I set the Map projection to 4326 and it all works fine. Must be the two 80s without one being a negative as you described. And yes I was using a CGI.
________________________________
From: Lime, Steve D (MNIT)
Sent: Monday, June 02, 2014 5:50 PM
To: Basques, Bob (CI-StPaul); mapserver-users at lists.osgeo.org
Subject: RE: [mapserver-users] What is the default coordinate system used in MapServer (if no projection is defined)?
MapServer has no default, it’s just uses a simple Cartesian coordinate system. HOWEVER, the CGI does have some hooks that tries to auto-detect lat/lon coordinates and automatically convert them to what’s set in the MAP’s projection block. I believe that only kicks in if there is a projection block defined.
How’d you trigger the message?
Steve
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Basques, Bob (CI-StPaul)
Sent: Monday, June 02, 2014 5:40 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] What is the default coordinate system used in MapServer (if no projection is defined)?
All,
So I was trying to just display some data without a coordinate system assigned. And I ended up eventually getting a LAT/LON (out of range) error. Once I set the projection in the MAP block to something resembling a XY projection, all was well.
I suspect that LAT/LON is the default? Is there a way to do something other than what I did to use simple Cartesian coordinates?
Bobb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140603/fae969f8/attachment.htm>
More information about the MapServer-users
mailing list