Skip to content

search germany for place ags plz etc.

Notifications You must be signed in to change notification settings

vgarcia007/places-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

places-api

What does it?

It's an API to serch for places in Germany.
You can search by

  • zipcode (Postleitzahl)
  • ags (Amtlicher Gemeindeschlüssel)
  • osm_id (Openstreetmap ID)

Example output:

[
    {
    "osm_id": "2186917",
    "ags": "09187124",
    "ort": "Edling",
    "plz": "83533",
    "landkreis": "Landkreis Rosenheim",
    "bundesland": "Bayern"
    }
]

How do i run it?

You need to build this docker image before:
https://github.com/vgarcia007/webapp-baseimage

Then run docker compose in this repo.
You might edit the compose file...

docker-compose up -d

At last step run the setup
https://localhost:5013/setup

Thats it
For available routes see index.php (Yes i am very lazy).


Do you use work from others?

Yes, the places data is from:
https://www.suche-postleitzahl.org/
https://www.openstreetmap.org/copyright

And AltoRouter is used for routing in the script: https://github.com/dannyvankooten/AltoRouter

About

search germany for place ags plz etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages