span8
span4
span8
span4
Hello everyone ,
I have two JSON files
1.RoadElement.json
2.WaterArea.json
I want to create geometry from each JSON file that would be polyline & Polygon features
I have also created FME workbench but could not able to create Geometry having some problem can any one help me what is wrong?
Please find attached JSON file and created Workbench
I think the data doesn'tvalidateas correct GeoJSON.
The structure for a polygon feature should be:
{ "type": "Polygon","coordinates": [ [ [ 100,0 ],[ 101,0 ],[ 101,1 ],[ 100,1 ],[ 100,0 ] ] ]}
Where a piece inwaterarea.jsonis:
{"type": "coordinates","coordinates": [[145.71758,-30.83595],[145.71769,-30.83532],[145.71895,-30.8348],[145.72022,-30.83381],[145.72158,-30.83383],[145.72241,-30.83428],[145.72374,-30.83646],[145.72404,-30.83773],[145.72403,-30.83846],[145.72028,-30.83697],[145.71872,-30.83623],[145.71758,-30.83595]]}
Issues are:
See thespec.
This works for me:
{"type": "Polygon","coordinates": [[[145.71758,-30.83595],[145.71872,-30.83623],[145.72028,-30.83697],[145.72403,-30.83846],[145.72404,-30.83773],[145.72374,-30.83646],[145.72241,-30.83428],[145.72158,-30.83383],[145.72022,-30.83381],[145.71895,-30.8348],[145.71769,-30.83532],[145.71758,-30.83595]]]}
© 2019 亚搏在线Safe Software Inc |Legal