I'm not sure to understand what this map is supposed to show (to be honest, I'm sure to DO NOT understand...), but the WMS service you mention delivers 2 layers, respectively named "0" and "1"
and attached the bsh allowing to show these two layers.
If this correspond to what you are waiting for, I would be be really interested if you can explain what it is supposed to be ;-)
The map displayed her is a multi-layer map, with one layer that is what I provide you just above, one is a hillshade layer, and the 3rd is a vector tile map. So, not possible to get it for Mobac.
The hillshade layer is in Jpeg format, so without transparency, and is necessarily the "bottom" layer. It can also be used "above" another background, defining transparency in the multilayer mapsource, but results are not very good.
And moreover, what I have discovered is that the ags.geology.sk, despite the fact it is in png, is NOT transparent. So to have it above a background in a multilayer map won't provide very good result....
What I can suggest you is to create a multilayer map in mobac, with a background coming from another source (eg. OSM, OpenTopoMap, or any other map), and ABOVE to map of old mines.
OpenTopomap already includes hillshading, as well as OpenStreetMap.ch
The multilayer map is defined with a xml file, whose syntax is like this
The layersAlpha allow you to add some transparency to the different layers, but as already mentioned, it's not perfect. It's better to have a top layer that is "natively" transparent"...
I attach you the bsh for the hillshading of your map, and an example of multilayer map with OSM at the background, and the ags.geology.sk.bsh above. Plus a triple layer map, OSM + HillShade + ags.geology.sk
Good news ! I just saw it was feasible to get the ags.geology.sk in transparent mode !
It becomes then possible to have a good quality two layers map, with a background and ags.geology.sk above.
This is done adding a supplementary parameter "TRANSPARENT=true" in the URL.
I found its existence when looking carefully at what is done with the URL you provided to me : https://www.arcgis.com/apps/mapviewer/index.html?layers=32d9139c5b634ffba7f332fd725f594a
This Website do not get ags.geology.sk data tile per tile, but rather more globally, with only one "big" tile that covers all the displayed map (and to do so, the URL is completely different from the one to get tile per tile), but this "big Tile" URL has this parameter (Transparent=true).
So I did the test to add it in the WMS Tile download URL... and it works !
About hillshade on the other hand, this transparency is not feasible (there are no parameters at all, and moreover tiles are Jpeg, that do not allow transparency).
But a solution is to have a background that includes natively the hillshading. It's the case (among others) of the .CH version of OSM Mapnik, or OpenTopoMap
Here attached my previous files updated.
I add to them OSM.ch, and OpenTopoMap, plus multilayer with ags.geology.sk based on these two maps as background.
Hi,
I'm not sure this is what you were looking for, but these are the three layers described in the "GetCapabilities" you provide the URL.
As far as I have seen, the "layer=2" provides data only at zoom level >= 14 (and empty tiles below)
I ask the question because I tried to build a .bsh (and also a .xml) file based on values returned by this GetCapabilties, but if it "technically" works (ie. do not generate "syntax" error), each required tile returns a HTPP404 error "Not found". That means that the URL itself is "understood" by the server, but not connected to any actual data.
Is there a web site in which we can "see" and browse the corresponding map ?
Last edit: Laurent Grenet 2025-06-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just have had a look on this website.
What I can see is that map displayed is get from a tile server, with 256x256 tiles, each tile being identified by three parameters, analog to zoom level, and X and Y coordinates.
BUT the coordinate system is completely different from the one used in Mobac.
In particular, in Google system (used by Mobac), for each zoom level, there are 2^^z lines and 2^^z columns, numbered from 0 to 2^^z -1
This is clearly NOT at all the case of the coordinate system used by this tile server, ad I've not been able to understand how it works.
But clearly, there cannot be a "simple" (and linear) transformation between coordinates on this server and coordinates in Mobac's system.
As a result, I'm afraid it is not possible to set up a Mobac mapsource file for the map delivered by the tile server used by this Web site to display its maps.
So, I repeat my initial question : where does your "Getcapabilities" URL come from ?
If I had more information about that, maybe I could understand better what is described in the getcapabilities xml file (definitely not sure, but I could at least try....)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Digging a little bit more in the details, I discovered that the mapsource I created didn't return HTTP404 everywhere as I thought, but actually returns valid data in a very small zone around the town of Trencin.
I don't know why it is so limited in area ? Is there any mean to get the same in other places ? No idea about that, nor how to do !
But I nevertheless attach you the file in case it's already interesting for you....
It's in xml format, but it wouldn't change anything to convert it to .bsh
On the Web (https://mapy.tuzvo.sk/hofm/) the URL (and the server behind) is completely different and (as already explained) definitely not usable for Mobac.
The file I generated is using the URL (and the server) as decribed in the getcapabilities.xml file you published, and with this getcapabilities, there is no other possible URL associated.
This mean that this Getcapabilities is not relative to entire slovakia, but only to some limited "demonstration" server.
So I repeat (a 3rd time) my initial question : where and how did you find your Getcapabilities ?
If I know, it could be (even if not sure) a starting point for me to find the Getcapabilties for a server providing more global data.
In the current situation (ie. with he current Getcapabilities), it's (unfortunately for you) not possible to do more....
Last edit: Laurent Grenet 2025-06-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I do not precisely understand what you did when you write "opened map through built-in web browser" ? I guess it's the built-in browser of fiddle, but which map ? The one behind https://mapy.tuzvo.sk/hofm/ ?
Anyway, among the URL you detected, the fist one (WMS Getcapabilities) is the one supposed to be the most interesting (it should give us the key to access the map in WMS),.... but unable to open it : give an error "Secure Connection Failed"....
PS : maybe due to the shutdown you mention ? I'll do a new test next monday...
Last edit: Laurent Grenet 2025-06-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
Please help how to write map source:
Coordinate Reference System : EPSG:8404
Type of spatial representation: Grid
Information about the distribution of the source
Other electronic addresses of the source:
https://tiles.geocloud.sk/mapproxy/service?REQUEST=GetCapabilities&SERVICE=WMTS
https://tiles.geocloud.sk/mapproxy/wmts/1.0.0/WMTSCapabilities.xml
https://tiles.geocloud.sk/mapproxy/service?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=vm_II&STYLE=default&TILEMATRIXSET=mzpsr_sjtsk_grid&TILEMATRIX=8&TILEROW=78&TILECOL=15&FORMAT=image%2Fpng
Distribution format: Name gml+xml
Metadata record identifier: https://data.gov.sk/set/data/gmd/f6a9ae10-9b22-489c-bbfe-e6751700a6ae
thanks
Hello,
Find the script here
http://randochartreuse.free.fr/mobac2.x/documentation/generateur_carte.php?Type_URL=URL1&F_URL=https%3A%2F%2Ftiles.geocloud.sk%2Fmapproxy%2Fservice%3FSERVICE%3DWMTS%26REQUEST%3DGetTile%26VERSION%3D1.0.0%26LAYER%3Dvm_II%26STYLE%3Ddefault%26TILEMATRIXSET%3Dmzpsr_sjtsk_grid%26FORMAT%3Dimage%2Fpng&F_NomZoom=TileMatrix&F_NumeroZoom=8&F_NomCol=TileCol&F_NumeroColonne=15&F_NomLigne=TileRow&F_NumeroLigne=78
or
Sorry, Nicolas, but your map is not positioned at the right place on earth....
Attached the same in WMS, correctly positioned.
oops
Grenet: fantastic, many thanks !!!
please, and what about this map?
https://ags.geology.sk/arcgis/services/WebServices/SBD/MapServer/WMSServer?request=GetCapabilities&service=WMS
I'm not sure to understand what this map is supposed to show (to be honest, I'm sure to DO NOT understand...), but the WMS service you mention delivers 2 layers, respectively named "0" and "1"
and attached the bsh allowing to show these two layers.
If this correspond to what you are waiting for, I would be be really interested if you can explain what it is supposed to be ;-)
Last edit: Laurent Grenet 2025-02-16
It is the map of old mines, thanks, it is good, only base map is missing, it should look like here: https://ags.geology.sk/arcgis/rest/services/WebServices/SBD/MapServer , https://www.arcgis.com/apps/mapviewer/index.html?layers=32d9139c5b634ffba7f332fd725f594a
Last edit: Stewecord 2025-02-17
The map displayed her is a multi-layer map, with one layer that is what I provide you just above, one is a hillshade layer, and the 3rd is a vector tile map. So, not possible to get it for Mobac.
The hillshade layer is in Jpeg format, so without transparency, and is necessarily the "bottom" layer. It can also be used "above" another background, defining transparency in the multilayer mapsource, but results are not very good.
And moreover, what I have discovered is that the ags.geology.sk, despite the fact it is in png, is NOT transparent. So to have it above a background in a multilayer map won't provide very good result....
What I can suggest you is to create a multilayer map in mobac, with a background coming from another source (eg. OSM, OpenTopoMap, or any other map), and ABOVE to map of old mines.
OpenTopomap already includes hillshading, as well as OpenStreetMap.ch
The multilayer map is defined with a xml file, whose syntax is like this
The layersAlpha allow you to add some transparency to the different layers, but as already mentioned, it's not perfect. It's better to have a top layer that is "natively" transparent"...
I attach you the bsh for the hillshading of your map, and an example of multilayer map with OSM at the background, and the ags.geology.sk.bsh above. Plus a triple layer map, OSM + HillShade + ags.geology.sk
Last edit: Laurent Grenet 2025-02-17
Good news ! I just saw it was feasible to get the ags.geology.sk in transparent mode !
It becomes then possible to have a good quality two layers map, with a background and ags.geology.sk above.
This is done adding a supplementary parameter "TRANSPARENT=true" in the URL.
I found its existence when looking carefully at what is done with the URL you provided to me : https://www.arcgis.com/apps/mapviewer/index.html?layers=32d9139c5b634ffba7f332fd725f594a
This Website do not get ags.geology.sk data tile per tile, but rather more globally, with only one "big" tile that covers all the displayed map (and to do so, the URL is completely different from the one to get tile per tile), but this "big Tile" URL has this parameter (Transparent=true).
So I did the test to add it in the WMS Tile download URL... and it works !
About hillshade on the other hand, this transparency is not feasible (there are no parameters at all, and moreover tiles are Jpeg, that do not allow transparency).
But a solution is to have a background that includes natively the hillshading. It's the case (among others) of the .CH version of OSM Mapnik, or OpenTopoMap
Here attached my previous files updated.
I add to them OSM.ch, and OpenTopoMap, plus multilayer with ags.geology.sk based on these two maps as background.
Last edit: Laurent Grenet 2025-02-18
thats fantastic, many thanks!!! I made custom multi layer map source with freemap and old mines
Please, and is it possible to have these geological wmts map in Mobac?
https://rpi.gov.sk/metadata/07366823-fc45-42c5-a174-c2d6657e427d
Coordinating system:
EPSG:5514
WMS:
https://ags.geology.sk/arcgis/services/WebServices/GM50/MapServer/WMSServer?request=GetCapabilities&service=WMS
many thanks !
Hi,
I'm not sure this is what you were looking for, but these are the three layers described in the "GetCapabilities" you provide the URL.
As far as I have seen, the "layer=2" provides data only at zoom level >= 14 (and empty tiles below)
Hello, thanks, it works, please and could You make bash file from this wmts map source?
https://tiles.arcgis.com/tiles/goZLUACRDSDrf4xu/arcgis/rest/services/HOFM_50cm_1949_Clip_new/MapServer/WMTS/1.0.0/WMTSCapabilities.xml
Hi,
where does your "Getcapabilities" URL come from ?
I ask the question because I tried to build a .bsh (and also a .xml) file based on values returned by this GetCapabilties, but if it "technically" works (ie. do not generate "syntax" error), each required tile returns a HTPP404 error "Not found". That means that the URL itself is "understood" by the server, but not connected to any actual data.
Is there a web site in which we can "see" and browse the corresponding map ?
Last edit: Laurent Grenet 2025-06-05
thanks for respond, it can be seen here: https://mapy.tuzvo.sk/hofm/
Am interested in: Ortofoto 1950 CB - selection of map version on top right corner
Last edit: Stewecord 2025-06-05
I just have had a look on this website.
What I can see is that map displayed is get from a tile server, with 256x256 tiles, each tile being identified by three parameters, analog to zoom level, and X and Y coordinates.
BUT the coordinate system is completely different from the one used in Mobac.
In particular, in Google system (used by Mobac), for each zoom level, there are 2^^z lines and 2^^z columns, numbered from 0 to 2^^z -1
This is clearly NOT at all the case of the coordinate system used by this tile server, ad I've not been able to understand how it works.
But clearly, there cannot be a "simple" (and linear) transformation between coordinates on this server and coordinates in Mobac's system.
As a result, I'm afraid it is not possible to set up a Mobac mapsource file for the map delivered by the tile server used by this Web site to display its maps.
So, I repeat my initial question : where does your "Getcapabilities" URL come from ?
If I had more information about that, maybe I could understand better what is described in the getcapabilities xml file (definitely not sure, but I could at least try....)
Digging a little bit more in the details, I discovered that the mapsource I created didn't return HTTP404 everywhere as I thought, but actually returns valid data in a very small zone around the town of Trencin.
I don't know why it is so limited in area ? Is there any mean to get the same in other places ? No idea about that, nor how to do !
But I nevertheless attach you the file in case it's already interesting for you....
It's in xml format, but it wouldn't change anything to convert it to .bsh
Last edit: Laurent Grenet 2025-06-06
thanks, through the web, map is working for all Slovakia, are they changing url for other towns?
On the Web (https://mapy.tuzvo.sk/hofm/) the URL (and the server behind) is completely different and (as already explained) definitely not usable for Mobac.
The file I generated is using the URL (and the server) as decribed in the getcapabilities.xml file you published, and with this getcapabilities, there is no other possible URL associated.
This mean that this Getcapabilities is not relative to entire slovakia, but only to some limited "demonstration" server.
So I repeat (a 3rd time) my initial question : where and how did you find your Getcapabilities ?
If I know, it could be (even if not sure) a starting point for me to find the Getcapabilties for a server providing more global data.
In the current situation (ie. with he current Getcapabilities), it's (unfortunately for you) not possible to do more....
Last edit: Laurent Grenet 2025-06-07
ok I understand, I fount it here: https://www.arcgis.com/home/item.html?id=7ab417cd294e4e08b5fa418ac63ed270 , and that is for Trencin only :-(
Last edit: Stewecord 2025-06-07
Yes, it's clear that this site is for Tencin only. One sign among others, the username of the guy who manages it : tencin_admin....
Nevertheless I browsed this site, trying to find some link to a similar but more general site.
Unfortunately, I've not been able to find anything.
Sorry for you, but I'm afraid I won't be able to go further...
I have tried to install Fiddler, opened map through built-in web browser and checked what URLS are opened when browsing the map:
https://kataster.skgeodesy.sk/eskn/services/NR/kn_wms_orto/MapServer/WMSServer?SERVICE=WMS&REQUEST=GetCapabilities
https://zbgisws.skgeodesy.sk/zbgis_ortofoto_wms/service.svc/get?
https://js.arcgis.com/4.11/esri/views/2d/layers/WMSLayerView2D.js
https://js.arcgis.com/4.11/esri/views/2d/layers/MapImageLayerView2D.js
https://js.arcgis.com/4.11/esri/views/2d/layers/support/ExportStrategy.js
https://js.arcgis.com/4.11/esri/views/layers/MapImageLayerView.js
https://js.arcgis.com/4.11/esri/views/layers/WMSLayerView.js
https://js.arcgis.com/4.11/esri/views/2d/viewStateUtils.js
if this could help, many thanks
I also found, that there is an operational shutdown, so the map services are down till Monday 9.6.2025
Last edit: Stewecord 2025-06-07
I do not precisely understand what you did when you write "opened map through built-in web browser" ? I guess it's the built-in browser of fiddle, but which map ? The one behind https://mapy.tuzvo.sk/hofm/ ?
Anyway, among the URL you detected, the fist one (WMS Getcapabilities) is the one supposed to be the most interesting (it should give us the key to access the map in WMS),.... but unable to open it : give an error "Secure Connection Failed"....
PS : maybe due to the shutdown you mention ? I'll do a new test next monday...
Last edit: Laurent Grenet 2025-06-07
Yes - built-in browser on Fiddler - and yes, I opened the map https://mapy.tuzvo.sk/hofm/ , I will try today evening