[mapserver-users] Σχετ: Σχετ: Mapserver can't read mapfile

2014-06-02 Thread Stefanos Anastasiou
Hi Steve, yes they are bot set. The whole mapfile looks like this. MAP NAME Dasarxeia UNITS DD SIZE 800 600 IMAGECOLOR 255 255 255 IMAGETYPE JPEG SHAPEPATH /home/mapdata/data/dasarxeia EXTENT 17.00 33.00 32.00 42.00 WEB    TEMPLATE /usr/local/apache2/htdocs/dasarxeia.html    IMAGEPATH

[mapserver-users] Σχετ: Σχετ: Mapserver can't read mapfile

2014-06-02 Thread Stefanos Anastasiou
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 also had my moved my data one folder up (that is also my Shapepath /home/mapdata/data/) just to make sure. -The output of shp2img -m

Re: [mapserver-users] Σχετ: Σχετ: Mapserver can't read mapfile

2014-06-02 Thread Jeff McKenna
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

[mapserver-users] Σχετ: Σχετ: Mapserver can't read mapfile

2014-02-10 Thread Stefanos Anastasiou
Yeah sorry... I guess you're right.  This is my mapfile:  MAP NAME Peloponisos MAP UNITS dd SIZE 640 480 IMAGECOLOR 255 255 255 IMAGETYPE png SHAPEPATH /home/mapdata/data EXTENT -5.00 0.00 0.00 5.00 WEB      TEMPLATE '/usr/local/apache2/htdocs/pelop.html'     IMAGEPATH

Re: [mapserver-users] Σχετ: Σχετ: Mapserver can't read mapfile

2014-02-10 Thread Lars Lingner
Hi Stefanos, thanks for the mapfile. Here are some points I would check: - you habe MAP two times in your file (might be ok, though) - you don't have a projecten defined In which projection are your data? The white color you see in your browser come from the IMAGECOLOR. So MapServer is

Re: [mapserver-users] Σχετ: Σχετ: Mapserver can't read mapfile

2014-02-10 Thread Fawcett, David (MNIT)
Stefanos, It looks like you have a duplicate MAP line in there. You are also specifying an extent that is from 5 deg west longitude to 0 deg longitude and from the equator to 5 deg north latitude. Does your data fall in that part of the world? David. From: Stefanos Anastasiou