what happend to OGRVRTLayers?
Huub Fleuren
hfl at HOME.NL
Fri May 12 13:53:11 PDT 2006
Hi Frank,
Thank you again, now i'm testing (but i'm not ther yet)
MapServer version 4.9 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
INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG
with gdal 1.3.2
on de OGRVRTLayer layer. using xerces 2-7 (i don't know if that is
needed for vrt)
It does not work anymore. (allthough: INPUT=OGR INPUT=GDAL)
my new compiled files are
libcurl.dll
libmap.dll
mapserv.exe
xerces-c_2_7.dll
all other dlls are basically the same as last year
i get this
<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM
"http://schemas.opengeospatial.net/wms/1.1.0/exception_1_1_0.dtd">
<ServiceExceptionReport version="1.1.0">
<ServiceException>
msDrawMap(): Image handling error. Failed to draw layer named
'kpxy'.
msOGRFileNextShape(): OGR error. SetAttributeFilter() not supported on
ExecuteSQL() results.
</ServiceException>
</ServiceExceptionReport>
msOGRFileOpen(<OGRVRTDataSource>
<OGRVRTLayer name='kpxy'>
<SrcDataSource>ODBC:admin/admin at anwb</SrcDataSource>
<SrcSQL>SELECT k.kp_nr as kp_nr,k.x as x, k.y as y,
w.wegbeheerdercode as wegbeheerdercode, w.onderhoudsinstantiecode as
onderhoudsinstantiecode FROM wwall w, kpxy k WHERE NOT (k.soort LIKE
'D') and (w.x > 84613) and (w.x < 88846) and (w.y > 449903) and
(w.y < 453602) and (w.kruispuntnummer = k.kp_nr)</SrcSQL>
<GeometryType>wkbPoint</GeometryType>
<LayerSRS>WGS84</LayerSRS>
<GeometryField encoding='PointFromColumns' x='x' y='y'/>
</OGRVRTLayer>
</OGRVRTDataSource>)...
OGROPen(<OGRVRTDataSource>
<OGRVRTLayer name='kpxy'>
<SrcDataSource>ODBC:admin/admin at anwb</SrcDataSource>
<SrcSQL>SELECT k.kp_nr as kp_nr,k.x as x, k.y as y,
w.wegbeheerdercode as wegbeheerdercode, w.onderhoudsinstantiecode as
onderhoudsinstantiecode FROM wwall w, kpxy k WHERE NOT (k.soort LIKE
'D') and (w.x > 84613) and (w.x < 88846) and (w.y > 449903) and
(w.y < 453602) and (w.kruispuntnummer = k.kp_nr)</SrcSQL>
<GeometryType>wkbPoint</GeometryType>
<LayerSRS>WGS84</LayerSRS>
<GeometryField encoding='PointFromColumns' x='x' y='y'/>
</OGRVRTLayer>
</OGRVRTDataSource>)
msOGRLayerClose(<OGRVRTDataSource>
<OGRVRTLayer name='kpxy'>
<SrcDataSource>ODBC:admin/admin at anwb</SrcDataSource>
<SrcSQL>SELECT k.kp_nr as kp_nr,k.x as x, k.y as y,
w.wegbeheerdercode as wegbeheerdercode, w.onderhoudsinstantiecode as
onderhoudsinstantiecode FROM wwall w, kpxy k WHERE NOT (k.soort LIKE
'D') and (w.x > 84613) and (w.x < 88846) and (w.y > 449903) and
(w.y < 453602) and (w.kruispuntnummer = k.kp_nr)</SrcSQL>
<GeometryType>wkbPoint</GeometryType>
<LayerSRS>WGS84</LayerSRS>
<GeometryField encoding='PointFromColumns' x='x' y='y'/>
</OGRVRTLayer>
</OGRVRTDataSource>).
msOGRFileClose(<OGRVRTDataSource>
<OGRVRTLayer name='kpxy'>
<SrcDataSource>ODBC:admin/admin at anwb</SrcDataSource>
<SrcSQL>SELECT k.kp_nr as kp_nr,k.x as x, k.y as y,
w.wegbeheerdercode as wegbeheerdercode, w.onderhoudsinstantiecode as
onderhoudsinstantiecode FROM wwall w, kpxy k WHERE NOT (k.soort LIKE
'D') and (w.x > 84613) and (w.x < 88846) and (w.y > 449903) and
(w.y < 453602) and (w.kruispuntnummer = k.kp_nr)</SrcSQL>
<GeometryType>wkbPoint</GeometryType>
<LayerSRS>WGS84</LayerSRS>
<GeometryField encoding='PointFromColumns' x='x' y='y'/>
</OGRVRTLayer>
</OGRVRTDataSource>,0).
Regards, Huub
More information about the MapServer-users
mailing list