On Sun, Jul 25, 2010 at 11:09 PM, iomeneandrei <aborr...@tin.it> wrote:
>
> Hi Jakko and Sean,
> thanks to you both.
>
> I was wrong to use the term "layer". I would be satisfied even if I could
> rotate a single geometric objects or collections of objects; is it possible
> to do it in shapely?
> If Jakko is right, it should be impossible.
>
> Best regards,
>
> Andrea

Hi Andrea,

Well, not impossible, because like Jaakko said, Shapely gives you easy
access to coordinates that you can transform yourself and supports
adaptation of Numpy arrays (using these would let you transform more
quickly) although you'd have to pay the price of copying data for each
transformation. 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.

Cheers,

-- 
Sean
_______________________________________________
Community mailing list
Community@lists.gispython.org
http://lists.gispython.org/mailman/listinfo/community

Reply via email to