Support ArcGIS WFS responses without gml:id
-------------------------------------------
Key: GEOT-2912
URL: http://jira.codehaus.org/browse/GEOT-2912
Project: GeoTools
Issue Type: Improvement
Components: data wfs
Affects Versions: 2.6.0
Environment: win32, java 1.6.0_13
Reporter: Dmitry Rykovanov
Fix For: 2.0.0
Attachments: XmlSimpleFeatureParser.java
Support ArcGIS WFS responses without gml:id
http://webhelp.esri.com/arcgisserver/9.3/Java/index.htm#wfs_service.htm states
that
{quote}
gml:ids are not provided for features in WFS services that are based on
Shapefiles
{quote}
Looking in XmlSimpleFeatureParser.seekFeature() I see following code:
{quote}
// Mapserver hack
if (featureId == null) {
featureId = parser.getAttributeValue(null, "id");
}
{quote}
I've attached patched XmlSimpleFeatureParser with proposed solution. The idea
is to use first attribute as feature id
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel