Re: VS: [mapserver-users] WFS with Filter

2011-11-02 Thread Jörg Thomsen
Hi,

and thanks to Lars!
(kriegst 'n Kaffee und 'n Kuchen, wenn Du mal wieder hier bist)

it was a configuration-problem. we changed the srs of the geodata and I
set a comment before the extend in the mapfile. So the SQL from
MapServer to the DB had a bbox -1-1-1-

I was sure, that the extend is not mandatory and all other requests
(wms, WFS without filter) worked well, so I wonder if this behaviour is
wanted?

Jörg

Am 31.10.2011 17:39, schrieb Rahkonen Jukka:
 Hi,
 
 Seems to work with my Mapserver 6.0.1 with PostGIS data. I do not have 
 shapefile layers to compare with.
 
 http://188.64.1.61/cgi-bin/osm-mapserver_i?SERVICE=WFSVERSION=1.0.0REQUEST=GetFeatureTYPENAME=POI_pub_restaurantSRSNAME=EPSG:4326maxfeatures=10FILTER=%3Cogc%3AFilter%3E%3Cogc%3APropertyIsLike+wildCard%3D%27%2A%27+singleChar%3D%27.%27+escape%3D%27%21%27%3E%3Cogc%3APropertyName%3Ename%3C%2Fogc%3APropertyName%3E%3Cogc%3ALiteral%3E%2ABossa%2A%3C%2Fogc%3ALiteral%3E%3C%2Fogc%3APropertyIsLike%3E%3C%2Fogc%3AFilter%3E
 
 SRSNAME part does not work but is is not supported by WFS 1.0.0 so do not 
 bother about that.
 
 -Jukka Rahkonen-
 
 Lähettäjä: mapserver-users-boun...@lists.osgeo.org 
 [mapserver-users-boun...@lists.osgeo.org] k#228;ytt#228;j#228;n Jörg 
 Thomsen [j...@mapmedia.de] puolesta
 Lähetetty: 31. lokakuuta 2011 18:14
 Vastaanottaja: mapserver-users@lists.osgeo.org
 Aihe: [mapserver-users] WFS with Filter
 
 Hello,
 
 I have found some older list-entries concerning this topic, but no final
 solution.
 I am using MapServer version 6.0.1 as WFS, the getFeature returns a nice
 XML I can use e.g. in QGIS, so everything seems to be fine. But when I
 use a filter in my request like
 http://xxx/cgi-bin/mapserv?map=/data/UMN/bundeslaender.mapSERVICE=WFSVERSION=1.0.0REQUEST=GetFeatureTYPENAME=Bundeslaender_1000SRSNAME=EPSG:4326;
 FILTER=%20%3Cogc:Filter%3E%3Cogc:PropertyIsLike%20wildCard=%27*%27%20singleChar=%27.%27%20escape=%27!%27%3E%3Cogc:PropertyName%3Ebundesland%3C/ogc:PropertyName%3E%3Cogc:Literal%3E*BRANDENBURG*%3C/ogc:Literal%3E%3C/ogc:PropertyIsLike%3E%3C/ogc:Filter%3E
 
 I get the following answer:
 wfs:FeatureCollection .
gml:boundedBy
   gml:nullmissing/gml:null
/gml:boundedBy
 /wfs:FeatureCollection
 
 Using the same PG-DB with Mapserver 5.6 the request works.
 
 In former threads I found the questions if it does work with geodata
 based on shape-files:
 1. it dos not
 2. I have to use PG
 
 Anyone any idea?
 
 Jörg
 
 
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
~~~
Aufwind durch Wissen!

Qualifizierte Open Source Schulungen bei der
http://www.foss-akademie.de/
~~~

_

MapMedia
Kartographie und raumbezogene Informationssysteme

Gillweg 3, 14193 Berlin
fon: +49 30 89 06 82-70
fax: +49 30 89 09 53-21
mail: j...@mapmedia.de
net:  www.mapmedia.de
_



Geschäftsführer: G. v. Tschirnhaus, J. Thomsen, P. Stamm
Registergericht, Berlin - Amtsgericht Charlottenburg,
HRB 89625, Umsatzsteuer-Identnummer: DE 813794062
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


VS: [mapserver-users] WFS with Filter

2011-10-31 Thread Rahkonen Jukka
Hi,

Seems to work with my Mapserver 6.0.1 with PostGIS data. I do not have 
shapefile layers to compare with.

http://188.64.1.61/cgi-bin/osm-mapserver_i?SERVICE=WFSVERSION=1.0.0REQUEST=GetFeatureTYPENAME=POI_pub_restaurantSRSNAME=EPSG:4326maxfeatures=10FILTER=%3Cogc%3AFilter%3E%3Cogc%3APropertyIsLike+wildCard%3D%27%2A%27+singleChar%3D%27.%27+escape%3D%27%21%27%3E%3Cogc%3APropertyName%3Ename%3C%2Fogc%3APropertyName%3E%3Cogc%3ALiteral%3E%2ABossa%2A%3C%2Fogc%3ALiteral%3E%3C%2Fogc%3APropertyIsLike%3E%3C%2Fogc%3AFilter%3E

SRSNAME part does not work but is is not supported by WFS 1.0.0 so do not 
bother about that.

-Jukka Rahkonen-

Lähettäjä: mapserver-users-boun...@lists.osgeo.org 
[mapserver-users-boun...@lists.osgeo.org] k#228;ytt#228;j#228;n Jörg Thomsen 
[j...@mapmedia.de] puolesta
Lähetetty: 31. lokakuuta 2011 18:14
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] WFS with Filter

Hello,

I have found some older list-entries concerning this topic, but no final
solution.
I am using MapServer version 6.0.1 as WFS, the getFeature returns a nice
XML I can use e.g. in QGIS, so everything seems to be fine. But when I
use a filter in my request like
 http://xxx/cgi-bin/mapserv?map=/data/UMN/bundeslaender.mapSERVICE=WFSVERSION=1.0.0REQUEST=GetFeatureTYPENAME=Bundeslaender_1000SRSNAME=EPSG:4326;
 FILTER=%20%3Cogc:Filter%3E%3Cogc:PropertyIsLike%20wildCard=%27*%27%20singleChar=%27.%27%20escape=%27!%27%3E%3Cogc:PropertyName%3Ebundesland%3C/ogc:PropertyName%3E%3Cogc:Literal%3E*BRANDENBURG*%3C/ogc:Literal%3E%3C/ogc:PropertyIsLike%3E%3C/ogc:Filter%3E

I get the following answer:
 wfs:FeatureCollection .
gml:boundedBy
   gml:nullmissing/gml:null
/gml:boundedBy
 /wfs:FeatureCollection

Using the same PG-DB with Mapserver 5.6 the request works.

In former threads I found the questions if it does work with geodata
based on shape-files:
1. it dos not
2. I have to use PG

Anyone any idea?

Jörg


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users