[Geoserver-users] how to get featureid from return data using getfeature with outformat:shape-zip

i use postgresql+geoserver.
if it 's GML, i can parse it from xml.but to shape, can not!

so ,anyone have some ideas?

thanks your help.
jin.


网易邮箱,中国第一大电子邮件服务商

anigold ha scritto:

i use postgresql+geoserver.
if it 's GML, i can parse it from xml.but to shape, can not!

so ,anyone have some ideas?

The feature id is lost when converting to shapefile, that's as
simple as that unfortunately.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

anigold ha scritto:

yes. it's really unfortunate.
i was plan to use SHP-ZIP instead of GML,because of so long time needed to parse xml to Geometry objects after receiving all gml data from Geoserver.

With GeoServer 1.7.3. you'll also have the option of using the
new CSV output format. It keeps the feature ids, and stores
the geometries in WKT format, it may be a bit faster to parse
than GML (thought of course is no binary format like SHAPE-ZIP).

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.