Ticket #9164: #9164_--_Historic_presets.patch

File #9164_--_Historic_presets.patch, 12.8 KB (added by hiddewie, 4 years ago)
  • resources/data/defaultpresets.xml

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    57755775            <key key="geological" value="palaeontological_site" />
    57765776            <text key="name" text="Name" />
    57775777        </item> <!-- Palaeontological Site -->
     5778        <item name="City walls" type="closedway,multipolygon" preset_name_label="true">
     5779            <link wiki="Tag:historic=citywalls" />
     5780            <space />
     5781            <key key="historic" value="citywalls" />
     5782            <optional>
     5783                <text key="name" text="Name" />
     5784            </optional>
     5785        </item> <!-- City walls -->
     5786        <item name="City gate" icon="presets/sightseeing/city_gate.svg" type="node,closedway,multipolygon" preset_name_label="true">
     5787            <link wiki="Tag:historic=city_gate" />
     5788            <space />
     5789            <key key="historic" value="city_gate" />
     5790            <optional>
     5791                <text key="name" text="Name" />
     5792            </optional>
     5793        </item> <!-- City gate -->
     5794        <item name="Manor" icon="presets/sightseeing/manor.svg" type="node,closedway,multipolygon" preset_name_label="true">
     5795            <link wiki="Tag:historic=manor" />
     5796            <space />
     5797            <key key="historic" value="manor" />
     5798            <optional>
     5799                <text key="name" text="Name" />
     5800            </optional>
     5801        </item> <!-- Manor -->
     5802        <item name="Church" icon="presets/religion/church.svg" type="node,closedway,multipolygon" preset_name_label="true">
     5803            <link wiki="Tag:historic=church" />
     5804            <space />
     5805            <key key="historic" value="church" />
     5806            <optional>
     5807                <text key="name" text="Name" />
     5808            </optional>
     5809            <reference ref="religious"/>
     5810        </item> <!-- Church -->
     5811        <separator/>
     5812        <item name="Charcoal pile" type="node,closedway,multipolygon" preset_name_label="true">
     5813            <link wiki="Tag:historic=charcoal_pile" />
     5814            <space />
     5815            <key key="historic" value="charcoal_pile" />
     5816            <optional>
     5817                <text key="name" text="Name" />
     5818            </optional>
     5819        </item> <!-- Charcoal pile -->
     5820        <item name="Mine" image="presets/landmark/mine.svg" type="node,closedway,multipolygon,relation" preset_name_label="true">
     5821            <link wiki="Tag:historic=mine" />
     5822            <space />
     5823            <key key="historic" value="mine" />
     5824            <optional>
     5825                <text key="name" text="Name" />
     5826                <text key="resource" text="Name" />
     5827            </optional>
     5828        </item> <!-- Mine -->
     5829        <item name="Mine shaft" image="presets/landmark/mine.svg" type="node,closedway,multipolygon" preset_name_label="true">
     5830            <link wiki="Tag:historic=mine_shaft" />
     5831            <space />
     5832            <key key="historic" value="mine_shaft" />
     5833            <text key="name" text="Name" />
     5834        </item> <!-- Mine shaft -->
     5835        <item name="Shieling" type="node,closedway,multipolygon" preset_name_label="true">
     5836            <link wiki="Tag:historic=shieling" />
     5837            <space />
     5838            <key key="historic" value="shieling" />
     5839            <optional>
     5840                <text key="name" text="Name" />
     5841            </optional>
     5842        </item> <!-- Shieling -->
    57785843        <separator/>
    57795844        <item name="Grave" icon="presets/misc/grave.svg" type="node,closedway" preset_name_label="true">
    57805845            <link wiki="Tag:cemetery=grave" />
     
    58365901            <key key="historic" value="boundary_stone" />
    58375902            <text key="name" text="Name" />
    58385903        </item> <!-- Boundary Stone -->
     5904        <item name="Milestone" icon="presets/landmark/milestone.svg" type="node" preset_name_label="true">
     5905            <link wiki="Tag:historic=milestone" />
     5906            <space />
     5907            <key key="historic" value="milestone" />
     5908            <optional>
     5909                <text key="name" text="Name" />
     5910            </optional>
     5911        </item> <!-- Milestone -->
    58395912    </group> <!-- Historic Places -->
    58405913  </group> <!-- Man Made -->
    58415914  <group name="Shops" icon="presets/shop/mall.svg">
  • resources/images/presets/landmark/milestone.svg

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
     1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
     2<!-- Created with Inkscape (http://www.inkscape.org/) -->
     3
     4<svg
     5   xmlns:dc="http://purl.org/dc/elements/1.1/"
     6   xmlns:cc="http://creativecommons.org/ns#"
     7   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     8   xmlns:svg="http://www.w3.org/2000/svg"
     9   xmlns="http://www.w3.org/2000/svg"
     10   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
     11   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
     12   width="9"
     13   height="16"
     14   viewBox="0 0 9 16"
     15   id="svg2"
     16   version="1.1"
     17   inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
     18   sodipodi:docname="mile_stone.svg">
     19  <defs
     20     id="defs4" />
     21  <sodipodi:namedview
     22     id="base"
     23     pagecolor="#ffffff"
     24     bordercolor="#666666"
     25     borderopacity="1.0"
     26     inkscape:pageopacity="0.0"
     27     inkscape:pageshadow="2"
     28     inkscape:zoom="33.583333"
     29     inkscape:cx="8.0968612"
     30     inkscape:cy="10.750812"
     31     inkscape:document-units="px"
     32     inkscape:current-layer="layer1"
     33     showgrid="true"
     34     units="px"
     35     inkscape:window-width="1868"
     36     inkscape:window-height="1016"
     37     inkscape:window-x="52"
     38     inkscape:window-y="27"
     39     inkscape:window-maximized="1">
     40    <inkscape:grid
     41       type="xygrid"
     42       id="grid4136" />
     43  </sodipodi:namedview>
     44  <metadata
     45     id="metadata7">
     46    <rdf:RDF>
     47      <cc:Work
     48         rdf:about="">
     49        <dc:format>image/svg+xml</dc:format>
     50        <dc:type
     51           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
     52        <dc:title></dc:title>
     53        <cc:license
     54           rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" />
     55      </cc:Work>
     56      <cc:License
     57         rdf:about="http://creativecommons.org/publicdomain/zero/1.0/">
     58        <cc:permits
     59           rdf:resource="http://creativecommons.org/ns#Reproduction" />
     60        <cc:permits
     61           rdf:resource="http://creativecommons.org/ns#Distribution" />
     62        <cc:permits
     63           rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
     64      </cc:License>
     65    </rdf:RDF>
     66  </metadata>
     67  <g
     68     inkscape:label="Layer 1"
     69     inkscape:groupmode="layer"
     70     id="layer1"
     71     transform="translate(0,-1036.3622)">
     72    <path
     73       style="fill:#999999;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
     74       d="m 0,1052.3622 9,0 0,-11 -4.5,-5 -4.5,5 z"
     75       id="path4145"
     76       inkscape:connector-curvature="0"
     77       sodipodi:nodetypes="cccccc" />
     78    <text
     79       xml:space="preserve"
     80       style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"
     81       x="0.43920597"
     82       y="1046.9778"
     83       id="text816"><tspan
     84         sodipodi:role="line"
     85         id="tspan814"
     86         x="0.43920597"
     87         y="1046.9778"
     88         style="font-size:6.66666651px;fill:#ffffff;fill-opacity:1;-inkscape-font-specification:RaghuMalayalamSans;font-family:RaghuMalayalamSans;font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal;">mi</tspan></text>
     89  </g>
     90</svg>
  • resources/images/presets/sightseeing/city_gate.svg

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
     1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
     2<!-- Created with Inkscape (http://www.inkscape.org/) -->
     3<svg
     4  xmlns:dc="http://purl.org/dc/elements/1.1/"
     5  xmlns:cc="http://creativecommons.org/ns#"
     6  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     7  xmlns:svg="http://www.w3.org/2000/svg"
     8  xmlns="http://www.w3.org/2000/svg"
     9  version="1.1"
     10  height="14"
     11  width="14"
     12  viewBox="0 0 14 14"
     13  id="svg2">
     14  <metadata
     15    id="metadata8">
     16    <rdf:RDF>
     17      <cc:Work
     18        rdf:about="">
     19        <dc:format>image/svg+xml</dc:format>
     20        <dc:type
     21          rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
     22        <dc:title></dc:title>
     23      </cc:Work>
     24    </rdf:RDF>
     25  </metadata>
     26  <defs
     27    id="defs6" />
     28  <rect
     29    width="14"
     30    height="14"
     31    x="0"
     32    y="0"
     33    id="canvas"
     34    style="fill:none;stroke:none;visibility:hidden" />
     35  <path
     36    d="M 0,1 0,4 14,4 14,1 12,1 12,3 10,3 10,1 8,1 8,3 6,3 6,1 4,1 4,3 2,3 2,1 0,1 z m 0,4 0,8 2.5,0 C 2.5,10 3.487647,6.5 7,6.5 10.404489,6.473034 11.5,10 11.5,13 L 14,13 14,5 0,5 z M 7,8 C 5,8 4,10 4,13 l 6,0 C 10,10 9,8 7,8 z"
     37    id="city-gate"
     38    style="fill:#555555;fill-opacity:1;stroke:none" />
     39</svg>
  • resources/images/presets/sightseeing/manor.svg

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
     1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
     2<svg
     3  xmlns:dc="http://purl.org/dc/elements/1.1/"
     4  xmlns:cc="http://creativecommons.org/ns#"
     5  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     6  xmlns:svg="http://www.w3.org/2000/svg"
     7  xmlns="http://www.w3.org/2000/svg"
     8  version="1.1"
     9  id="svg109"
     10  width="14"
     11  height="14"
     12  viewBox="0 0 14 14">
     13  <metadata
     14    id="metadata115">
     15    <rdf:RDF>
     16      <cc:Work
     17        rdf:about="">
     18        <dc:format>image/svgxml</dc:format>
     19        <dc:type
     20          rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
     21        <dc:title></dc:title>
     22      </cc:Work>
     23    </rdf:RDF>
     24  </metadata>
     25  <path
     26    d="m 9,7 h 1 V 8 H 9 Z M 4,7 H 5 V 8 H 4 Z M 7,6.9277978 6,7.9241877 V 13 H 8 V 8 Z M 9,8 v 5 h 5 V 8 Z m 2,1 h 2 v 2 H 11 Z M 0,8 v 5 H 5 V 8 Z m 1,1 h 2 v 2 H 1 Z M 7,1 1,4 0,7 H 5 L 7,5 9,7 h 5 L 13,4 Z"
     27    style="opacity:1;fill:#734a08;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-opacity:1"
     28    id="manor" />
     29</svg>
     30 No newline at end of file
  • resources/styles/standard/elemstyles.mapcss

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    34383438area[historic=ruins],
    34393439area[historic=battlefield],
    34403440area[geological=palaeontological_site],
     3441area[historic=citywalls],
     3442area[historic=city_gate],
     3443area[historic=manor],
     3444area[historic=church],
     3445area[historic=charcoal_pile],
     3446area[historic=mine],
     3447area[historic=mine_shaft],
     3448area[historic=shieling],
    34413449area[historic=wayside_cross],
    34423450area[historic=wayside_shrine],
    3443 area[historic=boundary_stone] {
     3451area[historic=boundary_stone],
     3452area[historic=milestone] {
    34443453    fill-color: historic#663300;
    34453454}
    34463455node[historic=fort] {
     
    34753484    icon-image: "presets/sightseeing/palaeontological_site.svg";
    34763485    set icon_z17;
    34773486}
     3487way[historic=citywalls] {
     3488    width: 2;
     3489    color: barrier#F0F050;
     3490}
     3491node[historic=city_gate] {
     3492    icon-image: "presets/landmark/city_gate.svg";
     3493    set icon_z17;
     3494}
     3495node[historic=manor] {
     3496    icon-image: "presets/sightseeing/manor.svg";
     3497    set icon_z17;
     3498}
     3499node[historic=church] {
     3500    icon-image: "presets/religion/church.svg";
     3501    set icon_z17;
     3502}
     3503node[historic=mine],
     3504node[historic=mine_shaft] {
     3505    icon-image: "presets/landmark/mine.svg";
     3506    set icon_z17;
     3507}
     3508node[historic=shieling] {
     3509    icon-image: "presets/landmark/milestone.svg";
     3510    set icon_z17;
     3511}
     3512node[historic=milestone] {
     3513    icon-image: "presets/landmark/milestone.svg";
     3514    set icon_z17;
     3515}
    34783516node[historic=wayside_cross] {
    34793517    icon-image: "presets/religion/wayside_cross.svg";
    34803518    set icon_z17;
     
    34863524node[historic=boundary_stone] {
    34873525    icon-image: "presets/landmark/boundary_stone.svg";
    34883526    set icon_z17;
     3527}
     3528node[historic=milestone] {
     3529    icon-image: "presets/landmark/milestone.svg";
     3530    set icon_z17;
    34893531}
    34903532area[cemetery=grave] {
    34913533    fill-color: grave#663300;