How to use Open Location in JOSM

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to use Open Location in JOSM

Alan Bragg

I saw this forest service road file on the talk-us and don't know how to use it in JOSM.

"You can access the tiles at:
        Potlatch 2/JOSM - http://osm.cycle.travel/forest/{zoom}/{x}/{y}.png"

I'm using JOSM so I tried File-Open Location and pasted in the url, clicked download url and got the following: 

       Cannot open URL 'http://osm.cycle.travel/forest/{zoom}/{x}/{y}.png''
The following download tasks accept the URL patterns shown:

Download OSM:
  • https?://.*/api/0.6/(map|nodes?|ways?|relations?|\*).*
  • https?://.*/interpreter\?data=.*
  • https?://.*/xapi(\?.*\[@meta\]|_meta\?).*
  • https?://.*/.*\.osm
Download GPS:
  • https?://.*/(.*\.gpx)
  • https?://.*exportgpx.*
  • https?://.*(osm|openstreetmap).org/trace/\p{Digit}+/data
  • https?://.*/api/0.6/trackpoints\?bbox=.*,.*,.*,.*
Download OSM Notes:
  • https?://.*/api/0.6/notes.*
  • https?://.*/(.*\.osn(.bz2)?)
Download OSM Change:
  • https?://.*/api/0.6/changeset/\p{Digit}+/download
  • https?://.*/.*\.osc
Download OSM URL:
  • https?://www\.(osm|openstreetmap)\.org/\?lat=.*&lon=.*
  • https?://www\.(osm|openstreetmap)\.org/(.*)?#map=\p{Digit}+/.*/.*
Download Compressed OSM:
  • https?://.*/.*\.osm.(gz|bz2?|zip)
Download Compressed OSM Change:
  • https?://.*/.*\.osc.(gz|bz2?)
Download session:
  • https?://.*/.*\.jo(s|z)

Anyone know how to make this work?

cock St
Bedford MA 10730
339-545-1737 mobile


_______________________________________________
newbies mailing list
[hidden email]
https://lists.openstreetmap.org/listinfo/newbies
Reply | Threaded
Open this post in threaded view
|

Re: How to use Open Location in JOSM

Dan S
Hi,

When you see a URL that has those placeholders in - {x} and {y} and {zoom} - that's not a file to be opened, but a "pattern" that can be used to show a layer map tiles. In JOSM you choose menu option "Imagery > Imagery Preferences" and hopefully you can find your way through the dialog to add that URL as a new type of imagery layer. Then once that's done, you access the layer the same way as you would access the bing layer, by choosing it in the imagery list.

Best
Dan


2014-11-13 11:06 GMT+00:00 Alan Bragg <[hidden email]>:

I saw this forest service road file on the talk-us and don't know how to use it in JOSM.

"You can access the tiles at:
        Potlatch 2/JOSM - http://osm.cycle.travel/forest/{zoom}/{x}/{y}.png"

I'm using JOSM so I tried File-Open Location and pasted in the url, clicked download url and got the following: 

       Cannot open URL 'http://osm.cycle.travel/forest/{zoom}/{x}/{y}.png''
The following download tasks accept the URL patterns shown:

Download OSM:
  • https?://.*/api/0.6/(map|nodes?|ways?|relations?|\*).*
  • https?://.*/interpreter\?data=.*
  • https?://.*/xapi(\?.*\[@meta\]|_meta\?).*
  • https?://.*/.*\.osm
Download GPS:
  • https?://.*/(.*\.gpx)
  • https?://.*exportgpx.*
  • https?://.*(osm|openstreetmap).org/trace/\p{Digit}+/data
  • https?://.*/api/0.6/trackpoints\?bbox=.*,.*,.*,.*
Download OSM Notes:
  • https?://.*/api/0.6/notes.*
  • https?://.*/(.*\.osn(.bz2)?)
Download OSM Change:
  • https?://.*/api/0.6/changeset/\p{Digit}+/download
  • https?://.*/.*\.osc
Download OSM URL:
  • https?://www\.(osm|openstreetmap)\.org/\?lat=.*&lon=.*
  • https?://www\.(osm|openstreetmap)\.org/(.*)?#map=\p{Digit}+/.*/.*
Download Compressed OSM:
  • https?://.*/.*\.osm.(gz|bz2?|zip)
Download Compressed OSM Change:
  • https?://.*/.*\.osc.(gz|bz2?)
Download session:
  • https?://.*/.*\.jo(s|z)

Anyone know how to make this work?

cock St
Bedford MA 10730
<a href="tel:339-545-1737" value="+13395451737" target="_blank">339-545-1737 mobile


_______________________________________________
newbies mailing list
[hidden email]
https://lists.openstreetmap.org/listinfo/newbies



_______________________________________________
newbies mailing list
[hidden email]
https://lists.openstreetmap.org/listinfo/newbies
Reply | Threaded
Open this post in threaded view
|

Re: How to use Open Location in JOSM

omlashe
This post has NOT been accepted by the mailing list yet.
This post was updated on .
In reply to this post by Alan Bragg
Thanks for the information. coque sony xperia e3 etui galaxy A3