Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More information in admin field #15

Open
xlqian opened this issue Jun 8, 2016 · 0 comments
Open

More information in admin field #15

xlqian opened this issue Jun 8, 2016 · 0 comments

Comments

@xlqian
Copy link

xlqian commented Jun 8, 2016

we have noticed that there is already an issue about the admin field: #7, which is partially interesting for us and our opinion is also shared in this very issue.

Another problem we met recently is that we'd like to expose more details in admin field especially coord and id.

final result will look like:

{
    …
    "admin": [
         {
              "type": "country",
              "name": "France",
              "admin_level": 1,
              "coord": "42;42"
         },
         {
              "type": "region",
              "name": "Nord-Pas-de-Calais",
              "admin_level": 2,
              "coord": "42;42"
         },
         {
              "type": "mycustomlevel",
              "name": "Nord",
              "admin_level": 3,
              "coord": "42;42"
         },
    ]
}
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

No branches or pull requests

1 participant