Hi all,
(Totally new to Geotools community so sorry if I am posting at wrong place
and please help to move it to where it belongs to.)
While using Geotools in our project, I found two bugs when parsing WFS
GetFeature response from ArcGIS Server 10.1.
1) attribute "gml:id" is missing. Unlike a standard WFS GetFeature
response, the attribute "gml:id" is missing for EACH FEATURE in ArcGIS
response. (see
http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000004rz000000,
search for "gml:ids") However, this is a mandatory attribute in
org.geotools.data.wfs.v1_1_0.parwers.XMLSimpleFeatureParser.java
This issue has been raised before within the community
http://jira.codehaus.org/browse/GEOT-2912 but it is still marked unsolved.
I have made a patched XMLSimpleFeatureParser.java my own. Please let me
know if I should submit my patch to somewhere and where to submit.
2) The second bugs is more trickier. I found discrepancies between Geometry
Attribute Name in ShapefileDataStore schema and the WFS response schema.
While WFS response generate the geometry attribute name from
DescribeFeatureType request, ShapefileDataStore would generate its own
geometry attribute name by default value "the_geom". This triggered errors
when copying feature source from WFS datastore to feature source in
Shapefile data store, especially considering that ArcGIS Server WFS
GerFeature response is using "Shape" as its geometry attribute name. Is it
a bug or did I miss something here?
Thanks in advance!
best,
Allen
--
林轶伦 LIN, Yilun (Allen)
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel