NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I have OSM embedded on a website (using the shortcode for a custom tile set) and I want to display a series of GPX files (or kml I can export either) that I will be uploading over the course of a trip. Would it be possible to automate this so all I have to do is upload the files? Perhaps with a wordpress plugin or simple script of some sort?

Any ideas would be appriciated!

asked 17 Jun '14, 23:12

Entg's gravatar image

Entg
1111
accept rate: 0%


Not sure about what you want to automate, but maybe you can borrow some code from one of those Track_drawing_websites.

permanent link

answered 18 Jun '14, 02:22

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554
accept rate: 18%

Adding GPX files to the embedded map obtained via the share button won't be possible without major modifications. But you can embed your map the usual way using Leaflet or OpenLayers (it seems like the embedded map also uses Leaflet).

As you mentioned Wordpress, there is a wiki page about Wordpress which lists some other possible solutions and plugins.

permanent link

answered 18 Jun '14, 07:36

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×255
×117
×111
×12

question asked: 17 Jun '14, 23:12

question was seen: 12,280 times

last updated: 18 Jun '14, 13:37

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum