French geoplatform WMS maps

Started by ventoux, October 26, 2024, 10:54:47 AM

Previous topic - Next topic

0 Members and 5 Guests are viewing this topic.

LaurentG

#15
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.

ventoux

#16
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

ventoux

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

LaurentG

Quote from: ventoux on November 01, 2024, 05:34:29 PMPerhaps Mobac and Oruxmaps don't know wms version 1.3.0
In Mobac, you write yourself the bsh mapsource file (or XML mapsource file). It is not Mobac that determines itself the URL to send
Maybe you are using an invalid source file ?

ventoux

#19
The xml files I made, are goods.
With a new version of Mobac (2.3.3), I get both maps, Scan 25 and Plan V2.

LaurentG

I do not understand how you can say both :
- With Plan IGN V2, in Mobac, at zoom=4 I get puzzled tiles of Africa
- The xml files I made, are goods

If they are good, even at zoom=4 tiles are NOT puzzled...

And just about one of your previous remarks : "Android app like Osmand display correctly this map, also "Cartes IGN"
OsmAnd do NOT display map from WMS server, but rather from WMTS server....

And this rejoin my initial comment : why do you absolutely want WMS map where the same exist in WMTS....

ventoux

#21
QuoteI do not understand how you can say both :
It's because you read too fast or I wasn't precise enough.
I wrote
QuoteWith a new version of Mobac (2.3.3)
In other words, the same .xml file gives different results depending on the Mobac version. It seems to me that the new 2.3.3 correctly handles WMS version 1.3.0.

I add that I can get a puzzled map with this record in wms.services.xml (Oruxmaps v.10.8.0beta2 ). But no map with Oruxmaps v.10.7.4 GP.
It's enough for this subject.


<wms>
<name>Plan test v2</name>
<uid>2001</uid>
<desc>Plan test v2</desc>
<url><![CDATA[https://data.geopf.fr/wms-r/wms?STYLES=&VERSION=1.3.0&SERVICE=WMS&CRS=EPSG:4326]]></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"/>
It's enough for to day !

LaurentG

Which version of MOBAC did you use before ?
Because support of WMS 1.3.0 in Custom WMS map sourcesxml files comes with version 2.2.3 of MOBAC (thanks to Nicolas Paour - http://randochartreuse.free.fr )

It is really important (mandatory....) to always run testing on latest rev of softs.
BTW, which version of OruxMaps are you testing ?