On 11/10/2009 05:46 AM, Sean Gillies wrote:
> On Nov 10, 2009, at 1:10 AM, Roy Hyunjin Han wrote:
>
>
>> Hi,
>>
>> I see that GEOS added the ability to project a point onto a line a few
>> months ago.
>> http://trac.osgeo.org/geos/ticket/285
>>
>> PostGIS already seems to have this ability.
>> http://selectoid.wordpress.com/2009/02/13/reprojecting-snapping-point-geometries-onto-a-given-line-geometry-using-postgis/
>>
>> Can we access this GEOS functionality using Python through Shapely?
>>
>> Thanks for maintaining this package,
>> RHH
>>
> Currently, no. We're open to suggestions for new features like this.
>
> The linear referencing API will be appearing in GEOS 3.2. Shapely 1.2
> has been aimed at GEOS 3.1 and we haven't yet discussed whether we
> should raise the aim to 3.2.
>
> If you look at the base geometry class, it should be fairly clear how
> you could use the linear referencing functions in the GEOS C API in
> new Line methods like line.interpolate and line.project.
>
> --
> Sean
>
>
Thanks, Sean. I will take a look at the base geometry class.
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community