Tag Info

New answers tagged


here's a slightly modified version of your code. my changes are in the main loop and I made it such that you iterate over all features. I did not execute it so I apologize if there are any syntax errors! #coding:utf-8 import glob import ogr import json import numpy import matplotlib.pyplot as plt # 1) Is there a more direct or idiomatic way to create ...


DNR GPS loads multiple GPX files. Then, Save As -> new shapefile.


This is certainly possible. Create a new shapefile by choosing New under the menu Layers and there you select Shapefile. In the options dialog you choose Line and WGS84 projection and press Ok. It will prompt you to save somwhere. Now the newly created shapefile shows up in your layer list. Select it and toggle editing to on (the Pen icon on the toolbar, or ...


After several days of head-scratching I came up with this strategy: Calculate direction of motion at each point. For each point: Filter out points before current (leave only points in the semispace in the direction of motion). Filter out points that belong to opposite route (leave only points approximately in the same direction) Remove ...


Yes, there are such algorithms (see for example here, there and here) but since you seem to have only one single road, would it not be easier to do it by hand? (!). Using for example QGIS, you could import your GPS traces, create a new layer, digitalise the centerline of the bundle, and then export it in whatever format.


Have you seen this Q&A? You should upload an image and explain your data a bit more, for example are the tracks: Vertices that make up the track regularly sampled distances or do they vary with time? Has the data been truncated to some area of interest or do they just randomly start/stop? What GIS system and license level are you using? I would ...

Top 50 recent answers are included