Hi,

In GeoJSON FeatureCollection must have "properties" member even if there are no 
attributes. This output from OpenJUMP r5186 does not validate

{
"type": "FeatureCollection",

"features": [
{ "type": "Feature", "geometry": 
{"type":"Polygon","coordinates":[[[278,423],[483,505],[478,293],[278,423]]],"crs":{"type":"name","properties":{"name":"EPSG:0"}}}
 }
]

}

I am not sure if this is the right fix but at least it validates:
{ "type": "Feature", "properties": { }, "geometry": 

It seems that GeoJSONLint http://geojsonlint.com/ does not like the crs member 
any more because it belongs to older, year 2008 version of GeoJSON.  However, I 
think that OpenJUMP should still output the old version that supports 
projections. I try to find some more flexible validator.

-Jukka Rahkonen-
------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to