7
1

Ive been trying to use a map Ive recitfied with two different map warpers to add data to an area in Quebec, Canada not currently traced.

The map Ive used I made sure it is not infringing on any copyright laws, and is an accurate map of the area I wish to work on. Now that its rectified both in Mapwarper.net and in Metacarta, I cant seem to succesfully use at as a background for either JOSM or Potlatch. Whats the trick to using the WMS link if there is one?

The links to the rectified maps are: http://mapwarper.net/maps/313#Preview_Map_tab (for mapwarper.net)

and: http://labs.metacarta.com/rectifier/rectify/7303 (for MetaCarta)

The corresponding wms links that they both offer (which I Imagine I have found correctly, by copying and pasting the link/url exactly as it is) respectively: http://mapwarper.net/maps/wms/313

and dor MetaCarta: http://labs.metacarta.com/rectifier/wms.cgi?id=7303

Ive pasted this link in the area in JOSM under "Imagery" and "Rectified Image..." and it turns up with big red ERROR tiles..

Any help would be appreciated. Thanks

asked 28 Jun '12, 03:17

Azzitizz's gravatar image

Azzitizz
40091218
accept rate: 0%

retagged 26 Aug '13, 10:14

MagicFab's gravatar image

MagicFab
75781322

Ive been trying to use my rectified images in JOSM without success. As mentioned above Ive tried fetching the url in the export section of mapwarper and there is a link for WMS specifically for JOSM. when I copy the link address it reads like this: http://mapwarper.net/maps/wms/321?request=GetMap&version=1.1.1&styles=&format=image/png&srs=epsg:4326&exceptions=application/vnd.ogc.session.inimage& Looks quite different form your template. Do I need to manualy modify it?

Is the "Add imagery dialogue" in JOSM or in mapwarper?

(25 Aug '12, 02:07) Azzitizz

The "Add imagery dialogue" is in JOSM. See http://josm.openstreetmap.de/wiki/Help/Preferences/Imagery#AddcustomWMSimagery

You paste the WMS service URL (see above) in the "Service URL" field and click "Get Layers".

The URL you got from the export section of mapwarper is for old versions of JOSM, where it would append the parameters at the end. This might still work, but the only official way in the current version is full URL with substitution markers (like {width} and {bbox}). See http://josm.openstreetmap.de/wiki/Maps#Documentation

(25 Aug '12, 08:32) bastik

Potlatch does not support WMS. Instead, you need to use the "Tiles (Google/OSM scheme)" link provided by MapWarper, and add this to Potlatch 2.

MapWarper will give you a URL like this:

http://mapwarper.net/maps/tile/3/z/x/y.png

You should add the $ symbol before z, x, and y, to make:

http://mapwarper.net/maps/tile/3/$z/$x/$y.png

Then add this to Potlatch 2's background imagery dialogue.

permanent link

answered 28 Jun '12, 07:50

Richard's gravatar image

Richard ♦
27.6k40245368
accept rate: 19%

Thanks great! Ive been combing for this particular bit of info but havent come accross it anywhere. Ill try that. In the meantime how would one use the WMS links in JOSM? same method?

(29 Jun '12, 03:04) Azzitizz

In JOSM, TMS is recommended as well, the format is

http://mapwarper.net/maps/tile/313/{zoom}/{x}/{y}.png

If you like to use WMS, the URL template would be

http://mapwarper.net/maps/wms/313?FORMAT=image/jpeg&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&Layers=image&STYLES=&SRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}

This can be retrieved by entering the WMS service URL (http://mapwarper.net/maps/wms/313?) in the "Add Imagery URL" dialog.

permanent link

answered 01 Jul '12, 22:14

bastik's gravatar image

bastik
5612618
accept rate: 41%

edited 03 Jul '12, 15:54

One thing to note:

Going straight to the Imagery menu, to attempt: Imagery -> Add Rectified Imagery

is almost certain to create frustration. It is not the same as doing this through: JOSM -> Preferences or File -> Import Image

JOSM -> Preferences is for either WMS or TMS and will add the appropriate underlays to the Imagery drop-down menu. File -> Import Image is for uploading a locally-stored GeoTIFF, etc.

Imagery -> Add Rectified Imagery is for WMS only and is looking for a URL in a format that the JOSM->Preferences approach will create for you.

That all said, TMS will work much better than WMS for zooming, etc.

permanent link

answered 20 Nov '12, 02:04

jeffmeyer's gravatar image

jeffmeyer
4113
accept rate: 0%

It's possible to use WMS imagery in Potlatch2 through a proxy service like Whoots.

Use it like this:

http://whoots.mapwarper.net:80/tms/$z/$x/$y/WEB_MERCATOR/http://api.maps.vic.gov.au/geowebcacheWM/service/wms?VERSION=1.1.1&TILED=true

I have verified that this works.

permanent link

answered 14 May '14, 03:42

Stevage's gravatar image

Stevage
224136
accept rate: 0%

edited 14 May '14, 03:43

Hi,

I go to http://mapwarper.net/ and the export tab. Copy the link "WMS: WMS base URL (for JOSM OpenStreetMap Editor )"

-> here I've tried using both the first and second link

Back to JOSM, menu Images > Add rectified image, and paste the URL, either as Map Warper (second option), or My own (third option). Just after the red tiles appear when the image layer is visible.

The process for metacarta is similar (this is what I've used lots in the past), click Warp, and the copy the link "WMS/WCS URL (Good for use with OpenLayers)", and paste as "Metacaarta Map rectifier" in JOSM>Images/Add rectified Image, 1st option, have also tried the 3rd option.

In JOSM, as soon as I click the eye in the Layers panel (ie activate), the red tiles appear.

Many thanks for pointing out what I'm missing in this process.

permanent link

answered 21 Nov '12, 08:36

buzzzy's gravatar image

buzzzy
103117
accept rate: 0%

JOSM 5576 used Win XP 32

(21 Nov '12, 08:38) buzzzy

Hi Buzzzy - please read my post above, search on the term "frustration." : ) I cannot explain why images -> Add rectified images doesn't work like it seems like it should, but it doesn't. The approach I've outlined above should work - please let me know if it doesn't. Thanks, Jeff

(21 Nov '12, 19:08) jeffmeyer

@Jeff, thanks. Turns out that mapwarper "now" works using the third option in the dialog; My own WMS link. If I use it in the first option, its red. Same thing with metacarta, red in 2nd and 3rd option. Main thing is that theer is a solution for now :-) JOSM is great!

(21 Nov '12, 19:15) buzzzy
-1

I've tried using rectified maps from both mapwarper and metacarta, and just get the red ERROR in JOSM. This used to work perfect in previous versions, but is this due to these services not being updated to support the format JOSM expects?

permanent link

answered 20 Nov '12, 23:10

buzzzy's gravatar image

buzzzy
103117
accept rate: 0%

Hi Buzzzy - can you describe the steps you are using to add your rectified maps? i.e. what are the specific steps / buttons / links you're clicking inside of JOSM?

(20 Nov '12, 23:51) jeffmeyer
Your answer
toggle preview

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:

×509
×64
×11
×8
×1

question asked: 28 Jun '12, 03:17

question was seen: 8,685 times

last updated: 14 May '14, 03:43

powered by OSQA