spatial4j icon indicating copy to clipboard operation
spatial4j copied to clipboard

Can't add property when trying to write GeoJson

Open nassimesi opened this issue 1 year ago • 1 comments

Hello, I looked up for a class or methods which give me hand to add customized properties for geoJson entry but I couldn't find it

I want to have an entry in my output geoJsonFile as follow : { "type": "Feature", "properties": { "prop0": 224, "prop1": 9, "geometry": { "type": "Polygon", "coordinates": [ [ [ -0.256195027454467, 19.477078487854236 ], [ -0.083718492903519, 19.477078487854236 ], [ -0.083718492903519, 19.641083840411458 ], [ -0.256195027454467, 19.641083840411458 ], [ -0.256195027454467, 19.477078487854236 ] ] ] } },

How can I do this

nassimesi avatar Jan 31 '24 17:01 nassimesi

I think you may find Spatial4J not well suited to that kind of customization. Good luck.

dsmiley avatar Jan 31 '24 19:01 dsmiley