It took 18 hours to kind of learn QGIS, and only 2 hours to make this map! It's pretty shitty but not so bad for only having discovered the tool yesterday.
No legend, etc., etc. but there are bigger problems here. Why does the ć character result in ? when rendered on the map, when QGIS can handle the character fine in attributes text fields prior to rendering? Why do the battles listed have "0" next to them as the date, when by the formula below I should clearly be pulling a good year from the attribute (see at the bottom for example, "1379" for "Battle for Ragusa", yet "0" next to it on the map)? How can I conditionally format the map so every symbology, no matter the layer, outside the green polygon gets opacity 0% (invisible).
View attachment 736293
You can draw your own data easily - the key word to look for tutorials is 'georeferencing.'
Very glad it was helpful!
The ? problem has to do with the encoding of your file. Try some of the answers from
here. As for your labelling, I'm not sure without having a look at your attribute table but my guess would be that the data is coded as a string rather than a number or date, so using year() breaks it. Do you have two overlaying layers with the same data? What does your full label settings look like?
Crossposting from
@NeonHydroxide's QGIS thread in case anyone wanted to know the solutions to my issues:
"Thank you in advance for any help! This is a great resource.
I did try georeferencing with the height map imperator rome uses. I think it kind of worked, but then when I tried to hillshade, the new layer apparently had every point outside of the extent of the layer. Even though in "Information" of layer properties I could clearly see a minimum and maximum value of 0 and 255 respectively, and an average between the two. Assuming I get the georeferencing right (I'm sure I will, I'm probably just doing something wrong right now), how difficult is it to find a raster map that converts well to vector. The two I've tried might have been too general/low resolution, or I did not do it right, and did not convert well. Is there a trick to, say, converting raster coastlines and other features into vectors automatically, without having to manually trace?
So "ć" is no longer a problem. I noticed it was working in the city name itself, but not the battle name. So I just copied from the city name attribute into the battle name attribute and that fixed it. I must have input it incorrectly originally.
In gathering label settings for you, I discovered my problem with the year. See below how it was configured. The formula at the top by Filter, is the correct year( "datum" ). However for some reason, in Value it's still filled in as "datum" = 'year'. When I was fiddling around to create the formula, I think that was one of the permutations I tried. When I got the language correct, it didn't carry through to Value for some reason. I fixed the Value field, and now the year is on the map."
View attachment 736300