[Mapserver-users] OGR:ODBC Woes

Paul Spencer spencer at dmsolutions.ca
Fri May 21 10:46:29 EDT 2004


Chip,

assuming that ogrinfo works, it is most likely that you have a mapserver 
build that doesn't include the right OGR version.  There is a known 
issue (that Frank fixed for 4.2 I think) with OGR, replacing gdal12.dll 
is not sufficient, you must also rebuild mapserver to get the updated 
features.

I think if you grab the latest 4.2b3 release it will include the 
necessary functionality.

Cheers,

Paul

Chip Hankley wrote:

> I'm trying to follow the directions in
> http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?VirtualSpatialData
> 
> I'm using one of the pre-compiled Windows binaries from the MS site.
> 
> I've made it all the way to the point where I'm trying to display the
> results in MS. When I call the map, I get the following error:
> 
> msDrawMap(): Image handling error. Failed to draw layer named
> 'MyVirtualLayer'. 
> msOGRFileOpen(): OGR error. Open failed for OGR connection
> `virtual.ovf'. File not found or unsupported format. 
> 
> Here's my output of mapserv -v:
> 
> MapServer version 4.0.2 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF
> OUTPUT=SWF
> SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
> 
> SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=POSTGIS
> INPUT=OGR 
> INPUT=GDAL INPUT=SHAPEFILE
> 
> Anyway, I see that there was a long thread about this error back in
> January
> (http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0401/msg00452.html)
> 
> Does anyone know if this was resolved?
> 
> Chip
> 
> 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 recipient,
> please contact the sender immediately and delete all copies.
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 

-- 
  -----------------------------------------------------------------
|Paul Spencer                           pspencer at dmsolutions.ca   |
|-----------------------------------------------------------------|
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
  -----------------------------------------------------------------




More information about the mapserver-users mailing list