Closed GoogleCodeExporter closed 8 years ago
I've made some tests and the problem looks not related to the presence of a
polygon object. I'm investigating...
Original comment by diegogu...@gmail.com
on 28 May 2013 at 7:33
Simply speaking, serializing an IGeometry[] array generates an INVALID GeoJson
feature: even better, it generates a VALID GeoJSON fragment.
This looks the correct behavior, and using GeoJsonReader/Writer objects, you
can't pass arrays as parameters.
Actually, you should use GeometryCollection objects to work with, ehm,
collections.
See the attached the code I've used to test your issue.
An idea is to make GeoJsonSerializer class internal, or throws a specific
exception that can help the user to understand where's the problem
Original comment by diegogu...@gmail.com
on 28 May 2013 at 8:16
Attachments:
Thanks for the feedback!
Original comment by christia...@enbio.se
on 28 May 2013 at 11:01
Original issue reported on code.google.com by
christia...@enbio.se
on 22 May 2013 at 8:50