tif2geojson

Converts TourInFrance XML format to GeoJSON


Keywords
tif2geojson
License
BSD-3-Clause
Install
pip install tif2geojson==0.1.3

Documentation

TourInFrance to GeoJSON

https://badge.fury.io/py/tif2geojson.png https://travis-ci.org/makinacorpus/tif2geojson.png?branch=master https://pypip.in/d/tif2geojson/badge.png

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