returns invalid JSON array "coordinates" #279
Unanswered
joepperkins
asked this question in
Q&A
Replies: 1 comment
-
I have validated this through geojsonlint and this is valid GeoJSON. I have also tested with geojson.io. A Polygon is an array of one or more linear rings (arrays) containing arrays of coordinate pairs. Please clarify what you believe is invalid here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Example Endpoint: https://api.weather.gov/gridpoints/HGX/64,92
[[[...]]] is not a valid JSON array structure for coordinates and is breaking all endpoints that include "coordinates"
{
"@context": [
"https://geojson.org/geojson-ld/geojson-context.jsonld",
{
"@Version": "1.1",
"wx": "https://api.weather.gov/ontology#",
"geo": "http://www.opengis.net/ont/geosparql#",
"unit": "http://codes.wmo.int/common/unit/",
"@vocab": "https://api.weather.gov/ontology#"
}
],
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-95.380197499999994,
29.6908821
],
[
-95.380123999999995,
29.6681214
],
[
-95.353927299999995,
29.668182999999999
],
[
-95.353995699999999,
29.690943699999998
],
[
-95.380197499999994,
29.6908821
]
]
]
},
"properties": ...
Beta Was this translation helpful? Give feedback.
All reactions