ShapeZipOutputFormat cannot handle long shapefile incompatible schemas
----------------------------------------------------------------------
Key: GEOS-3235
URL: http://jira.codehaus.org/browse/GEOS-3235
Project: GeoServer
Issue Type: Improvement
Components: WFS
Affects Versions: 1.7.5
Reporter: Mauro Bartolomeoli
Assignee: Andrea Aime
Priority: Minor
Fix For: 1.7.x
Attachments: patch.zip
Currently exporting shapefiles via WFS (outputFormat="SHAPE-ZIP") is not
possible (Exceptions are thrown) if the source FeatureCollection has a schema
which is not compatible with shapefile datastore/featurestore constraints such
as:
1) the geometry attribute has to be named the_geom
2) the field names have to be shorter than 10 characters
In the attached a patch to ShapeZipOutputFormat, together with a new
RemappingFeatureCollection class (also attached) tries to handle those cases.
A test case is also included.
--
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
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel