Hi Vencislav, this is a very useful tool for issues like this:
geojsonlint.com. I found a missing bracket, that the first and last
coordinates should be the same, and that there should be a "properties"
member of the object. I can't speak directly to whether Arches needs
"properties", but this should at least get you on your way:

 {
  "type": "Feature",
  "properties":{},
  "geometry": {
    "type": "Polygon",
    "coordinates": [
      [
[42.01210183,    26.15033095],
[42.01219511,    26.15037090],
[42.01222801,    26.15059553],
[42.01212651,    26.15074809],
[42.01200129,    26.15076827],
[42.01190826,    26.15066506],
[42.01189476,    26.15049550],
[42.01206854,    26.15041409],
[42.01210183,    26.15033095]
      ]
    ]
  }
}

On Tue, Oct 31, 2017 at 10:59 AM, Vencislav Pirinski <vpirin...@gmail.com>
wrote:

> Hello,
> I have installed the latest version of Arches on ubuntu 16.04 and want to
> add a polygon to the map using coordinates. But an error GeoJSON is invalid
> is given with multiple syntax's.
> This are the coordinates:
> 42.01210183, 26.15033095
> 42.01219511, 26.15037090
> 42.01222801, 26.15059553
> 42.01212651, 26.15074809
> 42.01200129, 26.15076827
> 42.01190826, 26.15066506
> 42.01189476, 26.15049550
> 42.01206854, 26.15041409
> I have tried this :
>
> {
>   "type": "Feature",
>   "geometry": {
>     "type": "Polygon",
>     "coordinates": [
>       [
> [42.01210183, 26.15033095],
> [42.01219511, 26.15037090],
> [42.01222801, 26.15059553],
> [42.01212651, 26.15074809],
> [42.01200129, 26.15076827],
> [42.01190826, 26.15066506],
> [42.01189476, 26.15049550],
> [42.01206854, 26.15041409]
>       ]
>     ]
> }
>
> But its not working. I couldn't find the proper syntax, can anyone direct
> me ?
>
> Best regards
>
> --
> -- To post, send email to archesproject@googlegroups.com. To unsubscribe,
> send email to archesproject+unsubscr...@googlegroups.com. For more
> information, visit https://groups.google.com/d/forum/archesproject?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Arches Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to archesproject+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to