[Mapserver-users] virtual spatial data
zak-ms at hoppsan.org
Wed May 26 20:56:23 EDT 2004
If it works with ogrinfo, our experience is that either the mapserver
binary is too old as Daniel says, or the ODBC connection is expecting
some environment variables to be available that are present when
running ogrinfo but absent from within the webserver process.
Other users on the list may have more to contribute, but I haven't
tested with either IIS or MS SQL Server so you are right on the
bleeding edge. Since ogrinfo is working there must be only a minor
(though fatal!) problem. Is your ODBC DSN a System DSN? User DSNs don't
If you can set the CPL_DEBUG environment variable to ON, OGR will
provide you with more information about what is succeeding and what is
failing. I'm only familiar with doing that via apache, however.
Is it possible for either of you to test using different ODBC drivers
(perhaps to a different db) or different webserver? The text file ODBC
driver is a good one to try on Windows as it definitely doesn't require
environment variables and is easy to set up.
Applications and Software Development
DM Solutions Group Inc.
> This is an interesting problem... I'm getting the same error with my
> msDrawMap(): Image handling error. Failed to draw layer named
> msOGRFileOpen(): OGR error. Open failed for OGR connection
> `D:/inetpub/wwwroot/MapServer/PointTest/data/virtual.ovf'. File not
> found or unsupported format.
> I downloaded the latest(?) beta from the MS site: MS 4.2b, and it is
> still giving me the same error. I too have done all of the appropriate
> checks with ogrinfo.
> Outgoing messages, along with any attachments, are scanned for viruses
> at RMT prior to sending.
> NOTICE--This email may contain confidential and privileged information
> for the sole use of the intended recipient. Any review or distribution
> by others is strictly prohibited. If you are not the intended
> please contact the sender immediately and delete all copies.
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
More information about the mapserver-users