New answers tagged

1

Are you able to use QGIS? If so, here is a workaround which may work for you; Load the .gpx file in QGIS (You should be able to drag-and-drop the file into Q). QGIS will ask you which features you want to load, highlight your chosen ones (eg. waypoints) and click 'OK'. Now on the Layers panel in QGIS right-click on the new layer and choose 'Save As...' ...


0

EDIT following below comments If you can have a hard-coded list of your server files paths as a JavaScript array, then it is trivial to use the code in the original answer: var listOfFilesPath = [ "path/to/file1.gpx", "path/to/file2.gpx", "path/to/file3.gpx" // etc. ]; Now if you do not have that hard-coded list, you will have to find a way to ...


2

Download GPSBabel - for Ubuntu just use: sudo apt-get install gpsbabel With this command you will get a .gpx file of all track points with the speed (meter/second): gpsbabel -t -i gpx -f input.gpx -x track,speed -o gpx -F output.gpx The .gpx will look like this then: [...] <trkpt lat="59.414788801" lon="2.694040049"> <ele>624.630000&...


0

I'm not an expert regarding python + GDAL/OGR, but looking into something similar I found a possible answer to your question. import ogr, osr import fileinput from datetime import datetime srs = osr.SpatialReference() srs.ImportFromEPSG(4326) driver = ogr.GetDriverByName("GPX") out = driver.CreateDataSource('/tmp/test.gpx') # layer creation: if you use '...


0

Without knowing the content/function of the Calculate Value tools and how you use their outputs in your model, I suggest two solutions: Direct solution: As long as one instance of your model runs at a time (not having the risk of overwriting interim output unintentionally or write access conflicts), you can change the value of GPX to Feature to something ...


2

There is a tool GPX To Features in which you can import or convert the point information inside a GPX file into point features. It is available in ArcGIS 10.3 basic license as well. You can access the tool from ArcToolbox -> Conversion Tools -> From GPS


2

I couldn't get your overpass query to work so I tried building it using the wizard. I confess I tend to use the QuickOSM plugin as I find the overpass query language a bit tricky :) This is the query I went with:- /* This has been generated by the overpass-turbo wizard. The original search was: “natural=water or water=lake or waterway=*” */ [out:json][...


0

Maybe you can use DNRGPS to do the conversion. I usually use this for tracklogs and other raw data types in gpx format.


0

Have you tried using gdal_rasterize (http://www.gdal.org/gdal_rasterize.html) ?


1

In ogr2ogr you have dataset creation options, and layer creation options. According to http://www.gdal.org/drv_gpx.html, FORCE_GPX_TRACK=YES is a LAYER creation option. So you have to add -lco "FORCE_GPX_TRACK=YES" to get the tracks instead of routes. This works for the command line version just the same. Make sure the data is in EPSG:4326. The above ...



Top 50 recent answers are included