[postgis-users] match line with road segment
searchelite at gmail.com
Mon Jul 21 01:56:03 PDT 2008
Luigi Castro Cardeles wrote:
> just a suggestion: you should try a check to identify the line segment
> don't lies in the road.
> ST_PointN(geometry,integer) you can iterate and create the line segments.
> then you can run a ST_Contains to check if your road segment matches route
> you should save the information of the line segment after and before the
> ST_Contains fails.
> with that information you can find the vertice and them interpolate to
> create him.
> best regards,
> Luigi Castro Cardeles
thanks for the suggestion, but there is a problem...I'm using ST_makeline to
create the route so it only return 1 linestring. When i check with
ST_contains(road_segment, route) it returns f values for all the record
View this message in context: http://www.nabble.com/match-line-with-road-segment-tp18479996p18564625.html
Sent from the PostGIS - User mailing list archive at Nabble.com.
More information about the postgis-users