Hi all, is it possible to use FES 1.1.0 in mapfile? How? For details, please find the originating email below.
Ta, Michal 2011/11/11 Michal Šrédl <[email protected]>: > Hi Jukka, > > 2011/11/11 Rahkonen Jukka <[email protected]>: >> Hi, >> >> Some quick questions: Are you planning to cascade some other, remote WFS >> service through your Mapserver? > > Yes. > >> And that remote service is using WFS 1.1.0? > > Yes. > >> Is the remote service something you know or could it be just any WFS >> service, made with Mapserver, Geoserver, TinyOWS, deegree, ESRI product, >> Oracle etc. ? > > It can be any WFS service. For development, I use my Mapserver twice, > first as a "remote" WFS server and then to back my python proxy. For > deployment, the "remote" wfs service is meant to be any wfs 1.1.0 > service. > > Cheers, > > Michal > >> >> >> -Jukka Rahkonen- >> >> Michal Šrédl wrote: >> >>> Hi all, >>> >>> I am trying to use Filter Encoding in mapfile. Here >>> >>> http://mapserver.org/ogc/filter_encoding.html#filter-encoding >>> >>> is an example given, which goes like this: >>> >>> "wfs_version" "1.0.0" >>> "wfs_filter" >>> "<PropertyIsGreaterThan><PropertyName>POPULATION</PropertyName> >>> <Literal>10000000</Literal></PropertyIsGreaterThan>" >>> >>> with remark >>> >>> "The filter given as a value of the wfs_filter metadata should not >>> contain <Filter> start and end tags." >>> >>> However, I would like to use something like >>> >>> "wfs_version" "1.1.0" >>> "wfs_filter" '<ogc:Filter >>> xmlns:ogc="http://www.opengis.net/ogc"><ogc:PropertyIsEqualTo> >>> <ogc:PropertyName>SLT</ogc:PropertyName><ogc:Literal>1A</ogc:L >> iteral></ogc:PropertyIsEqualTo></ogc:Filter>' >>> >>> Two questions arise: >>> >>> - Is wfs(fes) version 1.1.0 supported? >>> >>> - How am I expected to specify the namespaces, if start and end >>> <Filter> tags should be omitted? >>> >>> FYI, direct request >>> >>> http://localhost//cgi-bin/ows?REQUEST=GetFeature&VERSION=1.1.0 >>> &SERVICE=WFS&TYPENAME=typ&FILTER=<ogc:Filter >>> xmlns:ogc="http://www.opengis.net/ogc"><ogc:PropertyIsEqualTo> >>> <ogc:PropertyName>SLT</ogc:PropertyName><ogc:Literal>1A</ogc:L >> iteral></ogc:PropertyIsEqualTo></ogc:Filter> >>> >>> works just nice, now I am trying to automatically generate the mapfile >>> by dedicated python proxy using mapscript; the filter itself is >>> generated by OpenLayers in the javascript web client. >>> >>> Thank you very much for your advice. >>> >>> Michal >>> _______________________________________________ >>> mapserver-users mailing list >>> [email protected] >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
