This object is in archive! 

wms IGN france

Germain BELLAMY shared this problem 6 years ago
Not a Problem

Hello, I have my own IGN subscription, but when I create new wms map with IGN url, I can't see and select any layers.

Url : http://wxs.ign.fr/**myKey**/geoportail/r/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities


What's wrong ?

Thanks

Replies (2)

photo
1

Dear Germain,

would you please try this service for example on desktop? Is it possible for you to send as the GetCapabilities XML file?

Thank you

Petr

photo
1

Hello, xml file in attachment.

Thanks

Files: wmts.xml
photo
1

Hi,

I'm sorry for the late response. I can see that you have solved with custom provider definition. Unfortunately the getcapabilities XML that you sent me is for WMTS service and not for WMS. Does everything work for you as WMTS service using custom providers?

Thank you

Petr

photo
1

Hi,

Just found this recent thread by having the same exact problem as shown in the screenshots. The solution for me was to add more "ressources" on my ign account, the default ones are not sufficient for wms service.

The ign website is a bit tricky, may not work on all navigators, sometimes all options are not shown in the "Mes commandes" page, just go back and try again

- In "Mon espace", go to "Récupérer mes clefs d'accès en ligne".

- Choose "Modifier mon contrat" at the bottom of the page

- Choose "Ajouter/Supprimer des ressources"

- Add "Ressources WMS-Raster du Geoportail", or whatever else you need to access with WMS (vectorial maps are just below, but if you want the aerial photo layers they are of course in raster).

- Validate your changes etc...

I also set up the access to work with login/password so that i can set them up in locus.

I hope this helps.

photo
1

Thank you Vincent. Effectively, it work but some layers are not available in wms like "carte des pentes".

I do some test to add it in xml providers file with wmts protocol but inconclusive for the moment

photo
1

Ok work fine with custom onlinemap.

I have created xml file in Locus/mapsOnline/custom/ with this config

<providers>
<provider id="10835" type="0" visible="true" background="-1">
<name>Geoportail</name>
<mode>Carte des pentes</mode>
<url><![CDATA[http://wxs.ign.fr/MY_KEY/geoportail/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE=normal&LAYER=GEOGRAPHICALGRIDSYSTEMS.SLOPES.MOUNTAIN&EXCEPTIONS=text/xml&FORMAT=image/png&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}]]></url>;
<zoomPart>{z}-8</zoomPart>
<zoomMin>8</zoomMin>
<zoomMax>26</zoomMax>
<tileSize>256</tileSize>
<countries>France</countries>
<extraHeader><![CDATA[User-Agent#MY_USER_AGENT]]></extraHeader>
<usage>road,city</usage>
</provider>
</providers>

Replies have been locked on this page!