[classif] Adds leisure=firepit

- Used OSM carto's icon , its similar to outdoor icons in OM
, same color as red icons in OM (eg : emergency-phone-m.svg)

-  priority & icon rendering similar to amenity=bbq

Signed-off-by: hemanggs <hemangmanhas@gmail.com>
This commit is contained in:
hemanggs
2025-03-21 11:38:51 +05:30
committed by Konstantin Pastbin
parent 5092113459
commit 31d065846a
12 changed files with 55 additions and 1 deletions

View File

@@ -4921,6 +4921,9 @@ sk:2Záhrada
sw:Bustani
fa:باغ تفریحی
leisure-firepit
en:5Firepit
amenity-bench
en:Bench
ru:Скамейка|лавка

View File

@@ -1093,6 +1093,8 @@
<include field="name" />
<include field="opening_hours" />
</type>
<type id="leisure-firepit">
</type>
<type id="leisure-dog_park">
<include field="name" />
<include field="opening_hours" />

View File

@@ -667,7 +667,7 @@ deprecated|deprecated;547;x
deprecated|deprecated;548;x
deprecated|deprecated;549;x
waterway|lock_gate;550;
deprecated|deprecated;551;x
leisure|firepit;551;
deprecated|deprecated;552;x
deprecated|deprecated;553;x
deprecated|deprecated;554;x
Can't render this file because it contains an unexpected character in line 7 and column 16.

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg height="14" id="svg109" version="1.1"
viewBox="0 0 14 14" width="14" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<defs id="defs113" />
<metadata id="metadata115">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:title></dc:title>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<path style="fill:#C15746;fill-opacity:0.6;stroke:none"
d="M 5.8613281 -0.01171875 C 7.4948435 3.3410494 -1.0755672 5.5380484 6.3769531 10.130859 L 6.6992188 10.013672 C 4.8436378 7.328355 12.374438 4.1804808 5.8613281 -0.01171875 z M 9.25 3.4238281 C 10.300411 6.5115557 6.7139152 7.3962701 7.8398438 9.5976562 L 9.5292969 8.984375 C 10.207099 7.3309044 11.943051 5.9976828 9.25 3.4238281 z M 1.4746094 8.9980469 A 0.50005 0.50005 0 0 0 1.3300781 9.9707031 L 5.5449219 11.503906 L 1.3320312 13.035156 A 0.49426052 0.49426052 0 0 0 1.6679688 13.964844 L 6.9902344 12.029297 L 12.330078 13.970703 A 0.50043461 0.50043461 0 0 0 12.669922 13.029297 L 8.4550781 11.496094 L 12.667969 9.9648438 A 0.49422068 0.49422068 0 0 0 12.509766 9.0039062 A 0.49422068 0.49422068 0 0 0 12.332031 9.0351562 L 7.0097656 10.970703 L 1.6699219 9.0292969 A 0.50005 0.50005 0 0 0 1.4746094 8.9980469 z "
id="path4157-6" />
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -1083,6 +1083,7 @@ node|z18-[man_made=water_tower],
node|z18-[man_made=tower],
node|z18-[amenity=bbq],
area|z18-[amenity=bbq],
node|z18-[leisure=firepit],
node|z18-[amenity=brothel],
area|z18-[amenity=brothel],
node|z18-[amenity=stripclub],
@@ -1849,6 +1850,9 @@ node|z18-[amenity=bbq],
area|z18-[amenity=bbq]
{icon-image: bbq-m.svg;font-size: 11;}
node|z18-[leisure=firepit],
{icon-image: firepit-m.svg;font-size: 11;}
node|z18-[man_made=survey_point],
{icon-image: survey_point-m.svg;font-size: 11;}

View File

@@ -1170,6 +1170,7 @@ office # icon z18- (also has captio
shop # icon z18- (also has caption(optional) z18-)
=== 470
leisure-firepit
amenity-bbq # icon z18- (also has caption(optional) z18-)
amenity-public_bookcase # icon z18- (also has caption(optional) z18-)
cemetery-grave # icon z17- (also has caption(optional) z17-)
@@ -2095,6 +2096,7 @@ leisure-swimming_pool-private # icon z17- (also has captio
# shop # caption(optional) z18- (also has icon z18-)
# === -9530
# leisure-firepit
# amenity-bbq # caption(optional) z18- (also has icon z18-)
# amenity-public_bookcase # caption(optional) z18- (also has icon z18-)
# cemetery-grave # caption(optional) z17- (also has icon z17-)

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg height="14" id="svg109" version="1.1"
viewBox="0 0 14 14" width="14" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<defs id="defs113" />
<metadata id="metadata115">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:title></dc:title>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<path style="fill:#C15746;fill-opacity:1;stroke:none"
d="M 5.8613281 -0.01171875 C 7.4948435 3.3410494 -1.0755672 5.5380484 6.3769531 10.130859 L 6.6992188 10.013672 C 4.8436378 7.328355 12.374438 4.1804808 5.8613281 -0.01171875 z M 9.25 3.4238281 C 10.300411 6.5115557 6.7139152 7.3962701 7.8398438 9.5976562 L 9.5292969 8.984375 C 10.207099 7.3309044 11.943051 5.9976828 9.25 3.4238281 z M 1.4746094 8.9980469 A 0.50005 0.50005 0 0 0 1.3300781 9.9707031 L 5.5449219 11.503906 L 1.3320312 13.035156 A 0.49426052 0.49426052 0 0 0 1.6679688 13.964844 L 6.9902344 12.029297 L 12.330078 13.970703 A 0.50043461 0.50043461 0 0 0 12.669922 13.029297 L 8.4550781 11.496094 L 12.667969 9.9648438 A 0.49422068 0.49422068 0 0 0 12.509766 9.0039062 A 0.49422068 0.49422068 0 0 0 12.332031 9.0351562 L 7.0097656 10.970703 L 1.6699219 9.0292969 A 0.50005 0.50005 0 0 0 1.4746094 8.9980469 z "
id="path4157-6" />
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -213,6 +213,7 @@ node|z16-[leisure=picnic_table],
area|z16-[leisure=picnic_table],
node|z16-[amenity=bbq],
area|z16-[amenity=bbq],
node|z16-[leisure=firepit],
node|z13-[amenity=shelter],
area|z13-[amenity=shelter],
node|z13-[amenity=shelter][shelter_type=basic_hut],
@@ -276,6 +277,9 @@ node|z16-[amenity=bbq],
area|z16-[amenity=bbq],
{icon-image: bbq-m.svg; font-size: 11;}
node|z16-[leisure=firepit],
{icon-image: firepit-m.svg; font-size: 11;}
node|z12-[amenity=shelter],
node|z12-[amenity=shelter][shelter_type=lean_to],
{icon-image: shelter-s.svg; icon-min-distance: 10; font-size: 11;}

View File

@@ -1172,6 +1172,7 @@ office # icon z18- (also has captio
shop # icon z18- (also has caption(optional) z18-)
=== 470
leisure-firepit
amenity-bbq # icon z16- (also has caption(optional) z16-)
amenity-public_bookcase # icon z18- (also has caption(optional) z18-)
cemetery-grave # icon z17- (also has caption(optional) z17-)
@@ -2100,6 +2101,7 @@ leisure-swimming_pool-private # icon z17- (also has captio
# shop # caption(optional) z18- (also has icon z18-)
# === -9530
# leisure-firepit
# amenity-bbq # caption(optional) z16- (also has icon z16-)
# amenity-public_bookcase # caption(optional) z18- (also has icon z18-)
# cemetery-grave # caption(optional) z17- (also has icon z17-)