Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose proj_transform in python bindings #117

Closed
artemp opened this issue Oct 11, 2011 · 3 comments
Closed

Expose proj_transform in python bindings #117

artemp opened this issue Oct 11, 2011 · 3 comments

Comments

@artemp
Copy link
Member

artemp commented Oct 11, 2011

The forward and inverse methods in the python bindings do not seem to allow for transformation between two projected systems, only to and from wgs 84 geographic coordinates.

It would be really useful if the proj_transform(source, destination) function in:
source:trunk/src/proj_transform.cpp
could be exposed in:
source:trunk/bindings/python/mapnik_projection.cpp
or perhaps:
source:trunk/bindings/python/mapnik_proj_transform.cpp

@artemp
Copy link
Member Author

artemp commented Oct 11, 2011

[artem] I agree this would be useful .

@artemp
Copy link
Member Author

artemp commented Oct 11, 2011

[springmeyer] r792 added support for the ProjTransform class in mapnik python, however the code support only Coord objects.

Reopening until we add support for Envelopes.

@artemp
Copy link
Member Author

artemp commented Oct 11, 2011

[springmeyer] r822 adds support for Envelope transformation.

@artemp artemp closed this as completed Oct 11, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant