Recent posts

#51
MAPAS/MAPS / Re: French geoplatform WMS map...
Last post by ventoux - November 01, 2024, 05:34:29 PM
Ah!
With Plan IGN V2, in Mobac, at zoom=4 I get puzzled tiles of Africa !

Perhaps Mobac and Oruxmaps don't know wms version 1.3.0
#52
MAPAS/MAPS / Re: French geoplatform WMS map...
Last post by ventoux - November 01, 2024, 05:10:03 PM
Thanks !
I'm testing the wms scan 25 map in Mobac, and I get white tiles and no error. Same thing with Plan V2.

Android app like Osmand display correctly this map, also "Cartes IGN"  :P
#53
MAPAS/MAPS / Re: French geoplatform WMS map...
Last post by LaurentG - November 01, 2024, 05:01:55 PM
Quote from: ventoux on November 01, 2024, 07:32:28 AMin version 1.3.0, for EPSG=4326, the coordinates must not be written in the same order as in version 1.1.0. This may be the reason if Oruxmaps still works in version 1.1.0.

I also had this same idea... but a quick test shows it's not (at least not only) that : Indeed, around the coordinates 0,0 if the Bbox is not sent in the right order, the map will be "puzzled", but all tiles should exist (at least for a map like PlanIGN-V2 that covers the full globe, and not only France).
But even around these coordinates, nothing's displayed....

And about the question : Is it Oruxmaps or not, the answer (for me) is clearly "yes, error is in Oruxmaps" since it's possible to get WMS data in other appls.... and even directly in a browser, with correctly formed URL.
#54
MAPAS/MAPS / Re: French geoplatform maps
Last post by ventoux - November 01, 2024, 07:32:28 AM
QuoteI've tried other apps, and if I've succeeded...I don't know where the problem is.
This is the question.Oruxmaps or not Oruxmaps ?

I wonder how Oruxmaps writes the boundingbox to be sent to the server.
In fact, in the graphical interface for creating WMS maps, you can't choose the WMS version.
But it turns out that in version 1.3.0, for EPSG=4326, the coordinates must not be written in the same order as in version 1.1.0. This may be the reason if Oruxmaps still works in version 1.1.0.
#55
MAPAS/MAPS / Re: French geoplatform maps
Last post by Tronpo - October 31, 2024, 10:29:55 PM
Hello, with :
https://data.geopf.fr/wms-r/wms?
Oruxmaps recognizes the URL, but then I can't visualize any layer, planv2 for example.
I've tried other apps, and if I've succeeded...
The wms are not my forte, I don't know where the problem is.
#56
MAPAS/MAPS / Re: French geoplatform maps
Last post by ventoux - October 31, 2024, 05:22:40 PM
This url, in a web browser, is able to get a tile.
https://data.geopf.fr/wms-r/wms?LAYERS=GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2&STYLES=&SERVICE=WMS&REQUEST=GetMap&Version=1.3.0&FORMAT=image/png&CRS=EPSG:4326&BBOX=45.413876460821086,5.855712890625,45.42158812329091,5.86669921875&WIDTH=256&HEIGHT=256"  -->

But this in wms.service.xml can't get a map.
<wms>
<name>Plan test v2</name>
<uid>2001</uid>
<desc>Plan test v2</desc>
<url><![CDATA[https://data.geopf.fr/wms-r/wms?STYLES=&]]></url>
<minzoomlevel>2</minzoomlevel>
<maxzoomlevel>18</maxzoomlevel>
<version>1.3.0</version>
<layers>GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2</layers>
<coordinatesystem>EPSG:4326</coordinatesystem>
<format>image/png</format>
<cache>1</cache>
<tilesize>256</tilesize>
<boundingbox minx="-180" miny="-90" maxx="180" maxy="90"/>
</wms>

What's the right syntax?
#57
MEJORAS/NEW FEATURES / Possibility to upload onlinema...
Last post by bens - October 30, 2024, 04:04:05 PM
On recent versions of Android, the transfer of our personnal "onlinemaps.xml" and "wms_services.xml" in the good directory can be very tricky.

It is often a big problem for new users that lead them to give up oruxmaps.

On AlpineQuest and Locus, the configuration files of map layers can be very easily installed by just "open with" the app => the file is copied to the good directory without the hassle of manualy finding it or be blocked by the security functions of Android.

It could be also an item in the app menu like "load map settings file"
#58
MEJORAS/NEW FEATURES / Re: Map creator
Last post by Tronpo - October 30, 2024, 07:05:41 AM
Quote from: bens on October 01, 2024, 07:04:02 PMThanks for this fantastic app.

Since the last version V 10.7.3 GP there is a new stage in the process for offline map creation : just after selecting the area to download, it is asked "Select the map to use as tile source" with a "brute" list of all the map sources which is a bit confusing.
In the previous version the process was far easier and natural since the selection of the tile source was made before the area selection.

Would it be possible to add, for example on the first line of the map sources, an item like "actual source" or something to specify that we have already selected the good source. That will spare a confusing search in the long list of map sources.



I would add to this proposal to be able to select more than one source, I mean that once the area to be downloaded has been selected, several map sources could be selected, so that a scheduled download of the same area with different sources could be made
This would be very helpful. Creating the same area to download with different sources is currently very difficult to repeat the exact same area.
#59
MAPAS/MAPS / Re: French geoplatform maps
Last post by ventoux - October 27, 2024, 08:48:05 AM
This is the tms file I use in Qmapshack for this map.
<TMS>
<Layer idx="0">
<Title>TITLE</Title>
<Script><![CDATA[(
 function convert(z,x,y)
{function tile2lon(x, z) {return x / Math.pow(2.0, z) * 360.0 -180.;}
  function tile2lat(y, z) {
    n = Math.PI - (2.0 * Math.PI * y) / Math.pow(2.0, z);
    return (Math.atan(Math.sinh(n)))*180.0/Math.PI;
  }
  north = tile2lat(y, z);
  south = tile2lat(y + 1, z);
  west = tile2lon(x, z);
  east = tile2lon(x + 1, z);
  bbox = south + "," + west +"," + north + "," + east;
  return "https://data.geopf.fr/private/wms-r?apikey=ign_scan_ws&LAYERS=SCAN25TOUR_PYR-JPEG_WLD_WM&FORMAT=image/jpeg&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&WIDTH=256&HEIGHT=256&CRS=EPSG:4326&STYLES=&BBOX=" + bbox
}
)]]></Script>
</Layer>
<Copyright>COPYRIGHT</Copyright>
</TMS>

https://geoservices.ign.fr/documentation/services/utilisation-sig/tutoriel-qgis/gpf-wms-wmts-donneesnonlibres

There are public and private maps. But privates can bee accessed by a public apikey

This map's properties in Qgis
Information du fournisseur
Emprise    -180.0000000000000000,-90.0000000000000000 : 180.0000000000000000,90.0000000000000000
Largeur    n/a
Hauteur    n/a
Type de Donnée    Impossible de déterminer le type de donnée raster.
WMS Info   
Couches sélectionnées Autres couches
Propriétés du serveur
Propriétés    Valeur
WMS Version    1.3.0
Titre    WMS/WMTS/TMS server
Résumé    This server provide WMS, WMTS and TMS raster and vector data broadcast
Mots-clés    WMS
WMTS
TMS
Ressource en ligne    -
Personne à contacter   

ROK4 Team
Tarifs    none
Contraintes d'accès    none
GetCapabilitiesUrl    https://data.geopf.fr/private/wms-r?VERSION=1.3.0&
GetMapUrl    https://data.geopf.fr/private/wms-r?
GetFeatureInfoUrl    https://data.geopf.fr/private/wms-r?
GetLegendGraphic    https://data.geopf.fr/annexes/ressources/legendes/LEGEND.jpg?
Formats d'image    image/jpeg
image/png
image/tiff
image/geotiff
image/x-bil;bits=32
Formats reconnus    text/plain
text/html
text/xml
application/xml
application/json
Nombre de couches    4

#60
MAPAS/MAPS / Re: French geoplatform maps
Last post by Tronpo - October 27, 2024, 08:19:30 AM
Good!! Could you provide one of those wms, to do some tests? And if the error is in the wms you can't contact the IGN platform and report it ?
I registered on the portal but I don't see where to get the wms
Best regards