[mapserver-users] msOpenSHPFile(): Unable to access file.

Michael Soracco Michael.Soracco@noaa.gov
Wed, 13 Nov 2002 08:26:56 -0500


--------------618D1098613A852CAB771291
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Frauke-

I'm somewhat new to this, but I'll take a stab at it.

Try setting your SHAPEPATH relative to the webservers path i.e.

     SHAPEPATH "frauke/daten"

-m

Frauke Trurnit wrote:

> Hello,
>
> I have installed MapServer 3.6.3 on Linux. Now I'm not able to create a
> map
> with a single layer. My mapfile looks like that:
>
> NAME test_frauke
> SIZE 400 300
> EXTENT -12548000 5083000 -6575000 2348000
> SHAPEPATH "/usr/local/httpd/htdocs/frauke/daten/"
>
>   LAYER
>     NAME Staten
>     DATA states
>     STATUS DEFAULT
>     TYPE POLYGON
>
>     CLASS
>       COLOR 255 255 128
>       OUTLINECOLOR 0 0 0
>     END
>   END
> END
>
> The effect is: msOpenSHPFile(): Unable to access file. (states)
>
> Thanks for help!
>
> Frauke Trurnit
>
>
>
> --
> +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!

--------------618D1098613A852CAB771291
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Frauke-
<p>I'm somewhat new to this, but I'll take a stab at it.
<p>Try setting your SHAPEPATH relative to the webservers path i.e.
<blockquote>SHAPEPATH "frauke/daten"</blockquote>
-m
<p>Frauke Trurnit wrote:
<blockquote TYPE=CITE>Hello,
<p>I have installed MapServer 3.6.3 on Linux. Now I'm not able to create
a
<br>map
<br>with a single layer. My mapfile looks like that:
<p>NAME test_frauke
<br>SIZE 400 300
<br>EXTENT -12548000 5083000 -6575000 2348000
<br>SHAPEPATH "/usr/local/httpd/htdocs/frauke/daten/"
<p>&nbsp; LAYER
<br>&nbsp;&nbsp;&nbsp; NAME Staten
<br>&nbsp;&nbsp;&nbsp; DATA states
<br>&nbsp;&nbsp;&nbsp; STATUS DEFAULT
<br>&nbsp;&nbsp;&nbsp; TYPE POLYGON
<p>&nbsp;&nbsp;&nbsp; CLASS
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 255 128
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0
<br>&nbsp;&nbsp;&nbsp; END
<br>&nbsp; END
<br>END
<p>The effect is: msOpenSHPFile(): Unable to access file. (states)
<p>Thanks for help!
<p>Frauke Trurnit
<br>&nbsp;
<br>&nbsp;
<p>--
<br>+++ GMX - Mail, Messaging &amp; more&nbsp; <a href="http://www.gmx.net">http://www.gmx.net</a>
+++
<br>NEU: Mit GMX ins Internet. Rund um die Uhr f&uuml;r 1 ct/ Min. surfen!</blockquote>
</html>

--------------618D1098613A852CAB771291--