Skip to content

Comments

Wrong type of GeoJSON#2

Open
brokfeld wants to merge 1 commit intoGovDataOfficial:masterfrom
brokfeld:patch-1
Open

Wrong type of GeoJSON#2
brokfeld wants to merge 1 commit intoGovDataOfficial:masterfrom
brokfeld:patch-1

Conversation

@brokfeld
Copy link

@brokfeld brokfeld commented Feb 1, 2017

I think the entry

"spatial": {
...
"properties": {
"type": {
...
"enum": ["polygon"]
}

is wrong.

Have a look at
http://geojson.org/geojson-spec.html#id4

It's correct to write the "P" of "polygon" in upper case.

Applications like http://geojson.io doesn't accept GeoJSON with the type "polygon" in lower case.

I think the entry

 "spatial": {
         ...
          "properties": {
            "type": {
             ...
              "enum": ["polygon"]
            }

is wrong.


Have a look at
http://geojson.org/geojson-spec.html#id4


It's correct to write the "P" of "polygon" in upper case.


Applications like http://geojson.io doesn't accept GeoJSON with the type "polygon" in lower case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant