Mateusz,

AddPoint(linestring, point, [<position>])

I don't think you can easily remove a point. Dump(geometry) might allow you to do it, but I'm not sure how it works.

I STRONGLY believe that there should be set of functions that allow versatile construction, editing and deconstruction of geometries. I think we have a good start at these, and it probably my limited knowledge that prevents me from see how to do the others :)

-Steve

Mateusz Łoskot wrote:
Hi,

May be it's an extremely trivial problem or it's quite late and I should
get to bad, but please help me :-)))

The question is:
how to add/remove point from existing instance of LineString class?

I created LineString assigning to it object of type of
CoordinateArraySequence with some points.
Now, I'd like to add/remove points from this sequence assigned to
linestring.

How can I achive this simple functionality?

I'm sure it's very simple, but I can not find it.

Cheers

_______________________________________________
geos-devel mailing list
geos-devel@geos.refractions.net
http://geos.refractions.net/mailman/listinfo/geos-devel

Reply via email to