[geos-devel] GEOSGetCoordinates() and performance (postgis bug fix)

David Blasby dblasby at refractions.net
Fri Oct 24 12:18:43 EDT 2003


strk wrote:
> The function GEOSGetCoordinates() had a comment on top stating
> it would have been called just for linestring, so I casted given
> pointer to a linestring and used getCoordinatesRO() for performance.

It was orginally only going to be called for linestrings and linearrings 
(like the comment says).  Then I noticed it does "the right things" for 
polygons and multipoints.

Remove the comment.

dave




More information about the geos-devel mailing list