[Mapserver-users] open failed ogr connection
Paul Dymecki
pdymecki at sympatico.ca
Thu May 13 20:03:48 PDT 2004
Hi,
I'm just trying to get OGR with ODBC working on the win32 binaries. I
tried the shp2img on my map file though and get the following error
message..
>C:\msapps>shp2img -m c:\apache2\htdocs\ms4w\apps\cbm\map\cbm.map
>msProcessProjection(): Projection library error. invalid projection system
error
>number <br>
Would i have to recompile mapserver with OGR??
thx,
Paul
----- Original Message -----
From: "Frank Warmerdam" <warmerdam at pobox.com>
To: "Andreas Koeberle" <koeberle at fh-nb.de>
Cc: "UMN MapServer" <mapserver-users at lists.gis.umn.edu>
Sent: Thursday, May 13, 2004 8:45 AM
Subject: Re: [Mapserver-users] open failed ogr connection
> Andreas Koeberle wrote:
> > Hi
> > I try do use a access database as a source for a point layer. I check
> > the ovf file with the ogrinfo like describe in the wiki and the file
> > seems to work. But when I try do use with the mapserver the following
> > message <http://dict.leo.org/?p=14/p..&search=appear> appear:
> >
> > msOGRFileOpen(): OGR error. Open failed for OGR connection
> > `virtuallayer.ovf'. File not found or unsupported format
>
> Andreas,
>
> The most obvious and likely problems are:
> 1) out of date mapserver build with old OGR ODBC code.
> 2) you are using a user DSN instead of a system DSN.
> 3) the "web user" does not have permission on the database in question.
> 4) wrong path to virtuallayer.ovf
>
> To rule out the first item, try running "shp2img" on your map as yourself
> and see if that works.
>
> eg.
> shp2img -m your.map -o out.png
>
> If that works fine then it is a difference in what is accessable in the
> web context compared to running logged in as yourself.
>
> Good luck,
> --
> ---------------------------------------+----------------------------------
----
> I set the clouds in motion - turn up | Frank Warmerdam,
warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush | Geospatial Programmer for Rent
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list