[OSM-talk] GPX on OSM slippymap?

2009-08-10 Thread Igor Brejc
Hi,

This has probably been asked before, but I couldn't find anything on google.

Is there a way to display an uploaded GPX on the OSM slippymap? Something
similar to how you can highlight an OSM way, node or relation:
http://www.openstreetmap.org/?way=31904301

I took some friends on a hiking tour and I wanted to send them a simple URL
with the indicated track, since I've already uploaded the GPX for mapping
purposes.

Regards,
Igor
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] GPX on OSM slippymap?

2009-08-10 Thread Nic Roets
Hello Igor,

You can go to gpsies.com and give it the URL for the GPX file e.g.
http://www.openstreetmap.org/trace/475187/data
After it renders you can choose the OSM slippy map.

Regards,
Nic

On Mon, Aug 10, 2009 at 1:02 PM, Igor Brejc igor.br...@gmail.com wrote:

 Hi,

 This has probably been asked before, but I couldn't find anything on
 google.

 Is there a way to display an uploaded GPX on the OSM slippymap? Something
 similar to how you can highlight an OSM way, node or relation:
 http://www.openstreetmap.org/?way=31904301

 I took some friends on a hiking tour and I wanted to send them a simple URL
 with the indicated track, since I've already uploaded the GPX for mapping
 purposes.

 Regards,
 Igor

 ___
 talk mailing list
 talk@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/talk


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] GPX on OSM slippymap?

2009-08-10 Thread Igor Brejc
Thanks Nic!

Regards,
Igor

On Mon, Aug 10, 2009 at 1:32 PM, Nic Roets nro...@gmail.com wrote:

 Hello Igor,

 You can go to gpsies.com and give it the URL for the GPX file e.g.
 http://www.openstreetmap.org/trace/475187/data
 After it renders you can choose the OSM slippy map.

 Regards,
 Nic

 On Mon, Aug 10, 2009 at 1:02 PM, Igor Brejc igor.br...@gmail.com wrote:

 Hi,

 This has probably been asked before, but I couldn't find anything on
 google.

 Is there a way to display an uploaded GPX on the OSM slippymap? Something
 similar to how you can highlight an OSM way, node or relation:
 http://www.openstreetmap.org/?way=31904301

 I took some friends on a hiking tour and I wanted to send them a simple
 URL with the indicated track, since I've already uploaded the GPX for
 mapping purposes.

 Regards,
 Igor

 ___
 talk mailing list
 talk@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/talk



___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] GPX on OSM slippymap?

2009-08-10 Thread Rejo Zenger
++ 10/08/09 13:02 +0200 - Igor Brejc:
Is there a way to display an uploaded GPX on the OSM slippymap?  
Something similar to how you can highlight an OSM way, node or 
relation: http://
www.openstreetmap.org/?way=31904301

I took some friends on a hiking tour and I wanted to send them a simple URL
with the indicated track, since I've already uploaded the GPX for mapping
purposes.

I have made a small script (based on the documentation on the wiki) that 
allows you to quickly render a GPX file on an OSM slippy map. 

To use this, append the URL to the GPX file at:

  https://rejo.zenger.nl/topo/osm/?fn=[url-to-gpx-file]

That's it. 

For example:

  
https://rejo.zenger.nl/topo/osm/?fn=http://insecure.rejo.zenger.nl/gps/2009-04-18.gpx

If that works and you want to include it into some webpage, use:

  iframe src=https://rejo.zenger.nl/topo/osm/?fn=[url-of-track]; 
  width=[width-of-embedded-image] height=[height-of-embedded-image] 
  frameborder=0/iframe

You may add some variables to the URL which adjust the rendering of the 
GPX track on the Openstreetmap. By adding sc=blacksw=10so=0.4 you 
would set the track to appear as a thick black and highly transparant, 
where the default is a medium thick, red and half-transparant line.

There is some more information at:

  https://rejo.zenger.nl/topo/embed-osm-and-track-in-webpage.php

And there is some background information at:

  https://rejo.zenger.nl/topo/howto-deploy-your-own-osm-slippy-map.php


-- 
Rejo Zenger . r...@zenger.nl . 0x21DBEFD4 . https://rejo.zenger.nl
GPG encrypted e-mail prefered. 


signature.asc
Description: Digital signature
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] GPX on OSM slippymap?

2009-08-10 Thread Igor Brejc
Great, this is something I was hoping for. Although I couldn't find the 
way to show GPX traces uploaded to OSM, so I guess I would have to put 
them on my own web server like you did?

Regards,
Igor

Rejo Zenger wrote:
 ++ 10/08/09 13:02 +0200 - Igor Brejc:
   
 Is there a way to display an uploaded GPX on the OSM slippymap?  
 Something similar to how you can highlight an OSM way, node or 
 relation: http://
 www.openstreetmap.org/?way=31904301

 I took some friends on a hiking tour and I wanted to send them a simple URL
 with the indicated track, since I've already uploaded the GPX for mapping
 purposes.
 

 I have made a small script (based on the documentation on the wiki) that 
 allows you to quickly render a GPX file on an OSM slippy map. 

 To use this, append the URL to the GPX file at:

   https://rejo.zenger.nl/topo/osm/?fn=[url-to-gpx-file]

 That's it. 

 For example:

   
 https://rejo.zenger.nl/topo/osm/?fn=http://insecure.rejo.zenger.nl/gps/2009-04-18.gpx

 If that works and you want to include it into some webpage, use:

   iframe src=https://rejo.zenger.nl/topo/osm/?fn=[url-of-track]; 
   width=[width-of-embedded-image] height=[height-of-embedded-image] 
   frameborder=0/iframe

 You may add some variables to the URL which adjust the rendering of the 
 GPX track on the Openstreetmap. By adding sc=blacksw=10so=0.4 you 
 would set the track to appear as a thick black and highly transparant, 
 where the default is a medium thick, red and half-transparant line.

 There is some more information at:

   https://rejo.zenger.nl/topo/embed-osm-and-track-in-webpage.php

 And there is some background information at:

   https://rejo.zenger.nl/topo/howto-deploy-your-own-osm-slippy-map.php


   
 

 ___
 talk mailing list
 talk@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/talk
   


-- 
http://igorbrejc.net


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] GPX on OSM slippymap?

2009-08-10 Thread Rejo Zenger
++ 10/08/09 18:39 +0200 - Igor Brejc:
Great, this is something I was hoping for. Although I couldn't find the 
way to show GPX traces uploaded to OSM, so I guess I would have to put 
them on my own web server like you did?

The GPX file itself of such a trace is available at, for example:

  http://www.openstreetmap.org/trace/475566/data

However, for security reasons I am fairly strict in the filenames and 
file contents before processing the file. Because of this, using this 
URL doesn't work.

For the moment, upload the GPX file to some place else. When I have time 
I will see if I can change the behaviour of the script safely.


-- 
Rejo Zenger . r...@zenger.nl . 0x21DBEFD4 . https://rejo.zenger.nl
GPG encrypted e-mail prefered. 


signature.asc
Description: Digital signature
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk