what happend to OGRVRTLayers?

Huub Fleuren hfl at HOME.NL
Fri May 12 16:53:11 EDT 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 
&#39;kpxy&#39;.
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 &gt; 84613) and (w.x &lt; 88846) and (w.y &gt; 449903) and 
(w.y &lt; 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 &gt; 84613) and (w.x &lt; 88846) and (w.y &gt; 449903) and 
(w.y &lt; 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 &gt; 84613) and (w.x &lt; 88846) and (w.y &gt; 449903) and 
(w.y &lt; 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 &gt; 84613) and (w.x &lt; 88846) and (w.y &gt; 449903) and 
(w.y &lt; 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