Git Product home page Git Product logo

apicarto-qpv's Introduction

Synopsis (fr)

Installation

Installation application

Dépendances

Node 5.0

$ npm install

ou vous pouvez l'installer avec docker

docker build -t apicarto/zoneville . < Dockerfile

Création de la base de données

./load.sh
createdb zoneville
psql zoneville -c "create extension postgis"
psql -f qp.sql zoneville

Launch it

$ cd ..
$ npm start

Or with docker

docker run --name zoneville -e PG_URI='postgres://docker:[email protected]/zoneville' apicarto/zoneville

API Reference

Serveur publique :

GET /qpv/layer

Paramètres

  • bbox (optionnel) : bbox

-> retourne le geojson avec les qpv présents.

exemple : curl http://localhost:3000/qpv?bbox=4.718971252441407,43.91458889820759,5.0435829162597665,43.98441605494321

{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[4.83188055399615,43.9(...)}

POST /qpv/intersects

Paramètres :

  • geojson

exemple :

Tests

$ cd ..
$ npm test

Un exemple d'implémentation est disponible ici.

ROADMAP

Contributors

Nabil Servais

License

MIT

apicarto-qpv's People

Contributors

blackrez 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.