Giter VIP home page Giter VIP logo

maps's Introduction

Data-fair/maps

Data-fair/maps is a tile server created for data-fair, this service is able to render maplibre/mapbox style with additionnal geometry (from base64url wkb or POST body) using maplibre-gl-native. data-fair/maps is using mongodb to store tiles to be able to load and merge mbtiles at runtime.

Why data-fair/maps?

What maps allow you to do?

  • Update tilesets and merge tiles at runtime
  • Quick server-side rendering of complex geometry
  • Use Simple-directory
  • Be more reliable (mongo storage vs file storage)

What maps force you to do?

Why MongoDB ?

More flexible than files for scalable architecture (update tilesets and merge tiles at runtime) and less complicated to maintain than postgis

Development

See DEVELOPING.md

Quick start

Start data-fair/maps

# Run the dependencies
docker-compose up -d
# Start the server
docker run -d --name maps -e PORT=7400 --network host ghcr.io/data-fair/maps

Server will be listening to http://localhost:7400. Authentication will not be available in this environment, a proxy is needed to redirect request to the authentication service.

Import your tiles

# Copy your mbtiles
docker cp ./france.mbtiles maps:/france.mbtiles
# Import
docker exec maps node scripts/import-mbtiles.js --file /france.mbtiles --create --tileset france

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.