This project is read-only.

Polygon does not comply with GeoJSON specification.


Polygon.vb inherits Geometry(Of Double()()), which is an array of coordinates.
The GeoJSON specification specifies that a polygon is an array of linear rings, which would make it Geometry(Of Double()()()).
I've made this change to my local copy, along with building against the latest Newtonsoft JSON library. It works great.


kgiann78 wrote Oct 12, 2012 at 9:40 AM

These two fixes as above worked for me as well!

I was wondering, how is it possible to have the GeometryCollection with objects of different types as it is referred to the GeoJSON Format Specification (a GeometryCollection with Point, LineString etc)...

I thought that since all objects arrive from GeoObject that would work, but it's not.

wrote Feb 14, 2013 at 1:25 AM