Hi,
I've downloaded a json file that contains geometries defined as an array of coordinates. A portion of this json file is described below. One json feature can have one or more geometries. I can't find the proper way to parse this json file and transform this array of coordinates to a polygon.
Do you have any solution ?
Thanks for your help.
{
"identifier" : "2",
"country" : "REU",
"name" : "dFM]iD 2] La grande montée/Plaine des cafres",
"type" : "COMMON",
"restriction" : "PROHIBITED",
"restrictionConditions" : "",
"region" : 931,
"reason" : r "OTHER" ],
"otherReasonInfo" : "Zone dangereuse",
"regulationExemption" : "",
"uSpaceClass" : "",
"message" : "Vols interdits sauf lorsque la publication d'information aéronautique l'autorise explicitement ou avec l'accord du gestionnaire de la zone lorsqu'il est désigné par l'information aéronautique",
"applicability" : d],
"zoneAuthority" : o
{
"name" : "Autorité mentionnée en ENR 5.1 de l’AIP",
"service" : "",
"email" : "",
"contactName" : "",
"siteURL" : "",
"phone" : "",
"purpose" : "",
"intervalBefore" : ""
}
],
"geometry" :
{
"uomDimensions" : "M",
"lowerLimit" : 0,
"lowerVerticalReference" : "AGL",
"upperLimit" : 213.36,
"upperVerticalReference" : "AGL",
"horizontalProjection" : {
"type" : "Polygon",
"coordinates" : "
:
> 55.591667, -21.161667 ],
, 55.590278, -21.184167 ],
< 55.635278, -21.187222 ],
55.634444, -21.164722 ],
r 55.591667, -21.161667 ]
]
]
}
},
{
"uomDimensions" : "M",
"lowerLimit" : 213.36,
"lowerVerticalReference" : "AGL",
"upperLimit" : 2987.08,
"upperVerticalReference" : "AGL",
"horizontalProjection" : {
"type" : "Polygon",
"coordinates" : f
A
55.591667, -21.161667 ],
p 55.590278, -21.184167 ],
55.635278, -21.187222 ],
55.634444, -21.164722 ],
r 55.591667, -21.161667 ]
]
]
}
}
]
}