Giter VIP home page Giter VIP logo

mapniktileserver's Introduction

OHDM MapnikTileServer

https://github.com/OpenHistoricalDataMap/MapnikTileServer/wiki https://github.com/OpenHistoricalDataMap/MapnikTileServer/wiki/Setup https://github.com/pydanny/cookiecutter-django/ https://github.com/ambv/black Build Status Codacy Badge Codacy Badge DeepSource Dependabot

The OpenHistoricalDataMap MapnikTileServer is an OpenStreetMap time sensitive fullstack tile server. This means you can go back in time on a OpenStreetMap Map and see how your city changed since you was a child or you can go much more back in time, it's your choice :)

The project is build with Django Cookiecutter and it comes with docker support, it is design to work out of the box with Docker.

The current version of this project based on a fork of openstreetmap-carto.

Features

  • documentation: https://github.com/OpenHistoricalDataMap/MapnikTileServer/wiki
  • work out of the box, no special configuration is need
  • work Linux, MacOS, BSD & also should work Windows Pro, just need Docker & Docker-Compose to work
  • OSM based tile server with time sensitive tiles
  • a development & production configuration
  • task-queue for rendering tile with celery
  • caching tiles in redis
  • SSL with Let's Encrypt included
  • generate development database from osm / ohdm
  • include sentry.io in production for error tracking

Dependencies

Tile Server

Front-End

Frontend example repo: https://github.com/OpenHistoricalDataMap/ohdm-angular-frontend

MapnikTileServer OHDM Frontend

minimum server requirements for developing

  • 8 GB of RAM
  • 100 GB of free disk space (better using a SSD drive instead of HDD)

If you can, use beefy hardware!

mapniktileserver's People

Contributors

captain-maramo avatar deepsource-autofix[bot] avatar dependabot-preview[bot] avatar dependabot[bot] avatar dowendland avatar imgbotapp avatar linuxluigi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mapniktileserver's Issues

Update Tile Producer

The code of the Tile Producer is using functions like Envelope which are deprecated so ther need to be updated.

ohdm_django_mapnik/ohdm/tile.py

make site headless

To keep the project as small as possible it could help to split the frontend to a other repo. So that every data quest follow over a REST API.

A possible solution would using Ionic with OpenLayers, with the stack we could have a fast loading website and apps for iOS & Android with one code-base.

sync openstreetmap-carto version

Tile Cache wrong area

The model TileCache in ohdm_django_mapnik/ohdm/models.py use the wrong geom in set_valid_date.
So basicly the line geom = Polygon.from_bbox(tile_generator.get_bbox()) need to be fixed.

Django compressor in Production error

Can't load compressed static files in production enviroment

Workaround right now is to disable compress in .envs/.production/.django

COMPRESS_ENABLED=False

Writing tests (django)

Writing test for:

  • ohdm_django_mapnik/ohdm/utily.py
  • ohdm_django_mapnik/ohdm/views.py
  • ohdm_django_mapnik/ohdm/tasks.py
  • ohdm_django_mapnik/ohdm/tile.py
  • ohdm_django_mapnik/ohdm/models.py

Also test if our fork of openstreetmap-carto create the same tiles as the original

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.