Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle non-900913 External WMS Servers Better #188

Closed
sbenthall opened this issue Oct 26, 2010 · 10 comments
Closed

Handle non-900913 External WMS Servers Better #188

sbenthall opened this issue Oct 26, 2010 · 10 comments
Milestone

Comments

@sbenthall
Copy link
Contributor

http://webmap.em.gov.bc.ca/liteview6.5/servlet/MapGuideLiteView

http://openmaps.gov.bc.ca/mapserver/admin-boundaries

@sbenthall
Copy link
Contributor Author

To clarify, do you mean that these are WMS servers that won't load in the Map Composer?

@ingenieroariel
Copy link
Member

Based on IRC discussion from the day this issue was reported, yes, these are layers that don't work in the Map Composer.

@ahocevar
Copy link
Member

ahocevar commented Nov 3, 2010

These layers don't work because they are not provided in EPSG:900913. This issue is related to #850, but the rabbit hole goes deeper. For http://openmaps.gov.bc.ca/mapserver/admin-boundaries, it would be enough to switch from 900913 to 3785, which is the same projection. But http://webmap.em.gov.bc.ca/liteview6.5/servlet/MapGuideLiteView only provides EPSG:4326, which is a different projection.

I currently see several ways for GeoNode to support layers in projections that are different from the base layer's:

  1. Only list layers in the "Add Layers" dialog that support the map projection.
  2. Use the GeoNode WMS as cascading WMS to reproject layers to the map projection.

The above options could be enhanced by making the map projection configurable. Once it is, a third option would be possible:

  1. Do some kind of SRS negotiation on the client. This would work for all layer types that provide some kind of capabilities doc that advertises projections.

The next step to proceed with this ticket would be a decision on which of these options we want to persue. The list of options above is ordered by complexity of a client-side implementation.

@ingenieroariel
Copy link
Member

http://ideg.xunta.es/wms/request.aspx is another service that doesn't show any layers in the composer.

@ingenieroariel
Copy link
Member

The above service's doesn't work properly because they are in a different projection then the mapservice itself.

Openlayers can reproject webservices. Is this not a option to first check whether the mapservice is in the supported SRS, if not reproject the service layers into the supported SRS?

@ahocevar
Copy link
Member

ahocevar commented Apr 6, 2011

Replying to [comment:9 scrifec]:

Openlayers can reproject webservices. Is this not a option to first check whether the mapservice is in the supported SRS, if not reproject the service layers into the supported SRS?

OpenLayers can only reproject vector data, not map tiles. With GeoServer >= 2.1 (included in the GeoNode synth branch), you can add such services as cascading WMS. We're currently investigating a way to have GeoServer reproject WMS layers even if it is not configured to use them as cascading WMS source.

@ingenieroariel
Copy link
Member

This is a valid issue.

I prefer option 2:

  1. Use the GeoNode WMS as cascading WMS to reproject layers to the map projection.

@jj0hns0n
Copy link
Contributor

Lets punt on this to 2.1

@ingenieroariel
Copy link
Member

This is fixed in the remote services branch. At least a useable workaround where you add that remote server as a new service and use it instead of going directly through the composer.

@jj0hns0n jj0hns0n modified the milestones: 2.4, 2.5.x Nov 18, 2015
@jj0hns0n jj0hns0n modified the milestones: 2.7, 2.5 Aug 21, 2016
goudine pushed a commit to goudine/geonode that referenced this issue Feb 1, 2018
travislbrundage pushed a commit to travislbrundage/geonode that referenced this issue Apr 9, 2018
marthamareal pushed a commit to marthamareal/geonode that referenced this issue Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants