GeoJSON

class vectorformats.Formats.GeoJSON.GeoJSON(*args, **kwargs)

The most complete Format in vectorformats library. This class is designed to use the fastest available JSON library to encode/decode to/from GeoJSON strings.

encode(features, to_string=True, **kwargs)

Encode a list of features to a JSON object or string.

to_string determines whethr it should convert the result to a string or leave it as an object to be encoded later

Previous topic

Format

Next topic

GeoRSS

This Page