Skip to main content

Converts TourInFrance XML format to GeoJSON

Project description


pip install tif2geojson


  • 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


from tif2geojson import tif2geojson

geojson = tif2geojson(xmlcontent)

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

$ curl "" | | geojsonio


  • Free software BSD - Copyright Makina Corpus


0.1.3 (2014-06-19)

  • Add a number of safety checks if TIF malformed

0.1.2 (2014-06-12)

  • Fix error when dc:title tags have no attribute
  • Fix error when image has no copyright
  • Fix error when several adresses for one entry

0.1.1 (2014-04-06)

  • Fix module packaging

0.1.0 (2014-03-28)

  • Initial working version

Project details

Download files

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

Files for tif2geojson, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size (8.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page