On Sun, Jul 25, 2010 at 7:22 PM, Jaakko Salli
<[email protected]> wrote:
>
> Hi Andrea,
>
> On 25.7.2010 19:58, iomeneandrei wrote:
>>
>> only for confirmation: is it impossible to rotate a layer with shapely?
>>
>
> AFAIK 2D matrix transformations (rotate, scale,
> etc.) are missing in the underlying GEOS library
> that the Shapely uses. Personally I have needed the
> transformations and have been doing them manually -
> that is, applying the rotate and scale formulas on
> the individual points of a polygon and then re-
> constructing the polygon. This is not a quick operation
> in pure Python and I assume that it should be much
> faster when using GEOS with C/C++ (where you may have
> direct access to polygon point).
>
> Regards,
>  Jaakko

Another issue is that Shapely has no concept of "layer". It supports
operations on single geometric objects or collections of objects, but
not on thematic layers.

-- 
Sean
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to