Closed gnerred closed 7 years ago
I found this, what does it mean exactly ? I don't undestand...
"To make the WMTS queryable you should add those Metadata: ogcServer with the name of the used OGC server, layers or queryLayers with the layers to query (groups not supported)."
As it explained you should ass two UI metadata ... I don't understand what you don't understand ...
Okay, now I see what you mean... What is the name of the OGC server ? An URL ? Could you please provide an example ? Where do we have to enter those metadata in admin interface, in "Couches" or "Couches WMTS" ?
The name defined int the admin interface for the object "OGC Server" or in french "Serveur OGC" :-)
Yes, but my question was : what data do I have to enter in the OGC server field (http://...)? And in which topic is it ? "Layer" ou "WMTS Layer"
neither, "OGC Server"
the url is in the "OGC Server", where you put a name and the name will be in the "OGC server" UI metadata of the WMTS Layer.
@gnerred is it working now?
I will try it later today, not have had the time until now...
@sbrunner it doesn't work... Do I something wrong ? See images attached
to test https://preprod.cartoriviera.ch/v2/mobile/ and use "Plan cadastral" as background layer
The layer plan_cadastral_201607
is a LayerV1 ... it should be a WMTS Layer...
It is a WMTS layer too
You have booth with the same name and you linked the metadata to the wrong one...
In the metadata editing we should prefix the item with the type ...
How ? Which type ? The item is a dropdown list
Okay now I undestand, I will try....
I've prefixed the name and pointed the metadata to the right one. I've modified the layergroup "background_mobile". But now I have no more the plan_cadastral in my background layers... https://preprod.cartoriviera.ch/v2/mobile/
It's not the first one on your screenshot?
Yes but it's no more on the application :-(
I should have a look ...
:O)
if the attribute "name" of the WMTS layer is not the same as the layername in the wmts capabilities, ngeo does not show the background layer, even if the attribute "layer" of the WMTS layer is set correctly.
@gnerred This can be considered as a bug in 2.0, it shouldn't take the "name" of layer as the WMTS layer. This was already corrected in 2.1 and it would take some time to correct in 2.0. Tests/bugfixes on 2.1 should start in August and will go much faster than 2.0 tests (not in parallel with big development), can you wait for 2.1?
No I would like to go in production with 2.0 (desktop CGXP and mobile NGEO). I think other users have the same strategy, as discussed last meeting. Waiting 2.1 will delay greatly the migration to 2...
Choosing 2.1 doesn't mean migrating your desktop to Ngeo. CGXP desktop will live in parallel of Ngeo desktop. For EPFL project for instance, we have c2cgeoportal server, Ngeo mobile and CGXP desktop (all in master versions).
So when is planed a release of 2.1 ? Or RC ?
Beta release for Monday's User Group meeting. Then we'll focus on bugfixing. Goal for RC1 is week 38
Can we close it?
Sorry, but I have not tested yet if the background querying works (lot of problems with installation of 2.1...). I will test soon and give you a feedback.
Reopened :-)
@sbrunner , I tried to configure WMTS backgroundlayer querying on https://preprod.cartoriviera.ch/v2/mobile/, but it doesn't work... What did I wrong ?
The ogcServer is wrong, it should be "source for image/png" or "source for image/jpeg".
By the way the OGCServers named "source for https://preprod.cartoriviera.ch/tiles/1.0.0/WMTSCapabilities_preprod.xml image/png" and "source for https://ows.asitvd.ch/wmts?service=wmts&request=getcapabilities image/png" should be removed...
Ok thanks, I set "source for image/jpeg", but it still doesn't work. https://preprod.cartoriviera.ch/v2/mobile/
This should be fixed in the next rc :-)
When is planed the next RC ?
In about 10 days :-)
How to query a backgroundlayer in ngeo mobile 2.0 ?
https://github.com/camptocamp/cartoriviera_geomapfish/issues/11