Skip to main content

INSEE/IRIS geolocalization

Project description

# Pyris

IRIS INSEE geolocalization

Pyris try to collect data about IRIS from the French INSEE institute

## Data

IRIS shapes at

Get and insert data with:

  • data/

  • data/

Data will be stored in a PostgreSQL database with the PostGIS extension. The name of database is pyris but you can change it in the

You need to install PostgreSQL, PostGIS. For Debian:

sudo apt-get install postgresql postgis

Test the insertion with a simple:

`sql SELECT gid,depcom,nom_com,iris,typ_iris FROM geoiris LIMIT 10; `


You can:

  • URL/iris/2386 to the some information about a specific IRIS code

  • URL/search/lon=-0.58961&lat=43.26079 to get the IRIS code and related content from a coordinate

## Launch the Web App

Specify the path to the YAML configuration file. Don’t forget to set the user/password for the database access.

export PYRIS_APP_SETTINGS=/path/to/app.yml

See an [example of a app.yml file](

## Requirements

  • postgresql

  • postgis

  • flask

  • flask restplus

  • psycopg2

  • pyaml

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyris-0.2.tar.gz (7.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page