Then i tried to exec or shell_exec my commandline (instead of the log-write commandline). Return response::error($e->getMessage()) this one works: kirby()->hook('', 'gp圎xtract') GPSBabel is a crossplatform tool that can convert between the various data formats of GPS traces. I made a hook for upload in config.php to test. Gpsbabel -i gpx -f input.gpx -x simplify,crosstrack,error=0.002k -o gpx -F - | python gpx2svg | svgo -i -o - | gzip -f > output.svgz The command line used to correct the altitude data is: 'c:Program Files (x86)GPSBabelgpsbabel.exe' -i gpx -f INPUT.gpx -x height,wgs84tomsl -o gpx -F OUTPUT. GPSBabel converts waypoints, tracks, and routes from one format to another, whether that format is a common mapping format like Delorme, Streets and Trips. gpsbabel - will always show you the supported file types. In my case, when i upload a GPX file, there should be called a command-line i made (several commands piped one after each other) to generate some special files i want to use later. Unfortunately, that can sometimes lead to unwieldy command lines. When i upload a file i want to execute some shell commands to work with this file. It’s easier to combine tracks in KML format rather than GPX.Each track in your KML file will have a string of coordinates for it as shown here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |