anushani / atlasmapper

Automatically exported from code.google.com/p/atlasmapper
0 stars 0 forks source link

Can not work with ncWMS #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I install 1.0 with windows 2008 server. The map can be shown under godiva2 
(the default viewer of ncwms)
2. I add the sources with full url: 
http://152.83.64.47:8080/ncWMS/wms?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1
.3.0
3. The new layer filled the full maps when I add a layer from ncwms
4. An error message show "The CRS EPSG:900913 is not supported by this server" 
when I right clicked the figure.
5. The same error message is got when I change project to epsg:4326 in the 
client setting.

What is the expected output? What do you see instead?

I expect view a new layer in the map window. A pink figure fill the whole map.

What version of the product are you using? On what operating system?
ncwms 1.0, AtlasMapper 1.3, XAMPP 1.8.1, Tomcat 7.0.30, JRE7, windows 2008

Please provide any additional information below.

Original issue reported on code.google.com by zheng.ba...@gmail.com on 31 Jan 2013 at 5:13

Attachments:

GoogleCodeExporter commented 9 years ago
I figured out this problem. All layers are working if I remove all Google 
layers.

Original comment by zheng.ba...@gmail.com on 31 Jan 2013 at 7:25

GoogleCodeExporter commented 9 years ago
Following the instruction in this 
http://www.resc.rdg.ac.uk/trac/ncWMS/ticket/130. I replace 900913 with 3857 in 
the project folders. Then I can overlay Google map and ncWMS layers.

Original comment by zheng.ba...@gmail.com on 5 Feb 2013 at 8:53

GoogleCodeExporter commented 9 years ago
The attached file is the patch files I replace 900913 to 3857. Sorry I can't 
push it into repo with hg.

Original comment by zheng.ba...@gmail.com on 6 Feb 2013 at 7:55

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for your fix, we will review it for the next release.

Original comment by lafond.g...@gmail.com on 23 Apr 2013 at 3:51

GoogleCodeExporter commented 9 years ago

Original comment by lafond.g...@gmail.com on 23 Apr 2013 at 4:08

GoogleCodeExporter commented 9 years ago
@zheng.bangyou I can reproduce the bug, but the fix do not work on our ncWMS 
server. The projection EPSG:3857 is not supported. I'm still having "pink" 
tiles. According to the capabilities document, ncWMS supported projections are 
very limited:
<CRS>EPSG:4326</CRS>
<CRS>CRS:84</CRS>
<CRS>EPSG:41001</CRS>
<CRS>EPSG:27700</CRS>
<CRS>EPSG:3408</CRS>
<CRS>EPSG:3409</CRS>
<CRS>EPSG:32661</CRS>
<CRS>EPSG:32761</CRS>

Which version of ncWMS are you using? Would you accept to let us requesting 
tiles from your ncWMS server for testing purpose?

Original comment by lafond.g...@gmail.com on 20 May 2013 at 7:51

GoogleCodeExporter commented 9 years ago
Sorry our server is located in our internal network.

I used the latest version of ncWMS 1.0

The wms version 1.3.0 is used 
http://server/ncWMS/wms?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0

My version is supporting EPSG:3857
<CRS>EPSG:4326</CRS>
<CRS>CRS:84</CRS>
<CRS>EPSG:41001</CRS>
<CRS>EPSG:27700</CRS>
<CRS>EPSG:3408</CRS>
<CRS>EPSG:3409</CRS>
<CRS>EPSG:3857</CRS>
<CRS>EPSG:32661</CRS>
<CRS>EPSG:32761</CRS>

Original comment by zheng.ba...@gmail.com on 20 May 2013 at 9:18

GoogleCodeExporter commented 9 years ago
The latest version (1.4.4) fixes that problem.

I changed the projection to the official one with ncWMS layers only. It works 
with the latest ncWMS servers but not the old one (obviously). Thanks to point 
out that a new version of ncWMS were available. Since the previous version were 
also numbered 1.0, we though we had the latest one. We upgraded it since.

We are still using the unofficial Google projection (EPSG:900913) application 
wide since it is known to works with all known version of GeoServer (at lease 
all the one we tested against). Changing it has a lot of implications that will 
have to be tested with all GeoServer versions; live tiles from GeoServer, 
cached tiles from GeoWebCache, feature requests, etc.

I opened a new issue to remember to change to the official Google projection 
application wide.

Original comment by lafond.g...@gmail.com on 15 Jul 2013 at 11:14