Git Product home page Git Product logo

hydrantenplaene's Introduction

Hydrant maps

Hydrant maps for village Ipsheim (en) or Ipsheim (de) based on printmaps-osm.

Based on OpenStreetMap

All fire hydrants are implemented as features in OpenStreetMap. A rendered map can be seen at Hydrants Ipsheim.

Printmaps

The maps are rendered With help of printmaps-osm. The CLI client is stored as Linux amd64 binary in ./bin. For other operating systems you can find binaries at CLI-Clients.

Shared files

All shared files are referenced as symbolic links to each partial map.
If the symlinks are broken, they could be restored by

cd <partial map folder>

ls -d1 ../shared/* | while read f; do
  ln -sf "$(cat $f)" "$f"
done

How to position scale bar

Get start position with help of uMap. Create a marker at interested position with Ctrl+M and copy the values from coordinates.
With theese coordinates we could create the relevant data:

Usage:
  printmaps bearingline  lat       lon      angle length  linelabel     filename

$ printmaps bearingline  51.98130  7.51479  90.0  1000.0  "1000 Meter"  scalebar-1000

Install Python requirements

python3 -m venv venv # If not created, creating virtualenv
source ./venv/bin/activate # Activating virtualenv
pip3 install -r ./requirements.txt # Installing dependencies
deactivate # When you want to leave virtual environment

Generate map

printmaps ...

  • optional: edit 'map.yaml'
  • optional: create (only for the first time to create a map.id file)
  • update
  • optional: upload (if additional files changed)
  • order
  • state ... state
  • download

If the last creation is long ago, the map id gets deleted on the backend system. In that case the map.id file should be re-created: rm map.id && printmaps create

hydrantenplaene's People

Contributors

t08094a avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.