Skip to content

Expose __geo_interface__ in python bindings #2009

@springmeyer

Description

@springmeyer

The __geo_interface__ (https://gist.github.com/sgillies/2217756) from @sgillies is basically a python object property that returns a geojson dictionary.

We should automatically provide this method for mapnik.Feature and mapnik.Path. However Geometry2d.__geo_interface__ is blocked by lacking support for passing a bare geometry into mapnik::json::geometry_generator (#1437)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions