[Mapserver-users] msOpenSHPFile(): Unable to access file
Vincent Schut
schut at sarvision.com
Mon Mar 31 00:19:07 PST 2003
Maybe a bit too simple, but did you check whether the shapefile is not
corrupt? E.g. load it into arcview or run ogrinfo (comes with GDAL) on your
shapefile?
Regards,
Vincent Schut.
On Sunday 30 March 2003 12:38, Inna Janssen wrote:
> Hi,
>
> mapserv is unable to access the data file. But I definitely set all paths
> correctly.
> The mapfile is the one from the tutorial, starting this way:
> ---
> NAME S1EX2
> EXTENT -97.238976 41.619778 -82.122902 49.38562
> SIZE 400 300
> SHAPEPATH "/var/www/html/karte/data"
> LAYER # States
> NAME "states"
> DATA states_ugl
> STATUS DEFAULT
> ...
> ---
>
> the shapepath is set correctly. I downloaded the states_ugl from
> http://terrasip.gis.umn.edu/terrasipProjects/tutorial35/data/states_ugl.shp
> I call mapserv directly by entering the url
> http://www.inna.de/cgi-bin/mapserv?map=/var/www/html/karte/karte.map&mode=m
>ap Then I get: "msOpenSHPFile(): Unable to access file. (states_ugl) " I
> also tried it with relative paths, with ending slash, with adding .shp to
> states_ugl I also checked the file permission of states_ugl.
> Nothing helped.
>
> I use Redhat Linux 7.3
>
> Instead, the itasca demo does work!
>
> Does anyone has any idea ???
>
> Greetings,
>
> Inna
>
> ___________________________________________________________________________
>___ Die SMS direkt auf's Handy. - Die Blitz-SMS bei WEB.DE FreeMail
> http://freemail.web.de/features/?mc=021165
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
--
______________________________________
Vincent Schut (schut at sarvision.com)
Sarvision B.V.
Wageningen, The Netherlands
www.sarvision.com
More information about the MapServer-users
mailing list