<html><body><div style="color:#000; background-color:#fff; font-family:bookman old style, new york, times, serif;font-size:14pt"><div class="" style=""><span class="" style="">Hi Steve,</span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: 'bookman old style', 'new york', times, serif; background-color: transparent; font-style: normal;" class=""><span class="" style=""><br class="" style=""></span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: 'bookman old style', 'new york', times, serif; background-color: transparent; font-style: normal;" class=""><span class="" style="">yes they are bot set. The whole mapfile looks like this.</span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: 'bookman old style', 'new york', times, serif; background-color: transparent; font-style: normal;" class=""><span class="" style=""><br class="" style=""></span></div><div style="background-color: transparent;"
class="">MAP</div><div style="background-color: transparent;" class="">NAME "Dasarxeia"</div><div style="background-color: transparent;" class="">UNITS DD</div><div style="background-color: transparent;" class="">SIZE 800 600</div><div style="background-color: transparent;" class="">IMAGECOLOR 255 255 255</div><div style="background-color: transparent;" class="">IMAGETYPE JPEG</div><div style="background-color: transparent;" class="">SHAPEPATH "/home/mapdata/data/dasarxeia"</div><div style="background-color: transparent;" class="">EXTENT 17.00 33.00 32.00 42.00</div><div style="background-color: transparent;" class=""><br class="" style=""></div><div style="background-color: transparent;" class="">WEB</div><div style="background-color: transparent;" class=""> TEMPLATE "/usr/local/apache2/htdocs/dasarxeia.html"</div><div style="background-color: transparent;" class=""> IMAGEPATH "/usr/local/apache2/htdocs/tmp"</div><div
style="background-color: transparent;" class=""> IMAGEURL "/tmp/"</div><div style="background-color: transparent;" class="">END</div><div style="background-color: transparent;" class="">LAYER</div><div style="background-color: transparent;" class=""> NAME "Dasarxeia"</div><div style="background-color: transparent;" class=""> DATA "dasarxeia"</div><div style="background-color: transparent;" class=""> STATUS default</div><div style="background-color: transparent;" class=""> TYPE polygon</div><div style="background-color: transparent;" class=""> LABELCACHE on</div><div style="background-color: transparent;" class=""> LABELITEM "POIST"</div><div style="background-color: transparent;" class=""> CLASS </div><div style="background-color: transparent;" class=""> STYLE</div><div style="background-color: transparent;" class="">
COLOR 0 0 0</div><div style="background-color: transparent;" class=""> END</div><div style="background-color: transparent;" class=""> LABEL</div><div style="background-color: transparent;" class=""> COLOR 0 0 0</div><div style="background-color: transparent;" class=""> SIZE SMALL</div><div style="background-color: transparent;" class=""> END</div><div style="background-color: transparent;" class=""> END</div><div style="background-color: transparent;" class="">END</div><div style="background-color: transparent;" class=""><span class="" style=""></span></div><div style="background-color: transparent;" class="">END</div><div style="background-color: transparent;" class=""><br></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div
style="font-family: bookman old style, new york, times, serif; font-size: 14pt;" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;" class=""> <div dir="ltr" class="" style=""> <font size="2" face="Arial" class="" style=""> Στις 11:48 μ.μ. Κυριακή, 1 Ιουνίου 2014, ο/η Stephen Woodbridge <woodbri@swoodbridge.com> έγραψε:<br class="" style=""> </font> </div> <br class="" style=""><br class="" style=""> <div class="" style="">Are your<br clear="none" class="" style=""> MAP<br clear="none" class="" style=""> UNITS DD<br clear="none" class="" style="">Set?<br clear="none" class="" style=""><br clear="none" class="" style="">-Steve<br clear="none" class="" style=""><br clear="none" class="" style="">On 6/1/2014 3:31 PM, Stefanos Anastasiou wrote:<br clear="none" class="" style="">> Hi Jeff,<br clear="none" class=""
style="">><br clear="none" class="" style="">> I came to this old post once again and I tried the above mentioned.<br clear="none" class="" style="">> shp2img still produces an image which is blank or whatever the color of<br clear="none" class="" style="">> the mapfile is defined. On the other hand I checked the EXTENT once<br clear="none" class="" style="">> again and it was wrong so I changed to the appropriate one (EXTENT 17.00<br clear="none" class="" style="">> 33.00 32.00 42.00) which I checked on QGIS in WGS84 so it should be<br clear="none" class="" style="">> fine. If STATUS is set to default or On there's no difference. I also<br clear="none" class="" style="">> changed TYPE to line and polygon just to be sure but nothing.<br clear="none" class="" style="">><br clear="none" class="" style="">> My shapefile is a polygon with boundaries. Why wouldn't it appear on<br clear="none" class="" style="">> the
browser?<br clear="none" class="" style="">><br clear="none" class="" style="">> Thanks again and I'm sorry for writing about it so late.<br clear="none" class="" style="">><br clear="none" class="" style="">> Stefanos<br clear="none" class="" style="">><br clear="none" class="" style="">><br clear="none" class="" style="">> Στις 7:15 μ.μ. Δευτέρα, 10 Φεβρουαρίου 2014, ο/η Jeff McKenna<br clear="none" class="" style="">> <<a shape="rect" ymailto="mailto:jmckenna@gatewaygeomatics.com" href="mailto:jmckenna@gatewaygeomatics.com" class="" style="">jmckenna@gatewaygeomatics.com</a>> έγραψε:<br clear="none" class="" style="">><br clear="none" class="" style="">><br clear="none" class="" style="">> Hi sorry long thread and I bet this has already been said, but here were<br clear="none" class="" style="">> my thoughts when I read your problems:<br clear="none" class="" style="">><br
clear="none" class="" style="">> - always test your mapfile at the commandline first, using the shp2img<br clear="none" class="" style="">> utility (<a shape="rect" href="http://mapserver.org/utilities/shp2img.html" target="_blank" class="" style="">http://mapserver.org/utilities/shp2img.html</a>). Once your layers<br clear="none" class="" style="">> look find there in the generated map image then move to your application<br clear="none" class="" style="">><br clear="none" class="" style="">> - if using MapServer CGI (mode=map), a blank map often means you are not<br clear="none" class="" style="">> specifically telling MapServer to turn on layers; try adding &LAYERS=all<br clear="none" class="" style="">><br clear="none" class="" style="">> - or setting each of your layer's STATUS values to DEFAULT might work<br clear="none" class="" style="">> (but this can cause lots of trouble later, so this is not often
recommended)<br clear="none" class="" style="">><br clear="none" class="" style="">> -jeff<br clear="none" class="" style="">><br clear="none" class="" style="">><br clear="none" class="" style="">><br clear="none" class="" style="">> --<br clear="none" class="" style="">> Jeff McKenna<br clear="none" class="" style="">> MapServer Consulting and Training Services<br clear="none" class="" style="">> <a shape="rect" href="http://www.gatewaygeomatics.com/" target="_blank" class="" style="">http://www.gatewaygeomatics.com/</a><br clear="none" class="" style="">><br clear="none" class="" style="">><br clear="none" class="" style="">><br clear="none" class="" style="">> On 2/10/2014, 11:15 AM, Stefanos Anastasiou wrote:<br clear="none" class="" style="">> > Hello!!<br clear="none" class="" style="">> ><br clear="none" class="" style="">> > I'am having my mapfile place in /home/mapdata
folder whereas I also keep<br clear="none" class="" style="">> > a couple of other mapfiles too.<br clear="none" class="" style="">> > I'm trying to load it in the following form on the<br clear="none" class="" style="">> > browser:<br clear="none" class="" style="">> <a shape="rect" href="http://127.0.0.1/cgi-bin/mapserv?map=/home/mapdata/pelop.map&mode=map" target="_blank" class="" style="">http://127.0.0.1/cgi-bin/mapserv?map=/home/mapdata/pelop.map&mode=map</a><br clear="none" class="" style="">> ><br clear="none" class="" style="">> > and all I get is a blank page. No errors no nothing.<br clear="none" class="" style="">> ><br clear="none" class="" style="">> > Then I created an html template in order to click it from there by<br clear="none" class="" style="">> > creating a simple link (and not a from) in the following hyperlink:
<a<br clear="none" class="" style="">> ><br clear="none" class="" style="">> href="<a shape="rect" href="http://127.0.0.1/cgi-bin/mapserv?map=/home/mapdata/pelop/map&mode=map" target="_blank" class="" style="">http://127.0.0.1/cgi-bin/mapserv?map=/home/mapdata/pelop/map&mode=map</a>><br clear="none" class="" style="">> > This link </a><br clear="none" class="" style="">> ><br clear="none" class="" style="">> > And I get the following error: msLoadMap(): Unable to access file.<br clear="none" class="" style="">> ><br clear="none" class="" style="">> > Last time this happened I was invoking Mapserver through a form but this<br clear="none" class="" style="">> > time it's just a simple link.<br clear="none" class="" style="">> ><br clear="none" class="" style="">> > Why is it happening ?<br clear="none" class=""
style="">> ><br clear="none" class="" style="">> > The weird thing is that all the other mapfiles that are seem to be<br clear="none" class="" style="">> > working are are having the same permission settings with the<br clear="none" class="" style="">> > current: -rw-r--r--<br clear="none" class="" style="">> ><br clear="none" class="" style="">> > Thanks a lot!<br clear="none" class="" style="">><br clear="none" class="" style="">> ><br clear="none" class="" style="">> ><br clear="none" class="" style="">><br clear="none" class="" style="">><br clear="none" class="" style="">><br clear="none" class="" style="">><br clear="none" class="" style="">> _______________________________________________<br clear="none" class="" style="">> mapserver-users mailing list<br clear="none" class="" style="">> <a shape="rect"
ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org" class="" style="">mapserver-users@lists.osgeo.org</a> <mailto:<a shape="rect" ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org" class="" style="">mapserver-users@lists.osgeo.org</a>><br clear="none" class="" style="">> <a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank" class="" style="">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br clear="none" class="" style="">><br clear="none" class="" style="">><br clear="none" class="" style="">><br clear="none" class="" style="">><br clear="none" class="" style="">><br clear="none" class="" style="">> _______________________________________________<br clear="none" class="" style="">> mapserver-users mailing list<br clear="none" class="" style="">> <a shape="rect"
ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org" class="" style="">mapserver-users@lists.osgeo.org</a><br clear="none" class="" style="">> <a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank" class="" style="">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><div class="" id="yqtfd41748" style=""><br clear="none" class="" style="">><br clear="none" class="" style=""><br clear="none" class="" style="">_______________________________________________<br clear="none" class="" style="">mapserver-users mailing list<br clear="none" class="" style=""><a shape="rect" ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org" class="" style="">mapserver-users@lists.osgeo.org</a><br clear="none" class="" style=""><a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank" class=""
style="">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></div><br class="" style=""><br class="" style=""></div> </div> </div> </div> </div></body></html>