basics for landuse styles, still needs pattern fills.

This commit is contained in:
saman bb
2013-03-06 19:37:00 -05:00
parent 498439100b
commit daab24be16
3 changed files with 2094 additions and 0 deletions
+69
View File
@@ -254,6 +254,9 @@ path.fill.tag-building {
fill: #e06e5f;
}
/* Landuse */
path.stroke.tag-landuse,
path.stroke.tag-natural-wood,
path.stroke.tag-natural-tree,
@@ -262,15 +265,81 @@ path.stroke.tag-leisure-park {
stroke: #8cd05f;
stroke-width: 1;
}
path.stroke.tag-landuse-residential {
stroke: #e06e5f;
}
path.stroke.tag-landuse-commercial {
stroke: #eab056;
}
path.stroke.tag-landuse-industrial {
stroke: #e4a4f5;
}
path.fill.tag-landuse,
path.fill.tag-natural-wood,
path.fill.tag-natural-tree,
path.fill.tag-natural-grassland,
path.fill.tag-natural-grass,
path.fill.tag-leisure-park {
fill: #8cd05f;
fill-opacity: 0.2;
}
path.fill.tag-landuse-residential,
path.fill.tag-landuse-commercial,
path.fill.tag-landuse-industrial,
path.fill.tag-landuse-construction {
fill-opacity: 0.1;
}
path.fill.tag-landuse-basin,
path.fill.tag-landuse-reservoir {
fill: #77d3de;
}
path.fill.tag-landuse-quarry {
fill: #a6957b;
}
path.fill.tag-landuse-residential {
/*fill: #e06e5f;*/
}
path.fill.tag-landuse-farmland {
fill: url(#) #8cd05f;
}
path.fill.tag-landuse-meadow {
fill: url(#) #b6e199;
}
path.fill.tag-natural-wetland {
fill: url(#) #b6e199;
}
path.fill.tag-landuse-cemetery {
fill: url(#) #8cd05f;
}
path.fill.tag-landuse-orchard {
fill: url(#) #8cd05f;
}
path.fill.tag-landuse-construction {
fill: url(#) #e06e5f;
}
path.fill.tag-landuse-commercial {
fill: #eab056;
}
path.fill.tag-landuse-industrial {
fill: #e4a4f5;
}
path.stroke.tag-amenity-parking {
stroke: #aaa;
stroke-width: 1;
+326
View File
@@ -0,0 +1,326 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="224"
height="32.000057"
id="svg15810"
version="1.1"
inkscape:version="0.48.1 r9760"
sodipodi:docname="fill-source.svg">
<defs
id="defs15812">
<pattern
patternUnits="userSpaceOnUse"
width="32"
height="32"
patternTransform="translate(0,1020.3622)"
id="pattern17199">
<g
style="opacity:0.25"
inkscape:export-ydpi="90"
inkscape:export-xdpi="90"
inkscape:export-filename="/Users/saman/work_repos/iD/img/marsh-32.png"
inkscape:label=""
id="wetland-32"
transform="translate(75,-832.375)">
<rect
style="fill:none;stroke:none"
width="32"
height="32"
x="-75"
y="832.375"
id="rect8930-7" />
<path
inkscape:connector-curvature="0"
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"
d="m -50.5,852.375 -0.5,0.5 0,4.75 -3.25,-3.25 -0.75,0 0,0.75 3.25,3.25 -3.75,0 -0.5,0.5 0.5,0.5 5,0 5,0 0.5,-0.5 -0.5,-0.5 -3.75,0 3.25,-3.25 0,-0.75 -0.75,0 -3.25,3.25 0,-4.75 -0.5,-0.5 z"
id="path10413-7" />
<path
inkscape:connector-curvature="0"
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"
d="m -67.5,836.36218 -0.5,0.5 0,4.75 -3.25,-3.25 -0.75,0 0,0.75 3.25,3.25 -3.75,0 -0.5,0.5 0.5,0.5 5,0 5,0 0.5,-0.5 -0.5,-0.5 -3.75,0 3.25,-3.25 0,-0.75 -0.75,0 -3.25,3.25 0,-4.75 -0.5,-0.5 z"
id="path10413-0-7" />
</g>
</pattern>
<pattern
patternUnits="userSpaceOnUse"
width="32"
height="32"
patternTransform="translate(32,1020.3622)"
id="pattern17207">
<g
style="opacity:0.25"
inkscape:export-ydpi="90"
inkscape:export-xdpi="90"
inkscape:export-filename="/Users/saman/work_repos/iD/img/construction-32.png"
inkscape:label="construction-32"
id="construction-32"
transform="translate(75,-1312.375)">
<rect
style="color:#000000;fill:none;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect14206-9"
width="32"
height="32"
x="-75"
y="1312.375" />
<path
sodipodi:nodetypes="ccccccccccccccccccccccccc"
inkscape:connector-curvature="0"
style="color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m -75,1312.375 0,1 31,31 1,0 0,-1 -31,-31 z m 15,0 17,17 0,-2 -15,-15 z m 16,0 1,1 0,-1 z m -31,15 0,2 15,15 2,0 z m 0,16 0,1 1,0 z"
id="path14195-8-5" />
</g>
</pattern>
<pattern
patternUnits="userSpaceOnUse"
width="32"
height="32"
patternTransform="translate(64,1020.3622)"
id="pattern17214">
<g
style="opacity:0.25"
inkscape:export-ydpi="90"
inkscape:export-xdpi="90"
inkscape:label=""
id="vineyard-32"
transform="translate(75,-952.375)">
<rect
style="fill:none;stroke:none"
width="32"
height="32"
x="-75"
y="952.375"
id="rect9354-8" />
<path
style="color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m -67,955.88782 0,2.5 1,0 0,-2.5 -0.5,-0.51282 z m -1.5,2.5 c -0.828427,0 -1.5,0.67157 -1.5,1.5 0,0.70071 0.475544,1.2727 1.125,1.4375 -0.06887,0.17216 -0.125,0.36575 -0.125,0.5625 0,0.70071 0.475544,1.2727 1.125,1.4375 -0.06887,0.17216 -0.125,0.36575 -0.125,0.5625 0,0.82843 0.671573,1.48718 1.5,1.48718 0.828427,0 1.5,-0.65875 1.5,-1.48718 0,-0.19675 -0.05613,-0.39034 -0.125,-0.5625 0.649456,-0.1648 1.125,-0.73679 1.125,-1.4375 0,-0.19675 -0.05613,-0.39034 -0.125,-0.5625 0.649456,-0.1648 1.125,-0.73679 1.125,-1.4375 0,-0.82843 -0.671573,-1.5 -1.5,-1.5 -0.382538,0 -0.735032,0.13929 -1,0.375 -0.145986,-0.12987 -0.311418,-0.24728 -0.5,-0.3125 l 0,0.9375 -1,0 0,-0.9375 c -0.188582,0.0652 -0.354014,0.18263 -0.5,0.3125 -0.264968,-0.23571 -0.617462,-0.375 -1,-0.375 z m 0.5,2 1,0 0,1 -1,0 z m 2,0 1,0 0,1 -1,0 z m -1,2 1,0 0,1 -1,0 z"
id="path10427-7"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccsscscssscscssccccccsccccccccccccccc" />
<path
sodipodi:nodetypes="ccccccsscscssscscssccccccsccccccccccccccc"
inkscape:connector-curvature="0"
id="path10507-6"
d="m -52,971.88782 0,2.5 1,0 0,-2.5 -0.5,-0.51282 z m -1.5,2.5 c -0.828427,0 -1.5,0.67157 -1.5,1.5 0,0.70071 0.475544,1.2727 1.125,1.4375 -0.06887,0.17216 -0.125,0.36575 -0.125,0.5625 0,0.70071 0.475544,1.2727 1.125,1.4375 -0.06887,0.17216 -0.125,0.36575 -0.125,0.5625 0,0.82843 0.671573,1.48718 1.5,1.48718 0.828427,0 1.5,-0.65875 1.5,-1.48718 0,-0.19675 -0.05613,-0.39034 -0.125,-0.5625 0.649456,-0.1648 1.125,-0.73679 1.125,-1.4375 0,-0.19675 -0.05613,-0.39034 -0.125,-0.5625 0.649456,-0.1648 1.125,-0.73679 1.125,-1.4375 0,-0.82843 -0.671573,-1.5 -1.5,-1.5 -0.382538,0 -0.735032,0.13929 -1,0.375 -0.145986,-0.12987 -0.311418,-0.24728 -0.5,-0.3125 l 0,0.9375 -1,0 0,-0.9375 c -0.188582,0.0652 -0.354014,0.18263 -0.5,0.3125 -0.264968,-0.23571 -0.617462,-0.375 -1,-0.375 z m 0.5,2 1,0 0,1 -1,0 z m 2,0 1,0 0,1 -1,0 z m -1,2 1,0 0,1 -1,0 z"
style="color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
</g>
</pattern>
<pattern
patternUnits="userSpaceOnUse"
width="32"
height="32"
patternTransform="translate(96,1020.3622)"
id="pattern17222">
<g
style="opacity:0.25"
inkscape:export-ydpi="90"
inkscape:export-xdpi="90"
inkscape:label="#g13336-3"
id="cemetery-32"
transform="translate(75,-1072.3622)">
<path
style="color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m -67.5,1076.3622 c -1.865079,0 -2.5,1.2857 -2.5,2.7857 l 0,3.7143 c -0.5,0 -1,0.5 -1,1 l 0,0.5 7,0 0,-0.5 c 0,-0.5 -0.5,-1 -1,-1 l 0,-3.5 c 0,-1.7143 -0.634922,-3 -2.5,-3 z"
id="rect12479-9-1-9-8-6"
inkscape:connector-curvature="0"
sodipodi:nodetypes="sscsccscss" />
<rect
id="rect9354-5-38"
y="1072.3622"
x="-75"
height="32"
width="32"
style="fill:none;stroke:none" />
<path
sodipodi:nodetypes="sscsccscss"
inkscape:connector-curvature="0"
id="path13600-7"
d="m -51.5,1092.3622 c -1.865079,0 -2.5,1.2857 -2.5,2.7857 l 0,3.7143 c -0.5,0 -1,0.5 -1,1 l 0,0.5 7,0 0,-0.5 c 0,-0.5 -0.5,-1 -1,-1 l 0,-3.5 c 0,-1.7143 -0.634922,-3 -2.5,-3 z"
style="color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
</g>
</pattern>
<pattern
patternUnits="userSpaceOnUse"
width="32"
height="32"
patternTransform="translate(128,1020.3622)"
id="pattern17230">
<g
style="opacity:0.25"
inkscape:export-ydpi="90"
inkscape:export-xdpi="90"
inkscape:label="#g14497"
transform="translate(-255,-422.375)"
id="meadow-32">
<path
inkscape:connector-curvature="0"
style="color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m 255,422.375 0,1 c 0.55228,0 1,-0.44772 1,-1 l -1,0 z m 15,0 c 0,0.55228 0.44772,1 1,1 0.55228,0 1,-0.44772 1,-1 l -1,0 -1,0 z m 16,0 c 0,0.55228 0.44772,1 1,1 l 0,-1 -1,0 z m -23,7 c -0.55228,0 -1,0.44772 -1,1 0,0.55228 0.44772,1 1,1 0.55228,0 1,-0.44772 1,-1 0,-0.55228 -0.44772,-1 -1,-1 z m 16,0 c -0.55228,0 -1,0.44772 -1,1 0,0.55228 0.44772,1 1,1 0.55228,0 1,-0.44772 1,-1 0,-0.55228 -0.44772,-1 -1,-1 z m -24,8 0,1 0,1 c 0.55228,0 1,-0.44772 1,-1 0,-0.55228 -0.44772,-1 -1,-1 z m 16,0 c -0.55228,0 -1,0.44772 -1,1 0,0.55228 0.44772,1 1,1 0.55228,0 1,-0.44772 1,-1 0,-0.55228 -0.44772,-1 -1,-1 z m 16,0 c -0.55228,0 -1,0.44772 -1,1 0,0.55228 0.44772,1 1,1 l 0,-1 0,-1 z m -24,8 c -0.55228,0 -1,0.44772 -1,1 0,0.55228 0.44772,1 1,1 0.55228,0 1,-0.44772 1,-1 0,-0.55228 -0.44772,-1 -1,-1 z m 16,0 c -0.55228,0 -1,0.44772 -1,1 0,0.55228 0.44772,1 1,1 0.55228,0 1,-0.44772 1,-1 0,-0.55228 -0.44772,-1 -1,-1 z m -24,8 0,1 1,0 c 0,-0.55228 -0.44772,-1 -1,-1 z m 16,0 c -0.55228,0 -1,0.44772 -1,1 l 1,0 1,0 c 0,-0.55228 -0.44772,-1 -1,-1 z m 16,0 c -0.55228,0 -1,0.44772 -1,1 l 1,0 0,-1 z"
id="path10371-2" />
<rect
id="rect8930-7-4"
y="422.375"
x="255"
height="32"
width="32"
style="fill:none;stroke:none" />
</g>
</pattern>
<pattern
patternUnits="userSpaceOnUse"
width="32"
height="32.000005"
patternTransform="translate(160,1020.3622)"
id="pattern17237">
<g
style="opacity:0.25"
inkscape:export-ydpi="90"
inkscape:export-xdpi="90"
inkscape:label="#g13712-4"
id="farm-32"
transform="matrix(1,0,0,0.99959977,75,-592.1251)">
<rect
style="fill:none;stroke:none"
width="32"
height="32"
x="-75"
y="592.36218"
id="rect10277-8" />
<path
style="color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m -75,595.36339 0,1.0004 32,0 0,-1.0004 -32,0 z m 0,4.0016 0,1.0004 32,0 0,-1.0004 -32,0 z m 0,4.0016 0,1.0004 32,0 0,-1.0004 -32,0 z m 0,4.0016 0,1.0004 32,0 0,-1.0004 -32,0 z m 0,4.0016 0,1.00041 32,0 0,-1.00041 -32,0 z m 0,4.00161 0,1.0004 32,0 0,-1.0004 -32,0 z m 0,4.0016 0,1.0004 32,0 0,-1.0004 -32,0 z m 0,4.0016 0,1.0004 32,0 0,-1.0004 -32,0 z"
id="rect10349-0"
inkscape:connector-curvature="0" />
</g>
</pattern>
<pattern
patternUnits="userSpaceOnUse"
width="32"
height="32"
patternTransform="translate(192,1020.3622)"
id="pattern17244">
<g
style="opacity:0.25"
inkscape:export-filename="/Users/saman/work_repos/iD/img/orchard-32.png"
inkscape:label="#g13907-0"
inkscape:export-ydpi="90"
inkscape:export-xdpi="90"
id="orchard-32"
transform="translate(75,-1192.375)">
<g
id="g13856-3"
transform="translate(0,120)">
<rect
id="rect13860-9"
y="1072.375"
x="-75"
height="32"
width="32"
style="fill:none;stroke:none" />
</g>
<path
inkscape:connector-curvature="0"
id="path4390-3-8-5-0-5"
d="m -67.5,1194.375 c -1.932997,0 -3.5,1.567 -3.5,3.5 l 0,3.5 1,0.9688 2,0.031 0,-1 0.5,0 0.5,0 0,1 2,-0.031 1,-0.9688 0,-3.5 c 0,-1.9492 -1.567003,-3.5 -3.5,-3.5 z m 0.5,8 -1,0 0,3 1,0 0,-3 z m -1,-6 1,0 0,1 -1,0 0,-1 z m -2,2 1,0 0,1 -1,0 0,-1 z m 4,0 1,0 0,1 -1,0 0,-1 z"
style="color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<path
id="path4390-3-8-5-0-0-9"
d="m -51.5,1210.375 c -1.932997,0 -3.5,1.567 -3.5,3.5 l 0,3.5 1,0.9688 2,0.031 0,-1 0.5,0 0.5,0 0,1 2,-0.031 1,-0.9688 0,-3.5 c 0,-1.9492 -1.567003,-3.5 -3.5,-3.5 z m 0.5,8 -1,0 0,3 1,0 0,-3 z m -1,-6 1,0 0,1 -1,0 0,-1 z m -2,2 1,0 0,1 -1,0 0,-1 z m 4,0 1,0 0,1 -1,0 0,-1 z"
style="color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
inkscape:connector-curvature="0" />
</g>
</pattern>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.9525416"
inkscape:cx="185.16755"
inkscape:cy="-1.6120489"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<metadata
id="metadata15815">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<rect
style="stroke:none;fill:url(#pattern17237)"
width="32"
height="32.000005"
x="160"
y="1020.3622"
id="rect17242" />
<rect
style="stroke:none;fill:url(#pattern17214)"
width="32"
height="32"
x="64"
y="1020.3622"
id="rect17220" />
<rect
style="stroke:none;fill:url(#pattern17199)"
width="32"
height="32"
x="0"
y="1020.3622"
id="rect17205" />
<rect
style="stroke:none;fill:url(#pattern17222)"
width="32"
height="32"
x="96"
y="1020.3622"
id="cemetery"
inkscape:label="#rect17228" />
<rect
style="stroke:none;fill:url(#pattern17244)"
width="32"
height="32"
x="192"
y="1020.3622"
id="rect17251" />
<rect
style="stroke:none;fill:url(#pattern17207)"
width="32"
height="32"
x="32"
y="1020.3622"
id="rect17212" />
<rect
style="stroke:none;fill:url(#pattern17230)"
width="32"
height="32"
x="128"
y="1020.3622"
id="rect17235" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 16 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 109 KiB