R: [postgis-users] match line with road segment
P.Rizzi Ag.Mobilità Ambiente
paolo.rizzi at ama-mi.it
Thu Jul 17 07:38:06 PDT 2008
If I undestood it well enough and you are trying to match
GPS tracked points upon a road system, you should be careful
Where two roads cross, a GPS point may be nearer to the crossing road
instead of the one the vehicle actually was.
So you should ensure to somehow "stick" to the "correct" road.
Maybe by calculating the azimuth of each individual two-consecutive-points
segment and searching for the road nearest to the ending point
of the segment _and_ with the azimuth most similar to the segment itself.
Obviuosly sometimes a vehicle actually turns into a crossing road,
so you should also recognize that somehow and _don't_ "stick" in that case...
> -----Messaggio originale-----
> Da: postgis-users-bounces at postgis.refractions.net
> [mailto:postgis-users-bounces at postgis.refractions.net]Per conto di
> Inviato: giovedì 17 luglio 2008 16.23
> A: postgis-users at postgis.refractions.net
> Oggetto: RE: [postgis-users] match line with road segment
> Paragon Corporation-2 wrote:
> > You may be better off snapping the points to the line first
> before you do
> > a
> > make line. Take a look at Paul's blog entry.
> > Sounds similar to what you are trying to do.
> > Hope that helps,
> > Regina
> Thanks for the reply...Yes, I already did that..so, is there
> any idea what
> should i do next?
> View this message in context:
Sent from the PostGIS - User mailing list archive at Nabble.com.
postgis-users mailing list
postgis-users at postgis.refractions.net
More information about the postgis-users