Skip to content

Feature .id, .geometry, .properties, .type properties #4

@sgillies

Description

@sgillies

Lately I'm feeling that, for example, ftr.properties['foo'] is cleaner syntax than ftr['properties']['foo'] and that we could surface all the standard GeoJSON items as Python properties in addition to the old item getter style. So, ftr.id == ftr['id'] would be True.

We could get this by requiring the geojson module or could roll our own dict-based classes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions