OGR Virtual file and query

Wouter Schaubroeck wouter.schaubroeck at GMAIL.COM
Mon May 23 16:55:46 PDT 2005


Hi all,

Is it possible to perform a query on data that is connected through an
OGR Virtual file?
Is it possible that I'm doing something wrong here?
I use the ovf to connect to a dbf, and the points are visible on my map,
so that ain't the problem.
This is the layer in my map file:

LAYER
        NAME "Herten"
        TYPE POINT
        METADATA
            "DESCRIPTION"    "Reeën"
        END
        CONNECTIONTYPE OGR
        CONNECTION "virtual.ovf"
        DATA "GSM00837"
        STATUS DEFAULT
        PROJECTION
            "init=epsg:4313"
        END
        LABELITEM "OBSERVATIE"
        CLASS
            TEMPLATE
"C:\ms4w\apps\mum2_php_mapscript\herten\punten_query.html"
            SYMBOL cir
            SIZE 6
            COLOR 255 0 0
            LABEL
                COLOR 255 255 255
                SHADOWCOLOR 0 0 0
                SHADOWSIZE 2 2
                FONT arial-bold
                SIZE SMALL
                POSITION AUTO
                BUFFER 3
            END
        END

and this is my query template file:

<PRE>
Observatie
<br>[OBSERVATIE]</br>
</PRE>

Best regards

Wouter Schaubroeck



More information about the MapServer-users mailing list