geosolutions-it / sciadro-backend

https://waffle.io/geosolutions-it/sciadro-backend
1 stars 3 forks source link

Create asset fix geometry field value #47

Closed MV88 closed 5 years ago

MV88 commented 5 years ago

Point geometry should be:

{
    "type": "Point",
    "coordinates": [ 10.4374221, 43.6524748 ]                  
}

instead of

{
   "type": "Point",
   "coordinates": [ [ 10.4374221, 43.6524748 ] ]
}

LineString geometry should be :

{
   "type": "LineString",
   "coordinates": [ [ 10.4374221, 43.6524748 ], [ 10.4374255, 43.6524755 ], ...optionalOtherPoints  ]
}