Handle multigeometry features in geojson
----------------------------------------

                 Key: GEOT-3400
                 URL: http://jira.codehaus.org/browse/GEOT-3400
             Project: GeoTools
          Issue Type: Improvement
          Components: new modules
    Affects Versions: 2.7-beta1
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.7-RC1


The attached patch contains two little improvements to the geojson module:
- handling feature with multiple geometries
- handling of objects that are not strings nor numbers, dates or booleans

For the first case, the patch makes it so that the other geometries are encoded 
as properties with the same encoding style as the main geometry.
For the second case, it makes it possible to encode valid json out of a random 
object by using converters. The old code would have treated the object as a 
literal and not enclose it in double quotes, resulting in invalid json (the 
only things not quoted are numbers and booleans)

-- 
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

        

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to