Hi,

In May 2012, Gus MacAulay posted a message on the mailing list about him
having an issue with FeatureJSON class not being able to handle features
with differing properties.

http://osgeo-org.1560.n6.nabble.com/GeoJSON-No-such-Attribute-problem-td4950
845.html

Is there any reason why FeatureJSON skips null value attributes from being
written into the output GeoJSON document? FeatureJSON won't write feature
properties with null values as it skips it (see line 527 of
FeatureJSON.java) but it will read properties with null values fine. To make
the reading and writing capabilities compatible with each other, I've
written a patch. Is this acceptable with you guys?

https://github.com/gerson721/geotools/commit/41c8ef3af3a15b86ddd139e210b13e7
2717ce3f7

Cheers,

Gerson Galang
Research Software Engineer
Melbourne eResearch Group
The University of Melbourne


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to