Skip to content

Docker image with HTTP API for centerline command-line tool centerline.readthedocs.io

License

Notifications You must be signed in to change notification settings

spbima/centerline-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Centerline in docker

Docker image with HTTP API for centerline command-line tool centerline.readthedocs.io.

Roads, rivers and similar linear structures are often represented by long and complex polygons. Since one of the most important attributes of a linear structure is its length, extracting that attribute from a polygon can prove to be more or less difficult.

This library tries to solve this problem by creating the the polygon's centerline using the Voronoi diagram.

Installation

Pull docker image from Docker Hub and run container

$ docker pull spbima/centerline
$ docker run -d --name centerline spbima/centerline

Or you can use docker-compose for running

Create file docker-compose.yml

version: '3'
services:
  centerline:
    container_name: centerline
    image: spbima/centerline:0.6.4
    restart: always
    ports:
      - "8000:8000"

And run container by command

$ docker-compose -f docker-compose.yml up -d

Usage

About

Docker image with HTTP API for centerline command-line tool centerline.readthedocs.io

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published