Closed joubu closed 10 months ago
Thanks for the commit. It does require a lot of third party tool. NodeJS and GPSBabel, A lot of user use Windows, it ill be difficult. We need a more straight forward and easy approach. We could convert the GPX file directly to GeoJSON on upload. It would avoid the user to run the NodeJS app. If the user still have issue, we could provide an alternative to optimize/reduce the data via GPSBabel.
What about:
The current code use the omnivore plugin to display gpx data. It works great but generate an ajax request to the server for each gpx files. Once the gpx data are retrieved, the parse.gpx (or whatever) function will generate a geojson structure to display the polygon. If you have a lot of gpx files, this method could be a high time-consuming process.