Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 971 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 971 Bytes

Depracated!

We've moved to use nginx to facilitate for getting the file using http and use a shell script to update it locally on the server's machine.

OSMPbfWebAPI

An OSM Pbf manager exposed as HTTP REST API

This docker uses OSM-C-Tools under the hood and Asp.Net to serve an HTTP server. The main functionality is by creating an extract that holds an OSM pbf file. Update it by downloading daily and or minutely updates and stream it back.

In order to use this you'll need docker.

Runing with docker-compose

Run docker-compose up -d

Running with docker

Build the container with docker build -t osmpbf-webapi . When build is complete run docker run -p 8987:80 osmpbf-webapi

Checking the API

Open http://localhost:8987/swagger to get a simple UI to interact with the pbf extracts mamanger/

This is also available in dockerhub: israelhikingmap/osmctoolswebapi