I'd like to overlay a trail or path on the map. I have the gpx set of points and I'd like to draw a path on the map.

  • Welcome to GIS SE! We're a little different from other sites; this isn't a discussion forum but a Q&A site. Your questions should as much as possible describe not just what you want to do, but precisely what you have tried and where you are stuck trying that. Please check out our short tour for more about how the site works. Thanks. – PolyGeo Feb 1 '20 at 23:45

You can use Create Lines from Points in Builder selecting Sequencial or use a more classical approach using ST_MakeLine PostGIS function ordering your points based on a custom field (time_field in my case) with a query similar to this one:

ST_MakeLine(the_geom ORDER BY time_field ASC)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.