Metadata-Version: 2.4
Name: tif2geojson
Version: 0.1.3
Summary: Converts TourInFrance XML format to GeoJSON
Home-page: https://github.com/makinacorpus/tif2geojson
Author: Makina Corpus
Author-email: mathieu.leplatre@makina-corpus.com
License: BSD
Keywords: tif2geojson
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
License-File: LICENSE
Requires-Dist: geojson
Requires-Dist: xmltodict
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: summary

===============================
TourInFrance to GeoJSON
===============================

.. image:: https://badge.fury.io/py/tif2geojson.png
    :target: http://badge.fury.io/py/tif2geojson

.. image:: https://travis-ci.org/makinacorpus/tif2geojson.png?branch=master
        :target: https://travis-ci.org/makinacorpus/tif2geojson

.. image:: https://pypip.in/d/tif2geojson/badge.png
        :target: pypi.python.org/pypi/tif2geojson

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
-----

.. code-block:: python

    from tif2geojson import tif2geojson

    geojson = tif2geojson(xmlcontent)


If you have `geojsonio-cli <https://github.com/mapbox/geojsonio-cli>`__
installed, you can shoot TourInFrance URLs straight to `geojson.io
<http://geojson.io/>`__ for lightning-fast visualization and editing.

.. code-block:: console

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


Authors
-------

* `Mathieu Leplatre <http://mathieu-leplatre.info>`_


|makinacom|_

.. |makinacom| image:: http://depot.makina-corpus.org/public/logo.gif
.. _makinacom:  http://www.makina-corpus.com


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
