Recent posts

#61
MAPAS/MAPS / Re: French geoplatform maps
Last post by ventoux - October 27, 2024, 08:02:56 AM
You've already done a lot, and I'd like to thank you once again. I wish you all the best for your outings in the great outdoors.

Your tests confirm mine, there's something wrong  :P . When I looked at the contents of the .wms_data file, I saw that it contains all the parameters for the wms maps. I'll also try to modify it, for the fun !
#62
MAPAS/MAPS / Re: French geoplatform maps
Last post by LaurentG - October 26, 2024, 09:36:01 PM
Quote from: ventoux on October 26, 2024, 04:53:12 PMAnd all this doesn't say how to get the IGN's map i want in wms.

Actually, I did some tests, and it seems that there is something wrong between OM and IGN WMS servers.
At the beginning, I thought it was due to the authentication system via the apikey parameter, but actually, there is the same problem with other maps that are "public" (and then do not require any authentication, nor any specific access right).
Since it works in OM with other WMS servers, I imagine that the issue is more in IGN servers, but I can't say more precisely.
Maybe a problem due to version 1.3.0 of WMS ?

But as for me there is no need to get WMS maps from IGN (since all are available also in WMTS), I stop here my investigations.
#63
MAPAS/MAPS / Re: French geoplatform maps
Last post by ventoux - October 26, 2024, 04:53:12 PM
QuoteBut maybe I'm wrong
No, you're right. 
I'm aware that I'm only zooming in to the maximum level of the SCAN25TOUR_PYR-JPEG_WLD_WM layer in wms. But it's very useful in the field, in some cases where relief is important for orientation. In short, I prefer a blurred map, but with relief and vegetation, to a sharp map but without this informations.

Thanks for your explanations and I'll try to reduce the zoom level of GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN25TOUR to wmts.

And all this doesn't say how to get the IGN's map i want in wms. But it's an excellent workaround. Thanks you very much for that.
#64
MAPAS/MAPS / Re: French geoplatform maps
Last post by LaurentG - October 26, 2024, 04:29:59 PM
PS : You can also use the GEOGRAPHICALGRIDSYSTEMS.MAPS but limit (in onlinemapsources.xml fle) its zoom level to level 16, to get benefit of clearer map at low zoom level, but do not automatically switch map style above 16....
#65
MAPAS/MAPS / Re: French geoplatform maps
Last post by LaurentG - October 26, 2024, 04:25:22 PM
I'm afraid you missed something...

If the map you choose is GEOGRAPHICALGRIDSYSTEMS.MAPS, this map is a "multiscale" map, ie. that changes automatically with the zoom level.
At zooms 15 and 16, it's the same than the Scan25, but at zooms higher (17 and above), it's the same than PlanIGNV2
And at the contrary, at lower zoom levels (14 and below), it's the same than Scan100 and Scan250 (these two maps do not exist anymore as separate maps, AFAIK)

But if the map you choose is GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN25TOUR, this map is at any zoom level it is defined, ie. 6 to 16, always a "pure scan25". And outside of these limits, do not exist.
And then if you go to higher levels than 16, the map do not change : it is not defined, and then is empty in OM... except if you have defined (in onlinemapsources.xml file) its zoom levels in the range 6-16, in which case OM do not try to get the (inexistent) level 17 or 18, but rather makes automatically a "digital zoom", ie. enlarges the display staying at the same zoom level.
If you have a look in such a case at the "Level of zoom" displayed by OM (in the Dashboard), you can see that you are 150@16 (ie 150% at zoom 16), then 200@16... up to 800@16 , but never 100@17 or 100@18, etc...

But maybe I'm wrong and there is something I don't know about these maps.... even if I would be surprised of that.
So, if it's the case and I'm wrong, I would be very interested that you show me a screen copy of WMTS and WMS different at high zoom level....
#66
MAPAS/MAPS / Re: French geoplatform maps
Last post by ventoux - October 26, 2024, 02:26:38 PM
Tell me what you need, and I'll tell you how to get by without it.  :D

The difference between the two maps is in the highers zoom levels. We no longer have the same layer.
#67
MAPAS/MAPS / Re: French geoplatform maps
Last post by LaurentG - October 26, 2024, 01:31:56 PM
First of all, why do you want to get these maps as WMS maps ?
Maps served as WMS by IGN server are the same than those served as WMTS.
AFAIK, there is not any map served only in WMS and not in WMTS.
The only difference is that WMS server can (in some cases) serve the maps with different projection, but this is 100% useless with OM, and also that WMS service is necessarily a little bit slower than WMTS (because in WMS it has to create the tiles on the fly, while in WMTS tiles are stored predefined on the server)
#68
MAPAS/MAPS / Re: French geoplatform maps
Last post by ventoux - October 26, 2024, 12:01:29 PM
I thank you, but i tried this way too. The map does not display.
Perhaps, i forget some addons in the url ...
This is why i would like to understand capabilities for the <boundingbox>

Do you know what is the purpose of the file .wms_data ?
#69
MAPAS/MAPS / Re: French geoplatform maps
Last post by Tronpo - October 26, 2024, 11:42:56 AM
Quote from: ventoux on October 26, 2024, 10:54:47 AMHello,
The new IGN platform seems to have stabilized. It's time to review how to use it with Oruxmaps for wms and wmts maps.

As I understand it, you can define new personal wmts maps in the onlinemapsousrces.xml file, to be placed in the customonlinemaps directory. This works well and I've added my own, inspired by randochartreuse.free.fr.

However, to add wms maps, you need to use the wms-services.xml file in the mapfiles directory.
In this file, I'd like to add the Scan 25 resource. Has anyone done this before, and can they tell me what parameters to use?
Thanks for your help.
Translated with DeepL.com (free version)


Bonjour,
La nouvelle plateforme de l'IGN semble maintenant stabilisée. C'est le moment de faire le point sur la façon de l'utiliser avec Oruxmaps pour les cartes wms et wmts.

Si j'ai bien compris, on peut définir de nouvelles cartes wmts personnelles dans le fichier onlinemapsousrces.xml à placer dans le répertoire customonlinemaps. Cela fonctionne bien et j'ai pu ajouter les miennes en m'inspirant de randochartreuse.free.fr.

Par contre, pour ajouter des cartes wms, il faut utiliser le fichier wms-services.xml du répertoire mapfiles.
Dans ce fichier, je voudrais ajouter la ressource Scan 25. Quelqu'un a-t-il déjà fait cela et peut-il communiquer les paramètres à utiliser ?
Comment trouver les bonnes informations dans le fichier des "capabilities" et les reporter dans les balises du fichier <wms> ... </wms>

Hi, you can add wms or wmts directly in orux. You don't need to edit the file
Simply.
I give you an example with a wms from my country, I don't have any French.

Best regards
#70
MAPAS/MAPS / French geoplatform WMS maps
Last post by ventoux - October 26, 2024, 10:54:47 AM
Hello,
The new IGN platform seems to have stabilized. It's time to review how to use it with Oruxmaps for wms and wmts maps.

As I understand it, you can define new personal wmts maps in the onlinemapsousrces.xml file, to be placed in the customonlinemaps directory. This works well and I've added my own, inspired by randochartreuse.free.fr.

However, to add wms maps, you need to use the wms-services.xml file in the mapfiles directory.
In this file, I'd like to add the Scan 25 resource. Has anyone done this before, and can they tell me what parameters to use?
Thanks for your help.
Translated with DeepL.com (free version)


Bonjour,
La nouvelle plateforme de l'IGN semble maintenant stabilisée. C'est le moment de faire le point sur la façon de l'utiliser avec Oruxmaps pour les cartes wms et wmts.

Si j'ai bien compris, on peut définir de nouvelles cartes wmts personnelles dans le fichier onlinemapsousrces.xml à placer dans le répertoire customonlinemaps. Cela fonctionne bien et j'ai pu ajouter les miennes en m'inspirant de randochartreuse.free.fr.

Par contre, pour ajouter des cartes wms, il faut utiliser le fichier wms-services.xml du répertoire mapfiles.
Dans ce fichier, je voudrais ajouter la ressource Scan 25. Quelqu'un a-t-il déjà fait cela et peut-il communiquer les paramètres à utiliser ?
Comment trouver les bonnes informations dans le fichier des "capabilities" et les reporter dans les balises du fichier <wms> ... </wms>