Skip to main content

Converts TourInFrance XML format to GeoJSON

Project description

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

History

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.

Source Distribution

tif2geojson-0.1.1.zip (8.3 kB view details)

Uploaded Source

File details

Details for the file tif2geojson-0.1.1.zip.

File metadata

  • Download URL: tif2geojson-0.1.1.zip
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tif2geojson-0.1.1.zip
Algorithm Hash digest
SHA256 18ab18c39f1b8b1e466a27a816457ae8a5db89372dca4c86661264ba08bec6e2
MD5 ec94dbbe32e26d8f87c9c78ab2a05670
BLAKE2b-256 5e80d5ff28c8b4dedce3128185c65fd6279cd82595dc23894d6c613124949266

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page