I have a couple data sets with these files (image 1). When I load the symbology, I get random colors (image 2). The public domain I downloaded the files from have a predefined symbology (image 3), is there anyway I can load it?
-
1Welcome! Are you able to share the link to the public domain dataset? Generally, QGIS allows layer style files (.qml) and styled layer descriptor (.sld) files to be loaded which allows us to make use of pre-defined styles and makes symbolising layers easier.– PGerritsCommented Aug 4, 2021 at 1:30
-
Thanks for the welcome! The dataset is from here, under data sources, geoscience, 250 ,000 scale geology --> gisappl.saskatchewan.ca/Html5Ext/index.html?viewer=GeoAtlas– EbillzCommented Aug 4, 2021 at 1:41
-
PGerrits, I see my issue here potentially. They use the Esri Arc GIS platform, am I able do to any kind of conversion?– EbillzCommented Aug 4, 2021 at 1:44
-
1Best way is to go back to the data provider and request a test file that relates rock type to color- preferably as a .sld file. They should be able to give you this even if they have to write it out from Arcgis. If not a .sld file then at least a text file with the color notation as RGB.– Leigh BettenayCommented Aug 4, 2021 at 2:10
-
Leigh, thanks for your response! I do have this sort of text file. How would I incorperate the text file in for the color symbology? --> maps2.gov.mb.ca/arcgis/rest/services/MG_GEOLOGY_CLIENT/…– EbillzCommented Aug 4, 2021 at 4:13
1 Answer
In QGIS, add an ArcGIS REST Server Connection using the following URL:
https://gis.saskatchewan.ca/arcgis/rest/services/Economy/P_1_250000_Scale_Geology/MapServer
Add the vector layer
250K Bedrock Geology
Right click on the layer in the layers widget -> Export -> Save as QGIS Layer Style File... -> save the symbology as QML file.
You could try to apply this QML file to your downloaded data (right click on the layer in the layers widget -> Symbology -> Style -> Load style...)
-
1
-
My pleasure @Ebillz If the answer solves your question, you may "accept" it (meta.stackexchange.com/a/5235) Commented Aug 4, 2021 at 17:53
-
Hey @pathmapper, how do I find the URL you provided in 1)? I would like to use this technique for a few other areas.– EbillzCommented Aug 4, 2021 at 21:34
-
3You could use the browser developer tools / network monitor - Firefox: developer.mozilla.org/en-US/docs/Tools/Network_Monitor , Chrome: developer.chrome.com/https://gisappl.saskatchewan.ca/Html5Ext/… . Just zoom and pan gisappl.saskatchewan.ca/Html5Ext/index.html?viewer=GeoAtlas to an area of interest, select only the layer you are interested in, clear all network logs, pan the map a little bit and inspect the requested URL. Commented Aug 5, 2021 at 5:47