mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
qgis additions
This commit is contained in:
parent
fecbae826c
commit
20dfb7cfcb
17 changed files with 969 additions and 17 deletions
45
qgis/styles/burgs.qml
Normal file
45
qgis/styles/burgs.qml
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
<qgis styleCategories="Symbology" version="3.28.0">
|
||||
<renderer-v2 type="RuleRenderer">
|
||||
<rules>
|
||||
<rule filter="\"capital\" = 1" symbol="0" label="Capital"/>
|
||||
<rule filter="\"port\" = 1" symbol="1" label="Port town"/>
|
||||
<rule filter="\"citadel\" = 1 OR \"walls\" = 1" symbol="2" label="Fortified"/>
|
||||
<rule filter="ELSE" symbol="3" label="Town"/>
|
||||
</rules>
|
||||
<symbols>
|
||||
<symbol type="marker" name="0">
|
||||
<layer class="SimpleMarker">
|
||||
<prop k="name" v="circle"/>
|
||||
<prop k="color" v="30,30,30,255"/>
|
||||
<prop k="outline_color" v="255,255,255,255"/>
|
||||
<prop k="size" v="3"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
<symbol type="marker" name="1">
|
||||
<layer class="SimpleMarker">
|
||||
<prop k="name" v="circle"/>
|
||||
<prop k="color" v="30,30,30,255"/>
|
||||
<prop k="outline_color" v="0,137,202,255"/>
|
||||
<prop k="size" v="2.5"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
<symbol type="marker" name="2">
|
||||
<layer class="SimpleMarker">
|
||||
<prop k="name" v="square"/>
|
||||
<prop k="color" v="30,30,30,255"/>
|
||||
<prop k="outline_color" v="140,90,50,255"/>
|
||||
<prop k="size" v="2.3"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
<symbol type="marker" name="3">
|
||||
<layer class="SimpleMarker">
|
||||
<prop k="name" v="circle"/>
|
||||
<prop k="color" v="30,30,30,220"/>
|
||||
<prop k="outline_color" v="255,255,255,180"/>
|
||||
<prop k="size" v="2"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
</symbols>
|
||||
</renderer-v2>
|
||||
</qgis>
|
||||
|
||||
49
qgis/styles/cells.qml
Normal file
49
qgis/styles/cells.qml
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<qgis styleCategories="Symbology" version="3.28.0">
|
||||
<renderer-v2 type="graduatedSymbol" attr="height" graduatedMethod="GraduatedColor" symbollevels="0">
|
||||
<ranges>
|
||||
<range symbol="0" lower="0" upper="20" label="Water (h < 20)"/>
|
||||
<range symbol="1" lower="20" upper="40" label="Lowlands (20-40)"/>
|
||||
<range symbol="2" lower="40" upper="60" label="Hills (40-60)"/>
|
||||
<range symbol="3" lower="60" upper="80" label="Highlands (60-80)"/>
|
||||
<range symbol="4" lower="80" upper="200" label="Mountains (80+)"/>
|
||||
</ranges>
|
||||
<symbols>
|
||||
<symbol type="fill" name="0">
|
||||
<layer class="SimpleFill">
|
||||
<prop k="color" v="180,210,243,255"/>
|
||||
<prop k="outline_color" v="120,120,120,100"/>
|
||||
<prop k="outline_width" v="0.1"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
<symbol type="fill" name="1">
|
||||
<layer class="SimpleFill">
|
||||
<prop k="color" v="196,230,188,255"/>
|
||||
<prop k="outline_color" v="120,120,120,60"/>
|
||||
<prop k="outline_width" v="0.1"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
<symbol type="fill" name="2">
|
||||
<layer class="SimpleFill">
|
||||
<prop k="color" v="161,207,148,255"/>
|
||||
<prop k="outline_color" v="120,120,120,60"/>
|
||||
<prop k="outline_width" v="0.1"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
<symbol type="fill" name="3">
|
||||
<layer class="SimpleFill">
|
||||
<prop k="color" v="196,183,151,255"/>
|
||||
<prop k="outline_color" v="120,120,120,80"/>
|
||||
<prop k="outline_width" v="0.1"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
<symbol type="fill" name="4">
|
||||
<layer class="SimpleFill">
|
||||
<prop k="color" v="180,170,160,255"/>
|
||||
<prop k="outline_color" v="120,120,120,120"/>
|
||||
<prop k="outline_width" v="0.1"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
</symbols>
|
||||
</renderer-v2>
|
||||
</qgis>
|
||||
|
||||
36
qgis/styles/cultures.qml
Normal file
36
qgis/styles/cultures.qml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<qgis styleCategories="Symbology" version="3.28.0">
|
||||
<renderer-v2 type="singleSymbol">
|
||||
<symbols>
|
||||
<symbol type="fill" name="0">
|
||||
<layer class="SimpleFill">
|
||||
<prop k="color" v="220,220,220,160"/>
|
||||
<prop k="outline_color" v="60,60,60,180"/>
|
||||
<prop k="outline_width" v="0.4"/>
|
||||
<data_defined_properties>
|
||||
<Option type="Map">
|
||||
<Option name="properties" type="Map">
|
||||
<Option name="fillColor" type="Map">
|
||||
<Option name="active" type="bool" value="true"/>
|
||||
<Option name="expression" type="QString" value="attribute('color')"/>
|
||||
<Option name="type" type="int" value="3"/>
|
||||
</Option>
|
||||
</Option>
|
||||
<Option name="type" type="int" value="2"/>
|
||||
</Option>
|
||||
</data_defined_properties>
|
||||
</layer>
|
||||
</symbol>
|
||||
</symbols>
|
||||
</renderer-v2>
|
||||
<labeling type="rule-based">
|
||||
<rules>
|
||||
<rule>
|
||||
<settings>
|
||||
<text-style field="name" fontSize="9" namedStyle="Normal" isExpression="0"/>
|
||||
<text-buffer bufferDraw="1" bufferColor="255,255,255,255" bufferSize="1"/>
|
||||
</settings>
|
||||
</rule>
|
||||
</rules>
|
||||
</labeling>
|
||||
</qgis>
|
||||
|
||||
56
qgis/styles/markers.qml
Normal file
56
qgis/styles/markers.qml
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
<qgis styleCategories="Symbology" version="3.28.0">
|
||||
<renderer-v2 type="RuleRenderer">
|
||||
<rules>
|
||||
<rule filter="regexp_match("icon", '^https?://|^data:')" symbol="0" label="Image icon"/>
|
||||
<rule filter="NOT regexp_match("icon", '^https?://|^data:')" symbol="1" label="Emoji/character icon"/>
|
||||
</rules>
|
||||
<symbols>
|
||||
<!-- Image-based icons (URL or data URI). QGIS will try to load the image path from the 'icon' attribute. -->
|
||||
<symbol type="marker" name="0">
|
||||
<layer class="RasterImageMarker">
|
||||
<prop k="size" v="3"/>
|
||||
<data_defined_properties>
|
||||
<Option type="Map">
|
||||
<Option name="properties" type="Map">
|
||||
<Option name="imageFile" type="Map">
|
||||
<Option name="active" type="bool" value="true"/>
|
||||
<Option name="expression" type="QString" value="attribute('icon')"/>
|
||||
<Option name="type" type="int" value="3"/>
|
||||
</Option>
|
||||
<Option name="size" type="Map">
|
||||
<Option name="active" type="bool" value="true"/>
|
||||
<Option name="expression" type="QString" value="coalesce(attribute('size'), 3)"/>
|
||||
<Option name="type" type="int" value="3"/>
|
||||
</Option>
|
||||
</Option>
|
||||
<Option name="type" type="int" value="2"/>
|
||||
</Option>
|
||||
</data_defined_properties>
|
||||
</layer>
|
||||
</symbol>
|
||||
|
||||
<!-- Emoji/character-based icons: use label rendering for full emoji support.
|
||||
Keep symbol invisible to avoid double-drawing; labels will show the emoji. -->
|
||||
<symbol type="marker" name="1">
|
||||
<layer class="SimpleMarker">
|
||||
<prop k="name" v="circle"/>
|
||||
<prop k="size" v="0"/>
|
||||
<prop k="color" v="0,0,0,0"/>
|
||||
<prop k="outline_color" v="0,0,0,0"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
</symbols>
|
||||
</renderer-v2>
|
||||
<!-- Rule-based labels to render emojis from the 'icon' attribute.
|
||||
This path supports multi-codepoint and non-BMP emoji (e.g., 💧). -->
|
||||
<labeling type="rule-based">
|
||||
<rules>
|
||||
<rule filter="NOT regexp_match("icon", '^https?://|^data:')">
|
||||
<settings>
|
||||
<text-style field="icon" fontFamily="Noto Color Emoji" fontSize="9" isExpression="0"/>
|
||||
<text-buffer bufferDraw="0"/>
|
||||
</settings>
|
||||
</rule>
|
||||
</rules>
|
||||
</labeling>
|
||||
</qgis>
|
||||
36
qgis/styles/provinces.qml
Normal file
36
qgis/styles/provinces.qml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<qgis styleCategories="Symbology" version="3.28.0">
|
||||
<renderer-v2 type="singleSymbol">
|
||||
<symbols>
|
||||
<symbol type="fill" name="0">
|
||||
<layer class="SimpleFill">
|
||||
<prop k="color" v="230,230,230,120"/>
|
||||
<prop k="outline_color" v="80,80,80,200"/>
|
||||
<prop k="outline_width" v="0.4"/>
|
||||
<data_defined_properties>
|
||||
<Option type="Map">
|
||||
<Option name="properties" type="Map">
|
||||
<Option name="fillColor" type="Map">
|
||||
<Option name="active" type="bool" value="true"/>
|
||||
<Option name="expression" type="QString" value="attribute('color')"/>
|
||||
<Option name="type" type="int" value="3"/>
|
||||
</Option>
|
||||
</Option>
|
||||
<Option name="type" type="int" value="2"/>
|
||||
</Option>
|
||||
</data_defined_properties>
|
||||
</layer>
|
||||
</symbol>
|
||||
</symbols>
|
||||
</renderer-v2>
|
||||
<labeling type="rule-based">
|
||||
<rules>
|
||||
<rule>
|
||||
<settings>
|
||||
<text-style field="name" fontSize="8" namedStyle="Normal" isExpression="0"/>
|
||||
<text-buffer bufferDraw="1" bufferColor="255,255,255,255" bufferSize="1"/>
|
||||
</settings>
|
||||
</rule>
|
||||
</rules>
|
||||
</labeling>
|
||||
</qgis>
|
||||
|
||||
25
qgis/styles/regiments.qml
Normal file
25
qgis/styles/regiments.qml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<qgis styleCategories="Symbology" version="3.28.0">
|
||||
<renderer-v2 type="singleSymbol">
|
||||
<symbols>
|
||||
<symbol type="marker" name="0">
|
||||
<layer class="SimpleMarker">
|
||||
<prop k="name" v="square"/>
|
||||
<prop k="color" v="200,0,0,220"/>
|
||||
<prop k="outline_color" v="0,0,0,255"/>
|
||||
<prop k="size" v="3"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
</symbols>
|
||||
</renderer-v2>
|
||||
<labeling type="rule-based">
|
||||
<rules>
|
||||
<rule>
|
||||
<settings>
|
||||
<text-style field="totalUnits" fontSize="8" namedStyle="Normal" isExpression="0"/>
|
||||
<text-buffer bufferDraw="1" bufferColor="255,255,255,255" bufferSize="1"/>
|
||||
</settings>
|
||||
</rule>
|
||||
</rules>
|
||||
</labeling>
|
||||
</qgis>
|
||||
|
||||
36
qgis/styles/religions.qml
Normal file
36
qgis/styles/religions.qml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<qgis styleCategories="Symbology" version="3.28.0">
|
||||
<renderer-v2 type="singleSymbol">
|
||||
<symbols>
|
||||
<symbol type="fill" name="0">
|
||||
<layer class="SimpleFill">
|
||||
<prop k="color" v="220,220,220,140"/>
|
||||
<prop k="outline_color" v="60,60,60,200"/>
|
||||
<prop k="outline_width" v="0.3"/>
|
||||
<data_defined_properties>
|
||||
<Option type="Map">
|
||||
<Option name="properties" type="Map">
|
||||
<Option name="fillColor" type="Map">
|
||||
<Option name="active" type="bool" value="true"/>
|
||||
<Option name="expression" type="QString" value="attribute('color')"/>
|
||||
<Option name="type" type="int" value="3"/>
|
||||
</Option>
|
||||
</Option>
|
||||
<Option name="type" type="int" value="2"/>
|
||||
</Option>
|
||||
</data_defined_properties>
|
||||
</layer>
|
||||
</symbol>
|
||||
</symbols>
|
||||
</renderer-v2>
|
||||
<labeling type="rule-based">
|
||||
<rules>
|
||||
<rule>
|
||||
<settings>
|
||||
<text-style field="name" fontSize="9" namedStyle="Normal" isExpression="0"/>
|
||||
<text-buffer bufferDraw="1" bufferColor="255,255,255,255" bufferSize="1"/>
|
||||
</settings>
|
||||
</rule>
|
||||
</rules>
|
||||
</labeling>
|
||||
</qgis>
|
||||
|
||||
26
qgis/styles/rivers.qml
Normal file
26
qgis/styles/rivers.qml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<qgis styleCategories="Symbology" version="3.28.0">
|
||||
<renderer-v2 type="singleSymbol">
|
||||
<symbols>
|
||||
<symbol type="line" name="0">
|
||||
<layer class="SimpleLine">
|
||||
<prop k="line_color" v="0,137,202,255"/>
|
||||
<prop k="line_width" v="0.6"/>
|
||||
<prop k="capstyle" v="round"/>
|
||||
<prop k="joinstyle" v="round"/>
|
||||
<data_defined_properties>
|
||||
<Option type="Map">
|
||||
<Option name="properties" type="Map">
|
||||
<Option name="width" type="Map">
|
||||
<Option name="active" type="bool" value="true"/>
|
||||
<Option name="expression" type="QString" value="coalesce("width", 1)"/>
|
||||
<Option name="type" type="int" value="3"/>
|
||||
</Option>
|
||||
</Option>
|
||||
<Option name="type" type="int" value="2"/>
|
||||
</Option>
|
||||
</data_defined_properties>
|
||||
</layer>
|
||||
</symbol>
|
||||
</symbols>
|
||||
</renderer-v2>
|
||||
</qgis>
|
||||
68
qgis/styles/routes.qml
Normal file
68
qgis/styles/routes.qml
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
<qgis styleCategories="Symbology" version="3.28.0">
|
||||
<renderer-v2 type="RuleRenderer">
|
||||
<rules>
|
||||
<rule filter=""type" IN ('majorSea','regional') OR "group" = 'searoutes'" symbol="0" label="Sea routes"/>
|
||||
<rule filter=""type" = 'royal' OR ("group" = 'roads' AND coalesce("type",'')='')" symbol="1" label="Royal road"/>
|
||||
<rule filter=""type" = 'market'" symbol="2" label="Market road"/>
|
||||
<rule filter=""type" = 'local' OR "group" = 'secondary'" symbol="3" label="Local road"/>
|
||||
<rule filter=""type" = 'footpath' OR "group" = 'trails'" symbol="4" label="Footpath"/>
|
||||
<rule else="1" symbol="5" label="Other"/>
|
||||
</rules>
|
||||
<symbols>
|
||||
<symbol type="line" name="0">
|
||||
<layer class="SimpleLine">
|
||||
<prop k="line_color" v="0,137,202,200"/>
|
||||
<prop k="line_width" v="0.8"/>
|
||||
<prop k="customdash" v="6;2"/>
|
||||
<prop k="use_custom_dash" v="1"/>
|
||||
<prop k="capstyle" v="round"/>
|
||||
<prop k="joinstyle" v="round"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
<symbol type="line" name="1">
|
||||
<layer class="SimpleLine">
|
||||
<prop k="line_color" v="159,81,34,255"/>
|
||||
<prop k="line_width" v="1.2"/>
|
||||
<prop k="capstyle" v="round"/>
|
||||
<prop k="joinstyle" v="round"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
<symbol type="line" name="2">
|
||||
<layer class="SimpleLine">
|
||||
<prop k="line_color" v="159,81,34,220"/>
|
||||
<prop k="line_width" v="1.0"/>
|
||||
<prop k="customdash" v="4;2"/>
|
||||
<prop k="use_custom_dash" v="1"/>
|
||||
<prop k="capstyle" v="round"/>
|
||||
<prop k="joinstyle" v="round"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
<symbol type="line" name="3">
|
||||
<layer class="SimpleLine">
|
||||
<prop k="line_color" v="159,81,34,180"/>
|
||||
<prop k="line_width" v="0.8"/>
|
||||
<prop k="customdash" v="2;2"/>
|
||||
<prop k="use_custom_dash" v="1"/>
|
||||
<prop k="capstyle" v="round"/>
|
||||
<prop k="joinstyle" v="round"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
<symbol type="line" name="4">
|
||||
<layer class="SimpleLine">
|
||||
<prop k="line_color" v="120,120,120,200"/>
|
||||
<prop k="line_width" v="0.5"/>
|
||||
<prop k="customdash" v="1;2"/>
|
||||
<prop k="use_custom_dash" v="1"/>
|
||||
<prop k="capstyle" v="round"/>
|
||||
<prop k="joinstyle" v="round"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
<symbol type="line" name="5">
|
||||
<layer class="SimpleLine">
|
||||
<prop k="line_color" v="0,0,0,150"/>
|
||||
<prop k="line_width" v="0.6"/>
|
||||
</layer>
|
||||
</symbol>
|
||||
</symbols>
|
||||
</renderer-v2>
|
||||
</qgis>
|
||||
36
qgis/styles/states.qml
Normal file
36
qgis/styles/states.qml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<qgis styleCategories="Symbology" version="3.28.0">
|
||||
<renderer-v2 type="singleSymbol">
|
||||
<symbols>
|
||||
<symbol type="fill" name="0">
|
||||
<layer class="SimpleFill">
|
||||
<prop k="color" v="220,220,220,160"/>
|
||||
<prop k="outline_color" v="60,60,60,220"/>
|
||||
<prop k="outline_width" v="0.6"/>
|
||||
<data_defined_properties>
|
||||
<Option type="Map">
|
||||
<Option name="properties" type="Map">
|
||||
<Option name="fillColor" type="Map">
|
||||
<Option name="active" type="bool" value="true"/>
|
||||
<Option name="expression" type="QString" value="attribute('color')"/>
|
||||
<Option name="type" type="int" value="3"/>
|
||||
</Option>
|
||||
</Option>
|
||||
<Option name="type" type="int" value="2"/>
|
||||
</Option>
|
||||
</data_defined_properties>
|
||||
</layer>
|
||||
</symbol>
|
||||
</symbols>
|
||||
</renderer-v2>
|
||||
<labeling type="rule-based">
|
||||
<rules>
|
||||
<rule>
|
||||
<settings>
|
||||
<text-style field="name" fontSize="10" namedStyle="Bold" isExpression="0"/>
|
||||
<text-buffer bufferDraw="1" bufferColor="255,255,255,255" bufferSize="1.5"/>
|
||||
</settings>
|
||||
</rule>
|
||||
</rules>
|
||||
</labeling>
|
||||
</qgis>
|
||||
|
||||
36
qgis/styles/zones.qml
Normal file
36
qgis/styles/zones.qml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<qgis styleCategories="Symbology" version="3.28.0">
|
||||
<renderer-v2 type="singleSymbol">
|
||||
<symbols>
|
||||
<symbol type="fill" name="0">
|
||||
<layer class="SimpleFill">
|
||||
<prop k="color" v="255,255,0,80"/>
|
||||
<prop k="outline_color" v="0,0,0,180"/>
|
||||
<prop k="outline_width" v="0.3"/>
|
||||
<data_defined_properties>
|
||||
<Option type="Map">
|
||||
<Option name="properties" type="Map">
|
||||
<Option name="fillColor" type="Map">
|
||||
<Option name="active" type="bool" value="true"/>
|
||||
<Option name="expression" type="QString" value="attribute('color')"/>
|
||||
<Option name="type" type="int" value="3"/>
|
||||
</Option>
|
||||
</Option>
|
||||
<Option name="type" type="int" value="2"/>
|
||||
</Option>
|
||||
</data_defined_properties>
|
||||
</layer>
|
||||
</symbol>
|
||||
</symbols>
|
||||
</renderer-v2>
|
||||
<labeling type="rule-based">
|
||||
<rules>
|
||||
<rule>
|
||||
<settings>
|
||||
<text-style field="description" fontSize="8" namedStyle="Italic" isExpression="0"/>
|
||||
<text-buffer bufferDraw="1" bufferColor="255,255,255,255" bufferSize="0.8"/>
|
||||
</settings>
|
||||
</rule>
|
||||
</rules>
|
||||
</labeling>
|
||||
</qgis>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue