Re: [Qgis-user] Map Matching

2019-05-24 Thread Christoph Jung
Hi Chintan,

I had a look on the data you provided:

1. I just found the DBF-file, not the whole SHAPE, so I could not reproduce the 
problem with your data.
2. The DBF contains over 60.000 data sets, I think that is the network.
3. The screenshot you provided does not show a problem, but it looks like the 
plugin is still running (check the task manager to confirm it).

If you are using a very big network, than the plugin will slow down. Please 
read the detailed description of the plugin in the README on GitHub. In short:
The plugin hangs on the task „calculating transition probabilities“. 
Transitions are a pair of two candidates, i.e. points on the network that could 
represent trajectory points. For each transition the shortest route on the 
network will be calculated using the Dijkstra algorithm. Dijkstra steps through 
all nodes of the network to find the nearest  parent node. If you are using a 
big network with a lot of nodes, this task needs some time. Especially if you 
have a lot of candidates and transitions (because of outliers, a too big 
maximum search distance or something else) and the task has to be repeated very 
often. So my advice for you is to use a spatial filter before you start the 
plugin:

1. create a line from your trajectory (e.g. using points to line)
2. create a buffer from the line (e.g. 500m)
3. clip the network using the buffer as clipping mask
4. run the plugin with the clipped network

I will integrate this task in the plugin in a future version. But the plugin is 
a free time project and actually I am working on another project. So the new 
version will take some time. Please try the described workaround.

Sincerely,
Christoph

> Am 23.05.2019 um 02:25 schrieb Chintan Advani :
> 
> Hey Christoph,
> 
> I did understood the yesterdays error. I inputted the maximum distance for 
> path search as 0 which was not an acceptable value. However after inputting 
> some random value, the software hangs at a particular stage while it 
> calculates the transition probabilities. I tried the same assignment with 
> different input values but each time it gets stuck at this point. I am 
> attaching the image of the dialogue box where the process stops. I hope there 
> is a solution to this error.
> 
> 
> 
> Thanks and Regards,
> __
> Advani Chintan Sanjeev
> Research Scholar,
> Civil Engineering and Build Environment,
> Queensland University of Technology, 
> Brisbane-4000, Australia.
> +41434177254
> 
> 
> On Wed, May 22, 2019 at 5:36 PM Chintan Advani  > wrote:
> Hi Christoph, 
> 
> Thanks alot for replying and I am using QGIS 3.6 Noosa. I am using OSM line 
> (linestring) as the network layer and a few set of data points as an another 
> shape file( attached with the mail). I have various vehicles with their 
> co-ordinates in this sheet. The log message says to check the qgis log for 
> further information but cannot find it. I am using offline map matching with 
> version 2.2.1. I am attaching the network file and csv file for your 
> reference. Can you please help me resolving the issue.
>  osm line.dbf 
> 
> Thanks and Regards,
> __
> Advani Chintan Sanjeev
> Research Scholar,
> Civil Engineering and Build Environment,
> Queensland University of Technology, 
> Brisbane-4000, Australia.
> +41434177254
> 
> 
> On Wed, May 22, 2019 at 4:35 PM Christoph Jung  > wrote:
> Hello Chintan,
> 
> Please provide more details about your problem. What did you do, what worked 
> well, what did not worked as expected? Which version of the plugin and QGIS 
> are you using? If the plugin throws an error, have a look into the QGIS-log. 
> All exceptions of the plugin will be logged there. Give me as much as 
> possible information, that I can reproduce your problem.
> 
> Sincerely,
> Chrsitoph
> 
> > Am 22.05.2019 um 03:28 schrieb Chintan  > >:
> > 
> > Hey, I was looking to plot the trajectory in QGIS using your developed 
> > plugin
> > but I think there are some bugs and its not working, can you please help?
> > 
> > 
> > 
> > 
> > 
> > --
> > Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html 
> > 
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org 
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user 
> > 
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user 
> > 
> 

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
Lis

Re: [Qgis-user] Map matching in Qgis to plot trajectories

2019-05-23 Thread Matt Boyd
I haven't done this but was looking into it a while ago for post processing
some dodgy running tracks. I think the process is sometimes called
map-matching and this looked interesting.

https://github.com/graphhopper/map-matching/blob/master/README.md

On Fri, May 24, 2019 at 8:45 AM Chintan Advani 
wrote:

> Hey guys,
>
> I am looking to plot the paths for different vehicles in qgis using the
> co-ordinates but cannot find a solution to it. I tried plotting using point
> to path processor but the points connect linearly whereas I am looking to
> plot the path that are realistic (similar to what we observe in google
> maps). I am using OSM as the network layer for projection. I also tried the
> plugin tool "offline map matching" but that didn't help. Can anyone please
> help me with the problem?
>
> Thanks in advance,
> __
> Advani Chintan Sanjeev
> Research Scholar,
> Civil Engineering and Build Environment,
> Queensland University of Technology,
> Brisbane-4000, Australia.
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Map matching in Qgis to plot trajectories

2019-05-23 Thread Chintan Advani
Hey guys,

I am looking to plot the paths for different vehicles in qgis using the
co-ordinates but cannot find a solution to it. I tried plotting using point
to path processor but the points connect linearly whereas I am looking to
plot the path that are realistic (similar to what we observe in google
maps). I am using OSM as the network layer for projection. I also tried the
plugin tool "offline map matching" but that didn't help. Can anyone please
help me with the problem?

Thanks in advance,
__
Advani Chintan Sanjeev
Research Scholar,
Civil Engineering and Build Environment,
Queensland University of Technology,
Brisbane-4000, Australia.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Map Matching

2019-05-21 Thread Christoph Jung
Hello Chintan,

Please provide more details about your problem. What did you do, what worked 
well, what did not worked as expected? Which version of the plugin and QGIS are 
you using? If the plugin throws an error, have a look into the QGIS-log. All 
exceptions of the plugin will be logged there. Give me as much as possible 
information, that I can reproduce your problem.

Sincerely,
Chrsitoph

> Am 22.05.2019 um 03:28 schrieb Chintan :
> 
> Hey, I was looking to plot the trajectory in QGIS using your developed plugin
> but I think there are some bugs and its not working, can you please help?
> 
> 
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Map Matching

2019-05-21 Thread Chintan
Hey, I was looking to plot the trajectory in QGIS using your developed plugin
but I think there are some bugs and its not working, can you please help?





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Map Matching

2018-08-11 Thread Lene Fischer
Hi Christoph,
I´m looking forward to look into your plugin. I sounds exiting.
Regards


Lene Fischer
Associate Professor

University of Copenhagen
Department of Geoscience and Natural Resource Management
Forest and Landscape College
Nødebovej 77a
3480 Fredensborg
Denmark


MOB +45 40115084
l...@ign.ku.dk<mailto:l...@ign.ku.dk>


[cid:image001.gif@01D431F2.8580E290]

[cid:image002.png@01D431F2.8580E290]<@Lene_Fischer>



Fra: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] På vegne af Christoph 
Jung
Sendt: 10. august 2018 15:01
Til: qgis-user@lists.osgeo.org
Emne: [Qgis-user] Map Matching

Hello everyone,

I noticed, that there is no easy way for Matching a trajectory with a network 
using QGIS. I did not found any plugin for that task and stackoverflow and gis 
stackexchange are full with not really solved questions about this topic. 
Because of this I created a QGIS Plugin for an offline map matching:
http://plugins.qgis.org/plugins/Offline-MapMatching/

I used a statistical approach with a Hidden Markov Model and the Viterbi 
algorithm. Further information can be found on my GitHub site:
https://github.com/jagodki/Offline-MapMatching

Maybe the plugin can be useful for some people.

Sincerely,
Christoph


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Map Matching

2018-08-10 Thread Christoph Jung
Hello everyone,

I noticed, that there is no easy way for Matching a trajectory with a network 
using QGIS. I did not found any plugin for that task and stackoverflow and gis 
stackexchange are full with not really solved questions about this topic. 
Because of this I created a QGIS Plugin for an offline map matching:
http://plugins.qgis.org/plugins/Offline-MapMatching/

I used a statistical approach with a Hidden Markov Model and the Viterbi 
algorithm. Further information can be found on my GitHub site:
https://github.com/jagodki/Offline-MapMatching

Maybe the plugin can be useful for some people. 

Sincerely,
Christoph 


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user