If I have this geoJSON, how can I retrieve in Javascript the first pair of coordinates [ 13.18232, 42.767165 ]? Is data.features.geometry.coordinates[0] wrong?
{
"type": "FeatureCollection",
"name": "Tracks",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature",
"properties":
{
"Name": "Traversata Castelluccio",
"description": null,
"begin": "2019\/07\/07 07:17:27+00",
"end": "2019\/07\/07 12:41:59+00"
},
"geometry":
{
"type": "LineString",
"coordinates": [
[ 13.18232, 42.767165 ], [ 13.182309, 42.76717 ], [ 13.182189, 42.76723 ], [ 13.18205, 42.767345 ], [ 13.181932, 42.767453 ], [ 13.181793, 42.767553 ], [ 13.181697, 42.767625 ]
]
}
}
]
}