-
Notifications
You must be signed in to change notification settings - Fork 303
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
Implement getCapabilities call to follow WMTS, WMS etc... specs #285
Comments
If this this is implemented, user should still have the possibility to disable this feature and provide wms or wmts layers configuration by themself. Indeed : querying capabilities introduces a delay before accessing to textures that may degrade user experience. |
@gcebelieu I don't plan on breaking existing functionalities (yet). Some questions:
|
My opinion is that if user (I mean : application developer using itowns) don't use getCapabilities features but json conf, it is its responsability to check capabilities changes.
This is my point :) For geoportal site we will use json conf with iTowns.
The process is already in place and running : We grab all layers conf "periodically" from getcapabilites (this is a backoffice web site task), store them in the web site dedicated database. At run time, they are thus immediately available and given as json parameters to the viewer for each layers users display (in 2D or 3D mode either). The libraries currently used (OpenLayers and VirtualGeo) allow this. |
@gcebelieu is this code published somewhere, to have a clear idea of what is happening in your side? |
No, it isn't. The mechanism I explained aboved with our backoffice has been set up precisely to avoid latency due to external webservices call (like getCapabilities) when adding layers to the viewer. The webmaster of the site configure (once and for all) layers that has to be proposed on the geoportal site before publishing them. The viewer has then all the parameters needed to simply send GetMap or GetTile requests. Thus my need is only to have the possibility of explicitly providing layers parameters to iTowns (as it is currently possible) to avoid a getCapabilities request when adding a wmts or wms layer if this feature (which may have also an interest, I don't deny it) is added to iTowns. |
ok thanks for your answers. |
Before querying WMTS or WMS servers for textures, we need to query their getCapabilities method.
I have already started implemented this, so better create an issue to follow this.
The text was updated successfully, but these errors were encountered: