Print

Print


Maybe others with more experience will come to your rescue, but I am not 
aware of any tool that will automagically recognize "incorrect" points 
and fix them... how could the tool possibly discriminate b/n good and 
bad points? I think your only options are:
* manually detect these glitches (either before or after route-matching) 
and edit the source points (e.g., interactively in your GIS) to move bad 
points onto what you believe is the correct route
* create a reduced street network for OSRM -- if you know the trips of 
interest followed certain routes, you can select just those routes 
(e.g., select by road class) and save to a new network and feed that 
reduced network to OSRM

As for converting point sequences into lines, there are tools for that:

QGIS: Points2One plugin (install as needed), among other options
ArcGIS data management toolbox PointsToLine

These tools let you optionally create separate routes for groups of 
points based on some attribute field of the point data, and optionally 
control the order in which the points are sorted to create the line.

Chris


On 6/3/19 10:49 PM, Chintan Advani wrote:
> Hi Chris,
> 
> Thank you for your response. You got it right that I am using  point 
> samples of a vehicle's travel to estimate the most likely path it 
> actually followed along a road network. I have tried using ORSM tools 
> earlier. The path would have been accurate if my co-ordinates were 
> exactly on the road network. However, the data set that I have posses, 
> has the co-ordinates that are slightly away from the road network at 
> several locations. The figure attached with the mail shows the stated 
> problem. The vehicle should have taken a straight path  as can be seen 
> that it follows a straight route. However, the two co-ordinates in the 
> paths are drifted away from the road network that leads to an 
> unrealistic movement for the vehicle. Hence, I need some tool that can 
> adjust such drifted co-ordinates ( probably through some technique) as 
> well as draw a path between all such points in a similar fashion as the 
> existing ORSM tool does. And, in case there is no such tool that can do 
> both, can you please suggest some method to overcome the problem?
> 
> large scale network.PNG
> issue with ORSM.PNG
> 
> Thanks and Regards,
> __________________________________________
> Advani Chintan Sanjeev
>          Research Scholar,
>          Civil Engineering and Build Environment,
>          Queensland University of Technology,
>          Brisbane-4000, Australia.
> 
> 
> On Tue, Jun 4, 2019 at 12:15 PM Chris Duncan, GISmatters 
> <[log in to unmask] <mailto:[log in to unmask]>> wrote:
> 
>     Can you describe a bit more precisely what you wish to do? It sounds
>     like perhaps you have point samples of a vehicle's travel and you want
>     to estimate from those the most likely path it actually followed
>     along a
>     road network? If that's your aim, you need to familiarize yourself with
>     the challenges and rewards of route-matching, e.g. using OSRM:
> 
>     https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fproject-osrm.org%2F&amp;data=02%7C01%7CNEARC-L%40listserv.uconn.edu%7Cbd6f282915e746f08c6d08d6e8ec552f%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C1%7C636952499075926554&amp;sdata=z4RhjcGq9YknkQUaptP1vq2qKoegL2Ao55Ly%2FLfSgQc%3D&amp;reserved=0
> 
>     It's been a few years since I worked with this stuff, but I think the
>     general approach is still reasonably well presented in this paper by
>     some of the early researchers:
> 
>     https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ismll.uni-hildesheim.de%2Flehre%2FsemSpatial-10s%2Fscript%2F6.pdf&amp;data=02%7C01%7CNEARC-L%40listserv.uconn.edu%7Cbd6f282915e746f08c6d08d6e8ec552f%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C1%7C636952499075926554&amp;sdata=UyDbxedcOyxRDRLDVFetKE4RBcx7F4rIkY2pURTTrsQ%3D&amp;reserved=0
> 
>     You don't have to master that material to use OSRM, but it's good to
>     understand some of the challenges involved in what is a more or less
>     constrained estimation (educated-guessing) problem whose success
>     depends
>     on the quality (density, accuracy, and precision) of your point data.
> 
>     If you have some other goal in mind, please try to clarify.
> 
>     Chris
> 
>     On 6/3/19 9:55 PM, Chintan Advani wrote:
>      > Hi guys,
>      >
>      > I am looking for some tools in ARCGIS/ QGIS that can help me to
>     plot the
>      > trajectories using the lat/long coordinates for different
>     vehicles. It
>      > would be great if someone can suggest some inbuilt tools as I am
>     new to
>      > this these software and need some guidance.  I even tried to
>     install a
>      > map-matching python script based tools from some online source but
>      > facing issues during execution. I can even share the sample data
>     if that
>      > can be helpful.
>      >
>      > Thank you in anticipation.
>      >
>      > __________________________________________
>      > Advani Chintan Sanjeev
>      >          Research Scholar,
>      >          Civil Engineering and Build Environment,
>      >          Queensland University of Technology,
>      >          Brisbane-4000, Australia.
>      >
>     -------------------------------------------------------------------------
>     This
>      > list (NEARC-L) is an unmoderated discussion list for all NEARC Users.
>      >
>      > If you no longer wish to receive e-mail from this list, you can
>     remove
>      > yourself by going to https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fs.uconn.edu%2Fnearcsubscribe&amp;data=02%7C01%7CNEARC-L%40listserv.uconn.edu%7Cbd6f282915e746f08c6d08d6e8ec552f%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C1%7C636952499075926554&amp;sdata=OW0G5iZU5YP2syNKcW%2BwpeHv4FhF6BCjSOuMBwfQhRQ%3D&amp;reserved=0.
>      >
> 
>     -- 
> 
>     Chris Duncan, Ph.D.
>     President, GISmatters
>     [log in to unmask] <mailto:[log in to unmask]>
> 
>     https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.gismatters.com%2F&amp;data=02%7C01%7CNEARC-L%40listserv.uconn.edu%7Cbd6f282915e746f08c6d08d6e8ec552f%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C1%7C636952499075926554&amp;sdata=NHxiMU852UWIBUmoTOajYIut%2BmNG1LNM4HgADk24zZA%3D&amp;reserved=0
> 
>     Tel: +1 413.549.2052
>     Fax: +1 413.658.0346
> 
>     1 Tuckerman Ln
>     Amherst, MA 01002
> 

-- 

Chris Duncan, Ph.D.
President, GISmatters
[log in to unmask]

https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.gismatters.com%2F&amp;data=02%7C01%7CNEARC-L%40listserv.uconn.edu%7Cbd6f282915e746f08c6d08d6e8ec552f%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C1%7C636952499075926554&amp;sdata=NHxiMU852UWIBUmoTOajYIut%2BmNG1LNM4HgADk24zZA%3D&amp;reserved=0

Tel: +1 413.549.2052
Fax: +1 413.658.0346

1 Tuckerman Ln
Amherst, MA 01002

------------------------------------------------------------------------- This list (NEARC-L) is an unmoderated discussion list for all NEARC Users.

If you no longer wish to receive e-mail from this list, you can remove yourself by going to http://s.uconn.edu/nearcsubscribe.