Programs using FILTER and QUERY on POSTGIS layers
gosia.rainer at T-ONLINE.DE
Fri Nov 19 05:29:53 EST 2004
I have a small problem with the mapserver and MapScript. I have stored my
data into the PostGIS database and I am using the FILTER expression to
select specific entities from the table, e.g. datasets fo a specific year.
The mapserver shows the map correkt.
I try to query on the layer by using the QueryByPoint function. But I am
receiving entities which are not fitting to the filter...
I set the filter, using MapScript, to select a specific year:
$layer = $gpoMap->getLayerByName("Voyages_ASIA");
When I query on this layer:
@ $layer->QUERY_POINTByPoint($oClickGeo, MS_SINGLE, 50);
I receive datasets which are not fitting to the filter...
What is wrong? HELP!!! ;-)
How can I read the current filter?
More information about the mapserver-users