Tag Info

New answers tagged

0

If you could not find the solution yet here is one: http://gis.xyz/leaflet.html# var owsrootUrl = 'http://217.8.255.188:8080/geoserver/opengeo/ows'; var defaultParameters = { service : 'WFS', version : '2.0', request : 'GetFeature', typeName : 'opengeo:evernote_geom', outputFormat : 'text/javascript', format_options : ...


2

Here are two rectangles drawn on top of the map of the States. This is WFS 1.0.0 filter with two Intersects combined with OR <ogc:Filter> <ogc:Or> <ogc:Intersects> <ogc:PropertyName>topp:the_geom</ogc:PropertyName> <gml:Polygon> <gml:outerBoundaryIs> <gml:LinearRing> <gml:coordinates decimal="." cs="," ...


1

Have you tried using Intersects or Overlaps? Here are examples: http://mapserver.org/ogc/filter_encoding.html#currently-supported-features https://wiki.state.ma.us/confluence/display/massgis/GeoServer+-+WFS+-+Filter+-+Overlaps


0

I created my own workaround for it. Basicly, I created a dojo module that included the Polyline (But this could be Polygon, Point, or other layer type) and SpacialReference modules from ArcGIS Javascript API. Then the script queries the WFS service, parses the returned XML into a javascript object (JSON), declares a new Polyline for each returned feature and ...


0

The problem was set fids field. When you set fids to ['population.913', 'population.912'], this means a feature that it's fids equal to 'population.913' and 'population9.12'. If you set fids field to 'population.912' or 'population.913' you get correct response


1

This works: http://mymapservice.com/?request=GetFeature&service=WFS&typename=county_roads_wms_only:Roads&filter=<ogc:Filter><ogc:Or><ogc:PropertyIsLike escape="\" singleChar="_" ...


0

Koop might be an option here. It has the ability to create custom providers. Not sure if WFS is an out of the box provider but the dev team is very active and might help build one if asked. https://github.com/Esri/koop


1

Perhaps its your XML Filter code? Try wrapping your current filter in <ogc:Filter></ogc:Filter> like <ogc:Filter><ogc:PropertyIsEqualTo><ogc:PropertyName>OBJECTID</ogc:PropertyName><ogc:Literal>66580</ogc:Literal></ogc:PropertyIsEqualTo></ogc:Filter> That works. It is strange that the ...


0

Here is a working example. ...


1

I suppose you have been reading this http://docs.geoserver.org/latest/en/user/tutorials/cql/cql_tutorial.html Here comes some sample requests which are sending queries for the demo server of Boundless but which should work similarly with your own server if you have demo layer topp:states installed. Select where STATE_NAME is Illinois ...


0

WFS-T does not support such conditional transactions. Filters are used for selecting features which are fetched by GetFeature and they have the same effect as using WHERE in the SELECT statement in SQL. For reaching what you want you must do some additional operation either on the client of PostGIS side, or both. Here are some suggestions: On the client ...



Top 50 recent answers are included