Android Question Get the coordinates of geoson json

deyvitm

Member
Licensed User
Longtime User
As I can get the coordinates of the lit put down, to pass them to OSM map and display an outline:

{"type":"Polygon","coordinates":[[[-77.8,-3],[-78,-3.1],
[-78,-3.1],[-78,-3.1],[-78,-3.1],[-78,-3.1],[-78,-3.1],[-78,-3.1],[-78,-3.1],
[-77.8,-3]]]
}

And

{"type":"MultiPolygon","coordinates":
[
[[[-76.8,-12.4],[-76.8,-12.4],[-76.8,-12.4],[-76.8,-12.4],[-76.8,-12.4],[-76.8,-12.4],[-76.8,-12.4],[-76.8,-12.4],[-76.8,-12.4],[-76.8,-12.4],[-76.8,-12.4],[-76.8,-12.4],[-76.8,-12.4],[-76.8,-12.4]]],

[[[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3],[-76.9,-10.3]]]]}


Thx
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…