Since you are using gdal/ogr, the osr python module can do tranformations. If you want to transform a 'layer', you might want to look into it.
David. On Mon, Jul 26, 2010 at 4:00 PM, iomeneandrei <[email protected]> wrote: > > Dear Sean, > once again thank you. > > > Sean Gillies-2 wrote: >> >> But to confirm, Shapely has no afine transform >> capability. The GEOS library doesn't expose any such thing in its APIs >> either, although there is a framework for transformations in general: >> >> >> http://geos.refractions.net/ro/doxygen_docs/html/classgeos_1_1geom_1_1util_1_1GeometryTransformer.html >> >> I wouldn't mind if Shapely did have afine transforms and would be >> happy to help you develop a tested patch. >> > > I'm not sure I understand you. I would be honored to have your help, but I'm > a Python novice and I'm not able to develop a tested patch. > > I have a programmable Unmanned Aerial Vehicle, and I'm trying to use Python, > Shapely and GDAL/OGR to write code useful to build optimized aerial routes > (and some other things). > > Rotate geometric object is useful for me, because in some way I can simulate > the changes of the footprint of my UAV photocamera on changing of pitch, > yaw, and roll of the UAV (especially pitch and yaw). > > Best regards, > > a > > > ----- > Andrea Borruso > > ---------------------------------------------------- > email: [email protected] > website: http://blog.spaziogis.it > my 2.0 life: http://aborruso.spaziogis.it > feed: http://feeds2.feedburner.com/Tanto > 38° 7' 48" N, 13° 21' 9" E > ---------------------------------------------------- > -- > View this message in context: > http://community-gispython-org-community-projects.955323.n3.nabble.com/rotating-a-layer-tp977903p997491.html > Sent from the Community -- gispython.org community projects mailing list > archive at Nabble.com. > _______________________________________________ > Community mailing list > [email protected] > http://lists.gispython.org/mailman/listinfo/community > _______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
