Opened 18 years ago

Closed 18 years ago

#1910 closed defect (invalid)

[MapServer-msautotest]idlink shapes are missing in misc/data/shppoly

Reported by: nsavard@… Owned by: warmerdam
Priority: high Milestone:
Component: msautotest Version: 4.10
Severity: normal Keywords:
Cc:

Description

The following tests complained that idlink shapes are not present in the
data/shppoly directory:

ogr_join.map
ogr_vrtconnect.map
ogr_direct.map
ogr_select.map

The error message is:

msDrawMap(): Image handling error. Failed to draw layer named 'shppoly'. <br>
msOGRFileNextShape(): OGR error. Unable to open
/path/to/msautotest/misc/./data/shppoly/idlink.shp or
'/path/to/msautotest/misc/./data/shppoly/idlink.SHP.


But if I rename idlink.dbf to idlink.dbf.back all tests pass except ogr_join.map
with the following error message which makes sense to me:

msDrawMap(): Image handling error. Failed to draw layer named 'shppoly'. <br>
msOGRFileOpen(): OGR error. ExecuteSQL(SELECT eas_id, idlink.Name FROM poly LEFT
JOIN idlink ON poly.eas_id = idlink.eas_id) failed.
SELECT from table idlink failed, no such table/featureclass.


My MapServer configuration is:

version = MapServer version 4.10.0-beta3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

Change History (3)

comment:1 by fwarmerdam, 18 years ago

Normand, 

I'm not seeing the same error.  What version of GDAL/OGR are you using? 
I suspect this is something that was fixed in OGR since the 1.3.2 release.

If so, I'm not sure there is any action for us to take since bugs in GDAL/OGR
are a bit out of scope for MapServer. 

comment:2 by nsavard@…, 18 years ago

Frank I'm working with GDAL 1.3.1.  I will try with the latest version.

comment:3 by nsavard@…, 18 years ago

Resolution: invalid
Status: newclosed
I updated to gdal 1.3.2 and I get no error.
Note: See TracTickets for help on using tickets.