georender-pack
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -25,3 +25,3 @@ var getNormals = require('polyline-normals') | ||
sizes.line.types+=plen*2+2 | ||
sizes.line.ids+=plen*4+4 | ||
sizes.line.ids+=plen*2+2 | ||
sizes.line.positions+=plen*4+4 | ||
@@ -50,3 +50,4 @@ sizes.line.normals+=plen*4+4 | ||
ids: new Float32Array(sizes.point.ids), | ||
positions: new Float32Array(sizes.point.positions) | ||
positions: new Float32Array(sizes.point.positions), | ||
labels: {} | ||
}, | ||
@@ -57,15 +58,18 @@ line: { | ||
positions: new Float32Array(sizes.line.positions), | ||
normals: new Float32Array(sizes.line.normals) | ||
normals: new Float32Array(sizes.line.normals), | ||
labels: {} | ||
}, | ||
area: { | ||
types: new Float32Array(sizes.area.types), | ||
ids: new Float32Array(sizes.area.ids), | ||
//ids: new Float32Array(sizes.area.ids), | ||
ids: Array(sizes.area.ids.length).fill(0), | ||
positions: new Float32Array(sizes.area.positions), | ||
cells: new Uint32Array(sizes.area.cells) | ||
cells: new Uint32Array(sizes.area.cells), | ||
labels: {} | ||
} | ||
} | ||
var offsets = { | ||
point: { types: 0, ids: 0, positions: 0 }, | ||
line: { types: 0, ids: 0, positions: 0, normals: 0 }, | ||
area: { types: 0, ids: 0, positions: 0, cells: 0 } | ||
point: { types: 0, ids: 0, positions: 0, labels: 0 }, | ||
line: { types: 0, ids: 0, positions: 0, normals: 0, labels: 0 }, | ||
area: { types: 0, ids: 0, positions: 0, cells: 0, labels: 0 } | ||
} | ||
@@ -80,4 +84,5 @@ var pindex = 0 | ||
offset+=varint.decode.bytes | ||
data.point.ids[offsets.point.ids++] = varint.decode(buf, offset) | ||
var id = varint.decode(buf, offset) | ||
offset+=varint.decode.bytes | ||
data.point.ids[offsets.point.ids++] = id | ||
data.point.positions[offsets.point.positions++] = buf.readFloatLE(offset) | ||
@@ -87,2 +92,3 @@ offset+=4 | ||
offset+=4 | ||
offset = decodeLabels(buf, offset, data.point, id) | ||
} | ||
@@ -139,2 +145,3 @@ else if (featureType === 2) { | ||
data.line.normals[offsets.line.normals++] = data.line.normals[normOffset-1] | ||
offset = decodeLabels(buf, offset, data.line, id) | ||
} | ||
@@ -167,2 +174,3 @@ else if (featureType === 3) { | ||
pindex+=plen | ||
offset = decodeLabels(buf, offset, data.area, id) | ||
} | ||
@@ -172,1 +180,13 @@ }) | ||
} | ||
function decodeLabels (buf, offset, data, id) { | ||
data.labels[id] = [] | ||
do { | ||
var labelLength = varint.decode(buf, offset) | ||
offset+=varint.decode.bytes | ||
var labelData = buf.slice(offset, offset+labelLength) | ||
offset+=labelLength | ||
data.labels[id].push(labelData.toString()) | ||
} while (labelLength > 0) | ||
return offset | ||
} |
@@ -7,18 +7,18 @@ var earcut = require('earcut') | ||
module.exports = function (item, deps) { | ||
var type | ||
var type = features['place.other'] | ||
if (Object.keys(item.tags).length !== 0){ | ||
var tags = Object.entries(item.tags) | ||
tags.forEach(function (tagPair) { | ||
if (features[tagPair[0] + '.' + tagPair[1]]){ | ||
if (features[tagPair[0] + '.' + tagPair[1]] !== undefined) { | ||
type = features[tagPair[0] + '.' + tagPair[1]] | ||
} | ||
else type = 277 //place.other | ||
}) | ||
} | ||
else type = 277 //place.other | ||
var id = item.id | ||
if (item.type === 'node') { | ||
var typeLen = varint.encodingLength(type) | ||
var idLen = varint.encodingLength(id) | ||
var buf = Buffer.alloc(9 + typeLen + idLen) | ||
var labelLen = getLabelLen(item.tags) | ||
var buf = Buffer.alloc(9 + typeLen + idLen + labelLen) | ||
var offset = 0 | ||
@@ -35,2 +35,3 @@ buf.writeUInt8(0x01, offset) | ||
offset+=4 | ||
writeLabelData(item.tags, buf, offset) | ||
} | ||
@@ -56,3 +57,5 @@ if (item.type === 'way') { | ||
var cLen = varint.encodingLength(earcut.length/3) | ||
var buf = Buffer.alloc(1 + typeLen + idLen + pCount + cLen + n*4*2 + (n-2)*3*2) | ||
var labelLen = getLabelLen(item.tags) | ||
var buf = Buffer.alloc(1 + typeLen + idLen + pCount + cLen + n*4*2 | ||
+ (n-2)*3*2 + labelLen) | ||
var offset = 0 | ||
@@ -79,2 +82,3 @@ buf.writeUInt8(0x03, 0) | ||
}) | ||
writeLabelData(item.tags, buf, offset) | ||
} | ||
@@ -86,3 +90,4 @@ else if (item.refs.length > 1) { | ||
var pCount = varint.encodingLength(n) | ||
var buf = Buffer.alloc(1 + typeLen + idLen + pCount + n*8) | ||
var labelLen = getLabelLen(item.tags) | ||
var buf = Buffer.alloc(1 + typeLen + idLen + pCount + n*8 + labelLen) | ||
var offset = 0 | ||
@@ -103,2 +108,3 @@ buf.writeUInt8(0x02, 0) | ||
}) | ||
writeLabelData(item.tags, buf, offset) | ||
} | ||
@@ -111,1 +117,30 @@ else { | ||
} | ||
function getLabelLen (tags) { | ||
var labelLen = 1 | ||
Object.keys(tags).forEach(function (key) { | ||
if (!/^([^:]+_|)name($|:)/.test(key)) { return } | ||
var pre = key.replace(/^(|[^:]+_)name($|:)/,'') | ||
var dataLen = Buffer.byteLength(pre) + 1 | ||
+ Buffer.byteLength(tags[key]) | ||
labelLen += varint.encodingLength(dataLen) + dataLen | ||
}) | ||
return labelLen | ||
} | ||
function writeLabelData (tags, buf, offset) { | ||
Object.keys(tags).forEach(function (key) { | ||
if (!/^([^:]+_|)name($|:)/.test(key)) { return } | ||
var pre = key.replace(/^(|[^:]+_)name($|:)/,'') | ||
var dataLen = Buffer.byteLength(pre) + 1 | ||
+ Buffer.byteLength(tags[key]) | ||
varint.encode(dataLen, buf, offset) | ||
offset+=varint.encode.bytes | ||
var data = pre + '=' + tags[key] | ||
buf.write(data, offset) | ||
offset+=Buffer.byteLength(data) | ||
}) | ||
varint.encode(0, buf, offset) | ||
offset+=varint.encode.bytes | ||
return offset | ||
} |
@@ -31,5 +31,5 @@ var fs = require('fs') | ||
Object.values(allItems).forEach(function (item) { | ||
//console.log(item) | ||
//georenderPack(item, itemsRefsObject) | ||
console.log(georenderPack(item, itemsRefsObject)) | ||
}) | ||
} |
1626
features.json
{ | ||
"aerialway.cable_car":1, | ||
"aerialway.canopy":2, | ||
"aerialway.chair_lift":3, | ||
"aerialway.drag_lift":4, | ||
"aerialway.gondola":5, | ||
"aerialway.goods":6, | ||
"aerialway.j-bar":7, | ||
"aerialway.magic_carpet":8, | ||
"aerialway.mixed_lift":9, | ||
"aerialway.platter":10, | ||
"aerialway.pylon":11, | ||
"aerialway.rope_tow":12, | ||
"aerialway.station":13, | ||
"aerialway.t-bar":14, | ||
"aerialway.zip_line":15, | ||
"aerialway.other":16, | ||
"amenity.animal_boarding":17, | ||
"amenity.animal_shelter":18, | ||
"amenity.arts_centre":19, | ||
"amenity.atm":20, | ||
"amenity.baby_hatch":21, | ||
"amenity.baking_oven":22, | ||
"amenity.bank":23, | ||
"amenity.bar":24, | ||
"amenity.bbq":25, | ||
"amenity.bench":26, | ||
"amenity.bicycle parking":27, | ||
"amenity.bicycle rental":28, | ||
"amenity.bicycle_repair_station":29, | ||
"amenity.biergarten":30, | ||
"amenity.boat_sharing":31, | ||
"amenity.brothel":32, | ||
"amenity.bureau de change":33, | ||
"amenity.bus_station":34, | ||
"amenity.cafe":35, | ||
"amenity.car rental":36, | ||
"amenity.car sharing":37, | ||
"amenity.car wash":38, | ||
"amenity.casino":39, | ||
"amenity.charging_station":40, | ||
"amenity.cinema":41, | ||
"amenity.clinic":42, | ||
"amenity.clock":43, | ||
"amenity.college":44, | ||
"amenity.community_centre":45, | ||
"amenity.courthouse":46, | ||
"amenity.coworking_space":47, | ||
"amenity.crematorium":48, | ||
"amenity.crypt":49, | ||
"amenity.dentist":50, | ||
"amenity.dive_centre":51, | ||
"amenity.doctors":52, | ||
"amenity.dojo":53, | ||
"amenity.drinking_water":54, | ||
"amenity.driving_school":55, | ||
"amenity.embassy":56, | ||
"amenity.fast food":57, | ||
"amenity.ferry_terminal":58, | ||
"amenity.firepit":59, | ||
"amenity.fire_station":60, | ||
"amenity.food court":61, | ||
"amenity.fountain":62, | ||
"amenity.fuel":63, | ||
"amenity.gambling":64, | ||
"amenity.game_feeding":65, | ||
"amenity.grave_yard":66, | ||
"amenity.grit_bin":67, | ||
"amenity.gym":68, | ||
"amenity.hospital":69, | ||
"amenity.hunting_stand":70, | ||
"amenity.ice_cream":71, | ||
"amenity.internet_cafe":72, | ||
"amenity.kindergarten":73, | ||
"amenity.kneipp_water_cure":74, | ||
"amenity.language_school":75, | ||
"amenity.library":76, | ||
"amenity.marketplace":77, | ||
"amenity.motorcycle parking":78, | ||
"amenity.music_school":79, | ||
"amenity.nightclub":80, | ||
"amenity.nursing_home":81, | ||
"amenity.parking":82, | ||
"amenity.parking_entrance":83, | ||
"amenity.parking_space":84, | ||
"amenity.pharmacy":85, | ||
"amenity.photo_booth":86, | ||
"amenity.place of worship":87, | ||
"amenity.place of worship|the article":88, | ||
"amenity.planetarium":89, | ||
"amenity.police":90, | ||
"amenity.post_box":91, | ||
"amenity.post_office":92, | ||
"amenity.prison":93, | ||
"amenity.pub":94, | ||
"amenity.public_bookcase":95, | ||
"amenity.public_building":96, | ||
"amenity.ranger_station":97, | ||
"amenity.recycling":98, | ||
"amenity.rescue_station":99, | ||
"amenity.restaurant":100, | ||
"amenity.sauna":101, | ||
"amenity.school":102, | ||
"amenity.shelter":103, | ||
"amenity.shower":104, | ||
"amenity.social_centre":105, | ||
"amenity.social_facility":106, | ||
"amenity.stripclub":107, | ||
"amenity.stripclub| amenity=stripclub":108, | ||
"amenity.studio":109, | ||
"amenity.swingerclub":110, | ||
"amenity.table":111, | ||
"amenity.taxi":112, | ||
"amenity.telephone":113, | ||
"amenity.theatre":114, | ||
"amenity.toilets":115, | ||
"amenity.townhall":116, | ||
"amenity.university":117, | ||
"amenity.vending_machine":118, | ||
"amenity.veterinary":119, | ||
"amenity.waste_basket":120, | ||
"amenity.waste_disposal":121, | ||
"amenity.waste_transfer_station":122, | ||
"amenity.watering_place":123, | ||
"amenity.water_point":124, | ||
"amenity.other":125, | ||
"barrier.block":126, | ||
"barrier.bollard":127, | ||
"barrier.border_control":128, | ||
"barrier.bump_gate":129, | ||
"barrier.bus_trap":130, | ||
"barrier.cable_barrier":131, | ||
"barrier.cattle_grid":132, | ||
"barrier.chain":133, | ||
"barrier.city_wall":134, | ||
"barrier.cycle_barrier":135, | ||
"barrier.debris":136, | ||
"barrier.ditch":137, | ||
"barrier.entrance":138, | ||
"barrier.fence":139, | ||
"barrier.full-height_turnstile":140, | ||
"barrier.gate":141, | ||
"barrier.guard_rail":142, | ||
"barrier.hampshire_gate":143, | ||
"barrier.handrail":144, | ||
"barrier.hedge":145, | ||
"barrier.height_restrictor":146, | ||
"barrier.horse_stile":147, | ||
"barrier.jersey_barrier":148, | ||
"barrier.kent_carriage_gap":149, | ||
"barrier.kerb":150, | ||
"barrier.kissing_gate":151, | ||
"barrier.lift_gate":152, | ||
"barrier.log":153, | ||
"barrier.motorcycle_barrier":154, | ||
"barrier.retaining_wall":155, | ||
"barrier.rope":156, | ||
"barrier.sally_port":157, | ||
"barrier.spikes":158, | ||
"barrier.stile":159, | ||
"barrier.sump_buster":160, | ||
"barrier.swing_gate":161, | ||
"barrier.tank_trap":162, | ||
"barrier.toll_booth":163, | ||
"barrier.turnstile":164, | ||
"barrier.wall":165, | ||
"barrier.yes":166, | ||
"barrier.other":167, | ||
"boundary.administrative":168, | ||
"boundary.historic":169, | ||
"boundary.maritime":170, | ||
"boundary.national_park":171, | ||
"boundary.political":172, | ||
"boundary.postal_code":173, | ||
"boundary.protected_area":174, | ||
"boundary.religious_administration":175, | ||
"boundary.other":176, | ||
"highway.bridleway":177, | ||
"highway.bus guideway":178, | ||
"highway.bus_stop":179, | ||
"highway.construction":180, | ||
"highway.crossing":181, | ||
"highway.cycleway":182, | ||
"highway.elevator":183, | ||
"highway.emergency_access_point":184, | ||
"highway.escape":185, | ||
"highway.footway":186, | ||
"highway.give_way":187, | ||
"highway.living_street":188, | ||
"highway.mini_roundabout":189, | ||
"highway.motorway":190, | ||
"highway.motorway_junction":191, | ||
"highway.motorway_link":192, | ||
"highway.passing_place":193, | ||
"highway.path":194, | ||
"highway.pedestrian":195, | ||
"highway.primary":196, | ||
"highway.primary_link":197, | ||
"highway.proposed":198, | ||
"highway.raceway":199, | ||
"highway.residential":200, | ||
"highway.rest_area":201, | ||
"highway.road":202, | ||
"highway.secondary":203, | ||
"highway.secondary_link":204, | ||
"highway.service":205, | ||
"highway.services":206, | ||
"highway.speed_camera":207, | ||
"highway.steps":208, | ||
"highway.stop":209, | ||
"highway.street_lamp":210, | ||
"highway.tertiary":211, | ||
"highway.tertiary_link":212, | ||
"highway.track":213, | ||
"highway.traffic_signals":214, | ||
"highway.trunk_link":215, | ||
"highway.turning_circle":216, | ||
"highway.unclassified":217, | ||
"highway.other":218, | ||
"historic.aircraft":219, | ||
"historic.aqueduct":220, | ||
"historic.archaeological_site":221, | ||
"historic.battlefield":222, | ||
"historic.boundary_stone":223, | ||
"historic.building":224, | ||
"historic.cannon":225, | ||
"historic.castle":226, | ||
"historic.city_gate":227, | ||
"historic.citywalls":228, | ||
"historic.farm":229, | ||
"historic.fort":230, | ||
"historic.gallows":231, | ||
"historic.highwater_mark":232, | ||
"historic.locomotive":233, | ||
"historic.manor":234, | ||
"historic.memorial":235, | ||
"historic.milestone":236, | ||
"historic.monastery":237, | ||
"historic.monument":238, | ||
"historic.optical_telegraph":239, | ||
"historic.pillory":240, | ||
"historic.ruins":241, | ||
"historic.rune_stone":242, | ||
"historic.ship":243, | ||
"historic.tomb":244, | ||
"historic.tree_shrine":245, | ||
"historic.wayside_cross":246, | ||
"historic.wayside_shrine":247, | ||
"historic.wreck":248, | ||
"historic.yes":249, | ||
"historic.other":250, | ||
"landuse.conservation":251, | ||
"landuse.pasture":252, | ||
"landuse.peat_cutting":253, | ||
"landuse.other":254, | ||
"place.allotments":255, | ||
"place.borough":256, | ||
"place.city":257, | ||
"place.city_block":258, | ||
"place.continent":259, | ||
"place.country":260, | ||
"place.county":261, | ||
"place.district":262, | ||
"place.farm":263, | ||
"place.hamlet":264, | ||
"place.isolated_dwelling":265, | ||
"place.locality":266, | ||
"place.municipality":267, | ||
"place.neighbourhood":268, | ||
"place.plot":269, | ||
"place.province":270, | ||
"place.quarter":271, | ||
"place.region":272, | ||
"place.state":273, | ||
"place.suburb":274, | ||
"place.town":275, | ||
"place.village":276, | ||
"place.other":277, | ||
"railway.abandoned":278, | ||
"railway.buffer_stop":279, | ||
"railway.construction":280, | ||
"railway.crossing":281, | ||
"railway.derail":282, | ||
"railway.disused":283, | ||
"railway.funicular":284, | ||
"railway.halt":285, | ||
"railway.level_crossing":286, | ||
"railway.light_rail":287, | ||
"railway.miniature":288, | ||
"railway.monorail":289, | ||
"railway.narrow_gauge":290, | ||
"railway.platform":291, | ||
"railway.preserved":292, | ||
"railway.rail":293, | ||
"railway.railway_crossing":294, | ||
"railway.roundhouse":295, | ||
"railway.signal":296, | ||
"railway.station":297, | ||
"railway.subway":298, | ||
"railway.subway_entrance":299, | ||
"railway.switch":300, | ||
"railway.tram":301, | ||
"railway.tram_stop":302, | ||
"railway.traverser":303, | ||
"railway.turntable":304, | ||
"railway.other":305, | ||
"shop.agrarian":306, | ||
"shop.alcohol":307, | ||
"shop.anime":308, | ||
"shop.antiques":309, | ||
"shop.art":310, | ||
"shop.baby_goods":311, | ||
"shop.bag":312, | ||
"shop.bakery":313, | ||
"shop.bathroom_furnishing":314, | ||
"shop.beauty":315, | ||
"shop.bed":316, | ||
"shop.beverages":317, | ||
"shop.bicycle":318, | ||
"shop.bookmaker":319, | ||
"shop.books":320, | ||
"shop.boutique":321, | ||
"shop.brewing_supplies":322, | ||
"shop.butcher":323, | ||
"shop.camera":324, | ||
"shop.candles":325, | ||
"shop.car":326, | ||
"shop.car_parts":327, | ||
"shop.carpet":328, | ||
"shop.car_repair":329, | ||
"shop.charity":330, | ||
"shop.cheese":331, | ||
"shop.chemist":332, | ||
"shop.chocolate":333, | ||
"shop.clothes":334, | ||
"shop.coffee":335, | ||
"shop.collector":336, | ||
"shop.computer":337, | ||
"shop.confectionery":338, | ||
"shop.convenience":339, | ||
"shop.copyshop":340, | ||
"shop.cosmetics":341, | ||
"shop.craft":342, | ||
"shop.curtain":343, | ||
"shop.dairy":344, | ||
"shop.deli":345, | ||
"shop.department_store":346, | ||
"shop.doityourself":347, | ||
"shop.dry cleaning":348, | ||
"shop.e-cigarette":349, | ||
"shop.electrical":350, | ||
"shop.electronics":351, | ||
"shop.energy":352, | ||
"shop.erotic":353, | ||
"shop.fabric":354, | ||
"shop.farm":355, | ||
"shop.fashion":356, | ||
"shop.fireplace":357, | ||
"shop.fishing":358, | ||
"shop.florist":359, | ||
"shop.frame":360, | ||
"shop.free_flying":361, | ||
"shop.fuel":362, | ||
"shop.funeral_directors":363, | ||
"shop.furniture":364, | ||
"shop.games":365, | ||
"shop.garden_centre":366, | ||
"shop.garden_furniture":367, | ||
"shop.gas":368, | ||
"shop.general":369, | ||
"shop.gift":370, | ||
"shop.glaziery":371, | ||
"shop.greengrocer":372, | ||
"shop.hairdresser":373, | ||
"shop.hairdresser_supply":374, | ||
"shop.hardware":375, | ||
"shop.hearing_aids":376, | ||
"shop.herbalist":377, | ||
"shop.hifi":378, | ||
"shop.houseware":379, | ||
"shop.hunting":380, | ||
"shop.ice_cream":381, | ||
"shop.interior_decoration":382, | ||
"shop.jewelry":383, | ||
"shop.kiosk":384, | ||
"shop.kitchen":385, | ||
"shop.lamps":386, | ||
"shop.laundry":387, | ||
"shop.leather":388, | ||
"shop.locksmith":389, | ||
"shop.lottery":390, | ||
"shop.mall":391, | ||
"shop.massage":392, | ||
"shop.medical_supply":393, | ||
"shop.mobile_phone":394, | ||
"shop.model":395, | ||
"shop.money_lender":396, | ||
"shop.motorcycle":397, | ||
"shop.music":398, | ||
"shop.musical_instrument":399, | ||
"shop.newsagent":400, | ||
"shop.nutrition_supplements":401, | ||
"shop.optician":402, | ||
"shop.organic":403, | ||
"shop.outdoor":404, | ||
"shop.paint":405, | ||
"shop.pasta":406, | ||
"shop.pastry":407, | ||
"shop.pawnbroker":408, | ||
"shop.perfumery":409, | ||
"shop.pet":410, | ||
"shop.photo":411, | ||
"shop.pyrotechnics":412, | ||
"shop.radiotechnics":413, | ||
"shop.religion":414, | ||
"shop.scuba_diving":415, | ||
"shop.seafood":416, | ||
"shop.second_hand":417, | ||
"shop.security":418, | ||
"shop.shoes":419, | ||
"shop.spices":420, | ||
"shop.sports":421, | ||
"shop.stationery":422, | ||
"shop.supermarket":423, | ||
"shop.swimming_pool":424, | ||
"shop.tailor":425, | ||
"shop.tattoo":426, | ||
"shop.tea":427, | ||
"shop.ticket":428, | ||
"shop.tiles":429, | ||
"shop.tobacco":430, | ||
"shop.toys":431, | ||
"shop.trade":432, | ||
"shop.travel_agency":433, | ||
"shop.trophy":434, | ||
"shop.tyres":435, | ||
"shop.vacant":436, | ||
"shop.vacuum_cleaner":437, | ||
"shop.variety_store":438, | ||
"shop.video":439, | ||
"shop.video_games":440, | ||
"shop.watches":441, | ||
"shop.weapons":442, | ||
"shop.window_blind":443, | ||
"shop.wine":444, | ||
"shop.other":445, | ||
"sport.diving":446, | ||
"sport.fencing":447, | ||
"sport.field_hockey":448, | ||
"sport.football":449, | ||
"sport.free_flying":450, | ||
"sport.handball":451, | ||
"sport.hockey":452, | ||
"sport.parachuting":453, | ||
"sport.paragliding":454, | ||
"sport.pelota":455, | ||
"sport.racquet":456, | ||
"sport.rc_car":457, | ||
"sport.roller_skating":458, | ||
"sport.rowing":459, | ||
"sport.rugby_league":460, | ||
"sport.rugby_union":461, | ||
"sport.running":462, | ||
"sport.safety_training":463, | ||
"sport.shooting":464, | ||
"sport.skateboard":465, | ||
"sport.skating":466, | ||
"sport.skiing":467, | ||
"sport.soccer":468, | ||
"sport.sumo":469, | ||
"sport.surfing":470, | ||
"sport.swimming":471, | ||
"sport.table_soccer":472, | ||
"sport.table_tennis":473, | ||
"sport.tennis":474, | ||
"sport.toboggan":475, | ||
"sport.volleyball":476, | ||
"sport.water_polo":477, | ||
"sport.water_ski":478, | ||
"sport.other":479, | ||
"waterway.boatyard":480, | ||
"waterway.canal":481, | ||
"waterway.dam":482, | ||
"waterway.ditch":483, | ||
"waterway.dock":484, | ||
"waterway.drain":485, | ||
"waterway.drystream":486, | ||
"waterway.fairway":487, | ||
"waterway.fuel":488, | ||
"waterway.lock_gate":489, | ||
"waterway.river":490, | ||
"waterway.riverbank":491, | ||
"waterway.stream":492, | ||
"waterway.turning_point":493, | ||
"waterway.wadi":494, | ||
"waterway.waterfall":495, | ||
"waterway.water_point":496, | ||
"waterway.weir":497, | ||
"waterway.other":498} | ||
"aerialway.cable_car": 0, | ||
"aerialway.canopy": 1, | ||
"aerialway.chair_lift": 2, | ||
"aerialway.drag_lift": 3, | ||
"aerialway.gondola": 4, | ||
"aerialway.goods": 5, | ||
"aerialway.j-bar": 6, | ||
"aerialway.magic_carpet": 7, | ||
"aerialway.mixed_lift": 8, | ||
"aerialway.platter": 9, | ||
"aerialway.pylon": 10, | ||
"aerialway.rope_tow": 11, | ||
"aerialway.station": 12, | ||
"aerialway.t-bar": 13, | ||
"aerialway.zip_line": 14, | ||
"aerialway.other": 15, | ||
"amenity.animal_boarding": 16, | ||
"amenity.animal_shelter": 17, | ||
"amenity.arts_centre": 18, | ||
"amenity.atm": 19, | ||
"amenity.baby_hatch": 20, | ||
"amenity.baking_oven": 21, | ||
"amenity.bank": 22, | ||
"amenity.bar": 23, | ||
"amenity.bbq": 24, | ||
"amenity.bench": 25, | ||
"amenity.bicycle_parking": 26, | ||
"amenity.bicycle_rental": 27, | ||
"amenity.bicycle_repair_station": 28, | ||
"amenity.biergarten": 29, | ||
"amenity.boat_rental": 30, | ||
"amenity.boat_sharing": 31, | ||
"amenity.brothel": 32, | ||
"amenity.bureau_de_change": 33, | ||
"amenity.bus_station": 34, | ||
"amenity.cafe": 35, | ||
"amenity.car_rental": 36, | ||
"amenity.car_sharing": 37, | ||
"amenity.car_wash": 38, | ||
"amenity.casino": 39, | ||
"amenity.charging_station": 40, | ||
"amenity.childcare": 41, | ||
"amenity.cinema": 42, | ||
"amenity.clinic": 43, | ||
"amenity.clock": 44, | ||
"amenity.college": 45, | ||
"amenity.community_centre": 46, | ||
"amenity.conference_centre": 47, | ||
"amenity.courthouse": 48, | ||
"amenity.coworking_space": 49, | ||
"amenity.crematorium": 50, | ||
"amenity.crypt": 51, | ||
"amenity.dentist": 52, | ||
"amenity.dive_centre": 53, | ||
"amenity.doctors": 54, | ||
"amenity.dojo": 55, | ||
"amenity.drinking_water": 56, | ||
"amenity.driving_school": 57, | ||
"amenity.embassy": 58, | ||
"amenity.fast food": 59, | ||
"amenity.ferry_terminal": 60, | ||
"amenity.firepit": 61, | ||
"amenity.fire_station": 62, | ||
"amenity.food_court": 63, | ||
"amenity.fountain": 64, | ||
"amenity.fuel": 65, | ||
"amenity.gambling": 66, | ||
"amenity.game_feeding": 67, | ||
"amenity.give_box": 68, | ||
"amenity.grave_yard": 69, | ||
"amenity.grit_bin": 70, | ||
"amenity.gym": 71, | ||
"amenity.hospital": 72, | ||
"amenity.hunting_stand": 73, | ||
"amenity.ice_cream": 74, | ||
"amenity.internet_cafe": 75, | ||
"amenity.kindergarten": 76, | ||
"amenity.kitchen": 77, | ||
"amenity.kneipp_water_cure": 78, | ||
"amenity.language_school": 79, | ||
"amenity.library": 80, | ||
"amenity.marketplace": 81, | ||
"amenity.monastery": 82, | ||
"amenity.motorcycle_parking": 83, | ||
"amenity.music_school": 84, | ||
"amenity.nightclub": 85, | ||
"amenity.nursing_home": 86, | ||
"amenity.parking": 87, | ||
"amenity.parking_entrance": 88, | ||
"amenity.parking_space": 89, | ||
"amenity.pharmacy": 90, | ||
"amenity.photo_booth": 91, | ||
"amenity.place_of_worship": 92, | ||
"amenity.planetarium": 93, | ||
"amenity.police": 94, | ||
"amenity.post_box": 95, | ||
"amenity.post_office": 96, | ||
"amenity.prison": 97, | ||
"amenity.pub": 98, | ||
"amenity.public_bookcase": 99, | ||
"amenity.public_building": 100, | ||
"amenity.ranger_station": 101, | ||
"amenity.recycling": 102, | ||
"amenity.refugee_site": 103, | ||
"amenity.rescue_station": 104, | ||
"amenity.restaurant": 105, | ||
"amenity.sanitary_dump_station": 106, | ||
"amenity.sauna": 107, | ||
"amenity.school": 108, | ||
"amenity.shelter": 109, | ||
"amenity.shower": 110, | ||
"amenity.social_centre": 111, | ||
"amenity.social_facility": 112, | ||
"amenity.stripclub": 113, | ||
"amenity.stripclub| amenity=stripclub": 114, | ||
"amenity.studio": 115, | ||
"amenity.swingerclub": 116, | ||
"amenity.table": 117, | ||
"amenity.taxi": 118, | ||
"amenity.telephone": 119, | ||
"amenity.theatre": 120, | ||
"amenity.toilets": 121, | ||
"amenity.townhall": 122, | ||
"amenity.toy_library": 123, | ||
"amenity.university": 124, | ||
"amenity.vehicle_inspection": 125, | ||
"amenity.vending_machine": 126, | ||
"amenity.veterinary": 127, | ||
"amenity.waste_basket": 128, | ||
"amenity.waste_disposal": 129, | ||
"amenity.waste_transfer_station": 130, | ||
"amenity.watering_place": 131, | ||
"amenity.water_point": 132, | ||
"amenity.other": 133, | ||
"barrier.block": 134, | ||
"barrier.bollard": 135, | ||
"barrier.border_control": 136, | ||
"barrier.bump_gate": 137, | ||
"barrier.bus_trap": 138, | ||
"barrier.cable_barrier": 139, | ||
"barrier.cattle_grid": 140, | ||
"barrier.chain": 141, | ||
"barrier.city_wall": 142, | ||
"barrier.cycle_barrier": 143, | ||
"barrier.debris": 144, | ||
"barrier.ditch": 145, | ||
"barrier.entrance": 146, | ||
"barrier.fence": 147, | ||
"barrier.full-height_turnstile": 148, | ||
"barrier.gate": 149, | ||
"barrier.guard_rail": 150, | ||
"barrier.hampshire_gate": 151, | ||
"barrier.handrail": 152, | ||
"barrier.hedge": 153, | ||
"barrier.height_restrictor": 154, | ||
"barrier.horse_stile": 155, | ||
"barrier.jersey_barrier": 156, | ||
"barrier.kent_carriage_gap": 157, | ||
"barrier.kerb": 158, | ||
"barrier.kissing_gate": 159, | ||
"barrier.lift_gate": 160, | ||
"barrier.log": 161, | ||
"barrier.motorcycle_barrier": 162, | ||
"barrier.retaining_wall": 163, | ||
"barrier.rope": 164, | ||
"barrier.sally_port": 165, | ||
"barrier.spikes": 166, | ||
"barrier.stile": 167, | ||
"barrier.sump_buster": 168, | ||
"barrier.swing_gate": 169, | ||
"barrier.tank_trap": 170, | ||
"barrier.toll_booth": 171, | ||
"barrier.turnstile": 172, | ||
"barrier.wall": 173, | ||
"barrier.yes": 174, | ||
"barrier.other": 175, | ||
"boundary.aboriginal_lands": 176, | ||
"boundary.administrative": 177, | ||
"boundary.historic": 178, | ||
"boundary.maritime": 179, | ||
"boundary.marker": 180, | ||
"boundary.national_park": 181, | ||
"boundary.political": 182, | ||
"boundary.postal_code": 183, | ||
"boundary.protected_area": 184, | ||
"boundary.religious_administration": 185, | ||
"boundary.other": 186, | ||
"highway.bridleway": 187, | ||
"highway.bus_guideway": 188, | ||
"highway.bus_stop": 189, | ||
"highway.construction": 190, | ||
"highway.corridor": 191, | ||
"highway.crossing": 192, | ||
"highway.cycleway": 193, | ||
"highway.elevator": 194, | ||
"highway.emergency_access_point": 195, | ||
"highway.escape": 196, | ||
"highway.footway": 197, | ||
"highway.give_way": 198, | ||
"highway.living_street": 199, | ||
"highway.mini_roundabout": 200, | ||
"highway.motorway": 201, | ||
"highway.motorway_junction": 202, | ||
"highway.motorway_link": 203, | ||
"highway.passing_place": 204, | ||
"highway.path": 205, | ||
"highway.pedestrian": 206, | ||
"highway.primary": 207, | ||
"highway.primary_link": 208, | ||
"highway.proposed": 209, | ||
"highway.raceway": 210, | ||
"highway.residential": 211, | ||
"highway.rest_area": 212, | ||
"highway.road": 213, | ||
"highway.secondary": 214, | ||
"highway.secondary_link": 215, | ||
"highway.service": 216, | ||
"highway.services": 217, | ||
"highway.speed_camera": 218, | ||
"highway.steps": 219, | ||
"highway.stop": 220, | ||
"highway.street_lamp": 221, | ||
"highway.tertiary": 222, | ||
"highway.tertiary_link": 223, | ||
"highway.toll_gantry": 224, | ||
"highway.track": 225, | ||
"highway.traffic_mirror": 226, | ||
"highway.traffic_signals": 227, | ||
"highway.trailhead": 228, | ||
"highway.trunk": 229, | ||
"highway.trunk_link": 230, | ||
"highway.turning_circle": 231, | ||
"highway.turning_loop": 232, | ||
"highway.unclassified": 233, | ||
"highway.other": 234, | ||
"historic.aircraft": 235, | ||
"historic.aqueduct": 236, | ||
"historic.archaeological_site": 237, | ||
"historic.battlefield": 238, | ||
"historic.boundary_stone": 239, | ||
"historic.building": 240, | ||
"historic.cannon": 241, | ||
"historic.castle": 242, | ||
"historic.castle_wall": 243, | ||
"historic.church": 244, | ||
"historic.city_gate": 245, | ||
"historic.citywalls": 246, | ||
"historic.farm": 247, | ||
"historic.fort": 248, | ||
"historic.gallows": 249, | ||
"historic.highwater_mark": 250, | ||
"historic.locomotive": 251, | ||
"historic.manor": 252, | ||
"historic.memorial": 253, | ||
"historic.milestone": 254, | ||
"historic.monastery": 255, | ||
"historic.monument": 256, | ||
"historic.optical_telegraph": 257, | ||
"historic.pillory": 258, | ||
"historic.railway_car": 259, | ||
"historic.ruins": 260, | ||
"historic.rune_stone": 261, | ||
"historic.ship": 262, | ||
"historic.tank": 263, | ||
"historic.tomb": 264, | ||
"historic.tree_shrine": 265, | ||
"historic.tower": 266, | ||
"historic.wayside_cross": 267, | ||
"historic.wayside_shrine": 268, | ||
"historic.wreck": 269, | ||
"historic.yes": 270, | ||
"historic.other": 271, | ||
"landuse.allotments": 272, | ||
"landuse.basin": 273, | ||
"landuse.brownfield": 274, | ||
"landuse.cemetery": 275, | ||
"landuse.commercial": 276, | ||
"landuse.conservation": 277, | ||
"landuse.construction": 278, | ||
"landuse.depot": 279, | ||
"landuse.farmland": 280, | ||
"landuse.farmyard": 281, | ||
"landuse.forest": 282, | ||
"landuse.garages": 283, | ||
"landuse.grass": 284, | ||
"landuse.greenfield": 285, | ||
"landuse.greenhouse_horticulture": 286, | ||
"landuse.landfill": 287, | ||
"landuse.military": 288, | ||
"landuse.meadow": 289, | ||
"landuse.industrial": 290, | ||
"landuse.orchard": 291, | ||
"landuse.pasture": 292, | ||
"landuse.peat_cutting": 293, | ||
"landuse.plant_nursery": 294, | ||
"landuse.port": 295, | ||
"landuse.quarry": 296, | ||
"landuse.railway": 297, | ||
"landuse.recreation_ground": 298, | ||
"landuse.religious": 299, | ||
"landuse.reservoir": 300, | ||
"landuse.salt_pond": 301, | ||
"landuse.residential": 302, | ||
"landuse.retail": 303, | ||
"landuse.village_green": 304, | ||
"landuse.vineyard": 305, | ||
"landuse.other": 306, | ||
"place.allotments": 307, | ||
"place.archipelago": 308, | ||
"place.borough": 309, | ||
"place.city": 310, | ||
"place.city_block": 311, | ||
"place.continent": 312, | ||
"place.country": 313, | ||
"place.county": 314, | ||
"place.district": 315, | ||
"place.farm": 316, | ||
"place.hamlet": 317, | ||
"place.island": 318, | ||
"place.islet": 319, | ||
"place.isolated_dwelling": 320, | ||
"place.locality": 321, | ||
"place.municipality": 322, | ||
"place.neighbourhood": 323, | ||
"place.ocean": 324, | ||
"place.plot": 325, | ||
"place.province": 326, | ||
"place.quarter": 327, | ||
"place.region": 328, | ||
"place.sea": 329, | ||
"place.square": 330, | ||
"place.state": 331, | ||
"place.suburb": 332, | ||
"place.town": 333, | ||
"place.village": 334, | ||
"place.other": 335, | ||
"railway.abandoned": 336, | ||
"railway.buffer_stop": 337, | ||
"railway.construction": 338, | ||
"railway.crossing": 339, | ||
"railway.derail": 340, | ||
"railway.disused": 341, | ||
"railway.funicular": 342, | ||
"railway.halt": 343, | ||
"railway.level_crossing": 344, | ||
"railway.light_rail": 345, | ||
"railway.miniature": 346, | ||
"railway.monorail": 347, | ||
"railway.narrow_gauge": 348, | ||
"railway.platform": 349, | ||
"railway.preserved": 350, | ||
"railway.rail": 351, | ||
"railway.railway_crossing": 352, | ||
"railway.roundhouse": 353, | ||
"railway.signal": 354, | ||
"railway.station": 355, | ||
"railway.subway": 356, | ||
"railway.subway_entrance": 357, | ||
"railway.switch": 358, | ||
"railway.tram": 359, | ||
"railway.tram_stop": 360, | ||
"railway.traverser": 361, | ||
"railway.turntable": 362, | ||
"railway.wash": 363, | ||
"railway.other": 364, | ||
"shop.agrarian": 365, | ||
"shop.alcohol": 366, | ||
"shop.anime": 367, | ||
"shop.antiques": 368, | ||
"shop.appliance": 369, | ||
"shop.art": 370, | ||
"shop.atv": 371, | ||
"shop.baby_goods": 372, | ||
"shop.bag": 373, | ||
"shop.bakery": 374, | ||
"shop.bathroom_furnishing": 375, | ||
"shop.beauty": 376, | ||
"shop.bed": 377, | ||
"shop.beverages": 378, | ||
"shop.bicycle": 379, | ||
"shop.boat": 380, | ||
"shop.bookmaker": 381, | ||
"shop.books": 382, | ||
"shop.boutique": 383, | ||
"shop.brewing_supplies": 384, | ||
"shop.butcher": 385, | ||
"shop.camera": 386, | ||
"shop.candles": 387, | ||
"shop.cannabis": 388, | ||
"shop.car": 389, | ||
"shop.caravan": 390, | ||
"shop.car_parts": 391, | ||
"shop.carpet": 392, | ||
"shop.car_repair": 393, | ||
"shop.charity": 394, | ||
"shop.cheese": 395, | ||
"shop.chemist": 396, | ||
"shop.chocolate": 397, | ||
"shop.clothes": 398, | ||
"shop.coffee": 399, | ||
"shop.collector": 400, | ||
"shop.computer": 401, | ||
"shop.confectionery": 402, | ||
"shop.convenience": 403, | ||
"shop.copyshop": 404, | ||
"shop.cosmetics": 405, | ||
"shop.craft": 406, | ||
"shop.curtain": 407, | ||
"shop.dairy": 408, | ||
"shop.deli": 409, | ||
"shop.department_store": 410, | ||
"shop.doityourself": 411, | ||
"shop.doors": 412, | ||
"shop.dry_cleaning": 413, | ||
"shop.e-cigarette": 414, | ||
"shop.electrical": 415, | ||
"shop.electronics": 416, | ||
"shop.energy": 417, | ||
"shop.erotic": 418, | ||
"shop.fabric": 419, | ||
"shop.farm": 420, | ||
"shop.fashion": 421, | ||
"shop.fashion_accessories": 422, | ||
"shop.fireplace": 423, | ||
"shop.fishing": 424, | ||
"shop.flooring": 425, | ||
"shop.florist": 426, | ||
"shop.frame": 427, | ||
"shop.free_flying": 428, | ||
"shop.frozen_food": 429, | ||
"shop.fuel": 430, | ||
"shop.funeral_directors": 431, | ||
"shop.furniture": 432, | ||
"shop.games": 433, | ||
"shop.garden_centre": 434, | ||
"shop.garden_furniture": 435, | ||
"shop.gas": 436, | ||
"shop.general": 437, | ||
"shop.gift": 438, | ||
"shop.glaziery": 439, | ||
"shop.golf": 440, | ||
"shop.greengrocer": 441, | ||
"shop.hairdresser": 442, | ||
"shop.hairdresser_supply": 443, | ||
"shop.hardware": 444, | ||
"shop.health_food": 445, | ||
"shop.hearing_aids": 446, | ||
"shop.herbalist": 447, | ||
"shop.hifi": 448, | ||
"shop.household_linen": 449, | ||
"shop.houseware": 450, | ||
"shop.hunting": 451, | ||
"shop.ice_cream": 452, | ||
"shop.interior_decoration": 453, | ||
"shop.jetski": 454, | ||
"shop.jewelry": 455, | ||
"shop.kiosk": 456, | ||
"shop.kitchen": 457, | ||
"shop.lamps": 458, | ||
"shop.laundry": 459, | ||
"shop.leather": 460, | ||
"shop.lighting": 461, | ||
"shop.locksmith": 462, | ||
"shop.lottery": 463, | ||
"shop.mall": 464, | ||
"shop.massage": 465, | ||
"shop.medical_supply": 466, | ||
"shop.military_surplus": 467, | ||
"shop.mobile_phone": 468, | ||
"shop.model": 469, | ||
"shop.money_lender": 470, | ||
"shop.motorcycle": 471, | ||
"shop.music": 472, | ||
"shop.musical_instrument": 473, | ||
"shop.newsagent": 474, | ||
"shop.nutrition_supplements": 475, | ||
"shop.perfumery": 476, | ||
"shop.optician": 477, | ||
"shop.organic": 478, | ||
"shop.outdoor": 479, | ||
"shop.outpost": 480, | ||
"shop.paint": 481, | ||
"shop.pasta": 482, | ||
"shop.pastry": 483, | ||
"shop.party": 484, | ||
"shop.pawnbroker": 485, | ||
"shop.pest_control": 486, | ||
"shop.pet": 487, | ||
"shop.pet_grooming": 488, | ||
"shop.photo": 489, | ||
"shop.pyrotechnics": 490, | ||
"shop.radiotechnics": 491, | ||
"shop.religion": 492, | ||
"shop.robot": 493, | ||
"shop.scuba_diving": 494, | ||
"shop.seafood": 495, | ||
"shop.second_hand": 496, | ||
"shop.security": 497, | ||
"shop.sewing": 498, | ||
"shop.shoes": 499, | ||
"shop.ski": 500, | ||
"shop.snowmobile": 501, | ||
"shop.spices": 502, | ||
"shop.sports": 503, | ||
"shop.stationery": 504, | ||
"shop.storage_rental": 505, | ||
"shop.supermarket": 506, | ||
"shop.swimming_pool": 507, | ||
"shop.tailor": 508, | ||
"shop.tattoo": 509, | ||
"shop.tea": 510, | ||
"shop.ticket": 511, | ||
"shop.tiles": 512, | ||
"shop.tobacco": 513, | ||
"shop.toys": 514, | ||
"shop.trade": 515, | ||
"shop.trailer": 516, | ||
"shop.travel_agency": 517, | ||
"shop.trophy": 518, | ||
"shop.tyres": 519, | ||
"shop.vacant": 520, | ||
"shop.vacuum_cleaner": 521, | ||
"shop.variety_store": 522, | ||
"shop.video": 523, | ||
"shop.video_games": 524, | ||
"shop.watches": 525, | ||
"shop.water": 526, | ||
"shop.weapons": 527, | ||
"shop.wholesale": 528, | ||
"shop.window_blind": 529, | ||
"shop.wine": 530, | ||
"shop.wool": 531, | ||
"shop.other": 532, | ||
"sport.9pin": 533, | ||
"sport.10pin": 534, | ||
"sport.american_football": 535, | ||
"sport.aikido": 536, | ||
"sport.archery": 537, | ||
"sport.athletics": 538, | ||
"sport.australian_football": 539, | ||
"sport.badminton": 540, | ||
"sport.bandy": 541, | ||
"sport.baseball": 542, | ||
"sport.basketball": 543, | ||
"sport.beachvolleyball": 544, | ||
"sport.biathlon": 545, | ||
"sport.billiards": 546, | ||
"sport.bmx": 547, | ||
"sport.bobsleigh": 548, | ||
"sport.boules": 549, | ||
"sport.bowls": 550, | ||
"sport.boxing": 551, | ||
"sport.bullfighting": 552, | ||
"sport.canadian_football": 553, | ||
"sport.canoe": 554, | ||
"sport.chess": 555, | ||
"sport.cliff_diving": 556, | ||
"sport.climbing": 557, | ||
"sport.climbing_adventure": 558, | ||
"sport.cockfighting": 559, | ||
"sport.cricket": 560, | ||
"sport.crossfit": 561, | ||
"sport.croquet": 562, | ||
"sport.curling": 563, | ||
"sport.cycling": 564, | ||
"sport.darts": 565, | ||
"sport.dog_agility": 566, | ||
"sport.dog_racing": 567, | ||
"sport.diving": 568, | ||
"sport.equestrian": 569, | ||
"sport.fencing": 570, | ||
"sport.field_hockey": 571, | ||
"sport.fitness": 572, | ||
"sport.floorball": 573, | ||
"sport.free_flying": 574, | ||
"sport.football": 575, | ||
"sport.futsal": 576, | ||
"sport.gaelic_games": 577, | ||
"sport.golf": 578, | ||
"sport.gymnastics": 579, | ||
"sport.handball": 580, | ||
"sport.hapkido": 581, | ||
"sport.hockey": 582, | ||
"sport.horseshoes": 583, | ||
"sport.horse_racing": 584, | ||
"sport.ice_hockey": 585, | ||
"sport.ice_skating": 586, | ||
"sport.ice_stock": 587, | ||
"sport.judo": 588, | ||
"sport.karate": 589, | ||
"sport.karting": 590, | ||
"sport.kickboxing": 591, | ||
"sport.kitesurfing": 592, | ||
"sport.korfball": 593, | ||
"sport.krachtbal": 594, | ||
"sport.lacrosse": 595, | ||
"sport.martial_arts": 596, | ||
"sport.miniature_golf": 597, | ||
"sport.model_aerodrome": 598, | ||
"sport.motocross": 599, | ||
"sport.motor": 600, | ||
"sport.multi": 601, | ||
"sport.netball": 602, | ||
"sport.obstacle_course": 603, | ||
"sport.orienteering": 604, | ||
"sport.paddle_tennis": 605, | ||
"sport.padel": 606, | ||
"sport.parachuting": 607, | ||
"sport.paragliding": 608, | ||
"sport.parkour": 609, | ||
"sport.pelota": 610, | ||
"sport.pesäpallo": 611, | ||
"sport.pickleball": 612, | ||
"sport.pilates": 613, | ||
"sport.racquet": 614, | ||
"sport.rc_car": 615, | ||
"sport.roller_skating": 616, | ||
"sport.rowing": 617, | ||
"sport.rugby_league": 618, | ||
"sport.rugby_union": 619, | ||
"sport.running": 620, | ||
"sport.safety_training": 621, | ||
"sport.sailing": 622, | ||
"sport.scuba_diving": 623, | ||
"sport.shooting": 624, | ||
"sport.shot-put": 625, | ||
"sport.skateboard": 626, | ||
"sport.skating": 627, | ||
"sport.skiing": 628, | ||
"sport.ski_jumping": 629, | ||
"sport.snooker": 630, | ||
"sport.soccer": 631, | ||
"sport.speedway": 632, | ||
"sport.squash": 633, | ||
"sport.sumo": 634, | ||
"sport.surfing": 635, | ||
"sport.swimming": 636, | ||
"sport.table_soccer": 637, | ||
"sport.table_tennis": 638, | ||
"sport.taekwondo": 639, | ||
"sport.tennis": 640, | ||
"sport.toboggan": 641, | ||
"sport.ultimate": 642, | ||
"sport.volleyball": 643, | ||
"sport.wakeboarding": 644, | ||
"sport.water_polo": 645, | ||
"sport.water_ski": 646, | ||
"sport.weightlifting": 647, | ||
"sport.wrestling": 648, | ||
"sport.yoga": 649, | ||
"sport.other": 650, | ||
"waterway.boatyard": 651, | ||
"waterway.canal": 652, | ||
"waterway.dam": 653, | ||
"waterway.ditch": 654, | ||
"waterway.dock": 655, | ||
"waterway.drain": 656, | ||
"waterway.drystream": 657, | ||
"waterway.fairway": 658, | ||
"waterway.fuel": 659, | ||
"waterway.lock_gate": 660, | ||
"waterway.pressurised": 661, | ||
"waterway.river": 662, | ||
"waterway.riverbank": 663, | ||
"waterway.stream": 664, | ||
"waterway.tidal_channel": 665, | ||
"waterway.turning_point": 666, | ||
"waterway.wadi": 667, | ||
"waterway.waterfall": 668, | ||
"waterway.water_point": 669, | ||
"waterway.weir": 670, | ||
"waterway.other": 671, | ||
"aeroway.aerodrome": 672, | ||
"aeroway.apron": 673, | ||
"aeroway.gate": 674, | ||
"aeroway.hangar": 675, | ||
"aeroway.helipad": 676, | ||
"aeroway.heliport": 677, | ||
"aeroway.navigationaid": 678, | ||
"aeroway.runway": 679, | ||
"aeroway.spaceport": 680, | ||
"aeroway.taxiway": 681, | ||
"aeroway.terminal": 682, | ||
"aeroway.windsock": 683, | ||
"building.apartments": 684, | ||
"building.bungalow": 685, | ||
"building.cabin": 686, | ||
"building.detached": 687, | ||
"building.dormitory": 688, | ||
"building.farm": 689, | ||
"building.ger": 690, | ||
"building.hotel": 691, | ||
"building.house": 692, | ||
"building.houseboat": 693, | ||
"building.residential": 694, | ||
"building.semidetached_house": 695, | ||
"building.static_caravan": 696, | ||
"building.terrace": 697, | ||
"building.commercial": 698, | ||
"building.industrial": 699, | ||
"building.kiosk": 700, | ||
"building.office": 701, | ||
"building.retail": 702, | ||
"building.supermarket": 703, | ||
"building.warehouse": 704, | ||
"building.cathedral": 705, | ||
"building.chapel": 706, | ||
"building.church": 707, | ||
"building.mosque": 708, | ||
"building.religious": 709, | ||
"building.shrine": 710, | ||
"building.synagogue": 711, | ||
"building.temple": 712, | ||
"building.bakehouse": 713, | ||
"building.civic": 714, | ||
"building.fire_station": 715, | ||
"building.government": 716, | ||
"building.hospital": 717, | ||
"building.kindergarten": 718, | ||
"building.public": 719, | ||
"building.school": 720, | ||
"building.toilets": 721, | ||
"building.train_station": 722, | ||
"building.transportation": 723, | ||
"building.university": 724, | ||
"building.barn": 725, | ||
"building.conservatory": 726, | ||
"building.cowshed": 727, | ||
"building.farm_auxiliary": 728, | ||
"building.greenhouse": 729, | ||
"building.stable": 730, | ||
"building.sty": 731, | ||
"building.grandstand": 732, | ||
"building.pavilion": 733, | ||
"building.riding_hall": 734, | ||
"building.sports_hall": 735, | ||
"building.stadium": 736, | ||
"building.hangar": 737, | ||
"building.hut": 738, | ||
"building.shed": 739, | ||
"building.carport": 740, | ||
"building.garage": 741, | ||
"building.garages": 742, | ||
"building.parking": 743, | ||
"building.digester": 744, | ||
"building.service": 745, | ||
"building.transformer_tower": 746, | ||
"building.water_tower": 747, | ||
"building.bunker": 748, | ||
"building.bridge": 749, | ||
"building.construction": 750, | ||
"building.roof": 751, | ||
"building.ruins": 752, | ||
"building.tree_house": 753, | ||
"building.other": 754, | ||
"craft.agricultural_engines": 755, | ||
"craft.atelier": 756, | ||
"craft.bakery": 757, | ||
"craft.basket_maker": 758, | ||
"craft.beekeeper": 759, | ||
"craft.blacksmith": 760, | ||
"craft.boatbuilder": 761, | ||
"craft.bookbinder": 762, | ||
"craft.brewery": 763, | ||
"craft.builder": 764, | ||
"craft.cabinet_maker": 765, | ||
"craft.car_painter": 766, | ||
"craft.carpenter": 767, | ||
"craft.carpet_layer": 768, | ||
"craft.caterer": 769, | ||
"craft.chimney_sweeper": 770, | ||
"craft.clockmaker": 771, | ||
"craft.confectionary": 772, | ||
"craft.cooper": 773, | ||
"craft.dental_technician": 774, | ||
"craft.distillery": 775, | ||
"craft.door_construction": 776, | ||
"craft.dressmaker": 777, | ||
"craft.electronics_repair": 778, | ||
"craft.embroiderer": 779, | ||
"craft.electrician": 780, | ||
"craft.engraver": 781, | ||
"craft.floorer": 782, | ||
"craft.gardener": 783, | ||
"craft.glaziery": 784, | ||
"craft.grinding_mill": 785, | ||
"craft.handicraft": 786, | ||
"craft.hvac": 787, | ||
"craft.insulation": 788, | ||
"craft.jeweller": 789, | ||
"craft.joiner": 790, | ||
"craft.key_cutter": 791, | ||
"craft.locksmith": 792, | ||
"craft.metal_construction": 793, | ||
"craft.mint": 794, | ||
"craft.musical_instrument": 795, | ||
"craft.oil_mill": 796, | ||
"craft.optician": 797, | ||
"craft.organ_builder": 798, | ||
"craft.painter": 799, | ||
"craft.parquet_layer": 800, | ||
"craft.photographer": 801, | ||
"craft.photographic_laboratory": 802, | ||
"craft.piano_tuner": 803, | ||
"craft.plasterer": 804, | ||
"craft.plumber": 805, | ||
"craft.pottery": 806, | ||
"craft.printer": 807, | ||
"craft.printmaker": 808, | ||
"craft.rigger": 809, | ||
"craft.roofer": 810, | ||
"craft.saddler": 811, | ||
"craft.sailmaker": 812, | ||
"craft.sawmill": 813, | ||
"craft.scaffolder": 814, | ||
"craft.sculptor": 815, | ||
"craft.shoemaker": 816, | ||
"craft.signmaker": 817, | ||
"craft.stand_builder": 818, | ||
"craft.stonemason": 819, | ||
"craft.sun_protection": 820, | ||
"craft.tailor": 821, | ||
"craft.tiler": 822, | ||
"craft.tinsmith": 823, | ||
"craft.toolmaker": 824, | ||
"craft.turner": 825, | ||
"craft.upholsterer": 826, | ||
"craft.watchmaker": 827, | ||
"craft.water_well_drilling": 828, | ||
"craft.window_construction": 829, | ||
"craft.winery": 830, | ||
"craft.other": 831, | ||
"emergency.ambulance_station": 832, | ||
"emergency.defibrillator": 833, | ||
"emergency.landing_site": 834, | ||
"emergency.emergency_ward_entrance": 835, | ||
"emergecy.dry_riser_inlet": 836, | ||
"emergency.fire_alarm_box": 837, | ||
"emergency.fire_extinguisher": 838, | ||
"emergency.firehose": 839, | ||
"emergency.fire_hydrant": 840, | ||
"emergency.water_tank": 841, | ||
"emergency.suction_point": 842, | ||
"emergency.lifeguard": 843, | ||
"emergency.lifeguard_base": 844, | ||
"emergency.lifeguard_tower": 845, | ||
"emergency.lifeguard_platform": 846, | ||
"emergency.life_ring": 847, | ||
"emergency.assembly_point": 848, | ||
"emergency.phone": 849, | ||
"emergency.siren": 850, | ||
"emergency.drinking_water": 851, | ||
"emergency.other": 852, | ||
"geological.moraine": 853, | ||
"geological.outcrop": 854, | ||
"geological.palaeontological_site": 855, | ||
"geological.other": 856, | ||
"cycleway.lane": 857, | ||
"cycleway.opposite": 858, | ||
"cycleway.opposite_lane": 859, | ||
"cycleway.track": 860, | ||
"cycleway.opposite_track": 861, | ||
"cycleway.share_busway": 862, | ||
"cycleway.opposite_share_busway": 863, | ||
"cycleway.shared_lane": 864, | ||
"busway.lane": 865, | ||
"leisure.adult_gaming_centre": 866, | ||
"leisure.amusement_arcade": 867, | ||
"lesure.beach_resort": 868, | ||
"leisure.bandstand": 869, | ||
"leisure.bird_hide": 870, | ||
"leisure.common": 871, | ||
"leisure.dance": 872, | ||
"leisure.disc_golf_course": 873, | ||
"leisure.dog_park": 874, | ||
"leisure.escape_game": 875, | ||
"leisure.firepit": 876, | ||
"leisure.fishing": 877, | ||
"leisure.fitness_centre": 878, | ||
"leisure.garden": 879, | ||
"leisure.hackerspace": 880, | ||
"leisure.horse_riding": 881, | ||
"leisure.ice_rink": 882, | ||
"leisure.marina": 883, | ||
"leisure.miniature_golf": 884, | ||
"leisure.nature_reserve": 885, | ||
"leisure.park": 886, | ||
"leisure.picnic_table": 887, | ||
"leisure.pitch": 888, | ||
"leisure.playground": 889, | ||
"leisure.slipway": 890, | ||
"leisure.sports_centre": 891, | ||
"leisure.stadium": 892, | ||
"leisure.summer_camp": 893, | ||
"leisure.swimming_area": 894, | ||
"leisure.swimming_pool": 895, | ||
"leisure.track": 896, | ||
"leisure.water_park": 897, | ||
"leisure.other": 898, | ||
"man_made.adit": 899, | ||
"man_made.beacon": 900, | ||
"man_made.breakwater": 901, | ||
"man_made.bridge": 902, | ||
"man_made.bunker_silo": 903, | ||
"man_made.carpet_hanger": 904, | ||
"man_made.chimney": 905, | ||
"man_made.communications_tower": 906, | ||
"man_made.crane": 907, | ||
"man_made.cross": 908, | ||
"man_made.cutline": 909, | ||
"man_made.clearcut": 910, | ||
"man_made.dovecote": 911, | ||
"man_made.dyke": 912, | ||
"man_made.embankment": 913, | ||
"man_made.flagpole": 914, | ||
"man_made.gasometer": 915, | ||
"man_made.goods_conveyor": 916, | ||
"man_made.groyne": 917, | ||
"man_made.kiln": 918, | ||
"man_made.lighthouse": 919, | ||
"man_made.mast": 920, | ||
"man_made.mineshaft": 921, | ||
"man_made.monitoring_station": 922, | ||
"man_made.obelisk": 923, | ||
"man_made.observatory": 924, | ||
"man_made.offshore_platform": 925, | ||
"man_made.petroleum_well": 926, | ||
"man_made.pier": 927, | ||
"man_made.pipeline": 928, | ||
"man_made.pumping_station": 929, | ||
"man_made.reservoir_covered": 930, | ||
"man_made.silo": 931, | ||
"man_made.snow_fence": 932, | ||
"man_made.snow_net": 933, | ||
"man_made.storage_tank": 934, | ||
"man_made.street_cabinet": 935, | ||
"man_made.surveillance": 936, | ||
"man_made.survey_point": 937, | ||
"man_made.telescope": 938, | ||
"man_made.tower": 939, | ||
"man_made.wastewater_plant": 940, | ||
"man_made.watermill": 941, | ||
"man_made.water_tower": 942, | ||
"man_made.water_well": 943, | ||
"man_made.water_tap": 944, | ||
"man_made.water_works": 945, | ||
"man_made.wildlife_crossing": 946, | ||
"man_made.windmill": 947, | ||
"man_made.works": 948, | ||
"man_made.other": 949, | ||
"military:airfield": 950, | ||
"military:barracks": 951, | ||
"military:bunker": 952, | ||
"military:checkpoint": 953, | ||
"military:danger_area": 954, | ||
"military:naval_base": 955, | ||
"military:nuclear_explosion_site": 956, | ||
"military:obstacle_course": 957, | ||
"military:office": 958, | ||
"military:range": 959, | ||
"military:training_area": 960, | ||
"military:trench": 961, | ||
"military:other": 962, | ||
"natural:wood": 963, | ||
"natural:tree_row": 964, | ||
"natural:tree": 965, | ||
"natural:scrub": 966, | ||
"natural:heath": 967, | ||
"natural:moor": 968, | ||
"natural:grassland": 969, | ||
"natural:fell": 970, | ||
"natural:bare_rock": 971, | ||
"natural:scree": 972, | ||
"natural:shingle": 973, | ||
"natural:sand": 974, | ||
"natural:mud": 975, | ||
"natural:water": 976, | ||
"natural:wetland": 977, | ||
"natural:glacier": 978, | ||
"natural:bay": 979, | ||
"natural:strait": 980, | ||
"natural:cape": 981, | ||
"natural:beach": 982, | ||
"natural:coastline": 983, | ||
"natural:reef": 984, | ||
"natural:spring": 985, | ||
"natural:hot_spring": 986, | ||
"natural:geyser": 987, | ||
"natural:blowhole": 988, | ||
"natural:peak": 989, | ||
"natural:volcano": 990, | ||
"natural:valley": 991, | ||
"natural:peninsula": 992, | ||
"natural:isthmus": 993, | ||
"natural:ridge": 994, | ||
"natural:arete": 995, | ||
"natural:cliff": 996, | ||
"natural:saddle": 997, | ||
"natural:dune": 998, | ||
"natural:rock": 999, | ||
"natural:stone": 1000, | ||
"natural:sinkhole": 1001, | ||
"natural:cave_entrance": 1002, | ||
"natural:other": 1003, | ||
"office:accountant": 1004, | ||
"office:adoption_agency": 1005, | ||
"office:advertising_agency": 1006, | ||
"office:architect": 1007, | ||
"office:association": 1008, | ||
"office:bail_bond_agent": 1009, | ||
"office:charity": 1010, | ||
"office:company": 1011, | ||
"office:consulting": 1012, | ||
"office:coworking": 1013, | ||
"office:diplomatic": 1014, | ||
"office:educational_institution": 1015, | ||
"office:employment_agency": 1016, | ||
"office.energy_supplier": 1017, | ||
"office.engineer": 1018, | ||
"office.estate_agent": 1019, | ||
"office.financial": 1020, | ||
"office.forestry": 1021, | ||
"office.foundation": 1022, | ||
"office.gedesist": 1023, | ||
"office.government": 1024, | ||
"office.graphic_design": 1025, | ||
"office.guide": 1026, | ||
"office.harbour_master": 1027, | ||
"office.insurance": 1028, | ||
"office.it": 1029, | ||
"office.lawyer": 1030, | ||
"office.logistics": 1031, | ||
"office.moving_company": 1032, | ||
"office.newspaper": 1033, | ||
"office.ngo": 1034, | ||
"office.notary": 1035, | ||
"office.political_party": 1036, | ||
"office.private_investigator": 1037, | ||
"office.property_management": 1038, | ||
"office.quango": 1039, | ||
"office.religion": 1040, | ||
"office.research": 1041, | ||
"office.security": 1042, | ||
"office.surveyor": 1043, | ||
"office.tax": 1044, | ||
"office.tax_advisor": 1045, | ||
"office.telecommunication": 1046, | ||
"office.union": 1047, | ||
"office.visa": 1048, | ||
"office.water_utility": 1049, | ||
"office.other": 1050, | ||
"power.cable": 1051, | ||
"power.catenary_mast": 1052, | ||
"power.compensator": 1053, | ||
"power.converter": 1054, | ||
"power.generator": 1055, | ||
"power.heliostat": 1056, | ||
"power.insulator": 1057, | ||
"power.line": 1058, | ||
"power.minor_line": 1059, | ||
"power.plant": 1060, | ||
"power.pole": 1061, | ||
"power.portal": 1062, | ||
"power.substation": 1063, | ||
"power.switchgear": 1064, | ||
"power.terminal": 1065, | ||
"power.tower": 1066, | ||
"power.transformer": 1067, | ||
"power.other": 1068, | ||
"line.busbar": 1069, | ||
"line.bay": 1070, | ||
"public_transport.stop_position": 1071, | ||
"public_transport.platform": 1072, | ||
"public_transport.station": 1073, | ||
"public_transport.stop_area": 1074, | ||
"public_transport.other": 1075, | ||
"route.bicycle": 1076, | ||
"route.bus": 1077, | ||
"route.canoe": 1078, | ||
"route.detour": 1079, | ||
"route.ferry": 1080, | ||
"route.foot": 1081, | ||
"route.hiking": 1082, | ||
"route.horse": 1083, | ||
"route.inline_skates": 1084, | ||
"route.light_rail": 1085, | ||
"route.mtb": 1086, | ||
"route.piste": 1087, | ||
"route.power": 1088, | ||
"route.railway": 1089, | ||
"route.road": 1090, | ||
"route.running": 1091, | ||
"route.ski": 1092, | ||
"route.subway": 1093, | ||
"route.train": 1094, | ||
"route.tracks": 1095, | ||
"route.tram": 1096, | ||
"route.trolleybus": 1097, | ||
"route.other": 1098, | ||
"telecom.exchange": 1099, | ||
"telecom.connection_point": 1100, | ||
"telecom.distribution_point": 1101, | ||
"telecom.service_device": 1102, | ||
"telecom.data_center": 1103, | ||
"telecom.other": 1104, | ||
"tourism.alpine_hut": 1105, | ||
"tourism.apartment": 1106, | ||
"tourism.aquarium": 1107, | ||
"tourism.artwork": 1108, | ||
"tourism.attraction": 1109, | ||
"tourism.camp_pitch": 1110, | ||
"tourism.camp_site": 1111, | ||
"tourism.caravan_site": 1112, | ||
"tourism.chalet": 1113, | ||
"tourism.gallery": 1114, | ||
"tourism.guest_house": 1115, | ||
"tourism.hostel": 1116, | ||
"tourism.hotel": 1117, | ||
"tourism.information": 1118, | ||
"tourism.motel": 1119, | ||
"tourism.museum": 1120, | ||
"tourism.picnic_site": 1121, | ||
"tourism.theme_park": 1122, | ||
"tourism.viewpoint": 1123, | ||
"tourism.wilderness_hut": 1124, | ||
"tourism.zoo": 1125, | ||
"tourism.other": 1126 | ||
} |
{ | ||
"name": "georender-pack", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "pack and unpack osm data based on the peermaps buffer schema", | ||
@@ -19,3 +19,3 @@ "main": "index.js", | ||
"earcut": "^2.2.1", | ||
"osm-is-area": "^1.0.0", | ||
"osm-is-area": "^1.0.4", | ||
"polyline-normals": "^2.0.2", | ||
@@ -22,0 +22,0 @@ "split2": "^3.1.1", |
@@ -118,3 +118,4 @@ pack osm data into a buffer based on the [peermaps buffer | ||
ids: Float32Array [], | ||
positions: Float32Array [] | ||
positions: Float32Array [], | ||
labels: {} // id => [ label strings ] | ||
}, | ||
@@ -124,3 +125,4 @@ line: { | ||
ids: Float32Array [], | ||
positions: Float32Array [] | ||
positions: Float32Array [], | ||
labels: {} // id => [ label strings ] | ||
}, | ||
@@ -131,3 +133,4 @@ area: { | ||
positions: Float32Array [], | ||
cells: Uint32Array [] | ||
cells: Uint32Array [], | ||
labels: {} // id => [ label strings ] | ||
} | ||
@@ -141,2 +144,8 @@ } | ||
here's an example of what an array of label strings might look like: | ||
``` | ||
['=Toshkent', 'aa=Tashkent', 'en=Tashkent', 'alt:uz=Тoшкент'] | ||
``` | ||
# installation | ||
@@ -143,0 +152,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
49697
1486
155
1
Updatedosm-is-area@^1.0.4