WFS - Get Feature by Polygon Intersects

I need to get features by following URL http://services.land.vic.gov.au/catalogue/publicproxy/guest/dv_geoserver/wfs?service=WFS&request=getFeature&typeName=datavic:CROWNLAND_PLMGEN

I tried

http://services.land.vic.gov.au/catalogue/publicproxy/guest/dv_geoserver/wfs?service=WFS&request=getFeature&typeName=datavic:CROWNLAND_PLMGEN&FILTER=<Filter xmlns="http://www.opengis.net/owc" xmlns:gml="http://www.opengis.net/gml"> <Intersects> <PropertyName>SHAPE</PropertyName> <gml:Polygon srsDimension="2" srsName="urn:ogc:def:crs:EPSG::4283"><gml:outerBoundaryIs> <gml:LinearRing> <gml:coordinates>-37.2315356,142.8193248 -37.2302536,142.8195475 -37.2300784,142.8179702 -37.2313604,142.8177474 -37.2314496,142.8185509 -37.2315356,142.8193248 </gml:coordinates> </gml:LinearRing> </gml:outerBoundaryIs> </gml:Polygon> </Intersects> </Filter> 

which gives java error java.lang.NullPointerException. Can someone help with this one?

it works if I use point

<Filter xmlns="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"><Intersects><PropertyName>SHAPE</PropertyName><gml:Point srsName="urn:ogc:def:crs:EPSG::4283"><gml:coordinates>-37.2976946,143.7812069</gml:coordinates></gml:Point></Intersects></Filter> 

Replay

Category: geoserver Time: 2016-07-30 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.143 (s). 12 q(s)