This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How to use a specific imagery for Ecuador

0

I want to collaborate in the Ecuador tasks. In HOT (http://tasks.hotosm.org/project/1839#task/209), they say we have to use a imagery with the following link:

tms[22]:http://imagery.openstreetmap.fr/tms/1.0.0/ecuador_sigtierras_jama/{zoom}/{x}/{y}

However, the link is not valid. I have to delete the first part: tms[22]:

http://imagery.openstreetmap.fr/tms/1.0.0/ecuador_sigtierras_jama/{zoom}/{x}/{y}

Once the URL is like the following, I can do get layers in JOSM>Imagery preference. Finally, I selected the Equator_sigtierras_jama and I click ok.

When I try to use the imagery, JOSM returns the following message:

{zoom} is not a valid WMS argument. Please check this server URL.

What am I doing wrong? how should I use the URL to use the proposed imagery?

asked 23 Apr '16, 05:08

AngocA's gravatar image

AngocA
281232433
accept rate: 0%

edited 23 Apr '16, 14:22

SK53's gravatar image

SK53 ♦
28.1k48268433


2 Answers:

1

The imagery is TMS, I think you tried to add a WMS (given the error) layer. Press +TMS button, then paste the link (without the tms[22]:) in the URL field.

answered 23 Apr '16, 06:35

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

0

JOSM is expecting the tms[22]: in the tile server description, it gives information about how the imagery is served. Deleting it from the description results in JOSM interpreting the description incorrectly and not making the correct requests to the server.

Usually the tasking manager will tell JOSM about the imagery layer, you shouldn't need to set it up manually. I haven't checked the task, but you could try just using the Tasking Manager remote control link to see if it passes the information about the imagery to JOSM.

answered 23 Apr '16, 06:15

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

edited 23 Apr '16, 06:18

Source code available on GitHub .