geojson / py-feature-sequences

GeoJSON feature sequences for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

py-feature-sequences

GeoJSON feature sequences for Python

GeoJSON feature sequences

Feature sequences are described at https://github.com/geojson/geojson-feature-sequences.

This project aims to extract the implementation in Fiona's fio-collect command (see https://github.com/Toblerity/Fiona/blob/master/fiona/fio/cat.py#L166) and generalize it for wider use.

Usage

No code has been written yet, but the proposed usage is something like the following.

from geojseq import FeatureSequenceReader

for feature in FeatureSequenceReader(open('example.seq')):
    print feature
    # output: {'type': 'Feature', ...}

About

GeoJSON feature sequences for Python

License:MIT License