OkMap forum
OkMap forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 OkMap Forum - English
 Use of the software
 France IGN Scan 25 WMTS server issue
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

jeanmarc93

France
31 Posts

Posted - 04/07/2024 :  15:35:20  Show Profile  Reply with Quote
Hello,

I just added the following WMTS server
<mapsServer>
<name>France IGN Scan 25</name>
<url>https://data.geopf.fr/private/wmts?apikey={apikey}</url>
<serverNodes />
<attributions>©ign.fr</attributions>
<group>France IGN</group>
<type>WMTS</type>
<version>1.3.0</version>
<layer>GEOGRAPHICALGRIDSYSTEMS.MAPS</layer>
<mapFormat>image/jpeg</mapFormat>
<projection>EPSG:3857</projection>
<lat>48.85717</lat>
<lon>2.34139999999999</lon>
<covered>France</covered>
<minZoom>6</minZoom>
<maxZoom>16</maxZoom>
<active>true</active>
<canSaved>true</canSaved>
<custom>false</custom>
</mapsServer>
and added the API key in Preference->WebMaps menu
But it seems not working
Could you help me ?
Regards,
Jean-Marc

Allegato : OkMap_XkdZBbvALW.zip#9;62.16 KB

okmap

Italy
2625 Posts

Posted - 04/07/2024 :  15:59:18  Show Profile  Visit okmap's Homepage  Reply with Quote
If type is WMTS, the tag <projection> must not specified.
You are missing the tag <style> and <matrixSet>.

Can you send me your api key in private to info@okmap.org, so I can test it?
Go to Top of Page

okmap

Italy
2625 Posts

Posted - 04/07/2024 :  18:10:03  Show Profile  Visit okmap's Homepage  Reply with Quote
This is the right format for WMTS web maps:

<mapsServer>
<name>France IGN Scan 25</name>
<url>https://data.geopf.fr/private/wmts?VERSION=1.0.0&apikey=ign_scan_ws</url>
<attributions>©ign.fr</attributions>
<group>France IGN</group>
<type>WMTS</type>
<version>1.0.0</version>
<layer>GEOGRAPHICALGRIDSYSTEMS.MAPS</layer>
<mapFormat>image/jpeg</mapFormat>
<style>normal</style>
<matrixSet>PM_0_18</matrixSet>
<lat>48.85717</lat>
<lon>2.3414</lon>
<covered>France</covered>
<minZoom>6</minZoom>
<maxZoom>16</maxZoom>
<active>true</active>
<canSaved>true</canSaved>
<custom>true</custom>
</mapsServer>

Leave the key wired in the address for now.
I need to understand why replacing the api key doesn't work in WMTS maps.
It doesn't matter because the map is custom.
Go to Top of Page

jeanmarc93

France
31 Posts

Posted - 04/07/2024 :  18:19:24  Show Profile  Reply with Quote
Many thanks.
Go to Top of Page

Garphrey

USA
1 Posts

Posted - 30/07/2024 :  11:04:09  Show Profile  Visit Garphrey's Homepage  Reply with Quote
Could you possibly be more explicit? Can you inform us about the surgeries performed, the predicted outcomes, and the results obtained? Some screenshots could be helpful. Thank you!
Go to Top of Page

okmap

Italy
2625 Posts

Posted - 30/07/2024 :  11:09:47  Show Profile  Visit okmap's Homepage  Reply with Quote
I always recommend using the OkMap interface and not directly modifying the configuration files.
Go to Top of Page

LucyCoffee

USA
1 Posts

Posted - 28/08/2024 :  06:02:31  Show Profile  Visit LucyCoffee's Homepage  Reply with Quote
quote:
Originally posted by okmap

I always recommend using the OkMap interface and not directly modifying the configuration files.


I agree with you, because that would make things more complicated wouldn't it?
Go to Top of Page

okmap

Italy
2625 Posts

Posted - 28/08/2024 :  09:11:29  Show Profile  Visit okmap's Homepage  Reply with Quote
It is much easier to use the OkMap interface.
PS: I solved the key problem so you can specify "https://.......key={apikey}".
Go to Top of Page
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
OkMap forum © 2018 OkMap Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07