Skip to content

makinacorpus/tif2geojson

Repository files navigation

TourInFrance to GeoJSON

image

image

image

Install

pip install tif2geojson

Features

  • Read XML TourInFrance V3 and converts to GeoJSON
  • Take profit of title, description, category, pictures, website and phone attributes
  • Select language for title and description
  • Converts from command-line

Usage

from tif2geojson import tif2geojson

geojson = tif2geojson(xmlcontent)

If you have geojsonio-cli installed, you can shoot TourInFrance URLs straight to geojson.io for lightning-fast visualization and editing.

$ curl "http://sit.com/flux.xml" | tif2geojson.py | geojsonio

Authors

makinacom_

License

  • Free software BSD - Copyright Makina Corpus