[postgis-users] breake lines

Simon Norris snorris at hillcrestgeo.ca
Fri Aug 30 09:13:59 PDT 2019

You probably want ST_Split(). 
If you are working with your previous example, one way to avoid precision problems after applying the split might be to use the linear referencing funtions to shrink the lines by your preferred tolerance.

In case you haven't already seen it, this illustrates the numerical precision difficulty:

> On Aug 30, 2019, at 1:51 AM, paul.malm at lfv.se wrote:
> Hi,
> What PostGIS command do I use to  breake linestrings or multilinestrings using  another “breaking” table including linestrings or multilinestrings, without erasing any points or adding anything from the “braking” layer?
> Thanks in advance,
> Paul
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org <mailto:postgis-users at lists.osgeo.org>
> https://lists.osgeo.org/mailman/listinfo/postgis-users <https://lists.osgeo.org/mailman/listinfo/postgis-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20190830/e6a7d9bf/attachment.html>

More information about the postgis-users mailing list