spatialthoughts / qgis-tutorials

Source files for sphinx-based website
http://www.qgistutorials.com
Apache License 2.0
62 stars 33 forks source link

Creating a Block World Map (QGIS3) — QGIS Tutorials and Tips #157

Closed utterances-bot closed 6 months ago

utterances-bot commented 6 months ago

Creating a Block World Map (QGIS3) — QGIS Tutorials and Tips

https://www.qgistutorials.com/en/docs/3/block_world_styling.html

amanbagrecha commented 6 months ago

I was unable to download hex_grid_with_elevation.gpkg attached in this tutorial. Is it my internet or the same for everyone else?

Great tutorial though! Everything works as expected, and got to learn cool tricks and functions along the way!

spatialthoughts commented 6 months ago

Thanks for the feedback and reporting the issue with the download. The URL was wrongly formatted as http:// instead of https:// . The correct URL should be https://www.qgistutorials.com/downloads/hex_grid_with_elevation.gpkg

Have fixed it in 049ada06a62ef745a56da232fc093a12faf8438d.

naavitaa commented 3 months ago

Al escribir:

CASE WHEN "dem_mean" >= 0 THEN ramp_color('wiki-1.02',scale_linear("dem_min",0,1500,0.4,1)) ELSE ramp_color('GnBu',scale_linear("dem_mean",-6000,0,1,0)) END

Aparece el siguiente mensaje: cadena [r,g,b,a] como entero 0-255 o #AARRGGBB como hexa o color como nombre de color

naavitaa commented 3 months ago

Creo que encontre el error. Dice: CASE WHEN "dem_mean" >= 0 THEN ramp_color('wiki-1.02',scale_linear("dem_min",0,1500,0.4,1)) ELSE ramp_color('GnBu',scale_linear("dem_mean",-6000,0,1,0)) END

Deberia decir: CASE WHEN "dem_mean" >= 0 THEN ramp_color('wiki-1.02',scale_linear("dem_mean",0,1500,0.4,1)) ELSE ramp_color('GnBu',scale_linear("dem_mean",-6000,0,1,0)) END

Encontre que dice "DEM_MIN" y lo sustitui por "MEN_MEAN" y funciono, esto porque en mi capa no tengo el campo "DEM_MIN"