FeatureJSON won't write proper json in case there are no attributes
-------------------------------------------------------------------
Key: GEOT-3463
URL: http://jira.codehaus.org/browse/GEOT-3463
Project: GeoTools
Issue Type: Bug
Affects Versions: 2.7-RC2
Reporter: Andrea Aime
Assignee: Justin Deoliveira
Fix For: 2.7.0
Writing out a feature that has null attributes (besides the geometry) results
in invalid json looking like:
{"type":"Feature","geometry":{"type":"Point","coordinates":[43.3599,-11.6515]},"properties":},"id":"null"}
notice "properties": }
This is due to some failing string handling. The fix is trivial, going to
provide a patch with a test
--
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
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel