Skip to main content
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.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

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.3.zip (8.7 kB view details)

Uploaded Source

File details

Details for the file tif2geojson-0.1.3.zip.

File metadata

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

File hashes

Hashes for tif2geojson-0.1.3.zip
Algorithm Hash digest
SHA256 60c2ed77489d5a11bf2c7246ac6214051e81bde8efe2379356b50c4766206080
MD5 f01cbbb9e2bbec168f311199666ff86a
BLAKE2b-256 70252b79b9b10cc53ef7f573b03095c637dd18473facd73f8076556bfebb9b58

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page