#5387 closed defect (fixed)
Wallonie WMS server and JOSM : compatibility and features — at Version 8
| Reported by: | A_Pirard | Owned by: | A_Pirard |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | Plugin proj4j | Version: | latest |
| Keywords: | Cc: | A_Pirard |
Description (last modified by )
This is a great world, to live in & draw, but it had better stay flat as they thought it was ;-)
http://cartographie.wallonie.be hosts very nice WMS servers.
http://cartopro1.wallonie.be/WMS/com.esri.wms.Esrimap/PPNC?
and maybe better yet according to GetCapabilities:
http://cartopro1.wallonie.be/WMS/com.esri.wms.Esrimap/portail?version1.1.1&
And ... <Fees>none</Fees> <AccessConstraints>none</AccessConstraints> !!!
Merkaartor uses the following requests and displays nice photographs:
http://cartopro1.wallonie.be/WMS/com.esri.wms.Esrimap/PPNC?version1.1.1&SERVICE=WMS&VERSION=1.1.1
&REQUEST=GetMap&TRANSPARENT=TRUE&
LAYERS=ppnc1,ppnc2,ppnc3,ppnc4,ppnc5,ppnc6,ppnc7
&SRS=EPSG:31370&STYLES=&FORMAT=image/png
&WIDTH=673&HEIGHT=771&BBOX=... (in southern Belgium)
Hence, I tried the following URLs with JOSM 3376 (with portail and PPNC):
http://cartopro1.wallonie.be/WMS/com.esri.wms.Esrimap/portail?&VERSION=1.1.1&SERVICE=WMS
&REQUEST=GetMap&LAYERS=ppnc1,ppnc2,ppnc3,ppnc4,ppnc5,ppnc6,ppnc7
&SRS=EPSG:31370&STYLES=&FORMAT=image/png&
These requests execute without errors, but the map layer is all painted in black or white depending on the presence or absence of &TRANSPARENT=TRUE.
Have I missed some nice to reveal parameter or does JOSM need a fix or improvement?
There is a description of other elements like rivers & buildings in /portail?GetCapabilities
How can they be displayed??
As the map is dragged up and down, Merkaartor produce a severe, growing mismatch (offset) between OSM and Wallonie WMS data.
Is it because EPSG:31370 is used for the WMS layer?
Is it avoidable with Merkaartor?
Can JOSM be free from that defect?
Wallonie WMS GetCapabilities seems to announce EPSG:4326 capability, but it does not seem to work in a request.
Is it a bug in the server or what else is going on.
The day will be great when, like Merkaartor, JOSM will display the server capabilities to choose from instead of requiring to write an URL !!!
It's wonderful to think that the whole world is writing the map of the whole world and that the terrae incognitae like France will be discovered one day.
Feel free to ask any detail or data.
Keep the marvelous work !!! <thanks1, thanks2, thanks3, thanks1> !!!
André.
Change History (8)
comment:1 by , 16 years ago
comment:2 by , 15 years ago
| Component: | unspecified → Core imagery |
|---|---|
| Owner: | changed from to |
| Status: | new → needinfo |
Is there any new legal news ?
EPSG:31370 might go into another enhancement.
comment:3 by , 15 years ago
| Type: | defect → enhancement |
|---|
follow-up: 5 comment:4 by , 15 years ago
Their e-mail address does not answer, neither about the legal aspect nor about their intention to correctly support EPSG:4326.
In fact, I asked "can I send a request?", they replied "go on" but they never replied to that request.
Please note that Belgian Merkaartor lists their server without any mention of copyright and they allow that.
In any case, having JOSM support EPSG:31370 has nothing to do with the legal aspect of one server or another.
If that were the case, EPSG:4326 wouldn't be supported :-)
Supporting Mercator and EPSG:31370 would be great !!!
What do you mean I'm "responsible" for that issue? I'm not responsible for anything !!!
Thanks.
comment:5 by , 15 years ago
Replying to A_Pirard:
In any case, having JOSM support EPSG:31370 has nothing to do with the legal aspect of one server or another.
If that were the case, EPSG:4326 wouldn't be supported :-)
Supporting Mercator and EPSG:31370 would be great !!!
I thought the proj.4 plugin is supporting EPSG:31370 or am I wrong ?
comment:6 by , 15 years ago
Supporting Mercator and EPSG:31370 would be great !!!
I thought the proj.4 plugin is supporting or am I wrong ?
I thought the following meant I had to wait.
EPSG:31370 might go into another enhancement.
I've installed that cryptic proj.4 plugin and, indeed, EPSG:31370 is in it.
But the doc does not explain how to use it nor what to expect.
Proj4J states "Proj4J is a Java library to transform point coordinates from one geographic coordinate system to another, including datum transformations." That sounds like the coordinates of the server should be transformed to the coordinates that JOSM is using, isn't it, that is to WGS84=EPGS:4326.
But I still get the message that the server's EPSG:31370 does not match EPGS:4326 when I activate the following layer on top of OSM:
wms:http://cartopro1.wallonie.be/WMS/com.esri.wms.Esrimap/PPNC?version1.1.1&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&TRANSPARENT=TRUE&LAYERS=ppnc1,ppnc2,ppnc3,ppnc4,ppnc5,ppnc6,ppnc7&SRS=EPSG:31370&STYLES=&FORMAT=image/png&
I can now change JOSM's system to EPSG:31370, but that certainly not how to support several additional layers with a coordinate mix, is it.
And if I do that, OSM no longer displays anything.
follow-up: 8 comment:7 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | needinfo → closed |
You cannot display layers with different projection at once. JOSM does no reprojection. So as you say you need to switch to EPSG:31370 to work with these layers.
comment:8 by , 14 years ago
| Description: | modified (diff) |
|---|
Replying to stoecker:
You cannot display layers with different projection at once. JOSM does no reprojection. So as you say you need to switch to EPSG:31370 to work with these layers.
But if I can't display them together with OSM, they can hardly be called layers, can they?
So, by "fixed", I suppose you mean using Merkaartor.
Thanks for your answer.



Replying to A_Pirard:
This means nothing - have you read the full response? It says (c) Navtech. Please find reliable sources, that state, you can trace from their imagery, otherwise don't do it!
Josm does not know the projection EPSG:31370 and consequently does send coordinates that are out of bound for their service. (You can always test such a URL in the browser!)
I'm curious, how Merkaartor finds the coordinates, however. They don't seem to have EPSG:31370 either.
You should send a bug report to the Merkaartor team.
Yes.
I think so.