[postgis-devel] please review my assumption about segmentize and bbox

Sandro Santilli strk at kbt.io
Sat Nov 12 03:32:00 PST 2016


On Sat, Nov 12, 2016 at 11:19:29AM +0000, Darafei "Komяpa" Praliaskouski wrote:
> ST_Extent('SRID=4326;LINESTRING(-73 40, 53 27)'::geography::geometry) = BOX(-73
> 27,53 40)
> ST_Extent(ST_Segmentize('SRID=4326;LINESTRING(-73 40, 53
> 27)'::geography,100)::geometry) = BOX(-73 27,53 56.2529232769426)
> 
> In planar geometry your assumption should be valid, though.

Thanks, for topology only planar is considered, but good point
about ST_Segmentize (ie: cannot just let lwline_segmentize take
the assumption).

--strk;



More information about the postgis-devel mailing list