[mapserver-users] Σχετ: Σχετ: Σχετ: Mapserver can't read mapfile
Basques, Bob (CI-StPaul)
bob.basques at ci.stpaul.mn.us
Mon Jun 2 10:26:07 PDT 2014
The Extent uses is based on the source data coordinates,, unless you also provide a reprojection block in your mapfile/maplayers.
Bobb
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Stefanos Anastasiou
Sent: Monday, June 02, 2014 11:20 AM
To: Jeff McKenna; mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Σχετ: Σχετ: Σχετ: Mapserver can't read mapfile
Wow... I literally copied and pasted the coordinates to the EXTENT parameter and it worked. Thank you very much..!! :-)
I though that the mapfile would only read coordinates that are in Long/Lat format in WGS84. My coords were x,y format in Greek grid (EGSA '87 - EPSG 2100). So I thought I could only import them in Lon/Lat.
Thanks a lot!
-Stefanos
Στις 7:07 μ.μ. Δευτέρα, 2 Ιουνίου 2014, ο/η Jeff McKenna <jmckenna at gatewaygeomatics.com<mailto:jmckenna at gatewaygeomatics.com>> έγραψε:
On 2014-06-02, 12:56 PM, Stefanos Anastasiou wrote:
> Hi Jeff,
> thanks for your reply.
> - I indeed used the ogrinfo utility and I gave me the extent
> in GCS_GGRS_1987. So I transformed the coordinates to WGS84.
>
I'm not sure what you mean here by "I transformed the coordinates".
Literally copy/paste the extents from ogrinfo into your EXTENT parameter
in your mapfile.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140602/35baa892/attachment.htm>
More information about the MapServer-users
mailing list