Skip to main content

geojson2fromto

Python module that converts LineStrings and MultiLineStrings of a GeoJSON FeatureCollection to DECK.GL’s LineLayer ‘from-to’

Requirements

Install

$ pip install geojson2fromto

Usage

$ geojson2fromto data.geojson [from-to-data.json]

Note: To use the resulting JSON with Deck.GL’s LineLayer the coordinateSystem prop of the LineLayer has to be set to COORDINATE_SYSTEM.LNGLAT_EXPERIMENTAL

Dev Install

$ git@github.com:weaselandfox/geojson2fromto.git
$ cd geojson2fromto
$ pipenv install

Dev Usage

$ pipenv shell
$ python ./geojson2fromto input.geojson [output.json]

Tests

Make sure you have activated a virtualenv (run $ pipenv shell)

$ pytest

License

MIT © Weasel & Fox

Release files for geojson2fromto 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geojson2fromto 0.3.0
File Size Uploaded
geojson2fromto-0.3.0.tar.gz 15.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for geojson2fromto 0.3.0
File Interpreter ABI Platform
geojson2fromto-0.3.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 23.2 kB

Release files / geojson2fromto-0.3.0.tar.gz

Download URL geojson2fromto-0.3.0.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6c1ea400c1f4098e2f3be8d38bfea1a6bc695a0776e9886a915e6eab26110aca
BLAKE2b-256 checksum
How to use checksums
3093a6ddebb8d4861c0ca6f12d04f489b3f3e84906a945a3595fe0f5f6e968ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.19.1

Release files / geojson2fromto-0.3.0-py2.py3-none-any.whl

Download URL geojson2fromto-0.3.0-py2.py3-none-any.whl
Size 7.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0563bd2662a33057b29cb065e6b37d221f4ddd239e710a6dd683d2da29ccb7f4
BLAKE2b-256 checksum
How to use checksums
84cbbca56e92997f72e110a23641cb4258bad72305780cfdc12e096f579d4183
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.19.1

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page