├── README.txt
├── .gitignore
├── svg
├── power
│ ├── .DS_Store
│ └── tower_low.svg
├── transport
│ ├── .DS_Store
│ ├── speedbump.svg
│ ├── parking.svg
│ ├── helicopter_pad.svg
│ ├── bus_stop.svg
│ └── train_station2.svg
├── food
│ ├── bar.svg
│ ├── restaurant.svg
│ ├── pub.svg
│ ├── cafe.svg
│ └── fastfood.svg
├── sport
│ ├── tennis.svg
│ ├── leisure_centre.svg
│ ├── golf.svg
│ └── gym.svg
├── amenity
│ ├── post_box.svg
│ ├── survey_point.svg
│ ├── post_office.svg
│ └── library.svg
├── tourist
│ ├── beach.svg
│ ├── view_point.svg
│ ├── guidepost.svg
│ ├── museum.svg
│ ├── picnic.svg
│ └── information.svg
├── shopping
│ ├── estateagent2.svg
│ ├── estateagent3.svg
│ ├── convenience.svg
│ ├── book.svg
│ └── estateagent.svg
├── example
│ ├── blank.svg
│ └── font.svg
├── accommodation
│ ├── camping.svg
│ └── chalet2.svg
├── poi
│ ├── place_village.svg
│ ├── place_town.svg
│ ├── place_hamlet.svg
│ ├── mine.svg
│ └── cave.svg
├── barrier
│ ├── cattle_grid.svg
│ └── blocks.svg
└── place_of_worship
│ └── christian.svg
├── SOURCES.txt
├── tools
├── recolourtopng.sh
├── recolour.sh
├── generatepng.sh
└── generatepngall.sh
├── LICENSE.txt
└── CHANGELOG.txt
/README.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | png
2 |
--------------------------------------------------------------------------------
/svg/power/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/twain47/Open-SVG-Map-Icons/HEAD/svg/power/.DS_Store
--------------------------------------------------------------------------------
/svg/transport/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/twain47/Open-SVG-Map-Icons/HEAD/svg/transport/.DS_Store
--------------------------------------------------------------------------------
/SOURCES.txt:
--------------------------------------------------------------------------------
1 | Nandhp: shopping_computer, shopping_jewelry2
2 | RichardF: barrier_cattle_grid, barrier_blocks, barrier_cycle_barrier, barrier_kissing_gate
3 | Peter Maiwald: amenity_playground
4 | Jason Woof: amenity_fountain2
5 | gulp21: tourist_castle2, shopping_copyshop
6 |
7 |
--------------------------------------------------------------------------------
/tools/recolourtopng.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # $1 input filename
4 | # $2 background fill
5 | # $3 background stroke
6 | # $4 forground
7 | # $5 png size
8 | # $6 output filename
9 |
10 | pushd . > /dev/null
11 | cd `dirname $BASH_SOURCE` > /dev/null
12 | BASEFOLDER=`pwd`;
13 | popd > /dev/null
14 | BASEFOLDER=`dirname $BASEFOLDER`
15 |
16 | ${BASEFOLDER}/tools/recolour.sh "$1" "$2" "$3" "$4" | rsvg-convert -f png -w ${5} -h ${5} -o "${6}.png" /dev/stdin
17 |
--------------------------------------------------------------------------------
/tools/recolour.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -u
4 | set -e
5 |
6 | recolour() {
7 | filename="$1"
8 | fill="$2"
9 | stroke="$3"
10 | background="$4"
11 |
12 | sed_script=$(cat << EOF
13 | s/fill:#111111/fill:${fill};/g
14 | s/fill:#111;/fill:${fill};/g
15 | s/stroke:#eeeeee/stroke:${stroke};/g
16 | s/stroke:#eee;/stroke:${stroke};/g
17 | s/fill:white/fill:${background};/g
18 | s/stroke:white/stroke:${background};/g
19 | s/fill:#ffffff/fill:${background};/g
20 | s/stroke:#ffffff/stroke:${background};/g
21 | EOF
22 | )
23 |
24 | sed "$sed_script" $filename
25 | }
26 |
27 | if [[ $# -ne 4 ]]; then
28 | echo "Usage: $0 filename fill stroke foreground"
29 | exit 1
30 | fi
31 |
32 | recolour $@
33 |
--------------------------------------------------------------------------------
/tools/generatepng.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | pushd . > /dev/null
4 | cd `dirname $BASH_SOURCE` > /dev/null
5 | BASEFOLDER=`pwd`;
6 | popd > /dev/null
7 | BASEFOLDER=`dirname $BASEFOLDER`
8 |
9 | TYPES=( 'accommodation' 'amenity' 'barrier' 'education' 'food' 'health' 'landuse' 'money' 'place_of_worship' 'poi' 'power' 'shopping' 'sport' 'tourist' 'transport' 'water')
10 | FORGROUND_COLOURS=( '#0092DA' '#734A08' '#666666' '#39AC39' '#734A08' '#DA0092' '#999999' '#000000' '#000000' '#000000' '#8e7409' '#AC39AC' '#39AC39' '#734A08' '#0092DA' '#0092DA')
11 |
12 | SIZES=(64 48 32 24 20 16 12)
13 |
14 | SVGFOLDER=${BASEFOLDER}/svg/
15 | OUTPUTFOLDER=${BASEFOLDER}/png/
16 |
17 | if [ ! -d "${OUTPUTFOLDER}" ]; then
18 | mkdir ${OUTPUTFOLDER}
19 | fi
20 |
21 | for (( i = 0 ; i < ${#TYPES[@]} ; i++ )) do
22 |
23 | if [ "$1" == "" -o "$1" == "${TYPES[i]}" ]; then
24 |
25 | echo "On: ${TYPES[i]}"
26 |
27 | for FILE in $SVGFOLDER${TYPES[i]}/*.svg; do
28 |
29 | BASENAME=${FILE##/*/}
30 | BASENAME=${OUTPUTFOLDER}${TYPES[i]}_${BASENAME%.*}
31 |
32 | for (( j = 0 ; j < ${#SIZES[@]} ; j++ )) do
33 | ${BASEFOLDER}/tools/recolourtopng.sh "${FILE}" 'none' 'none' "${FORGROUND_COLOURS[i]}" "${SIZES[j]}" "${BASENAME}.p.${SIZES[j]}"
34 | ${BASEFOLDER}/tools/recolourtopng.sh "${FILE}" "${FORGROUND_COLOURS[i]}" "${FORGROUND_COLOURS[i]}" '#ffffff' "${SIZES[j]}" "${BASENAME}.n.${SIZES[j]}"
35 | convert ${BASENAME}.p.${SIZES[j]}.png \( +clone -background "#ffffff" -shadow 8000x2-0+0 \) +swap -background none -layers merge +repage -trim ${BASENAME}.glow.${SIZES[j]}.png
36 | done
37 |
38 | done
39 |
40 | fi
41 |
42 | done
43 |
--------------------------------------------------------------------------------
/tools/generatepngall.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | pushd . > /dev/null
4 | cd `dirname $BASH_SOURCE` > /dev/null
5 | BASEFOLDER=`pwd`;
6 | popd > /dev/null
7 | BASEFOLDER=`dirname $BASEFOLDER`
8 |
9 | TYPES=( 'accommodation' 'amenity' 'barrier' 'education' 'food' 'health' 'landuse' 'money' 'place_of_worship' 'poi' 'power' 'shopping' 'sport' 'tourist' 'transport' 'water')
10 | FORGROUND_COLOURS=( '#0092DA' '#734A08' '#39AC39' '#DA0092' '#999999' '#666666' '#000000' '#8E7409' '#AC39AC' )
11 |
12 | SIZES=(32 24 20 16 12)
13 |
14 | SVGFOLDER=${BASEFOLDER}/svg/
15 | OUTPUTFOLDER=${BASEFOLDER}/pngall/
16 |
17 | if [ ! -d "${OUTPUTFOLDER}" ]; then
18 | mkdir ${OUTPUTFOLDER}
19 | fi
20 |
21 | for (( i = 0 ; i < ${#TYPES[@]} ; i++ )) do
22 |
23 | if [ "$1" == "" -o "$1" == "${TYPES[i]}" ]; then
24 |
25 | echo "On: ${TYPES[i]}"
26 |
27 | for FILE in $SVGFOLDER${TYPES[i]}/*.svg; do
28 |
29 | BASENAME=${FILE##/*/}
30 | BASENAME=${OUTPUTFOLDER}${TYPES[i]}_${BASENAME%.*}
31 |
32 | for (( k = 0 ; k < ${#FORGROUND_COLOURS[@]} ; k++ )) do
33 | for (( j = 0 ; j < ${#SIZES[@]} ; j++ )) do
34 | ${BASEFOLDER}/tools/recolourtopng.sh "${FILE}" 'none' 'none' "${FORGROUND_COLOURS[k]}" "${SIZES[j]}" "${BASENAME}.p.${FORGROUND_COLOURS[k]:1}.${SIZES[j]}"
35 | ${BASEFOLDER}/tools/recolourtopng.sh "${FILE}" "${FORGROUND_COLOURS[k]}" "${FORGROUND_COLOURS[k]}" '#ffffff' "${SIZES[j]}" "${BASENAME}.n.${FORGROUND_COLOURS[k]:1}.${SIZES[j]}"
36 | convert "${BASENAME}.p.${FORGROUND_COLOURS[k]:1}.${SIZES[j]}.png" \( +clone -background "#ffffff" -shadow 8000x2-0+0 \) +swap -background none -layers merge +repage -trim ${BASENAME}.glow.${FORGROUND_COLOURS[k]:1}.${SIZES[j]}.png
37 | done
38 | done
39 |
40 | done
41 |
42 | fi
43 |
44 | done
45 |
--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | http://creativecommons.org/licenses/publicdomain/
2 |
3 | creative commons Public Domain Dedication
4 |
5 | Copyright-Only Dedication (based on United States law) or Public Domain
6 | Certification
7 |
8 | The person or persons who have associated work with this document (the
9 | "Dedicator" or "Certifier") hereby either (a) certifies that, to the best
10 | of his knowledge, the work of authorship identified is in the public
11 | domain of the country from which the work is published, or (b) hereby
12 | dedicates whatever copyright the dedicators holds in the work of authorship
13 | identified below (the "Work") to the public domain. A certifier, morever,
14 | dedicates any copyright interest he may have in the associated work, and
15 | for these purposes, is described as a "dedicator" below.
16 |
17 | A certifier has taken reasonable steps to verify the copyright status of
18 | this work. Certifier recognizes that his good faith efforts may not shield
19 | him from liability if in fact the work certified is not in the public domain.
20 |
21 | A dedicator makes this dedication for the benefit of the public at large and
22 | to the detriment of the Dedicator's heirs and successors. Dedicators intend
23 | this dedication to be an overt act of relinquishment in perpetuity of all
24 | present and future rights under copyright law, whether vested or contingent,
25 | in the Work. Dedicator understand that such relinquishment of all rights
26 | includes the relinquishment of all rights to enforce (by lawsuit or otherwise)
27 | those copyrights in the Work.
28 |
29 | Dedicator recognizes that, once placed in the public domain, the Work may be
30 | freely reproduced, distributed, transmitted, used, modified, built upon, or
31 | otherwise exploited by anyone for any purpose, commercial or non-commercial,
32 | and in any way, including by methods that have not yet been invented or
33 | conceived.
34 |
--------------------------------------------------------------------------------
/CHANGELOG.txt:
--------------------------------------------------------------------------------
1 | 2011-04-06
2 | ----------
3 | Created new github repository for icon set
4 |
5 | 2011-02-26
6 | ----------
7 | Added power icons: power_tower_low, power_tower_high, power_tower_high2, power_substation, power_transformer
8 | Added sport_shooting, transport_miniroundabout_clockwise, transport_miniroundabout_anticlockwise, transport_speedbump, transport_subway and transport_slipway from potlatch2 icon set
9 | Added shopping_marketplace, shopping_vending_machine, shopping_toys
10 | Fixes to shopping_greengrocer, amenity_survey_point, poi_embassy, shopping_alcohol, shopping_estateagent, shopping_estateagent2, shopping_estateagent3, shopping_fish, shopping_mobile_phone, shopping_laundrette, sport_swimming_outdoor, sport_swimming_indoor
11 | Added icons from Mayeul Kauffmann: accommodation_hostel, food_ice_cream, poi_mountain_pass, transport_zebra_crossing, tourist_guidepost
12 | Added sport_canoe, sport_minature_golf, transport_emergency_phone, shopping_newspaper, tourist_wayside_shrine, tourist_wayside_cross, tourist_map, sport_stadium, amenity_town_hall, amenity_town_hall2, amenity_public_building, amenity_public_building2, shopping_department_store, amenity_library2, poi_tower_lookout, shopping_tobacco, shopping_hearing_aids, transport_dam, shopping_kiosk
13 |
14 | 2011-02-15
15 | ----------
16 | Added place_hamlet & place_suburb
17 |
18 | 2011-01-18
19 | ----------
20 | Added food_pizza and food_fastfood_pizza from Luca Delucchi
21 | Added shop_butcher2 from project of the week
22 |
23 | 2010-12-22
24 | ----------
25 | Added bed_and_breakfast2 and beirgarten
26 |
27 | 2010-09-12
28 | ----------
29 | Added airport_gate, attraction, chalet, college, college_vocational, entrance, exit, motel, nursery2, peak2, school_primary, school_secondary, turning_circle, weir
30 |
31 | 2010-09-07
32 | ----------
33 | Added selection of icons from project of the week: castle2, jewelry2, playground, fountain2, copyshop
34 | Added icons from RichardF: cattle_grid, blocks, cycle_barrier, kissing_gate
35 | Added: airport_terminal, clock, crane, doctors2 (Rod of Asclepius version), garden_centre, helicopter, helicopter_pad, place_of_worship_unknown2, theme_park, walking
36 | Updated: hospital, alcohol, firestation2, firestation3, police2, florist
37 |
38 | 2010-06-02
39 | ----------
40 | Update mine symbol, added abandoned mine. Added Cave, Military Bunker, Grass, Hill, Quary, Scrub, Swamp.
41 |
42 | 2010-05-25
43 | ----------
44 | Added a small number of barrier icons (Bollard, Enterance, Gets, Lift Gate, Stile, Toll Booth)
45 |
46 | 2010-04-28
47 | ----------
48 | Added transport_parking_private (and variations)
49 |
50 | 2010-02-14
51 | ----------
52 | New layout and website
53 |
54 | 2010-02-10
55 | ----------
56 | Add extra options to produce png icons with glow
57 |
58 | 2022-08-09
59 | ----------
60 | Bring scripts up to date with modern distibution. Add CHANGELOG and SOURCES files that have been missed.
61 |
--------------------------------------------------------------------------------
/svg/food/bar.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
17 |
37 |
39 |
40 |
42 | image/svg+xml
43 |
45 |
47 | en
48 |
49 |
50 |
51 |
53 | image/svg+xml
54 |
56 |
57 |
58 |
59 |
61 |
63 |
68 |
69 |
74 |
75 |
--------------------------------------------------------------------------------
/svg/sport/tennis.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
17 |
37 |
39 |
40 |
42 | image/svg+xml
43 |
45 |
47 | en
48 |
49 |
50 |
51 |
53 | image/svg+xml
54 |
56 |
57 |
58 |
59 |
61 |
63 |
68 |
69 |
79 |
84 |
85 |
--------------------------------------------------------------------------------
/svg/food/restaurant.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
17 |
37 |
39 |
40 |
42 | image/svg+xml
43 |
45 |
47 | en
48 |
49 |
50 |
51 |
53 | image/svg+xml
54 |
56 |
57 |
58 |
59 |
61 |
63 |
68 |
69 |
74 |
79 |
80 |
--------------------------------------------------------------------------------
/svg/food/pub.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
79 |
--------------------------------------------------------------------------------
/svg/amenity/post_box.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
75 |
--------------------------------------------------------------------------------
/svg/sport/leisure_centre.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
17 |
37 |
39 |
40 |
42 | image/svg+xml
43 |
45 |
47 | en
48 |
49 |
50 |
51 |
53 | image/svg+xml
54 |
56 |
57 |
58 |
59 |
61 |
63 |
68 |
69 |
74 |
84 |
94 |
95 |
--------------------------------------------------------------------------------
/svg/tourist/beach.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
84 |
--------------------------------------------------------------------------------
/svg/shopping/estateagent2.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
96 |
--------------------------------------------------------------------------------
/svg/amenity/survey_point.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
95 |
--------------------------------------------------------------------------------
/svg/example/blank.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
114 |
--------------------------------------------------------------------------------
/svg/accommodation/camping.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
96 |
--------------------------------------------------------------------------------
/svg/food/cafe.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
101 |
--------------------------------------------------------------------------------
/svg/shopping/estateagent3.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
103 |
--------------------------------------------------------------------------------
/svg/tourist/view_point.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
133 |
--------------------------------------------------------------------------------
/svg/amenity/post_office.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
95 |
--------------------------------------------------------------------------------
/svg/poi/place_village.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
124 |
--------------------------------------------------------------------------------
/svg/tourist/guidepost.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
127 |
--------------------------------------------------------------------------------
/svg/transport/speedbump.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
153 |
--------------------------------------------------------------------------------
/svg/tourist/museum.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
117 |
--------------------------------------------------------------------------------
/svg/example/font.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
126 |
--------------------------------------------------------------------------------
/svg/sport/golf.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
88 |
--------------------------------------------------------------------------------
/svg/tourist/picnic.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
119 |
--------------------------------------------------------------------------------
/svg/tourist/information.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
89 |
--------------------------------------------------------------------------------
/svg/poi/place_town.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
129 |
--------------------------------------------------------------------------------
/svg/poi/place_hamlet.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
130 |
--------------------------------------------------------------------------------
/svg/barrier/cattle_grid.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
155 |
--------------------------------------------------------------------------------
/svg/sport/gym.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
17 |
37 |
39 |
40 |
42 | image/svg+xml
43 |
45 |
47 | en
48 |
49 |
50 |
51 |
53 | image/svg+xml
54 |
56 |
57 |
58 |
59 |
61 |
63 |
68 |
69 |
79 |
89 |
94 |
99 |
104 |
114 |
119 |
120 |
--------------------------------------------------------------------------------
/svg/power/tower_low.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
137 |
--------------------------------------------------------------------------------
/svg/poi/mine.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
118 |
--------------------------------------------------------------------------------
/svg/shopping/convenience.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
122 |
--------------------------------------------------------------------------------
/svg/amenity/library.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
122 |
--------------------------------------------------------------------------------
/svg/shopping/book.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
122 |
--------------------------------------------------------------------------------
/svg/shopping/estateagent.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
134 |
--------------------------------------------------------------------------------
/svg/place_of_worship/christian.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
132 |
--------------------------------------------------------------------------------
/svg/transport/parking.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
144 |
--------------------------------------------------------------------------------
/svg/food/fastfood.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
119 |
--------------------------------------------------------------------------------
/svg/poi/cave.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
132 |
--------------------------------------------------------------------------------
/svg/transport/helicopter_pad.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
142 |
--------------------------------------------------------------------------------
/svg/barrier/blocks.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
144 |
--------------------------------------------------------------------------------
/svg/transport/bus_stop.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
133 |
--------------------------------------------------------------------------------
/svg/accommodation/chalet2.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
154 |
--------------------------------------------------------------------------------
/svg/transport/train_station2.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
133 |
--------------------------------------------------------------------------------