[postgis-users] Retrieving linestring data between endpoints

Nicolas Ribot nicolas.ribot at gmail.com
Thu Sep 6 11:41:53 PDT 2012


Hi,

Maybe this thread about closing contour polylines can give some hints:
http://postgis.refractions.net/pipermail/postgis-users/2012-May/034149.html

Do you have sample data we could play with ?

Nicolas

On 5 September 2012 19:15, Max Pyziur <pyz at brama.com> wrote:
>
> Greetings,
>
> I'm trying to figure out a way of constructing linestrings between
> endpoints.
>
> Shapefile data for pipelines and railroads does not present continuous
> lines; instead they are in the form of small line segments. The applications
> are using data for roads, pipelines, or railroads.
>
> Interstate 70 is not one complete linestring between Washington DC and the
> middle of Utah; instead it is a series of segments. The same with pipeline
> and railroad data.
>
> The problem becomes more cumbersome (at least to me) when there is no
> knowledge of the data between two points (say Edmonton and Vancouver) and
> you want to see if there is a way to string a set of segments between two
> points (to answer a question like is there a railline between Edmonton and
> Vancouver)?
>
> I would appreciate any advice on how to proceed.
>
> Much thanks,
>
> Max Pyziur
> pyz at brama.com
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list