Thanks for the quick reply. But it does not look like it is working. I show
you the queries.
http://darius.leibnizcenter.org:8080/geoserver/wfs?request=GetFeature&versio
n=1.0.0&typeName=topp:states
This query returns all the features from the topp:states layer.
Now if I only want to get the STATE_NAME I should fire the following query;
http://darius.leibnizcenter.org:8080/geoserver/wfs?request=GetFeature&versio
n=1.0.0&typeName=topp:states&propertyname=topp:STATE_NAME
but the result is the same. I can still see all the other values as well. So
something is not working right. I also tried to omit the namespace prefix
for the property name specification.
Besides this problem, I seem to have another issue. The identifier of the
object is not in one of the properties, but in the parent element, see the
example:
<topp:states fid="states.43">
<topp:the_geom/>
<topp:STATE_NAME/>
......
<topp:SAMP_POP/>
</top:states>
Can I access this too with the propertyname system?
Thanks again,
Erik Hupkes
-----Original Message-----
From: bartvde@anonymised.com [mailto:bartvde@anonymised.com]
Sent: maandag 15 juni 2009 15:32
To: Erik Hupkes
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] WFS: resultType question; How te get only the
identities of the results of a query.
Hi Eric,
in the GetFeature request you can specify which PropertyNames you want to
get back. That should help you.
http://article.gmane.org/gmane.comp.gis.geoserver.user/15478
Best regards,
Bart
Hi everybody,
The current way to use the WFS of GeoServer gives me a big result (5-6MB)
for certain queries, and I am only interested in the identifiers of the
returned objects. I send a wfs query with a filter and want only the
identities of all the objects that intersect with a polygon that I specify
in the query, and not the GML coordinates together with it. Downloading
5-6MB for such a query is slows up the website too much. And I don't want
to
display it at once. So I want to filter through all those gml:enities
before
I start downloading them and showing them on a map.
The current two resultTypes that are possible with WFS querries are hits
and
results but neither are what I need.
Can somebody give me bone? All solutions, even the ones out of the box,
are
of interest to me.
Thanks
Erik Hupkes
----------------------------------------------------------------------------
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects_________________________________________
______
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users