├── .gitignore ├── .idea ├── .name ├── ant.xml ├── codeStyleSettings.xml ├── compiler.xml ├── copyright │ └── profiles_settings.xml ├── encodings.xml ├── findbugs-idea.xml ├── inspectionProfiles │ ├── Project_Default.xml │ └── profiles_settings.xml ├── jenkinsSettings.xml ├── jsLinters │ ├── jshint.xml │ └── jslint.xml ├── misc.xml ├── modules.xml ├── scopes │ └── scope_settings.xml ├── uiDesigner.xml └── vcs.xml ├── .travis.yml ├── API.md ├── ARCHITECTURE.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── NOTES.md ├── README.md ├── atlassian-ide-plugin.xml ├── build.js ├── css ├── app.css ├── feature-icons.css ├── img ├── map.css └── reset.css ├── data ├── core.yaml ├── data_dev.js ├── deprecated.json ├── discarded.json ├── feature-icons.json ├── floorplan-core.yaml ├── floorplan-presets.yaml ├── imagery.json ├── imagery.xml ├── imagery_convert.js ├── imperial.json ├── introGraph.js ├── line-icons.json ├── locales.json ├── maki_sprite.js ├── operations-sprite.json ├── presets.yaml ├── presets │ ├── README.md │ ├── categories.json │ ├── categories │ │ ├── landuse.json │ │ ├── path.json │ │ ├── rail.json │ │ ├── road.json │ │ └── water.json │ ├── defaults.json │ ├── fields.json │ ├── fields │ │ ├── access.json │ │ ├── address.json │ │ ├── admin_level.json │ │ ├── aeroway.json │ │ ├── amenity.json │ │ ├── atm.json │ │ ├── barrier.json │ │ ├── bicycle_parking.json │ │ ├── building.json │ │ ├── building_area.json │ │ ├── building_yes.json │ │ ├── capacity.json │ │ ├── cardinal_direction.json │ │ ├── clock_direction.json │ │ ├── collection_times.json │ │ ├── construction.json │ │ ├── country.json │ │ ├── crossing.json │ │ ├── cuisine.json │ │ ├── denomination.json │ │ ├── denotation.json │ │ ├── elevation.json │ │ ├── emergency.json │ │ ├── entrance.json │ │ ├── fax.json │ │ ├── fee.json │ │ ├── highway.json │ │ ├── historic.json │ │ ├── iata.json │ │ ├── icao.json │ │ ├── incline.json │ │ ├── internet_access.json │ │ ├── landuse.json │ │ ├── lanes.json │ │ ├── layer.json │ │ ├── leisure.json │ │ ├── levels.json │ │ ├── location.json │ │ ├── man_made.json │ │ ├── maxspeed.json │ │ ├── name.json │ │ ├── natural.json │ │ ├── network.json │ │ ├── note.json │ │ ├── office.json │ │ ├── oneway.json │ │ ├── oneway_yes.json │ │ ├── opening_hours.json │ │ ├── operator.json │ │ ├── park_ride.json │ │ ├── parking.json │ │ ├── phone.json │ │ ├── place.json │ │ ├── power.json │ │ ├── railway.json │ │ ├── ref.json │ │ ├── religion.json │ │ ├── sac_scale.json │ │ ├── service.json │ │ ├── shelter.json │ │ ├── shop.json │ │ ├── source.json │ │ ├── sport.json │ │ ├── structure.json │ │ ├── supervised.json │ │ ├── surface.json │ │ ├── tourism.json │ │ ├── towertype.json │ │ ├── tracktype.json │ │ ├── trail_visibility.json │ │ ├── water.json │ │ ├── waterway.json │ │ ├── website.json │ │ ├── wetland.json │ │ ├── wheelchair.json │ │ ├── wikipedia.json │ │ └── wood.json │ ├── floorplan-categories.json │ ├── floorplan-defaults.json │ ├── floorplan-fields.json │ ├── floorplan-presets.json │ ├── presets.json │ ├── presets │ │ ├── aeroway.json │ │ ├── aeroway │ │ │ ├── aerodrome.json │ │ │ ├── apron.json │ │ │ ├── gate.json │ │ │ ├── hangar.json │ │ │ ├── helipad.json │ │ │ ├── runway.json │ │ │ ├── taxiway.json │ │ │ └── terminal.json │ │ ├── amenity.json │ │ ├── amenity │ │ │ ├── bank.json │ │ │ ├── bar.json │ │ │ ├── bench.json │ │ │ ├── bicycle_parking.json │ │ │ ├── bicycle_rental.json │ │ │ ├── cafe.json │ │ │ ├── car_wash.json │ │ │ ├── cinema.json │ │ │ ├── college.json │ │ │ ├── courthouse.json │ │ │ ├── embassy.json │ │ │ ├── fast_food.json │ │ │ ├── fire_station.json │ │ │ ├── fountain.json │ │ │ ├── fuel.json │ │ │ ├── grave_yard.json │ │ │ ├── hospital.json │ │ │ ├── kindergarten.json │ │ │ ├── library.json │ │ │ ├── marketplace.json │ │ │ ├── parking.json │ │ │ ├── pharmacy.json │ │ │ ├── place_of_worship.json │ │ │ ├── place_of_worship │ │ │ │ ├── christian.json │ │ │ │ ├── jewish.json │ │ │ │ └── muslim.json │ │ │ ├── police.json │ │ │ ├── post_box.json │ │ │ ├── post_office.json │ │ │ ├── pub.json │ │ │ ├── restaurant.json │ │ │ ├── school.json │ │ │ ├── swimming_pool.json │ │ │ ├── telephone.json │ │ │ ├── theatre.json │ │ │ ├── toilets.json │ │ │ ├── townhall.json │ │ │ ├── university.json │ │ │ └── waste_basket.json │ │ ├── barrier.json │ │ ├── barrier │ │ │ ├── block.json │ │ │ ├── bollard.json │ │ │ ├── cattle_grid.json │ │ │ ├── city_wall.json │ │ │ ├── cycle_barrier.json │ │ │ ├── ditch.json │ │ │ ├── entrance.json │ │ │ ├── fence.json │ │ │ ├── gate.json │ │ │ ├── hedge.json │ │ │ ├── kissing_gate.json │ │ │ ├── lift_gate.json │ │ │ ├── retaining_wall.json │ │ │ ├── stile.json │ │ │ ├── toll_booth.json │ │ │ └── wall.json │ │ ├── boundary │ │ │ └── administrative.json │ │ ├── building.json │ │ ├── building │ │ │ ├── apartments.json │ │ │ ├── entrance.json │ │ │ └── house.json │ │ ├── emergency │ │ │ └── phone.json │ │ ├── entrance.json │ │ ├── highway.json │ │ ├── highway │ │ │ ├── bridleway.json │ │ │ ├── bus_stop.json │ │ │ ├── crossing.json │ │ │ ├── cycleway.json │ │ │ ├── footway.json │ │ │ ├── living_street.json │ │ │ ├── mini_roundabout.json │ │ │ ├── motorway.json │ │ │ ├── motorway_junction.json │ │ │ ├── motorway_link.json │ │ │ ├── path.json │ │ │ ├── pedestrian.json │ │ │ ├── primary.json │ │ │ ├── primary_link.json │ │ │ ├── residential.json │ │ │ ├── road.json │ │ │ ├── secondary.json │ │ │ ├── secondary_link.json │ │ │ ├── service.json │ │ │ ├── service │ │ │ │ ├── alley.json │ │ │ │ ├── drive-through.json │ │ │ │ ├── driveway.json │ │ │ │ ├── emergency_access.json │ │ │ │ └── parking_aisle.json │ │ │ ├── steps.json │ │ │ ├── tertiary.json │ │ │ ├── tertiary_link.json │ │ │ ├── track.json │ │ │ ├── traffic_signals.json │ │ │ ├── trunk.json │ │ │ ├── trunk_link.json │ │ │ ├── turning_circle.json │ │ │ └── unclassified.json │ │ ├── historic.json │ │ ├── historic │ │ │ ├── archaeological_site.json │ │ │ ├── boundary_stone.json │ │ │ ├── castle.json │ │ │ ├── memorial.json │ │ │ ├── monument.json │ │ │ ├── ruins.json │ │ │ ├── wayside_cross.json │ │ │ └── wayside_shrine.json │ │ ├── landuse.json │ │ ├── landuse │ │ │ ├── allotments.json │ │ │ ├── basin.json │ │ │ ├── cemetery.json │ │ │ ├── commercial.json │ │ │ ├── construction.json │ │ │ ├── farm.json │ │ │ ├── farmyard.json │ │ │ ├── forest.json │ │ │ ├── grass.json │ │ │ ├── industrial.json │ │ │ ├── meadow.json │ │ │ ├── orchard.json │ │ │ ├── quarry.json │ │ │ ├── residential.json │ │ │ ├── retail.json │ │ │ └── vineyard.json │ │ ├── leisure.json │ │ ├── leisure │ │ │ ├── garden.json │ │ │ ├── golf_course.json │ │ │ ├── marina.json │ │ │ ├── park.json │ │ │ ├── pitch.json │ │ │ ├── pitch │ │ │ │ ├── american_football.json │ │ │ │ ├── baseball.json │ │ │ │ ├── basketball.json │ │ │ │ ├── soccer.json │ │ │ │ ├── tennis.json │ │ │ │ └── volleyball.json │ │ │ ├── playground.json │ │ │ ├── slipway.json │ │ │ ├── stadium.json │ │ │ └── swimming_pool.json │ │ ├── man_made.json │ │ ├── man_made │ │ │ ├── breakwater.json │ │ │ ├── cutline.json │ │ │ ├── lighthouse.json │ │ │ ├── pier.json │ │ │ ├── pipeline.json │ │ │ ├── survey_point.json │ │ │ ├── tower.json │ │ │ ├── wastewater_plant.json │ │ │ ├── water_tower.json │ │ │ ├── water_well.json │ │ │ └── water_works.json │ │ ├── natural.json │ │ ├── natural │ │ │ ├── bay.json │ │ │ ├── beach.json │ │ │ ├── cliff.json │ │ │ ├── coastline.json │ │ │ ├── glacier.json │ │ │ ├── grassland.json │ │ │ ├── heath.json │ │ │ ├── peak.json │ │ │ ├── scrub.json │ │ │ ├── spring.json │ │ │ ├── tree.json │ │ │ ├── water.json │ │ │ ├── water │ │ │ │ ├── lake.json │ │ │ │ ├── pond.json │ │ │ │ └── reservoir.json │ │ │ ├── wetland.json │ │ │ └── wood.json │ │ ├── office.json │ │ ├── other.json │ │ ├── other_area.json │ │ ├── place.json │ │ ├── place │ │ │ ├── city.json │ │ │ ├── hamlet.json │ │ │ ├── island.json │ │ │ ├── isolated_dwelling.json │ │ │ ├── locality.json │ │ │ ├── town.json │ │ │ └── village.json │ │ ├── power.json │ │ ├── power │ │ │ ├── generator.json │ │ │ ├── line.json │ │ │ ├── pole.json │ │ │ ├── sub_station.json │ │ │ ├── tower.json │ │ │ └── transformer.json │ │ ├── railway.json │ │ ├── railway │ │ │ ├── abandoned.json │ │ │ ├── disused.json │ │ │ ├── level_crossing.json │ │ │ ├── monorail.json │ │ │ ├── platform.json │ │ │ ├── rail.json │ │ │ ├── station.json │ │ │ ├── subway.json │ │ │ ├── subway_entrance.json │ │ │ └── tram.json │ │ ├── shop.json │ │ ├── shop │ │ │ ├── alcohol.json │ │ │ ├── bakery.json │ │ │ ├── beauty.json │ │ │ ├── beverages.json │ │ │ ├── bicycle.json │ │ │ ├── books.json │ │ │ ├── boutique.json │ │ │ ├── butcher.json │ │ │ ├── car.json │ │ │ ├── car_parts.json │ │ │ ├── car_repair.json │ │ │ ├── chemist.json │ │ │ ├── clothes.json │ │ │ ├── computer.json │ │ │ ├── confectionery.json │ │ │ ├── convenience.json │ │ │ ├── deli.json │ │ │ ├── department_store.json │ │ │ ├── doityourself.json │ │ │ ├── dry_cleaning.json │ │ │ ├── electronics.json │ │ │ ├── fishmonger.json │ │ │ ├── florist.json │ │ │ ├── furniture.json │ │ │ ├── garden_centre.json │ │ │ ├── gift.json │ │ │ ├── greengrocer.json │ │ │ ├── hairdresser.json │ │ │ ├── hardware.json │ │ │ ├── hifi.json │ │ │ ├── jewelry.json │ │ │ ├── kiosk.json │ │ │ ├── laundry.json │ │ │ ├── mall.json │ │ │ ├── mobile_phone.json │ │ │ ├── motorcycle.json │ │ │ ├── music.json │ │ │ ├── newsagent.json │ │ │ ├── optician.json │ │ │ ├── outdoor.json │ │ │ ├── pet.json │ │ │ ├── shoes.json │ │ │ ├── sports.json │ │ │ ├── stationery.json │ │ │ ├── supermarket.json │ │ │ ├── toys.json │ │ │ ├── travel_agency.json │ │ │ ├── tyres.json │ │ │ ├── vacant.json │ │ │ ├── variety_store.json │ │ │ └── video.json │ │ ├── tourism.json │ │ ├── tourism │ │ │ ├── alpine_hut.json │ │ │ ├── artwork.json │ │ │ ├── attraction.json │ │ │ ├── camp_site.json │ │ │ ├── caravan_site.json │ │ │ ├── chalet.json │ │ │ ├── guest_house.json │ │ │ ├── hostel.json │ │ │ ├── hotel.json │ │ │ ├── information.json │ │ │ ├── motel.json │ │ │ ├── museum.json │ │ │ ├── picnic_site.json │ │ │ ├── theme_park.json │ │ │ ├── viewpoint.json │ │ │ └── zoo.json │ │ ├── waterway.json │ │ └── waterway │ │ │ ├── canal.json │ │ │ ├── dam.json │ │ │ ├── ditch.json │ │ │ ├── drain.json │ │ │ ├── river.json │ │ │ ├── riverbank.json │ │ │ ├── stream.json │ │ │ └── weir.json │ └── schema │ │ ├── field.json │ │ └── preset.json ├── update_locales.js └── wikipedia.json ├── dist ├── img │ ├── background-pattern-1.png │ ├── background-pattern-opacity.png │ ├── bing_maps.png │ ├── cursor-draw-connect-line.png │ ├── cursor-draw-connect-line2x.png │ ├── cursor-draw-connect-vertex.png │ ├── cursor-draw-connect-vertex2x.png │ ├── cursor-draw.png │ ├── cursor-draw2x.png │ ├── cursor-grab.png │ ├── cursor-grab2x.png │ ├── cursor-grabbing.png │ ├── cursor-grabbing2x.png │ ├── cursor-pointer.png │ ├── cursor-pointer2x.png │ ├── cursor-pointing.png │ ├── cursor-pointing2x.png │ ├── cursor-select-acting.png │ ├── cursor-select-acting2x.png │ ├── cursor-select-add.png │ ├── cursor-select-add2x.png │ ├── cursor-select-area.png │ ├── cursor-select-area2x.png │ ├── cursor-select-line.png │ ├── cursor-select-line2x.png │ ├── cursor-select-point.png │ ├── cursor-select-point2x.png │ ├── cursor-select-remove.png │ ├── cursor-select-remove2x.png │ ├── cursor-select-split.png │ ├── cursor-select-split2x.png │ ├── cursor-select-vertex.png │ ├── cursor-select-vertex2x.png │ ├── line-presets.png │ ├── loader-black.gif │ ├── loader-white.gif │ ├── loader_bg.gif │ ├── logo.png │ ├── maki-sprite.png │ ├── mini-loader.gif │ ├── pattern │ │ ├── cemetery.png │ │ ├── construction.png │ │ ├── dots.png │ │ ├── farmland.png │ │ ├── orchard.png │ │ ├── vineyard.png │ │ └── wetland.png │ └── sprite.svg ├── index.html ├── land.html └── locales │ ├── af.json │ ├── bs.json │ ├── ca.json │ ├── cs.json │ ├── da.json │ ├── de.json │ ├── en.json │ ├── es.json │ ├── fr.json │ ├── hr.json │ ├── is.json │ ├── it.json │ ├── ja.json │ ├── lv.json │ ├── nl.json │ ├── pl.json │ ├── pt.json │ ├── ru.json │ ├── sk.json │ ├── sr.json │ ├── sv.json │ ├── tr.json │ ├── uk.json │ ├── vi.json │ ├── zh.json │ └── zh_TW.json ├── docs ├── coding_standards.txt └── img │ ├── geocoder.png │ ├── modes.png │ └── operations.png ├── iD.js ├── iD.min.js ├── img └── office-building.png ├── index.html ├── js ├── id │ ├── actions.js │ ├── actions │ │ ├── add_entity.js │ │ ├── add_midpoint.js │ │ ├── add_vertex.js │ │ ├── change_tags.js │ │ ├── circularize.js │ │ ├── connect.js │ │ ├── delete_multiple.js │ │ ├── delete_node.js │ │ ├── delete_relation.js │ │ ├── delete_way.js │ │ ├── deprecate_tags.js │ │ ├── disconnect.js │ │ ├── join.js │ │ ├── merge.js │ │ ├── move.js │ │ ├── move_node.js │ │ ├── noop.js │ │ ├── orthogonalize.js │ │ ├── reverse.js │ │ ├── rotate_way.js │ │ └── split.js │ ├── behavior.js │ ├── behavior │ │ ├── accept.js │ │ ├── add_way.js │ │ ├── drag.js │ │ ├── draw.js │ │ ├── draw_way.js │ │ ├── hash.js │ │ ├── hover.js │ │ ├── lasso.js │ │ └── select.js │ ├── core │ │ ├── connection.js │ │ ├── difference.js │ │ ├── entity.js │ │ ├── graph.js │ │ ├── history.js │ │ ├── node.js │ │ ├── relation.js │ │ ├── tree.js │ │ └── way.js │ ├── end.js │ ├── floors.js │ ├── floors │ │ ├── basement.js │ │ ├── first.js │ │ ├── other.js │ │ ├── second.js │ │ └── third.js │ ├── geo.js │ ├── geo │ │ ├── extent.js │ │ └── multipolygon.js │ ├── id.js │ ├── modes.js │ ├── modes │ │ ├── add_area.js │ │ ├── add_line.js │ │ ├── add_point.js │ │ ├── browse.js │ │ ├── drag_node.js │ │ ├── draw_area.js │ │ ├── draw_line.js │ │ ├── move.js │ │ ├── rotate_way.js │ │ └── select.js │ ├── operations.js │ ├── operations │ │ ├── circularize.js │ │ ├── delete.js │ │ ├── disconnect.js │ │ ├── merge.js │ │ ├── move.js │ │ ├── orthogonalize.js │ │ ├── reverse.js │ │ ├── rotate.js │ │ └── split.js │ ├── presets.js │ ├── presets │ │ ├── category.js │ │ ├── collection.js │ │ ├── field.js │ │ └── preset.js │ ├── renderer │ │ ├── background.js │ │ ├── background_source.js │ │ ├── localgpx.js │ │ ├── map.js │ │ └── overlay.js │ ├── services │ │ ├── taginfo.js │ │ └── wikipedia.js │ ├── start.js │ ├── svg.js │ ├── svg │ │ ├── areas.js │ │ ├── labels.js │ │ ├── lines.js │ │ ├── member_classes.js │ │ ├── midpoints.js │ │ ├── points.js │ │ ├── surface.js │ │ ├── tag_classes.js │ │ └── vertices.js │ ├── ui.js │ ├── ui │ │ ├── account.js │ │ ├── attribution.js │ │ ├── background.js │ │ ├── cmd.js │ │ ├── commit.js │ │ ├── confirm.js │ │ ├── contributors.js │ │ ├── flash.js │ │ ├── floors.js │ │ ├── geocoder.js │ │ ├── geolocate.js │ │ ├── help.js │ │ ├── inspector.js │ │ ├── intro.js │ │ ├── intro │ │ │ ├── area.js │ │ │ ├── line.js │ │ │ ├── navigation.js │ │ │ ├── point.js │ │ │ └── start_editing.js │ │ ├── lasso.js │ │ ├── loading.js │ │ ├── modal.js │ │ ├── modes.js │ │ ├── notice.js │ │ ├── overlay-ui.js │ │ ├── preset.js │ │ ├── preset │ │ │ ├── access.js │ │ │ ├── address.js │ │ │ ├── check.js │ │ │ ├── combo.js │ │ │ ├── defaultcheck.js │ │ │ ├── input.js │ │ │ ├── localized.js │ │ │ ├── maxspeed.js │ │ │ ├── radio.js │ │ │ ├── textarea.js │ │ │ └── wikipedia.js │ │ ├── preset_grid.js │ │ ├── preset_icon.js │ │ ├── radial_menu.js │ │ ├── restore.js │ │ ├── save.js │ │ ├── source_switch.js │ │ ├── spinner.js │ │ ├── splash.js │ │ ├── status.js │ │ ├── success.js │ │ ├── tag_editor.js │ │ ├── tag_reference.js │ │ ├── taglist.js │ │ ├── tail.js │ │ ├── toggle.js │ │ ├── undo_redo.js │ │ └── zoom.js │ ├── util.js │ └── validate.js └── lib │ ├── bootstrap-tooltip.js │ ├── d3-compat.js │ ├── d3.combobox.js │ ├── d3.curtain.js │ ├── d3.geo.tile.js │ ├── d3.jsonp.js │ ├── d3.keybinding.js │ ├── d3.one.js │ ├── d3.size.js │ ├── d3.trigger.js │ ├── d3.typeahead.js │ ├── d3.v3.js │ ├── jxon.js │ ├── locale.js │ ├── lodash.js │ ├── marked.js │ ├── osmauth.js │ ├── rtree.js │ └── togeojson.js ├── land.html ├── ofp-editor.iml ├── package.json ├── svg ├── area-presets.svg ├── cursors.svg ├── design.svg ├── landuse-colors.svg ├── landuse-patterns.svg ├── line-presets.svg ├── loader.psd ├── loader.svg ├── logo.svg ├── map-colors.svg ├── mini-loader.psd ├── mini-loader.svg ├── preset-sketch.svg ├── radial-menu.svg ├── renders │ ├── basic-ui.png │ ├── layers-more.png │ ├── layers.png │ ├── layerswitcher-default.png │ ├── layerswitcher-expand.png │ ├── layerswitcher-expanded.png │ ├── layerswitcher-hover.png │ ├── layerswitcher-inactive.png │ ├── layerswitcher-simplified.png │ └── opacity.png └── ui-mockups.svg └── test ├── bench ├── benchmark.js ├── event-binding-cost.html ├── node-xml.html ├── removing.html ├── translate-rounding.html ├── translate-vs-matrix-webkit.html └── translate-vs-matrix.html ├── css ├── data ├── node.xml └── way.xml ├── img ├── index.html ├── index_packaged.html ├── lib └── bind-shim.js ├── rendering.html └── spec ├── actions ├── add_entity.js ├── add_midpoint.js ├── change_tags.js ├── circularize.js ├── connect.js ├── delete_multiple.js ├── delete_node.js ├── delete_relation.js ├── delete_way.js ├── disconnect.js ├── join.js ├── merge.js ├── move.js ├── move_node.js ├── noop.js ├── orthogonalize.js ├── reverse.js └── split.js ├── behavior ├── hash.js ├── hover.js ├── lasso.js └── select.js ├── core ├── connection.js ├── difference.js ├── entity.js ├── graph.js ├── history.js ├── node.js ├── relation.js ├── tree.js └── way.js ├── geo.js ├── geo ├── extent.js └── multipolygon.js ├── lib ├── d3.keybinding.js └── locale.js ├── modes └── add_point.js ├── presets ├── category.js ├── collection.js └── preset.js ├── renderer ├── background.js └── map.js ├── spec_helpers.js ├── svg.js ├── svg ├── areas.js ├── lines.js ├── member_classes.js ├── midpoints.js ├── points.js ├── tag_classes.js └── vertices.js ├── taginfo.js ├── ui ├── cmd.js ├── confirm.js ├── flash.js ├── geocoder.js ├── inspector.js ├── modal.js ├── preset │ └── access.js └── taglist.js └── util.js /.gitignore: -------------------------------------------------------------------------------- 1 | dist/iD.js 2 | dist/iD.min.js 3 | dist/iD.css 4 | transifex.auth 5 | node_modules 6 | workspace.xml 7 | -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | id-editor -------------------------------------------------------------------------------- /.idea/ant.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/codeStyleSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /.idea/jenkinsSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/jsLinters/jslint.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | -------------------------------------------------------------------------------- /atlassian-ide-plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 90f28df3-3d64-47aa-9325-da27685b7159 6 | SYNCADD 7 | https://syncadd.atlassian.net 8 | false 9 | 10 | 11 | 90f28df3-3d64-47aa-9325-da27685b7159 12 | 13 | -------------------------------------------------------------------------------- /css/img: -------------------------------------------------------------------------------- 1 | ../dist/img/ -------------------------------------------------------------------------------- /data/discarded.json: -------------------------------------------------------------------------------- 1 | [ 2 | "created_by", 3 | "tiger:upload_uuid", 4 | "tiger:tlid", 5 | "tiger:source", 6 | "tiger:separated", 7 | "geobase:datasetName", 8 | "geobase:uuid", 9 | "sub_sea:type", 10 | "odbl", 11 | "odbl:note", 12 | "yh:LINE_NAME", 13 | "yh:LINE_NUM", 14 | "yh:STRUCTURE", 15 | "yh:TOTYUMONO", 16 | "yh:TYPE", 17 | "yh:WIDTH_RANK" 18 | ] 19 | -------------------------------------------------------------------------------- /data/locales.json: -------------------------------------------------------------------------------- 1 | [ 2 | "af", 3 | "bs", 4 | "ca", 5 | "zh", 6 | "zh_TW", 7 | "hr", 8 | "cs", 9 | "da", 10 | "nl", 11 | "fr", 12 | "de", 13 | "is", 14 | "it", 15 | "ja", 16 | "lv", 17 | "pl", 18 | "pt", 19 | "ru", 20 | "sr", 21 | "sk", 22 | "es", 23 | "sv", 24 | "tr", 25 | "uk", 26 | "vi" 27 | ] -------------------------------------------------------------------------------- /data/presets/categories/landuse.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": "area", 3 | "name": "Land Use", 4 | "icon": "category-landuse", 5 | "members": [ 6 | "landuse/residential", 7 | "landuse/industrial", 8 | "landuse/commercial", 9 | "landuse/retail", 10 | "landuse/farm", 11 | "landuse/farmyard", 12 | "landuse/forest", 13 | "landuse/meadow", 14 | "landuse/cemetery" 15 | ] 16 | } -------------------------------------------------------------------------------- /data/presets/categories/path.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": "line", 3 | "name": "Path", 4 | "icon": "category-path", 5 | "members": [ 6 | "highway/footway", 7 | "highway/cycleway", 8 | "highway/bridleway", 9 | "highway/path", 10 | "highway/steps" 11 | ] 12 | } -------------------------------------------------------------------------------- /data/presets/categories/rail.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": "line", 3 | "name": "Rail", 4 | "icon": "category-rail", 5 | "members": [ 6 | "railway/rail", 7 | "railway/subway", 8 | "railway/tram", 9 | "railway/monorail", 10 | "railway/disused", 11 | "railway/abandoned" 12 | ] 13 | } -------------------------------------------------------------------------------- /data/presets/categories/road.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": "line", 3 | "name": "Road", 4 | "icon": "category-roads", 5 | "members": [ 6 | "highway/residential", 7 | "highway/motorway", 8 | "highway/trunk", 9 | "highway/primary", 10 | "highway/secondary", 11 | "highway/tertiary", 12 | "highway/service", 13 | "highway/motorway_link", 14 | "highway/trunk_link", 15 | "highway/primary_link", 16 | "highway/secondary_link", 17 | "highway/tertiary_link", 18 | "highway/unclassified", 19 | "highway/track", 20 | "highway/road" 21 | ] 22 | } -------------------------------------------------------------------------------- /data/presets/categories/water.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": "line", 3 | "name": "Water", 4 | "icon": "category-water", 5 | "members": [ 6 | "waterway/river", 7 | "waterway/stream", 8 | "waterway/canal", 9 | "waterway/ditch" 10 | ] 11 | } -------------------------------------------------------------------------------- /data/presets/fields/address.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "address", 3 | "keys": [ 4 | "addr:housename", 5 | "addr:housenumber", 6 | "addr:street", 7 | "addr:city", 8 | "addr:postcode" 9 | ], 10 | "icon": "address", 11 | "universal": true, 12 | "label": "Address", 13 | "strings": { 14 | "placeholders": { 15 | "housename": "Housename", 16 | "number": "123", 17 | "street": "Street", 18 | "city": "City", 19 | "postcode": "Postal code" 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /data/presets/fields/admin_level.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "admin_level", 3 | "type": "number", 4 | "label": "Admin Level" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/aeroway.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "aeroway", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/amenity.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "amenity", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/atm.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "atm", 3 | "type": "check", 4 | "label": "ATM" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/barrier.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "barrier", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/bicycle_parking.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "bicycle_parking", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/building.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "building", 3 | "type": "combo", 4 | "label": "Building" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/building_area.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "building", 3 | "type": "check", 4 | "default": "yes", 5 | "geometry": "area", 6 | "label": "Building" 7 | } -------------------------------------------------------------------------------- /data/presets/fields/building_yes.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "building", 3 | "type": "combo", 4 | "default": "yes", 5 | "label": "Building" 6 | } -------------------------------------------------------------------------------- /data/presets/fields/capacity.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "capacity", 3 | "type": "text", 4 | "label": "Capacity" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/cardinal_direction.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "direction", 3 | "type": "combo", 4 | "options": [ 5 | "N", 6 | "E", 7 | "S", 8 | "W", 9 | "NE", 10 | "SE", 11 | "SW", 12 | "NNE", 13 | "ENE", 14 | "ESE", 15 | "SSE", 16 | "SSW", 17 | "WSW", 18 | "WNW", 19 | "NNW" 20 | ], 21 | "label": "Direction" 22 | } -------------------------------------------------------------------------------- /data/presets/fields/clock_direction.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "direction", 3 | "type": "combo", 4 | "options": [ 5 | "clockwise", 6 | "anticlockwise" 7 | ], 8 | "label": "Direction", 9 | "strings": { 10 | "options": { 11 | "clockwise": "Clockwise", 12 | "anticlockwise": "Counterclockwise" 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /data/presets/fields/collection_times.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "collection_times", 3 | "type": "text", 4 | "label": "Collection Times" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/construction.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "construction", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/country.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "country", 3 | "type": "combo", 4 | "label": "Country" 5 | } 6 | -------------------------------------------------------------------------------- /data/presets/fields/crossing.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "crossing", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/cuisine.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "cuisine", 3 | "type": "combo", 4 | "indexed": true, 5 | "label": "Cuisine" 6 | } -------------------------------------------------------------------------------- /data/presets/fields/denomination.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "denomination", 3 | "type": "combo", 4 | "label": "Denomination" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/denotation.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "denotation", 3 | "type": "combo", 4 | "label": "Denotation" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/elevation.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "ele", 3 | "type": "number", 4 | "icon": "elevation", 5 | "universal": true, 6 | "label": "Elevation" 7 | } -------------------------------------------------------------------------------- /data/presets/fields/emergency.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "emergency", 3 | "type": "check", 4 | "label": "Emergency" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/entrance.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "entrance", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/fax.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "fax", 3 | "type": "tel", 4 | "label": "Fax" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/fee.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "fee", 3 | "type": "check", 4 | "label": "Fee" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/highway.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "highway", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/historic.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "historic", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/iata.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "iata", 3 | "type": "text", 4 | "label": "IATA" 5 | } 6 | -------------------------------------------------------------------------------- /data/presets/fields/icao.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "icao", 3 | "type": "text", 4 | "label": "ICAO" 5 | } 6 | -------------------------------------------------------------------------------- /data/presets/fields/incline.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "incline", 3 | "type": "combo", 4 | "label": "Incline" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/internet_access.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "internet_access", 3 | "type": "combo", 4 | "options": [ 5 | "yes", 6 | "no", 7 | "wlan", 8 | "wired", 9 | "terminal" 10 | ], 11 | "label": "Internet Access", 12 | "strings": { 13 | "options": { 14 | "yes": "Yes", 15 | "no": "No", 16 | "wlan": "Wifi", 17 | "wired": "Wired", 18 | "terminal": "Terminal" 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /data/presets/fields/landuse.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "landuse", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/lanes.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "lanes", 3 | "type": "number", 4 | "label": "Lanes" 5 | } 6 | -------------------------------------------------------------------------------- /data/presets/fields/layer.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "layer", 3 | "type": "combo", 4 | "label": "Layer" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/leisure.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "leisure", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/levels.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "building:levels", 3 | "type": "number", 4 | "label": "Levels" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/location.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "location", 3 | "type": "combo", 4 | "label": "Location" 5 | } 6 | -------------------------------------------------------------------------------- /data/presets/fields/man_made.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "man_made", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/maxspeed.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "maxspeed", 3 | "type": "maxspeed", 4 | "label": "Speed Limit" 5 | } 6 | -------------------------------------------------------------------------------- /data/presets/fields/name.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "name", 3 | "type": "localized", 4 | "label": "Name" 5 | } 6 | -------------------------------------------------------------------------------- /data/presets/fields/natural.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "natural", 3 | "type": "combo", 4 | "label": "Natural" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/network.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "network", 3 | "type": "text", 4 | "label": "Network" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/note.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "note", 3 | "type": "textarea", 4 | "universal": true, 5 | "icon": "note", 6 | "label": "Note" 7 | } -------------------------------------------------------------------------------- /data/presets/fields/office.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "office", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/oneway.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "oneway", 3 | "type": "check", 4 | "label": "One Way" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/oneway_yes.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "oneway", 3 | "type": "check", 4 | "default": "yes", 5 | "label": "One Way" 6 | } 7 | -------------------------------------------------------------------------------- /data/presets/fields/opening_hours.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "opening_hours", 3 | "type": "text", 4 | "label": "Hours" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/operator.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "operator", 3 | "type": "text", 4 | "label": "Operator" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/park_ride.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "park_ride", 3 | "type": "check", 4 | "label": "Park and Ride" 5 | } 6 | -------------------------------------------------------------------------------- /data/presets/fields/parking.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "parking", 3 | "type": "combo", 4 | "options": [ 5 | "surface", 6 | "multi-storey", 7 | "underground", 8 | "sheds", 9 | "carports", 10 | "garage_boxes", 11 | "lane" 12 | ], 13 | "label": "Type" 14 | } 15 | -------------------------------------------------------------------------------- /data/presets/fields/phone.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "phone", 3 | "type": "tel", 4 | "icon": "telephone", 5 | "universal": true, 6 | "label": "Phone" 7 | } -------------------------------------------------------------------------------- /data/presets/fields/place.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "place", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/power.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "power", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/railway.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "railway", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/ref.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "ref", 3 | "type": "text", 4 | "label": "Reference" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/religion.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "religion", 3 | "type": "combo", 4 | "options": [ 5 | "christian", 6 | "muslim", 7 | "buddhist", 8 | "jewish", 9 | "hindu", 10 | "shinto", 11 | "taoist" 12 | ], 13 | "label": "Religion", 14 | "strings": { 15 | "options": { 16 | "christian": "Christian", 17 | "muslim": "Muslim", 18 | "buddhist": "Buddhist", 19 | "jewish": "Jewish", 20 | "hindu": "Hindu", 21 | "shinto": "Shinto", 22 | "taoist": "Taoist" 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /data/presets/fields/sac_scale.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "sac_scale", 3 | "type": "combo", 4 | "label": "Path Difficulty" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/service.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "service", 3 | "type": "combo", 4 | "options": [ 5 | "parking_aisle", 6 | "driveway", 7 | "alley", 8 | "drive-through", 9 | "emergency_access" 10 | ], 11 | "label": "Type" 12 | } -------------------------------------------------------------------------------- /data/presets/fields/shelter.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "shelter", 3 | "type": "check", 4 | "label": "Shelter" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/shop.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "shop", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/source.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "source", 3 | "type": "text", 4 | "icon": "source", 5 | "universal": true, 6 | "label": "Source" 7 | } -------------------------------------------------------------------------------- /data/presets/fields/sport.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "sport", 3 | "type": "combo", 4 | "label": "Sport" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/structure.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "radio", 3 | "keys": [ 4 | "bridge", 5 | "tunnel", 6 | "embankment", 7 | "cutting" 8 | ], 9 | "label": "Structure", 10 | "strings": { 11 | "options": { 12 | "bridge": "Bridge", 13 | "tunnel": "Tunnel", 14 | "embankment": "Embankment", 15 | "cutting": "Cutting" 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /data/presets/fields/supervised.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "supervised", 3 | "type": "check", 4 | "label": "Supervised" 5 | } 6 | -------------------------------------------------------------------------------- /data/presets/fields/surface.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "surface", 3 | "type": "combo", 4 | "label": "Surface" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/tourism.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "tourism", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/towertype.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "tower:type", 3 | "type": "combo", 4 | "label": "Tower type" 5 | } 6 | -------------------------------------------------------------------------------- /data/presets/fields/tracktype.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "tracktype", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/trail_visibility.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "trail_visibility", 3 | "type": "combo", 4 | "label": "Trail Visibility" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/water.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "water", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/waterway.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "waterway", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/website.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "website", 3 | "type": "url", 4 | "icon": "website", 5 | "placeholder": "http://example.com/", 6 | "universal": true, 7 | "label": "Website" 8 | } 9 | -------------------------------------------------------------------------------- /data/presets/fields/wetland.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "wetland", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/fields/wheelchair.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "wheelchair", 3 | "type": "radio", 4 | "options": [ 5 | "yes", 6 | "limited", 7 | "no" 8 | ], 9 | "icon": "wheelchair", 10 | "universal": true, 11 | "label": "Wheelchair Access" 12 | } 13 | -------------------------------------------------------------------------------- /data/presets/fields/wikipedia.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "wikipedia", 3 | "type": "wikipedia", 4 | "icon": "wikipedia", 5 | "universal": true, 6 | "label": "Wikipedia" 7 | } 8 | -------------------------------------------------------------------------------- /data/presets/fields/wood.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "wood", 3 | "type": "combo", 4 | "label": "Type" 5 | } -------------------------------------------------------------------------------- /data/presets/floorplan-categories.json: -------------------------------------------------------------------------------- 1 | [ { 2 | "geometry": "line", 3 | "id": "Rail", 4 | "icon": "category-rail", 5 | "members": [ 6 | "railway/rail", 7 | "railway/subway", 8 | "railway/tram", 9 | "railway/monorail", 10 | "railway/disused", 11 | "railway/abandoned" 12 | ] 13 | }, { 14 | "geometry": "line", 15 | "id": "Path", 16 | "icon": "category-path", 17 | "members": [ 18 | "path" 19 | ] 20 | }, { 21 | "geometry": "line", 22 | "id": "Utilities", 23 | "icon": "category-water", 24 | "members": [ 25 | "waterway/river", 26 | "waterway/stream", 27 | "waterway/canal", 28 | "waterway/ditch" 29 | ] 30 | }] 31 | -------------------------------------------------------------------------------- /data/presets/floorplan-defaults.json: -------------------------------------------------------------------------------- 1 | { 2 | "area": [ 3 | "room/office", 4 | "room/storage", 5 | "room/conference", 6 | "room/restroom", 7 | "room/utility", 8 | "circulation/hallway", 9 | "circulation/stairs", 10 | "circulation/elevator", 11 | "other_area" 12 | ], 13 | "line": [ 14 | "path", 15 | "other" 16 | ], 17 | "point": [ 18 | "amenity", 19 | "path/entrance", 20 | "path/doorway", 21 | "other" 22 | ], 23 | "vertex": [ 24 | "path/entrance", 25 | "path/doorway", 26 | "other" 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /data/presets/presets/aeroway.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "airport", 3 | "fields": [ 4 | "aeroway" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "vertex", 9 | "line", 10 | "area" 11 | ], 12 | "tags": { 13 | "aeroway": "*" 14 | }, 15 | "name": "Aeroway" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/aeroway/aerodrome.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "airport", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "terms": [ 8 | "airplane", 9 | "airport", 10 | "aerodrome" 11 | ], 12 | "fields": [ 13 | "ref", 14 | "iata", 15 | "icao", 16 | "operator" 17 | ], 18 | "tags": { 19 | "aeroway": "aerodrome" 20 | }, 21 | "name": "Airport" 22 | } 23 | -------------------------------------------------------------------------------- /data/presets/presets/aeroway/apron.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "airport", 3 | "geometry": [ 4 | "area" 5 | ], 6 | "terms": [ 7 | "ramp" 8 | ], 9 | "fields": [ 10 | "ref", 11 | "surface" 12 | ], 13 | "tags": { 14 | "aeroway": "apron" 15 | }, 16 | "name": "Apron" 17 | } 18 | -------------------------------------------------------------------------------- /data/presets/presets/aeroway/gate.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "airport", 3 | "geometry": [ 4 | "point" 5 | ], 6 | "fields": ["ref"], 7 | "tags": { 8 | "aeroway": "gate" 9 | }, 10 | "name": "Airport gate" 11 | } 12 | -------------------------------------------------------------------------------- /data/presets/presets/aeroway/hangar.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "area" 4 | ], 5 | "fields": [ 6 | "building_area" 7 | ], 8 | "tags": { 9 | "aeroway": "hangar" 10 | }, 11 | "name": "Hangar" 12 | } 13 | -------------------------------------------------------------------------------- /data/presets/presets/aeroway/helipad.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "heliport", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "terms": [ 8 | "helicopter", 9 | "helipad", 10 | "heliport" 11 | ], 12 | "tags": { 13 | "aeroway": "helipad" 14 | }, 15 | "name": "Helipad" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/aeroway/runway.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "line", 4 | "area" 5 | ], 6 | "terms": [ 7 | "landing strip" 8 | ], 9 | "fields": [ 10 | "ref", 11 | "surface" 12 | ], 13 | "tags": { 14 | "aeroway": "runway" 15 | }, 16 | "name": "Runway" 17 | } 18 | -------------------------------------------------------------------------------- /data/presets/presets/aeroway/taxiway.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "line" 4 | ], 5 | "fields": [ 6 | "ref", 7 | "surface" 8 | ], 9 | "tags": { 10 | "aeroway": "taxiway" 11 | }, 12 | "name": "Taxiway" 13 | } 14 | -------------------------------------------------------------------------------- /data/presets/presets/aeroway/terminal.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "terms": [ 7 | "airport", 8 | "aerodrome" 9 | ], 10 | "fields": [ 11 | "operator", 12 | "building_area" 13 | ], 14 | "tags": { 15 | "aeroway": "terminal" 16 | }, 17 | "name": "Airport terminal" 18 | } 19 | -------------------------------------------------------------------------------- /data/presets/presets/amenity.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "amenity" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex", 8 | "area" 9 | ], 10 | "tags": { 11 | "amenity": "*" 12 | }, 13 | "name": "Amenity" 14 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/bank.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "bank", 3 | "fields": [ 4 | "atm", 5 | "building_area", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "terms": [ 14 | "coffer", 15 | "countinghouse", 16 | "credit union", 17 | "depository", 18 | "exchequer", 19 | "fund", 20 | "hoard", 21 | "investment firm", 22 | "repository", 23 | "reserve", 24 | "reservoir", 25 | "safe", 26 | "savings", 27 | "stock", 28 | "stockpile", 29 | "store", 30 | "storehouse", 31 | "thrift", 32 | "treasury", 33 | "trust company", 34 | "vault" 35 | ], 36 | "tags": { 37 | "amenity": "bank" 38 | }, 39 | "name": "Bank" 40 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/bar.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "bar", 3 | "fields": [ 4 | "building_area", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "tags": { 13 | "amenity": "bar" 14 | }, 15 | "terms": [], 16 | "name": "Bar" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/bench.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex", 5 | "line" 6 | ], 7 | "tags": { 8 | "amenity": "bench" 9 | }, 10 | "name": "Bench" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/bicycle_parking.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "bicycle", 3 | "fields": [ 4 | "bicycle_parking", 5 | "capacity", 6 | "operator" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "amenity": "bicycle_parking" 15 | }, 16 | "name": "Bicycle Parking" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/bicycle_rental.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "bicycle", 3 | "fields": [ 4 | "capacity", 5 | "network", 6 | "operator" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "amenity": "bicycle_rental" 15 | }, 16 | "name": "Bicycle Rental" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/cafe.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "cafe", 3 | "fields": [ 4 | "cuisine", 5 | "internet_access", 6 | "building_area", 7 | "address" 8 | ], 9 | "geometry": [ 10 | "point", 11 | "vertex", 12 | "area" 13 | ], 14 | "terms": [ 15 | "coffee", 16 | "tea", 17 | "coffee shop" 18 | ], 19 | "tags": { 20 | "amenity": "cafe" 21 | }, 22 | "name": "Cafe" 23 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/car_wash.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "amenity": "car_wash" 8 | }, 9 | "fields": [ 10 | "building_area" 11 | ], 12 | "name": "Car Wash" 13 | } 14 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/cinema.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "cinema", 3 | "fields": [ 4 | "building_area", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "terms": [ 13 | "big screen", 14 | "bijou", 15 | "cine", 16 | "drive-in", 17 | "film", 18 | "flicks", 19 | "motion pictures", 20 | "movie house", 21 | "movie theater", 22 | "moving pictures", 23 | "nabes", 24 | "photoplay", 25 | "picture show", 26 | "pictures", 27 | "playhouse", 28 | "show", 29 | "silver screen" 30 | ], 31 | "tags": { 32 | "amenity": "cinema" 33 | }, 34 | "name": "Cinema" 35 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/college.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "college", 3 | "fields": [ 4 | "operator", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "area" 10 | ], 11 | "tags": { 12 | "amenity": "college" 13 | }, 14 | "terms": [], 15 | "name": "College" 16 | } 17 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/courthouse.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "operator", 4 | "building_area", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "tags": { 13 | "amenity": "courthouse" 14 | }, 15 | "name": "Courthouse" 16 | } 17 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/embassy.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "area", 4 | "point" 5 | ], 6 | "tags": { 7 | "amenity": "embassy" 8 | }, 9 | "fields": [ 10 | "country", 11 | "building_area" 12 | ], 13 | "icon": "embassy", 14 | "name": "Embassy" 15 | } 16 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/fast_food.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "fast-food", 3 | "fields": [ 4 | "cuisine", 5 | "building_area", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "amenity": "fast_food" 15 | }, 16 | "terms": [], 17 | "name": "Fast Food" 18 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/fire_station.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "fire-station", 3 | "fields": [ 4 | "operator", 5 | "building_area", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "amenity": "fire_station" 15 | }, 16 | "terms": [], 17 | "name": "Fire Station" 18 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/fountain.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "amenity": "fountain" 8 | }, 9 | "name": "Fountain" 10 | } 11 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/fuel.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "fuel", 3 | "fields": [ 4 | "operator", 5 | "address", 6 | "building_yes" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "amenity": "fuel" 15 | }, 16 | "name": "Gas Station" 17 | } 18 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/grave_yard.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "cemetery", 3 | "fields": [ 4 | "religion" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "vertex", 9 | "area" 10 | ], 11 | "tags": { 12 | "amenity": "grave_yard" 13 | }, 14 | "name": "Graveyard" 15 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/hospital.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "hospital", 3 | "fields": [ 4 | "emergency", 5 | "building_area", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "terms": [ 14 | "clinic", 15 | "emergency room", 16 | "health service", 17 | "hospice", 18 | "infirmary", 19 | "institution", 20 | "nursing home", 21 | "rest home", 22 | "sanatorium", 23 | "sanitarium", 24 | "sick bay", 25 | "surgery", 26 | "ward" 27 | ], 28 | "tags": { 29 | "amenity": "hospital" 30 | }, 31 | "name": "Hospital" 32 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/kindergarten.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "school", 3 | "fields": [ 4 | "building_area", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "terms": [ 13 | "preschool", 14 | "nursery", 15 | "childcare", 16 | "playgroup" 17 | ], 18 | "tags": { 19 | "amenity": "kindergarten" 20 | }, 21 | "name": "Kindergarten" 22 | } 23 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/library.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "library", 3 | "fields": [ 4 | "operator", 5 | "building_area", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "amenity": "library" 15 | }, 16 | "terms": [], 17 | "name": "Library" 18 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/marketplace.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex", 5 | "area" 6 | ], 7 | "tags": { 8 | "amenity": "marketplace" 9 | }, 10 | "fields": [ 11 | "building" 12 | ], 13 | "name": "Marketplace" 14 | } 15 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/parking.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "parking", 3 | "fields": [ 4 | "parking", 5 | "capacity", 6 | "fee", 7 | "supervised", 8 | "park_ride", 9 | "address" 10 | ], 11 | "geometry": [ 12 | "point", 13 | "vertex", 14 | "area" 15 | ], 16 | "tags": { 17 | "amenity": "parking" 18 | }, 19 | "terms": [], 20 | "name": "Parking" 21 | } 22 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/pharmacy.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "pharmacy", 3 | "fields": [ 4 | "operator", 5 | "building_area", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "amenity": "pharmacy" 15 | }, 16 | "terms": [], 17 | "name": "Pharmacy" 18 | } 19 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/place_of_worship/jewish.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "religious-jewish", 3 | "fields": [ 4 | "denomination", 5 | "building_yes", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "terms": [ 14 | "jewish", 15 | "synagogue" 16 | ], 17 | "tags": { 18 | "amenity": "place_of_worship", 19 | "religion": "jewish" 20 | }, 21 | "name": "Synagogue" 22 | } 23 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/place_of_worship/muslim.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "religious-muslim", 3 | "fields": [ 4 | "denomination", 5 | "building_yes", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "terms": [ 14 | "muslim", 15 | "mosque" 16 | ], 17 | "tags": { 18 | "amenity": "place_of_worship", 19 | "religion": "muslim" 20 | }, 21 | "name": "Mosque" 22 | } 23 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/post_box.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "post", 3 | "fields": [ 4 | "operator", 5 | "collection_times" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex" 10 | ], 11 | "tags": { 12 | "amenity": "post_box" 13 | }, 14 | "terms": [ 15 | "letter drop", 16 | "letterbox", 17 | "mail drop", 18 | "mailbox", 19 | "pillar box", 20 | "postbox" 21 | ], 22 | "name": "Mailbox" 23 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/post_office.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "post", 3 | "fields": [ 4 | "operator", 5 | "collection_times", 6 | "building_area" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "amenity": "post_office" 15 | }, 16 | "name": "Post Office" 17 | } 18 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/pub.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "beer", 3 | "fields": [ 4 | "building_area", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "tags": { 13 | "amenity": "pub" 14 | }, 15 | "terms": [], 16 | "name": "Pub" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/school.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "school", 3 | "fields": [ 4 | "operator", 5 | "building", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "terms": [ 14 | "academy", 15 | "alma mater", 16 | "blackboard", 17 | "college", 18 | "department", 19 | "discipline", 20 | "establishment", 21 | "faculty", 22 | "hall", 23 | "halls of ivy", 24 | "institute", 25 | "institution", 26 | "jail*", 27 | "schoolhouse", 28 | "seminary", 29 | "university" 30 | ], 31 | "tags": { 32 | "amenity": "school" 33 | }, 34 | "name": "School" 35 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/swimming_pool.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex", 5 | "area" 6 | ], 7 | "tags": { 8 | "amenity": "swimming_pool" 9 | }, 10 | "icon": "swimming", 11 | "searchable": false, 12 | "name": "Swimming Pool" 13 | } 14 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/telephone.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "telephone", 3 | "geometry": [ 4 | "point", 5 | "vertex" 6 | ], 7 | "tags": { 8 | "amenity": "telephone" 9 | }, 10 | "name": "Telephone" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/theatre.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "theatre", 3 | "fields": [ 4 | "operator", 5 | "building_area", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "terms": [ 14 | "theatre", 15 | "performance", 16 | "play", 17 | "musical" 18 | ], 19 | "tags": { 20 | "amenity": "theatre" 21 | }, 22 | "name": "Theater" 23 | } 24 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/toilets.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "operator", 4 | "building" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "vertex", 9 | "area" 10 | ], 11 | "terms": [], 12 | "tags": { 13 | "amenity": "toilets" 14 | }, 15 | "icon": "toilets", 16 | "name": "Toilets" 17 | } 18 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/townhall.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "town-hall", 3 | "fields": [ 4 | "building_area", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "terms": [ 13 | "village hall", 14 | "city government", 15 | "courthouse", 16 | "municipal building", 17 | "municipal center" 18 | ], 19 | "tags": { 20 | "amenity": "townhall" 21 | }, 22 | "name": "Town Hall" 23 | } -------------------------------------------------------------------------------- /data/presets/presets/amenity/university.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "college", 3 | "fields": [ 4 | "operator", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "tags": { 13 | "amenity": "university" 14 | }, 15 | "terms": ["college"], 16 | "name": "University" 17 | } 18 | -------------------------------------------------------------------------------- /data/presets/presets/amenity/waste_basket.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "waste-basket", 3 | "geometry": [ 4 | "point", 5 | "vertex" 6 | ], 7 | "tags": { 8 | "amenity": "waste_basket" 9 | }, 10 | "terms": [ 11 | "rubbish bin", 12 | "litter bin", 13 | "trash can", 14 | "garbage can" 15 | ], 16 | "name": "Waste Basket" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex", 5 | "line", 6 | "area" 7 | ], 8 | "tags": { 9 | "barrier": "*" 10 | }, 11 | "fields": [ 12 | "barrier" 13 | ], 14 | "name": "Barrier" 15 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/block.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "access" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex" 8 | ], 9 | "tags": { 10 | "barrier": "block" 11 | }, 12 | "name": "Block" 13 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/bollard.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "access" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex", 8 | "line" 9 | ], 10 | "tags": { 11 | "barrier": "bollard" 12 | }, 13 | "name": "Bollard" 14 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/cattle_grid.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "vertex" 4 | ], 5 | "tags": { 6 | "barrier": "cattle_grid" 7 | }, 8 | "name": "Cattle Grid" 9 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/city_wall.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "line", 4 | "area" 5 | ], 6 | "tags": { 7 | "barrier": "city_wall" 8 | }, 9 | "name": "City Wall" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/cycle_barrier.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "access" 4 | ], 5 | "geometry": [ 6 | "vertex" 7 | ], 8 | "tags": { 9 | "barrier": "cycle_barrier" 10 | }, 11 | "name": "Cycle Barrier" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/ditch.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "line", 4 | "area" 5 | ], 6 | "tags": { 7 | "barrier": "ditch" 8 | }, 9 | "name": "Ditch" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/entrance.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "vertex" 4 | ], 5 | "tags": { 6 | "barrier": "entrance" 7 | }, 8 | "name": "Entrance" 9 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/fence.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "line", 4 | "area" 5 | ], 6 | "tags": { 7 | "barrier": "fence" 8 | }, 9 | "name": "Fence" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/gate.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "access" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex", 8 | "line" 9 | ], 10 | "tags": { 11 | "barrier": "gate" 12 | }, 13 | "name": "Gate" 14 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/hedge.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "line", 4 | "area" 5 | ], 6 | "tags": { 7 | "barrier": "hedge" 8 | }, 9 | "name": "Hedge" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/kissing_gate.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "access" 4 | ], 5 | "geometry": [ 6 | "vertex" 7 | ], 8 | "tags": { 9 | "barrier": "kissing_gate" 10 | }, 11 | "name": "Kissing Gate" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/lift_gate.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "access" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex" 8 | ], 9 | "tags": { 10 | "barrier": "lift_gate" 11 | }, 12 | "name": "Lift Gate" 13 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/retaining_wall.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "line", 4 | "area" 5 | ], 6 | "tags": { 7 | "barrier": "retaining_wall" 8 | }, 9 | "name": "Retaining Wall" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/stile.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "access" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex" 8 | ], 9 | "tags": { 10 | "barrier": "stile" 11 | }, 12 | "name": "Stile" 13 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/toll_booth.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "access" 4 | ], 5 | "geometry": [ 6 | "vertex" 7 | ], 8 | "tags": { 9 | "barrier": "toll_booth" 10 | }, 11 | "name": "Toll Booth" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/barrier/wall.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "line", 4 | "area" 5 | ], 6 | "tags": { 7 | "barrier": "wall" 8 | }, 9 | "name": "Wall" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/boundary/administrative.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Administrative Boundary", 3 | "geometry": [ 4 | "line", 5 | "area" 6 | ], 7 | "tags": { 8 | "boundary": "administrative" 9 | }, 10 | "fields": [ 11 | "admin_level" 12 | ] 13 | } -------------------------------------------------------------------------------- /data/presets/presets/building.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "building", 3 | "fields": [ 4 | "building_yes", 5 | "levels", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "area" 10 | ], 11 | "tags": { 12 | "building": "*" 13 | }, 14 | "terms": [], 15 | "name": "Building" 16 | } 17 | -------------------------------------------------------------------------------- /data/presets/presets/building/apartments.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "commercial", 3 | "fields": [ 4 | "address", 5 | "levels" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "tags": { 13 | "building": "apartments" 14 | }, 15 | "name": "Apartments" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/building/entrance.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "vertex" 4 | ], 5 | "tags": { 6 | "building": "entrance" 7 | }, 8 | "name": "Entrance", 9 | "searchable": false 10 | } -------------------------------------------------------------------------------- /data/presets/presets/building/house.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "address", 4 | "levels" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "area" 9 | ], 10 | "tags": { 11 | "building": "house" 12 | }, 13 | "name": "House" 14 | } 15 | -------------------------------------------------------------------------------- /data/presets/presets/emergency/phone.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "emergency-telephone", 3 | "fields": [ 4 | "operator" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "vertex" 9 | ], 10 | "tags": { 11 | "emergency": "phone" 12 | }, 13 | "name": "Emergency Phone" 14 | } -------------------------------------------------------------------------------- /data/presets/presets/entrance.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "vertex" 4 | ], 5 | "tags": { 6 | "entrance": "*" 7 | }, 8 | "fields": [ 9 | "entrance" 10 | ], 11 | "name": "Entrance" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/highway.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "highway" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex", 8 | "line", 9 | "area" 10 | ], 11 | "tags": { 12 | "highway": "*" 13 | }, 14 | "name": "Highway" 15 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/bridleway.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "access", 4 | "surface", 5 | "structure" 6 | ], 7 | "icon": "highway-bridleway", 8 | "geometry": [ 9 | "line" 10 | ], 11 | "tags": { 12 | "highway": "bridleway" 13 | }, 14 | "terms": [ 15 | "bridleway", 16 | "equestrian trail", 17 | "horse riding path", 18 | "bridle road", 19 | "horse trail" 20 | ], 21 | "name": "Bridle Path" 22 | } 23 | -------------------------------------------------------------------------------- /data/presets/presets/highway/bus_stop.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "bus", 3 | "fields": [ 4 | "operator", 5 | "shelter" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex" 10 | ], 11 | "tags": { 12 | "highway": "bus_stop" 13 | }, 14 | "terms": [], 15 | "name": "Bus Stop" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/crossing.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "crossing" 4 | ], 5 | "geometry": [ 6 | "vertex" 7 | ], 8 | "tags": { 9 | "highway": "crossing" 10 | }, 11 | "terms": [ 12 | "crosswalk", 13 | "zebra crossing" 14 | ], 15 | "name": "Crossing" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/cycleway.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-cycleway", 3 | "fields": [ 4 | "oneway", 5 | "structure", 6 | "access", 7 | "surface" 8 | ], 9 | "geometry": [ 10 | "line" 11 | ], 12 | "tags": { 13 | "highway": "cycleway" 14 | }, 15 | "terms": [], 16 | "name": "Cycle Path" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/footway.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-footway", 3 | "fields": [ 4 | "structure", 5 | "access", 6 | "surface" 7 | ], 8 | "geometry": [ 9 | "line", "area" 10 | ], 11 | "terms": [ 12 | "beaten path", 13 | "boulevard", 14 | "clearing", 15 | "course", 16 | "cut*", 17 | "drag*", 18 | "footpath", 19 | "highway", 20 | "lane", 21 | "line", 22 | "orbit", 23 | "passage", 24 | "pathway", 25 | "rail", 26 | "rails", 27 | "road", 28 | "roadway", 29 | "route", 30 | "street", 31 | "thoroughfare", 32 | "trackway", 33 | "trail", 34 | "trajectory", 35 | "walk" 36 | ], 37 | "tags": { 38 | "highway": "footway" 39 | }, 40 | "name": "Foot Path" 41 | } 42 | -------------------------------------------------------------------------------- /data/presets/presets/highway/living_street.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-residential", 3 | "fields": [ 4 | "oneway", 5 | "structure", 6 | "access", 7 | "maxspeed", 8 | "surface" 9 | ], 10 | "geometry": [ 11 | "line" 12 | ], 13 | "tags": { 14 | "highway": "living_street" 15 | }, 16 | "name": "Living Street" 17 | } 18 | -------------------------------------------------------------------------------- /data/presets/presets/highway/mini_roundabout.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "vertex" 4 | ], 5 | "tags": { 6 | "highway": "mini_roundabout" 7 | }, 8 | "fields": [ 9 | "clock_direction" 10 | ], 11 | "name": "Mini-Roundabout" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/motorway.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-motorway", 3 | "fields": [ 4 | "oneway", 5 | "structure", 6 | "access", 7 | "lanes", 8 | "maxspeed", 9 | "surface", 10 | "ref" 11 | ], 12 | "geometry": [ 13 | "line" 14 | ], 15 | "tags": { 16 | "highway": "motorway" 17 | }, 18 | "terms": [], 19 | "name": "Motorway" 20 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/motorway_junction.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "vertex" 4 | ], 5 | "tags": { 6 | "highway": "motorway_junction" 7 | }, 8 | "fields": [ 9 | "ref" 10 | ], 11 | "name": "Motorway Junction" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/motorway_link.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-motorway-link", 3 | "fields": [ 4 | "oneway_yes", 5 | "structure", 6 | "access", 7 | "maxspeed", 8 | "surface", 9 | "ref" 10 | ], 11 | "geometry": [ 12 | "line" 13 | ], 14 | "tags": { 15 | "highway": "motorway_link" 16 | }, 17 | "terms": ["ramp", "on ramp", "off ramp"], 18 | "name": "Motorway Link" 19 | } 20 | -------------------------------------------------------------------------------- /data/presets/presets/highway/path.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-path", 3 | "fields": [ 4 | "structure", 5 | "access", 6 | "sac_scale", 7 | "surface", 8 | "incline", 9 | "trail_visibility", 10 | "ref" 11 | ], 12 | "geometry": [ 13 | "line" 14 | ], 15 | "tags": { 16 | "highway": "path" 17 | }, 18 | "terms": [], 19 | "name": "Path" 20 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/pedestrian.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "access", 4 | "oneway", 5 | "surface" 6 | ], 7 | "geometry": [ 8 | "line", "area" 9 | ], 10 | "tags": { 11 | "highway": "pedestrian" 12 | }, 13 | "terms": [], 14 | "name": "Pedestrian" 15 | } 16 | -------------------------------------------------------------------------------- /data/presets/presets/highway/primary.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-primary", 3 | "fields": [ 4 | "oneway", 5 | "structure", 6 | "access", 7 | "lanes", 8 | "maxspeed", 9 | "surface", 10 | "ref" 11 | ], 12 | "geometry": [ 13 | "line" 14 | ], 15 | "tags": { 16 | "highway": "primary" 17 | }, 18 | "terms": [], 19 | "name": "Primary Road" 20 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/primary_link.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-primary-link", 3 | "fields": [ 4 | "oneway", 5 | "structure", 6 | "access", 7 | "maxspeed", 8 | "surface", 9 | "ref" 10 | ], 11 | "geometry": [ 12 | "line" 13 | ], 14 | "tags": { 15 | "highway": "primary_link" 16 | }, 17 | "terms": ["ramp", "on ramp", "off ramp"], 18 | "name": "Primary Link" 19 | } 20 | -------------------------------------------------------------------------------- /data/presets/presets/highway/residential.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-residential", 3 | "fields": [ 4 | "oneway", 5 | "structure", 6 | "access", 7 | "maxspeed", 8 | "surface" 9 | ], 10 | "geometry": [ 11 | "line" 12 | ], 13 | "tags": { 14 | "highway": "residential" 15 | }, 16 | "terms": [], 17 | "name": "Residential Road" 18 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/road.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-road", 3 | "fields": [ 4 | "oneway", 5 | "structure", 6 | "access", 7 | "maxspeed", 8 | "surface" 9 | ], 10 | "geometry": [ 11 | "line" 12 | ], 13 | "tags": { 14 | "highway": "road" 15 | }, 16 | "terms": [], 17 | "name": "Unknown Road" 18 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/secondary.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-secondary", 3 | "fields": [ 4 | "oneway", 5 | "structure", 6 | "access", 7 | "lanes", 8 | "maxspeed", 9 | "surface", 10 | "ref" 11 | ], 12 | "geometry": [ 13 | "line" 14 | ], 15 | "tags": { 16 | "highway": "secondary" 17 | }, 18 | "terms": [], 19 | "name": "Secondary Road" 20 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/secondary_link.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-secondary-link", 3 | "fields": [ 4 | "oneway", 5 | "structure", 6 | "access", 7 | "maxspeed", 8 | "surface", 9 | "ref" 10 | ], 11 | "geometry": [ 12 | "line" 13 | ], 14 | "tags": { 15 | "highway": "secondary_link" 16 | }, 17 | "terms": ["ramp", "on ramp", "off ramp"], 18 | "name": "Secondary Link" 19 | } 20 | -------------------------------------------------------------------------------- /data/presets/presets/highway/service.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-service", 3 | "fields": [ 4 | "service", 5 | "oneway", 6 | "structure", 7 | "access", 8 | "maxspeed", 9 | "surface" 10 | ], 11 | "geometry": [ 12 | "line" 13 | ], 14 | "tags": { 15 | "highway": "service" 16 | }, 17 | "terms": [], 18 | "name": "Service Road" 19 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/service/alley.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-service", 3 | "fields": [ 4 | "oneway", 5 | "access", 6 | "surface" 7 | ], 8 | "geometry": [ 9 | "line" 10 | ], 11 | "tags": { 12 | "highway": "service", 13 | "service": "alley" 14 | }, 15 | "name": "Alley" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/service/drive-through.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-service", 3 | "fields": [ 4 | "oneway", 5 | "access", 6 | "surface" 7 | ], 8 | "geometry": [ 9 | "line" 10 | ], 11 | "tags": { 12 | "highway": "service", 13 | "service": "drive-through" 14 | }, 15 | "name": "Drive-Through" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/service/driveway.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-service", 3 | "fields": [ 4 | "oneway", 5 | "access", 6 | "surface" 7 | ], 8 | "geometry": [ 9 | "line" 10 | ], 11 | "tags": { 12 | "highway": "service", 13 | "service": "driveway" 14 | }, 15 | "name": "Driveway" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/service/emergency_access.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-service", 3 | "fields": [ 4 | "oneway", 5 | "access", 6 | "surface" 7 | ], 8 | "geometry": [ 9 | "line" 10 | ], 11 | "tags": { 12 | "highway": "service", 13 | "service": "emergency_access" 14 | }, 15 | "name": "Emergency Access" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/service/parking_aisle.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-service", 3 | "fields": [ 4 | "oneway", 5 | "access", 6 | "surface" 7 | ], 8 | "geometry": [ 9 | "line" 10 | ], 11 | "tags": { 12 | "highway": "service", 13 | "service": "parking_aisle" 14 | }, 15 | "name": "Parking Aisle" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/steps.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "access", 4 | "surface" 5 | ], 6 | "icon": "highway-steps", 7 | "geometry": [ 8 | "line" 9 | ], 10 | "tags": { 11 | "highway": "steps" 12 | }, 13 | "terms": [ 14 | "stairs", 15 | "staircase" 16 | ], 17 | "name": "Steps" 18 | } 19 | -------------------------------------------------------------------------------- /data/presets/presets/highway/tertiary.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-tertiary", 3 | "fields": [ 4 | "oneway", 5 | "structure", 6 | "access", 7 | "lanes", 8 | "maxspeed", 9 | "surface", 10 | "ref" 11 | ], 12 | "geometry": [ 13 | "line" 14 | ], 15 | "tags": { 16 | "highway": "tertiary" 17 | }, 18 | "terms": [], 19 | "name": "Tertiary Road" 20 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/tertiary_link.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-tertiary-link", 3 | "fields": [ 4 | "oneway", 5 | "structure", 6 | "access", 7 | "maxspeed", 8 | "surface", 9 | "ref" 10 | ], 11 | "geometry": [ 12 | "line" 13 | ], 14 | "tags": { 15 | "highway": "tertiary_link" 16 | }, 17 | "terms": ["ramp", "on ramp", "off ramp"], 18 | "name": "Tertiary Link" 19 | } 20 | -------------------------------------------------------------------------------- /data/presets/presets/highway/track.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-track", 3 | "fields": [ 4 | "tracktype", 5 | "oneway", 6 | "structure", 7 | "access", 8 | "maxspeed", 9 | "surface" 10 | ], 11 | "geometry": [ 12 | "line" 13 | ], 14 | "tags": { 15 | "highway": "track" 16 | }, 17 | "terms": [], 18 | "name": "Track" 19 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/traffic_signals.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "vertex" 4 | ], 5 | "tags": { 6 | "highway": "traffic_signals" 7 | }, 8 | "terms": [ 9 | "light", 10 | "stoplight", 11 | "traffic light" 12 | ], 13 | "name": "Traffic Signals" 14 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/trunk.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-trunk", 3 | "fields": [ 4 | "oneway", 5 | "structure", 6 | "access", 7 | "lanes", 8 | "maxspeed", 9 | "surface", 10 | "ref" 11 | ], 12 | "geometry": [ 13 | "line" 14 | ], 15 | "tags": { 16 | "highway": "trunk" 17 | }, 18 | "terms": [], 19 | "name": "Trunk Road" 20 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/trunk_link.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-trunk-link", 3 | "fields": [ 4 | "oneway", 5 | "structure", 6 | "access", 7 | "maxspeed", 8 | "surface", 9 | "ref" 10 | ], 11 | "geometry": [ 12 | "line" 13 | ], 14 | "tags": { 15 | "highway": "trunk_link" 16 | }, 17 | "terms": ["ramp", "on ramp", "off ramp"], 18 | "name": "Trunk Link" 19 | } 20 | -------------------------------------------------------------------------------- /data/presets/presets/highway/turning_circle.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "circle", 3 | "geometry": [ 4 | "vertex" 5 | ], 6 | "tags": { 7 | "highway": "turning_circle" 8 | }, 9 | "terms": [], 10 | "name": "Turning Circle" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/highway/unclassified.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "highway-unclassified", 3 | "fields": [ 4 | "oneway", 5 | "structure", 6 | "access", 7 | "maxspeed", 8 | "surface" 9 | ], 10 | "geometry": [ 11 | "line" 12 | ], 13 | "tags": { 14 | "highway": "unclassified" 15 | }, 16 | "terms": [], 17 | "name": "Unclassified Road" 18 | } -------------------------------------------------------------------------------- /data/presets/presets/historic.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "historic" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex", 8 | "area" 9 | ], 10 | "tags": { 11 | "historic": "*" 12 | }, 13 | "name": "Historic Site" 14 | } -------------------------------------------------------------------------------- /data/presets/presets/historic/archaeological_site.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex", 5 | "area" 6 | ], 7 | "tags": { 8 | "historic": "archaeological_site" 9 | }, 10 | "name": "Archaeological Site" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/historic/boundary_stone.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex" 5 | ], 6 | "tags": { 7 | "historic": "boundary_stone" 8 | }, 9 | "name": "Boundary Stone" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/historic/castle.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex", 5 | "area" 6 | ], 7 | "tags": { 8 | "historic": "castle" 9 | }, 10 | "name": "Castle" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/historic/memorial.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "monument", 3 | "geometry": [ 4 | "point", 5 | "vertex", 6 | "area" 7 | ], 8 | "tags": { 9 | "historic": "memorial" 10 | }, 11 | "name": "Memorial" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/historic/monument.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "monument", 3 | "geometry": [ 4 | "point", 5 | "vertex", 6 | "area" 7 | ], 8 | "tags": { 9 | "historic": "monument" 10 | }, 11 | "name": "Monument" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/historic/ruins.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex", 5 | "area" 6 | ], 7 | "tags": { 8 | "historic": "ruins" 9 | }, 10 | "name": "Ruins" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/historic/wayside_cross.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex", 5 | "area" 6 | ], 7 | "tags": { 8 | "historic": "wayside_cross" 9 | }, 10 | "name": "Wayside Cross" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/historic/wayside_shrine.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex", 5 | "area" 6 | ], 7 | "tags": { 8 | "historic": "wayside_shrine" 9 | }, 10 | "name": "Wayside Shrine" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "landuse" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex", 8 | "area" 9 | ], 10 | "tags": { 11 | "landuse": "*" 12 | }, 13 | "name": "Landuse" 14 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/allotments.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "landuse": "allotments" 8 | }, 9 | "terms": [], 10 | "name": "Allotments" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/basin.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "landuse": "basin" 8 | }, 9 | "terms": [], 10 | "name": "Basin" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/cemetery.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "cemetery", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "tags": { 8 | "landuse": "cemetery" 9 | }, 10 | "terms": [], 11 | "name": "Cemetery" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/commercial.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "landuse": "commercial" 8 | }, 9 | "terms": [], 10 | "name": "Commercial" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/construction.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "construction", 4 | "operator" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "area" 9 | ], 10 | "tags": { 11 | "landuse": "construction" 12 | }, 13 | "terms": [], 14 | "name": "Construction" 15 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/farm.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "landuse": "farm" 8 | }, 9 | "terms": [], 10 | "name": "Farm" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/farmyard.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "landuse": "farmyard" 8 | }, 9 | "terms": [], 10 | "name": "Farmyard" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/forest.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "wood" 4 | ], 5 | "icon": "park2", 6 | "geometry": [ 7 | "point", 8 | "area" 9 | ], 10 | "tags": { 11 | "landuse": "forest" 12 | }, 13 | "terms": [], 14 | "name": "Forest" 15 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/grass.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "landuse": "grass" 8 | }, 9 | "terms": [], 10 | "name": "Grass" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/industrial.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "industrial", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "tags": { 8 | "landuse": "industrial" 9 | }, 10 | "terms": [], 11 | "name": "Industrial" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/meadow.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "landuse": "meadow" 8 | }, 9 | "terms": [], 10 | "name": "Meadow" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/orchard.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "park2", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "tags": { 8 | "landuse": "orchard" 9 | }, 10 | "terms": [], 11 | "name": "Orchard" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/quarry.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "landuse": "quarry" 8 | }, 9 | "terms": [], 10 | "name": "Quarry" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/residential.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "landuse": "residential" 8 | }, 9 | "terms": [], 10 | "name": "Residential" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/retail.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "tags": { 8 | "landuse": "retail" 9 | }, 10 | "name": "Retail" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/landuse/vineyard.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "landuse": "vineyard" 8 | }, 9 | "terms": [], 10 | "name": "Vineyard" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/leisure.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "leisure" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex", 8 | "area" 9 | ], 10 | "tags": { 11 | "leisure": "*" 12 | }, 13 | "name": "Leisure" 14 | } -------------------------------------------------------------------------------- /data/presets/presets/leisure/garden.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "garden", 3 | "geometry": [ 4 | "point", 5 | "vertex", 6 | "area" 7 | ], 8 | "tags": { 9 | "leisure": "garden" 10 | }, 11 | "name": "Garden" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/leisure/golf_course.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "golf", 3 | "fields": [ 4 | "operator", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "area" 10 | ], 11 | "tags": { 12 | "leisure": "golf_course" 13 | }, 14 | "terms": [], 15 | "name": "Golf Course" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/leisure/marina.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "harbor", 3 | "geometry": [ 4 | "point", 5 | "vertex", 6 | "area" 7 | ], 8 | "tags": { 9 | "leisure": "marina" 10 | }, 11 | "name": "Marina" 12 | } 13 | -------------------------------------------------------------------------------- /data/presets/presets/leisure/park.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "park", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "terms": [ 8 | "esplanade", 9 | "estate", 10 | "forest", 11 | "garden", 12 | "grass", 13 | "green", 14 | "grounds", 15 | "lawn", 16 | "lot", 17 | "meadow", 18 | "parkland", 19 | "place", 20 | "playground", 21 | "plaza", 22 | "pleasure garden", 23 | "recreation area", 24 | "square", 25 | "tract", 26 | "village green", 27 | "woodland" 28 | ], 29 | "tags": { 30 | "leisure": "park" 31 | }, 32 | "name": "Park" 33 | } -------------------------------------------------------------------------------- /data/presets/presets/leisure/pitch.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "pitch", 3 | "fields": [ 4 | "sport", 5 | "surface" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "area" 10 | ], 11 | "tags": { 12 | "leisure": "pitch" 13 | }, 14 | "terms": [], 15 | "name": "Sport Pitch" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/leisure/pitch/american_football.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "america-football", 3 | "fields": [ 4 | "surface" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "area" 9 | ], 10 | "tags": { 11 | "leisure": "pitch", 12 | "sport": "american_football" 13 | }, 14 | "terms": [], 15 | "name": "American Football Field" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/leisure/pitch/baseball.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "baseball", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "tags": { 8 | "leisure": "pitch", 9 | "sport": "baseball" 10 | }, 11 | "terms": [], 12 | "name": "Baseball Diamond" 13 | } -------------------------------------------------------------------------------- /data/presets/presets/leisure/pitch/basketball.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "basketball", 3 | "fields": [ 4 | "surface" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "area" 9 | ], 10 | "tags": { 11 | "leisure": "pitch", 12 | "sport": "basketball" 13 | }, 14 | "terms": [], 15 | "name": "Basketball Court" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/leisure/pitch/soccer.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "soccer", 3 | "fields": [ 4 | "surface" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "area" 9 | ], 10 | "tags": { 11 | "leisure": "pitch", 12 | "sport": "soccer" 13 | }, 14 | "terms": [], 15 | "name": "Soccer Field" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/leisure/pitch/tennis.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "tennis", 3 | "fields": [ 4 | "surface" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "area" 9 | ], 10 | "tags": { 11 | "leisure": "pitch", 12 | "sport": "tennis" 13 | }, 14 | "terms": [], 15 | "name": "Tennis Court" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/leisure/pitch/volleyball.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "pitch", 3 | "fields": [ 4 | "surface" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "area" 9 | ], 10 | "tags": { 11 | "leisure": "pitch", 12 | "sport": "volleyball" 13 | }, 14 | "terms": [], 15 | "name": "Volleyball Court" 16 | } 17 | -------------------------------------------------------------------------------- /data/presets/presets/leisure/playground.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "leisure": "playground" 8 | }, 9 | "name": "Playground" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/leisure/slipway.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "line" 5 | ], 6 | "tags": { 7 | "leisure": "slipway" 8 | }, 9 | "name": "Slipway" 10 | } 11 | -------------------------------------------------------------------------------- /data/presets/presets/leisure/stadium.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "leisure": "stadium" 8 | }, 9 | "fields": [ 10 | "sport" 11 | ], 12 | "name": "Stadium" 13 | } 14 | -------------------------------------------------------------------------------- /data/presets/presets/leisure/swimming_pool.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex", 5 | "area" 6 | ], 7 | "tags": { 8 | "leisure": "swimming_pool" 9 | }, 10 | "icon": "swimming", 11 | "name": "Swimming Pool" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/man_made.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "man_made" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex", 8 | "line", 9 | "area" 10 | ], 11 | "tags": { 12 | "man_made": "*" 13 | }, 14 | "name": "Man Made" 15 | } -------------------------------------------------------------------------------- /data/presets/presets/man_made/breakwater.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "line", 4 | "area" 5 | ], 6 | "tags": { 7 | "man_made": "breakwater" 8 | }, 9 | "name": "Breakwater" 10 | } 11 | -------------------------------------------------------------------------------- /data/presets/presets/man_made/cutline.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "line" 4 | ], 5 | "tags": { 6 | "man_made": "cutline" 7 | }, 8 | "name": "Cut line" 9 | } 10 | -------------------------------------------------------------------------------- /data/presets/presets/man_made/lighthouse.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "man_made": "lighthouse" 8 | }, 9 | "name": "Lighthouse" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/man_made/pier.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "line", 4 | "area" 5 | ], 6 | "tags": { 7 | "man_made": "pier" 8 | }, 9 | "name": "Pier" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/man_made/pipeline.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "line" 4 | ], 5 | "tags": { 6 | "man_made": "pipeline" 7 | }, 8 | "fields": [ 9 | "location", 10 | "operator" 11 | ], 12 | "name": "Pipeline" 13 | } 14 | -------------------------------------------------------------------------------- /data/presets/presets/man_made/survey_point.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "monument", 3 | "geometry": [ 4 | "point", 5 | "vertex" 6 | ], 7 | "tags": { 8 | "man_made": "survey_point" 9 | }, 10 | "fields": [ 11 | "ref" 12 | ], 13 | "name": "Survey Point" 14 | } -------------------------------------------------------------------------------- /data/presets/presets/man_made/tower.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "man_made": "tower" 8 | }, 9 | "fields": [ 10 | "towertype" 11 | ], 12 | "name": "Tower" 13 | } 14 | -------------------------------------------------------------------------------- /data/presets/presets/man_made/wastewater_plant.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "water", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "tags": { 8 | "man_made": "wastewater_plant" 9 | }, 10 | "name": "Wastewater Plant", 11 | "terms": [ 12 | "sewage works", 13 | "sewage treatment plant", 14 | "water treatment plant", 15 | "reclamation plant" 16 | ] 17 | } -------------------------------------------------------------------------------- /data/presets/presets/man_made/water_tower.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "water", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "tags": { 8 | "man_made": "water_tower" 9 | }, 10 | "name": "Water Tower" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/man_made/water_well.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "man_made": "water_well" 8 | }, 9 | "name": "Water well" 10 | } 11 | -------------------------------------------------------------------------------- /data/presets/presets/man_made/water_works.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "water", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "tags": { 8 | "man_made": "water_works" 9 | }, 10 | "name": "Water Works" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/natural.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "natural" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex", 8 | "area" 9 | ], 10 | "tags": { 11 | "natural": "*" 12 | }, 13 | "name": "Natural" 14 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/bay.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "terms": [], 7 | "tags": { 8 | "natural": "bay" 9 | }, 10 | "name": "Bay" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/beach.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "surface" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "area" 8 | ], 9 | "terms": [], 10 | "tags": { 11 | "natural": "beach" 12 | }, 13 | "name": "Beach" 14 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/cliff.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex", 5 | "line", 6 | "area" 7 | ], 8 | "terms": [], 9 | "tags": { 10 | "natural": "cliff" 11 | }, 12 | "name": "Cliff" 13 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/coastline.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "line" 4 | ], 5 | "terms": [ 6 | "shore" 7 | ], 8 | "tags": { 9 | "natural": "coastline" 10 | }, 11 | "name": "Coastline" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/glacier.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "area" 4 | ], 5 | "terms": [], 6 | "tags": { 7 | "natural": "glacier" 8 | }, 9 | "name": "Glacier" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/grassland.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "terms": [], 7 | "tags": { 8 | "natural": "grassland" 9 | }, 10 | "name": "Grassland" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/heath.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "area" 4 | ], 5 | "terms": [], 6 | "tags": { 7 | "natural": "heath" 8 | }, 9 | "name": "Heath" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/peak.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "triangle", 3 | "fields": [ 4 | "elevation" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "vertex" 9 | ], 10 | "tags": { 11 | "natural": "peak" 12 | }, 13 | "terms": [ 14 | "acme", 15 | "aiguille", 16 | "alp", 17 | "climax", 18 | "crest", 19 | "crown", 20 | "hill", 21 | "mount", 22 | "mountain", 23 | "pinnacle", 24 | "summit", 25 | "tip", 26 | "top" 27 | ], 28 | "name": "Peak" 29 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/scrub.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "area" 4 | ], 5 | "tags": { 6 | "natural": "scrub" 7 | }, 8 | "terms": [], 9 | "name": "Scrub" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/spring.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex" 5 | ], 6 | "terms": [], 7 | "tags": { 8 | "natural": "spring" 9 | }, 10 | "name": "Spring" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/tree.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "denotation" 4 | ], 5 | "icon": "park", 6 | "geometry": [ 7 | "point", 8 | "vertex" 9 | ], 10 | "terms": [], 11 | "tags": { 12 | "natural": "tree" 13 | }, 14 | "name": "Tree" 15 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/water.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "water" 4 | ], 5 | "geometry": [ 6 | "area" 7 | ], 8 | "tags": { 9 | "natural": "water" 10 | }, 11 | "icon": "water", 12 | "name": "Water" 13 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/water/lake.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "area" 4 | ], 5 | "tags": { 6 | "natural": "water", 7 | "water": "lake" 8 | }, 9 | "terms": [ 10 | "lakelet", 11 | "loch", 12 | "mere" 13 | ], 14 | "icon": "water", 15 | "name": "Lake" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/water/pond.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "area" 4 | ], 5 | "tags": { 6 | "natural": "water", 7 | "water": "pond" 8 | }, 9 | "terms": [ 10 | "lakelet", 11 | "millpond", 12 | "tarn", 13 | "pool", 14 | "mere" 15 | ], 16 | "icon": "water", 17 | "name": "Pond" 18 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/water/reservoir.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "area" 4 | ], 5 | "tags": { 6 | "natural": "water", 7 | "water": "reservoir" 8 | }, 9 | "icon": "water", 10 | "name": "Reservoir" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/wetland.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "wetland", 3 | "fields": [ 4 | "wetland" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "area" 9 | ], 10 | "tags": { 11 | "natural": "wetland" 12 | }, 13 | "terms": [], 14 | "name": "Wetland" 15 | } -------------------------------------------------------------------------------- /data/presets/presets/natural/wood.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "wood" 4 | ], 5 | "icon": "park2", 6 | "geometry": [ 7 | "point", 8 | "area" 9 | ], 10 | "tags": { 11 | "natural": "wood" 12 | }, 13 | "terms": [], 14 | "name": "Wood" 15 | } -------------------------------------------------------------------------------- /data/presets/presets/office.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "commercial", 3 | "fields": [ 4 | "office", 5 | "address", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "office": "*" 15 | }, 16 | "terms": [], 17 | "name": "Office" 18 | } -------------------------------------------------------------------------------- /data/presets/presets/other.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Other", 3 | "tags": {}, 4 | "geometry": ["point", "vertex", "line", "area", "relation"], 5 | "fields": [] 6 | } 7 | -------------------------------------------------------------------------------- /data/presets/presets/other_area.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Other", 3 | "tags": { 4 | "area": "yes" 5 | }, 6 | "geometry": ["area"], 7 | "fields": [] 8 | } 9 | -------------------------------------------------------------------------------- /data/presets/presets/place.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "place" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex", 8 | "area" 9 | ], 10 | "tags": { 11 | "place": "*" 12 | }, 13 | "name": "Place" 14 | } -------------------------------------------------------------------------------- /data/presets/presets/place/city.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "square", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "tags": { 8 | "place": "city" 9 | }, 10 | "name": "City" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/place/hamlet.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "triangle-stroked", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "tags": { 8 | "place": "hamlet" 9 | }, 10 | "name": "Hamlet" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/place/island.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "terms": [ 7 | "archipelago", 8 | "atoll", 9 | "bar", 10 | "cay", 11 | "isle", 12 | "islet", 13 | "key", 14 | "reef" 15 | ], 16 | "tags": { 17 | "place": "island" 18 | }, 19 | "name": "Island" 20 | } -------------------------------------------------------------------------------- /data/presets/presets/place/isolated_dwelling.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "area" 5 | ], 6 | "tags": { 7 | "place": "isolated_dwelling" 8 | }, 9 | "name": "Isolated Dwelling" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/place/locality.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "marker", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "tags": { 8 | "place": "locality" 9 | }, 10 | "name": "Locality" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/place/town.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "square-stroked", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "tags": { 8 | "place": "town" 9 | }, 10 | "name": "Town" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/place/village.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "triangle", 3 | "geometry": [ 4 | "point", 5 | "area" 6 | ], 7 | "tags": { 8 | "place": "village" 9 | }, 10 | "name": "Village" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/power.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex", 5 | "line", 6 | "area" 7 | ], 8 | "tags": { 9 | "power": "*" 10 | }, 11 | "fields": [ 12 | "power" 13 | ], 14 | "name": "Power" 15 | } -------------------------------------------------------------------------------- /data/presets/presets/power/generator.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex", 5 | "area" 6 | ], 7 | "tags": { 8 | "power": "generator" 9 | }, 10 | "name": "Power Plant" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/power/line.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "line" 4 | ], 5 | "tags": { 6 | "power": "line" 7 | }, 8 | "name": "Power Line", 9 | "icon": "power-line" 10 | } 11 | -------------------------------------------------------------------------------- /data/presets/presets/power/pole.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "vertex" 4 | ], 5 | "tags": { 6 | "power": "pole" 7 | }, 8 | "name": "Power Pole" 9 | } -------------------------------------------------------------------------------- /data/presets/presets/power/sub_station.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "operator", 4 | "building" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "area" 9 | ], 10 | "tags": { 11 | "power": "sub_station" 12 | }, 13 | "name": "Substation" 14 | } 15 | -------------------------------------------------------------------------------- /data/presets/presets/power/tower.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "vertex" 4 | ], 5 | "tags": { 6 | "power": "tower" 7 | }, 8 | "name": "High-Voltage Tower" 9 | } -------------------------------------------------------------------------------- /data/presets/presets/power/transformer.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex", 5 | "area" 6 | ], 7 | "tags": { 8 | "power": "transformer" 9 | }, 10 | "name": "Transformer" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/railway.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "railway" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex", 8 | "line", 9 | "area" 10 | ], 11 | "tags": { 12 | "railway": "*" 13 | }, 14 | "name": "Railway" 15 | } -------------------------------------------------------------------------------- /data/presets/presets/railway/abandoned.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "railway-abandoned", 3 | "geometry": [ 4 | "line" 5 | ], 6 | "tags": { 7 | "railway": "abandoned" 8 | }, 9 | "fields": [ 10 | "structure" 11 | ], 12 | "terms": [], 13 | "name": "Abandoned Railway" 14 | } 15 | -------------------------------------------------------------------------------- /data/presets/presets/railway/disused.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "railway-disused", 3 | "geometry": [ 4 | "line" 5 | ], 6 | "tags": { 7 | "railway": "disused" 8 | }, 9 | "fields": [ 10 | "structure" 11 | ], 12 | "terms": [], 13 | "name": "Disused Railway" 14 | } 15 | -------------------------------------------------------------------------------- /data/presets/presets/railway/level_crossing.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "cross", 3 | "geometry": [ 4 | "vertex" 5 | ], 6 | "tags": { 7 | "railway": "level_crossing" 8 | }, 9 | "terms": [ 10 | "crossing", 11 | "railroad crossing", 12 | "railway crossing", 13 | "grade crossing", 14 | "road through railroad", 15 | "train crossing" 16 | ], 17 | "name": "Level Crossing" 18 | } -------------------------------------------------------------------------------- /data/presets/presets/railway/monorail.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "railway-monorail", 3 | "geometry": [ 4 | "line" 5 | ], 6 | "tags": { 7 | "railway": "monorail" 8 | }, 9 | "fields": [ 10 | "structure" 11 | ], 12 | "terms": [], 13 | "name": "Monorail" 14 | } 15 | -------------------------------------------------------------------------------- /data/presets/presets/railway/platform.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex", 5 | "line", 6 | "area" 7 | ], 8 | "tags": { 9 | "railway": "platform" 10 | }, 11 | "name": "Railway Platform" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/railway/rail.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "railway-rail", 3 | "geometry": [ 4 | "line" 5 | ], 6 | "tags": { 7 | "railway": "rail" 8 | }, 9 | "fields": [ 10 | "structure" 11 | ], 12 | "terms": [], 13 | "name": "Rail" 14 | } -------------------------------------------------------------------------------- /data/presets/presets/railway/station.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "rail", 3 | "geometry": [ 4 | "point", 5 | "vertex", 6 | "area" 7 | ], 8 | "tags": { 9 | "railway": "station" 10 | }, 11 | "name": "Railway Station" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/railway/subway.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "railway-subway", 3 | "fields": [ 4 | "structure" 5 | ], 6 | "geometry": [ 7 | "line" 8 | ], 9 | "tags": { 10 | "railway": "subway" 11 | }, 12 | "terms": [], 13 | "name": "Subway" 14 | } 15 | -------------------------------------------------------------------------------- /data/presets/presets/railway/subway_entrance.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "rail-underground", 3 | "geometry": [ 4 | "point" 5 | ], 6 | "tags": { 7 | "railway": "subway_entrance" 8 | }, 9 | "terms": [], 10 | "name": "Subway Entrance" 11 | } -------------------------------------------------------------------------------- /data/presets/presets/railway/tram.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "railway-light-rail", 3 | "geometry": [ 4 | "line" 5 | ], 6 | "tags": { 7 | "railway": "tram" 8 | }, 9 | "fields": [ 10 | "structure" 11 | ], 12 | "terms": ["streetcar"], 13 | "name": "Tram" 14 | } 15 | -------------------------------------------------------------------------------- /data/presets/presets/shop.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "shop", 5 | "address", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "*" 15 | }, 16 | "terms": [], 17 | "name": "Shop" 18 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/alcohol.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "alcohol-shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "alcohol" 15 | }, 16 | "terms": [ 17 | "alcohol" 18 | ], 19 | "name": "Liquor Store" 20 | } 21 | -------------------------------------------------------------------------------- /data/presets/presets/shop/bakery.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "bakery" 15 | }, 16 | "name": "Bakery" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/beauty.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "beauty" 15 | }, 16 | "name": "Beauty Shop" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/beverages.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "beverages" 15 | }, 16 | "name": "Beverage Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/bicycle.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "bicycle", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "bicycle" 15 | }, 16 | "name": "Bicycle Shop" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/books.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "books" 15 | }, 16 | "name": "Bookstore" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/boutique.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "boutique" 15 | }, 16 | "name": "Boutique" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/butcher.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "slaughterhouse", 3 | "fields": [ 4 | "building_area", 5 | "opening_hours" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "terms": [], 13 | "tags": { 14 | "shop": "butcher" 15 | }, 16 | "name": "Butcher" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/car.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "car" 15 | }, 16 | "name": "Car Dealership" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/car_parts.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "car_parts" 15 | }, 16 | "name": "Car Parts Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/car_repair.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "car_repair" 15 | }, 16 | "name": "Car Repair Shop" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/chemist.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "chemist" 15 | }, 16 | "name": "Chemist" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/clothes.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "clothes" 15 | }, 16 | "name": "Clothing Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/computer.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "computer" 15 | }, 16 | "name": "Computer Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/confectionery.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "confectionery" 15 | }, 16 | "name": "Confectionery" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/convenience.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "convenience" 15 | }, 16 | "name": "Convenience Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/deli.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "restaurant", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "deli" 15 | }, 16 | "name": "Deli" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/department_store.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "department_store" 15 | }, 16 | "name": "Department Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/doityourself.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "doityourself" 15 | }, 16 | "name": "DIY Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/dry_cleaning.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "dry_cleaning" 15 | }, 16 | "name": "Dry Cleaners" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/electronics.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "electronics" 15 | }, 16 | "name": "Electronics Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/fishmonger.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "fishmonger" 15 | }, 16 | "name": "Fishmonger" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/florist.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "florist" 15 | }, 16 | "name": "Florist" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/furniture.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "furniture" 15 | }, 16 | "name": "Furniture Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/garden_centre.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "garden_centre" 15 | }, 16 | "name": "Garden Center" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/gift.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "gift" 15 | }, 16 | "name": "Gift Shop" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/greengrocer.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "greengrocer" 15 | }, 16 | "name": "Greengrocer" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/hairdresser.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "hairdresser" 15 | }, 16 | "name": "Hairdresser" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/hardware.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "hardware" 15 | }, 16 | "name": "Hardware Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/hifi.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "hifi" 15 | }, 16 | "name": "Hifi Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/jewelry.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "jewelry" 15 | }, 16 | "name": "Jeweler" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/kiosk.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "kiosk" 15 | }, 16 | "name": "Kiosk" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/laundry.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "laundry" 15 | }, 16 | "name": "Laundry" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/mall.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "mall" 15 | }, 16 | "name": "Mall" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/mobile_phone.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "mobile_phone" 15 | }, 16 | "name": "Mobile Phone Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/motorcycle.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "motorcycle" 15 | }, 16 | "name": "Motorcycle Dealership" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/music.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "music", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "music" 15 | }, 16 | "name": "Music Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/newsagent.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "newsagent" 15 | }, 16 | "name": "Newsagent" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/optician.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "optician" 15 | }, 16 | "name": "Optician" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/outdoor.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "outdoor" 15 | }, 16 | "name": "Outdoor Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/pet.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "pet" 15 | }, 16 | "name": "Pet Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/shoes.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "shoes" 15 | }, 16 | "name": "Shoe Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/sports.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "sports" 15 | }, 16 | "name": "Sporting Goods Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/stationery.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "stationery" 15 | }, 16 | "name": "Stationery Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/supermarket.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "grocery", 3 | "fields": [ 4 | "operator", 5 | "building_area", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "terms": [ 14 | "bazaar", 15 | "boutique", 16 | "chain", 17 | "co-op", 18 | "cut-rate store", 19 | "discount store", 20 | "five-and-dime", 21 | "flea market", 22 | "galleria", 23 | "mall", 24 | "mart", 25 | "outlet", 26 | "outlet store", 27 | "shop", 28 | "shopping center", 29 | "shopping plaza", 30 | "stand", 31 | "store", 32 | "supermarket", 33 | "thrift shop" 34 | ], 35 | "tags": { 36 | "shop": "supermarket" 37 | }, 38 | "name": "Supermarket" 39 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/toys.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "toys" 15 | }, 16 | "name": "Toy Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/travel_agency.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "travel_agency" 15 | }, 16 | "name": "Travel Agency" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/tyres.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "tyres" 15 | }, 16 | "name": "Tire Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/vacant.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "vacant" 15 | }, 16 | "name": "Vacant Shop" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/variety_store.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "variety_store" 15 | }, 16 | "name": "Variety Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/shop/video.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "shop", 3 | "fields": [ 4 | "address", 5 | "building_area", 6 | "opening_hours" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "shop": "video" 15 | }, 16 | "name": "Video Store" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "tourism" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex", 8 | "area" 9 | ], 10 | "tags": { 11 | "tourism": "*" 12 | }, 13 | "name": "Tourism" 14 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/alpine_hut.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "lodging", 3 | "fields": [ 4 | "operator", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "tags": { 13 | "tourism": "alpine_hut" 14 | }, 15 | "name": "Alpine Hut" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/artwork.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "art-gallery", 3 | "geometry": [ 4 | "point", 5 | "vertex", 6 | "area" 7 | ], 8 | "tags": { 9 | "tourism": "artwork" 10 | }, 11 | "name": "Artwork" 12 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/attraction.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "monument", 3 | "fields": [ 4 | "operator", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "tags": { 13 | "tourism": "attraction" 14 | }, 15 | "name": "Tourist Attraction" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/camp_site.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "campsite", 3 | "fields": [ 4 | "operator", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "terms": [], 13 | "tags": { 14 | "tourism": "camp_site" 15 | }, 16 | "name": "Camp Site" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/caravan_site.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "operator", 4 | "address" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "vertex", 9 | "area" 10 | ], 11 | "tags": { 12 | "tourism": "caravan_site" 13 | }, 14 | "name": "RV Park" 15 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/chalet.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "lodging", 3 | "fields": [ 4 | "operator", 5 | "building_area", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "tourism": "chalet" 15 | }, 16 | "name": "Chalet" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/guest_house.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "lodging", 3 | "fields": [ 4 | "operator", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "tags": { 13 | "tourism": "guest_house" 14 | }, 15 | "terms": [ 16 | "B&B", 17 | "Bed & Breakfast", 18 | "Bed and Breakfast" 19 | ], 20 | "name": "Guest House" 21 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/hostel.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "lodging", 3 | "fields": [ 4 | "operator", 5 | "building_area", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "tourism": "hostel" 15 | }, 16 | "name": "Hostel" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/hotel.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "lodging", 3 | "fields": [ 4 | "operator", 5 | "building_area", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "terms": [], 14 | "tags": { 15 | "tourism": "hotel" 16 | }, 17 | "name": "Hotel" 18 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/information.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "building_area", 4 | "address" 5 | ], 6 | "geometry": [ 7 | "point", 8 | "vertex", 9 | "area" 10 | ], 11 | "tags": { 12 | "tourism": "information" 13 | }, 14 | "name": "Information" 15 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/motel.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "lodging", 3 | "fields": [ 4 | "operator", 5 | "building_area", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "tags": { 14 | "tourism": "motel" 15 | }, 16 | "name": "Motel" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/museum.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "museum", 3 | "fields": [ 4 | "operator", 5 | "building_area", 6 | "address" 7 | ], 8 | "geometry": [ 9 | "point", 10 | "vertex", 11 | "area" 12 | ], 13 | "terms": [ 14 | "exhibition", 15 | "exhibits archive", 16 | "foundation", 17 | "gallery", 18 | "hall", 19 | "institution", 20 | "library", 21 | "menagerie", 22 | "repository", 23 | "salon", 24 | "storehouse", 25 | "treasury", 26 | "vault" 27 | ], 28 | "tags": { 29 | "tourism": "museum" 30 | }, 31 | "name": "Museum" 32 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/picnic_site.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "operator", 4 | "building_area", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "terms": [], 13 | "tags": { 14 | "tourism": "picnic_site" 15 | }, 16 | "name": "Picnic Site" 17 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/theme_park.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "operator", 4 | "building_area", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "tags": { 13 | "tourism": "theme_park" 14 | }, 15 | "name": "Theme Park" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/viewpoint.json: -------------------------------------------------------------------------------- 1 | { 2 | "geometry": [ 3 | "point", 4 | "vertex" 5 | ], 6 | "tags": { 7 | "tourism": "viewpoint" 8 | }, 9 | "name": "Viewpoint" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/tourism/zoo.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "zoo", 3 | "fields": [ 4 | "operator", 5 | "address" 6 | ], 7 | "geometry": [ 8 | "point", 9 | "vertex", 10 | "area" 11 | ], 12 | "tags": { 13 | "tourism": "zoo" 14 | }, 15 | "name": "Zoo" 16 | } -------------------------------------------------------------------------------- /data/presets/presets/waterway.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": [ 3 | "waterway" 4 | ], 5 | "geometry": [ 6 | "point", 7 | "vertex", 8 | "line", 9 | "area" 10 | ], 11 | "tags": { 12 | "waterway": "*" 13 | }, 14 | "name": "Waterway" 15 | } -------------------------------------------------------------------------------- /data/presets/presets/waterway/canal.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "waterway-canal", 3 | "geometry": [ 4 | "line" 5 | ], 6 | "tags": { 7 | "waterway": "canal" 8 | }, 9 | "name": "Canal" 10 | } 11 | -------------------------------------------------------------------------------- /data/presets/presets/waterway/dam.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "dam", 3 | "geometry": [ 4 | "point", 5 | "vertex", 6 | "line", 7 | "area" 8 | ], 9 | "tags": { 10 | "waterway": "dam" 11 | }, 12 | "name": "Dam" 13 | } -------------------------------------------------------------------------------- /data/presets/presets/waterway/ditch.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "waterway-ditch", 3 | "geometry": [ 4 | "line" 5 | ], 6 | "tags": { 7 | "waterway": "ditch" 8 | }, 9 | "name": "Ditch" 10 | } 11 | -------------------------------------------------------------------------------- /data/presets/presets/waterway/drain.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "waterway-stream", 3 | "geometry": [ 4 | "line" 5 | ], 6 | "tags": { 7 | "waterway": "drain" 8 | }, 9 | "name": "Drain" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/waterway/river.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "waterway-river", 3 | "geometry": [ 4 | "line" 5 | ], 6 | "terms": [ 7 | "beck", 8 | "branch", 9 | "brook", 10 | "course", 11 | "creek", 12 | "estuary", 13 | "rill", 14 | "rivulet", 15 | "run", 16 | "runnel", 17 | "stream", 18 | "tributary", 19 | "watercourse" 20 | ], 21 | "tags": { 22 | "waterway": "river" 23 | }, 24 | "name": "River" 25 | } -------------------------------------------------------------------------------- /data/presets/presets/waterway/riverbank.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "water", 3 | "geometry": [ 4 | "area" 5 | ], 6 | "tags": { 7 | "waterway": "riverbank" 8 | }, 9 | "name": "Riverbank" 10 | } -------------------------------------------------------------------------------- /data/presets/presets/waterway/stream.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "waterway-stream", 3 | "fields": [ 4 | "layer" 5 | ], 6 | "geometry": [ 7 | "line" 8 | ], 9 | "terms": [ 10 | "beck", 11 | "branch", 12 | "brook", 13 | "burn", 14 | "course", 15 | "creek", 16 | "current", 17 | "drift", 18 | "flood", 19 | "flow", 20 | "freshet", 21 | "race", 22 | "rill", 23 | "rindle", 24 | "rivulet", 25 | "run", 26 | "runnel", 27 | "rush", 28 | "spate", 29 | "spritz", 30 | "surge", 31 | "tide", 32 | "torrent", 33 | "tributary", 34 | "watercourse" 35 | ], 36 | "tags": { 37 | "waterway": "stream" 38 | }, 39 | "name": "Stream" 40 | } 41 | -------------------------------------------------------------------------------- /data/presets/presets/waterway/weir.json: -------------------------------------------------------------------------------- 1 | { 2 | "icon": "dam", 3 | "geometry": [ 4 | "vertex", 5 | "line" 6 | ], 7 | "tags": { 8 | "waterway": "weir" 9 | }, 10 | "name": "Weir" 11 | } -------------------------------------------------------------------------------- /dist/img/background-pattern-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/background-pattern-1.png -------------------------------------------------------------------------------- /dist/img/background-pattern-opacity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/background-pattern-opacity.png -------------------------------------------------------------------------------- /dist/img/bing_maps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/bing_maps.png -------------------------------------------------------------------------------- /dist/img/cursor-draw-connect-line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-draw-connect-line.png -------------------------------------------------------------------------------- /dist/img/cursor-draw-connect-line2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-draw-connect-line2x.png -------------------------------------------------------------------------------- /dist/img/cursor-draw-connect-vertex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-draw-connect-vertex.png -------------------------------------------------------------------------------- /dist/img/cursor-draw-connect-vertex2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-draw-connect-vertex2x.png -------------------------------------------------------------------------------- /dist/img/cursor-draw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-draw.png -------------------------------------------------------------------------------- /dist/img/cursor-draw2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-draw2x.png -------------------------------------------------------------------------------- /dist/img/cursor-grab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-grab.png -------------------------------------------------------------------------------- /dist/img/cursor-grab2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-grab2x.png -------------------------------------------------------------------------------- /dist/img/cursor-grabbing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-grabbing.png -------------------------------------------------------------------------------- /dist/img/cursor-grabbing2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-grabbing2x.png -------------------------------------------------------------------------------- /dist/img/cursor-pointer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-pointer.png -------------------------------------------------------------------------------- /dist/img/cursor-pointer2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-pointer2x.png -------------------------------------------------------------------------------- /dist/img/cursor-pointing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-pointing.png -------------------------------------------------------------------------------- /dist/img/cursor-pointing2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-pointing2x.png -------------------------------------------------------------------------------- /dist/img/cursor-select-acting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-acting.png -------------------------------------------------------------------------------- /dist/img/cursor-select-acting2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-acting2x.png -------------------------------------------------------------------------------- /dist/img/cursor-select-add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-add.png -------------------------------------------------------------------------------- /dist/img/cursor-select-add2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-add2x.png -------------------------------------------------------------------------------- /dist/img/cursor-select-area.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-area.png -------------------------------------------------------------------------------- /dist/img/cursor-select-area2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-area2x.png -------------------------------------------------------------------------------- /dist/img/cursor-select-line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-line.png -------------------------------------------------------------------------------- /dist/img/cursor-select-line2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-line2x.png -------------------------------------------------------------------------------- /dist/img/cursor-select-point.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-point.png -------------------------------------------------------------------------------- /dist/img/cursor-select-point2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-point2x.png -------------------------------------------------------------------------------- /dist/img/cursor-select-remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-remove.png -------------------------------------------------------------------------------- /dist/img/cursor-select-remove2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-remove2x.png -------------------------------------------------------------------------------- /dist/img/cursor-select-split.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-split.png -------------------------------------------------------------------------------- /dist/img/cursor-select-split2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-split2x.png -------------------------------------------------------------------------------- /dist/img/cursor-select-vertex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-vertex.png -------------------------------------------------------------------------------- /dist/img/cursor-select-vertex2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/cursor-select-vertex2x.png -------------------------------------------------------------------------------- /dist/img/line-presets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/line-presets.png -------------------------------------------------------------------------------- /dist/img/loader-black.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/loader-black.gif -------------------------------------------------------------------------------- /dist/img/loader-white.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/loader-white.gif -------------------------------------------------------------------------------- /dist/img/loader_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/loader_bg.gif -------------------------------------------------------------------------------- /dist/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/logo.png -------------------------------------------------------------------------------- /dist/img/maki-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/maki-sprite.png -------------------------------------------------------------------------------- /dist/img/mini-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/mini-loader.gif -------------------------------------------------------------------------------- /dist/img/pattern/cemetery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/pattern/cemetery.png -------------------------------------------------------------------------------- /dist/img/pattern/construction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/pattern/construction.png -------------------------------------------------------------------------------- /dist/img/pattern/dots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/pattern/dots.png -------------------------------------------------------------------------------- /dist/img/pattern/farmland.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/pattern/farmland.png -------------------------------------------------------------------------------- /dist/img/pattern/orchard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/pattern/orchard.png -------------------------------------------------------------------------------- /dist/img/pattern/vineyard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/pattern/vineyard.png -------------------------------------------------------------------------------- /dist/img/pattern/wetland.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/dist/img/pattern/wetland.png -------------------------------------------------------------------------------- /dist/land.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /docs/img/geocoder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/docs/img/geocoder.png -------------------------------------------------------------------------------- /docs/img/modes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/docs/img/modes.png -------------------------------------------------------------------------------- /docs/img/operations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/docs/img/operations.png -------------------------------------------------------------------------------- /img/office-building.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/img/office-building.png -------------------------------------------------------------------------------- /js/id/actions.js: -------------------------------------------------------------------------------- 1 | iD.actions = {}; 2 | -------------------------------------------------------------------------------- /js/id/actions/add_entity.js: -------------------------------------------------------------------------------- 1 | iD.actions.AddEntity = function(way) { 2 | return function(graph) { 3 | return graph.replace(way); 4 | }; 5 | }; 6 | -------------------------------------------------------------------------------- /js/id/actions/add_midpoint.js: -------------------------------------------------------------------------------- 1 | iD.actions.AddMidpoint = function(midpoint, node) { 2 | return function(graph) { 3 | graph = graph.replace(node.move(midpoint.loc)); 4 | 5 | var parents = _.intersection( 6 | graph.parentWays(graph.entity(midpoint.edge[0])), 7 | graph.parentWays(graph.entity(midpoint.edge[1]))); 8 | 9 | parents.forEach(function(way) { 10 | for (var i = 0; i < way.nodes.length - 1; i++) { 11 | if ((way.nodes[i] === midpoint.edge[0] && 12 | way.nodes[i + 1] === midpoint.edge[1]) || 13 | (way.nodes[i] === midpoint.edge[1] && 14 | way.nodes[i + 1] === midpoint.edge[0])) { 15 | graph = graph.replace(graph.entity(way.id).addNode(node.id, i + 1)); 16 | } 17 | } 18 | }); 19 | 20 | return graph; 21 | }; 22 | }; 23 | -------------------------------------------------------------------------------- /js/id/actions/add_vertex.js: -------------------------------------------------------------------------------- 1 | // https://github.com/openstreetmap/potlatch2/blob/master/net/systemeD/halcyon/connection/actions/AddNodeToWayAction.as 2 | iD.actions.AddVertex = function(wayId, nodeId, index) { 3 | return function(graph) { 4 | return graph.replace(graph.entity(wayId).addNode(nodeId, index)); 5 | }; 6 | }; 7 | -------------------------------------------------------------------------------- /js/id/actions/change_tags.js: -------------------------------------------------------------------------------- 1 | iD.actions.ChangeTags = function(entityId, tags) { 2 | return function(graph) { 3 | var entity = graph.entity(entityId); 4 | return graph.replace(entity.update({tags: tags})); 5 | }; 6 | }; 7 | -------------------------------------------------------------------------------- /js/id/actions/delete_multiple.js: -------------------------------------------------------------------------------- 1 | iD.actions.DeleteMultiple = function(ids) { 2 | return function(graph) { 3 | var actions = { 4 | way: iD.actions.DeleteWay, 5 | node: iD.actions.DeleteNode, 6 | relation: iD.actions.DeleteRelation 7 | }; 8 | 9 | ids.forEach(function(id) { 10 | if (graph.hasEntity(id)) { // It may have been deleted aready. 11 | graph = actions[graph.entity(id).type](id)(graph); 12 | } 13 | }); 14 | 15 | return graph; 16 | }; 17 | }; 18 | -------------------------------------------------------------------------------- /js/id/actions/delete_node.js: -------------------------------------------------------------------------------- 1 | // https://github.com/openstreetmap/potlatch2/blob/master/net/systemeD/halcyon/connection/actions/DeleteNodeAction.as 2 | iD.actions.DeleteNode = function(nodeId) { 3 | return function(graph) { 4 | var node = graph.entity(nodeId); 5 | 6 | graph.parentWays(node) 7 | .forEach(function(parent) { 8 | parent = parent.removeNode(nodeId); 9 | graph = graph.replace(parent); 10 | 11 | if (parent.isDegenerate()) { 12 | graph = iD.actions.DeleteWay(parent.id)(graph); 13 | } 14 | }); 15 | 16 | graph.parentRelations(node) 17 | .forEach(function(parent) { 18 | graph = graph.replace(parent.removeMember(nodeId)); 19 | }); 20 | 21 | return graph.remove(node); 22 | }; 23 | }; 24 | -------------------------------------------------------------------------------- /js/id/actions/move_node.js: -------------------------------------------------------------------------------- 1 | // https://github.com/openstreetmap/josm/blob/mirror/src/org/openstreetmap/josm/command/MoveCommand.java 2 | // https://github.com/openstreetmap/potlatch2/blob/master/net/systemeD/halcyon/connection/actions/MoveNodeAction.as 3 | iD.actions.MoveNode = function(nodeId, loc) { 4 | return function(graph) { 5 | return graph.replace(graph.entity(nodeId).move(loc)); 6 | }; 7 | }; 8 | -------------------------------------------------------------------------------- /js/id/actions/noop.js: -------------------------------------------------------------------------------- 1 | iD.actions.Noop = function() { 2 | return function(graph) { 3 | return graph; 4 | }; 5 | }; 6 | -------------------------------------------------------------------------------- /js/id/actions/rotate_way.js: -------------------------------------------------------------------------------- 1 | iD.actions.RotateWay = function(wayId, pivot, angle, projection) { 2 | return function(graph) { 3 | return graph.update(function(graph) { 4 | var way = graph.entity(wayId); 5 | 6 | _.unique(way.nodes).forEach(function(id) { 7 | 8 | var node = graph.entity(id), 9 | point = projection(node.loc), 10 | radial = [0,0]; 11 | 12 | radial[0] = point[0] - pivot[0]; 13 | radial[1] = point[1] - pivot[1]; 14 | 15 | point = [ 16 | radial[0] * Math.cos(angle) - radial[1] * Math.sin(angle) + pivot[0], 17 | radial[0] * Math.sin(angle) + radial[1] * Math.cos(angle) + pivot[1] 18 | ]; 19 | 20 | graph = graph.replace(node.move(projection.invert(point))); 21 | 22 | }); 23 | 24 | }); 25 | }; 26 | }; 27 | -------------------------------------------------------------------------------- /js/id/behavior.js: -------------------------------------------------------------------------------- 1 | iD.behavior = {}; 2 | -------------------------------------------------------------------------------- /js/id/behavior/accept.js: -------------------------------------------------------------------------------- 1 | iD.behavior.accept = function() { 2 | var event = d3.dispatch('accept'), 3 | keybinding = d3.keybinding('accept'); 4 | 5 | function accept(selection) { 6 | keybinding.on('↩', function() { 7 | event.accept(); 8 | })(selection); 9 | } 10 | 11 | return d3.rebind(accept, event, "on"); 12 | }; 13 | -------------------------------------------------------------------------------- /js/id/end.js: -------------------------------------------------------------------------------- 1 | })(); 2 | -------------------------------------------------------------------------------- /js/id/floors.js: -------------------------------------------------------------------------------- 1 | iD.floors = {}; 2 | -------------------------------------------------------------------------------- /js/id/floors/basement.js: -------------------------------------------------------------------------------- 1 | iD.floors.Basement = function(context) { 2 | var floor = { 3 | button: 'floor-basement', 4 | id: 'floor-basement', 5 | value: '-1', 6 | title: t('floors.basement.title'), 7 | description: t('floors.basement.description'), 8 | key: '⇧b' 9 | }; 10 | 11 | var behaviors = []; 12 | 13 | floor.enterFloor = function() { 14 | behaviors.forEach(function(behavior) { 15 | context.install(behavior); 16 | }); 17 | }; 18 | 19 | floor.exitFloor = function() { 20 | behaviors.forEach(function(behavior) { 21 | context.uninstall(behavior); 22 | }); 23 | }; 24 | 25 | return floor; 26 | }; 27 | -------------------------------------------------------------------------------- /js/id/floors/first.js: -------------------------------------------------------------------------------- 1 | iD.floors.First = function(context) { 2 | var floor = { 3 | button: 'floor-first', 4 | id: 'floor-first', 5 | value: "1", 6 | title: t('floors.first.title'), 7 | description: t('floors.first.description'), 8 | key: '⇧1' 9 | }; 10 | 11 | var behaviors = []; 12 | 13 | floor.enterFloor = function() { 14 | behaviors.forEach(function(behavior) { 15 | context.install(behavior); 16 | }); 17 | }; 18 | 19 | floor.exitFloor = function() { 20 | behaviors.forEach(function(behavior) { 21 | context.uninstall(behavior); 22 | }); 23 | }; 24 | 25 | return floor; 26 | }; 27 | -------------------------------------------------------------------------------- /js/id/floors/other.js: -------------------------------------------------------------------------------- 1 | iD.floors.Other = function(context) { 2 | 3 | var floor = { 4 | button: 'floor-other', 5 | id: 'floor-other', 6 | value: "0", //TODO: this will be set dynamically when the user activates the 'other' option 7 | title: t('floors.other.title'), 8 | description: t('floors.other.description'), 9 | key: 'O' 10 | }; 11 | 12 | floor.set = function(name, key) { 13 | floor.title = name; 14 | floor.key = key; 15 | return floor; 16 | }; 17 | 18 | var behaviors = []; 19 | 20 | floor.enterFloor = function() { 21 | behaviors.forEach(function(behavior) { 22 | context.install(behavior); 23 | }); 24 | }; 25 | 26 | floor.exitFloor = function() { 27 | behaviors.forEach(function(behavior) { 28 | context.uninstall(behavior); 29 | }); 30 | }; 31 | 32 | return floor; 33 | }; 34 | -------------------------------------------------------------------------------- /js/id/floors/second.js: -------------------------------------------------------------------------------- 1 | iD.floors.Second = function(context) { 2 | var floor = { 3 | button: 'floor-second', 4 | id: 'floor-second', 5 | value: "2", 6 | title: t('floors.second.title'), 7 | description: t('floors.second.description'), 8 | key: '⇧2' 9 | }; 10 | 11 | var behaviors = []; 12 | 13 | floor.enterFloor = function() { 14 | behaviors.forEach(function(behavior) { 15 | context.install(behavior); 16 | }); 17 | }; 18 | 19 | floor.exitFloor = function() { 20 | behaviors.forEach(function(behavior) { 21 | context.uninstall(behavior); 22 | }); 23 | }; 24 | 25 | return floor; 26 | }; 27 | -------------------------------------------------------------------------------- /js/id/floors/third.js: -------------------------------------------------------------------------------- 1 | iD.floors.Third = function(context) { 2 | var floor = { 3 | button: 'floor-third', 4 | id: 'floor-third', 5 | value: "3", 6 | title: t('floors.third.title'), 7 | description: t('floors.third.description'), 8 | key: '⇧3' 9 | }; 10 | 11 | var behaviors = []; 12 | 13 | floor.enterFloor = function() { 14 | behaviors.forEach(function(behavior) { 15 | context.install(behavior); 16 | }); 17 | }; 18 | 19 | floor.exitFloor = function() { 20 | behaviors.forEach(function(behavior) { 21 | context.uninstall(behavior); 22 | }); 23 | }; 24 | 25 | return floor; 26 | }; 27 | -------------------------------------------------------------------------------- /js/id/modes.js: -------------------------------------------------------------------------------- 1 | iD.modes = {}; 2 | -------------------------------------------------------------------------------- /js/id/modes/browse.js: -------------------------------------------------------------------------------- 1 | iD.modes.Browse = function(context) { 2 | var mode = { 3 | button: 'browse', 4 | id: 'browse', 5 | title: t('modes.browse.title'), 6 | description: t('modes.browse.description'), 7 | key: '1' 8 | }; 9 | 10 | var behaviors = [ 11 | iD.behavior.Hover(), 12 | iD.behavior.Select(context), 13 | iD.behavior.Lasso(context), 14 | iD.modes.DragNode(context).behavior]; 15 | 16 | mode.enter = function() { 17 | behaviors.forEach(function(behavior) { 18 | context.install(behavior); 19 | }); 20 | }; 21 | 22 | mode.exit = function() { 23 | behaviors.forEach(function(behavior) { 24 | context.uninstall(behavior); 25 | }); 26 | }; 27 | 28 | return mode; 29 | }; 30 | -------------------------------------------------------------------------------- /js/id/operations.js: -------------------------------------------------------------------------------- 1 | iD.operations = {}; 2 | -------------------------------------------------------------------------------- /js/id/operations/move.js: -------------------------------------------------------------------------------- 1 | iD.operations.Move = function(selection, context) { 2 | var operation = function() { 3 | context.enter(iD.modes.Move(context, selection)); 4 | }; 5 | 6 | operation.available = function() { 7 | return selection.length > 1 || 8 | context.entity(selection[0]).type !== 'node'; 9 | }; 10 | 11 | operation.disabled = function() { 12 | return iD.actions.Move(selection) 13 | .disabled(context.graph()); 14 | }; 15 | 16 | operation.tooltip = function() { 17 | var disable = operation.disabled(); 18 | return disable ? 19 | t('operations.move.' + disable) : 20 | t('operations.move.description'); 21 | }; 22 | 23 | operation.id = "move"; 24 | operation.keys = [t('operations.move.key')]; 25 | operation.title = t('operations.move.title'); 26 | 27 | return operation; 28 | }; 29 | -------------------------------------------------------------------------------- /js/id/operations/reverse.js: -------------------------------------------------------------------------------- 1 | iD.operations.Reverse = function(selection, context) { 2 | var entityId = selection[0]; 3 | 4 | var operation = function() { 5 | context.perform( 6 | iD.actions.Reverse(entityId), 7 | t('operations.reverse.annotation')); 8 | }; 9 | 10 | operation.available = function() { 11 | return selection.length === 1 && 12 | context.geometry(entityId) === 'line'; 13 | }; 14 | 15 | operation.disabled = function() { 16 | return false; 17 | }; 18 | 19 | operation.tooltip = function() { 20 | return t('operations.reverse.description'); 21 | }; 22 | 23 | operation.id = "reverse"; 24 | operation.keys = [t('operations.reverse.key')]; 25 | operation.title = t('operations.reverse.title'); 26 | 27 | return operation; 28 | }; 29 | -------------------------------------------------------------------------------- /js/id/operations/rotate.js: -------------------------------------------------------------------------------- 1 | iD.operations.Rotate = function(selection, context) { 2 | var entityId = selection[0]; 3 | 4 | var operation = function() { 5 | context.enter(iD.modes.RotateWay(context, entityId)); 6 | }; 7 | 8 | operation.available = function() { 9 | return selection.length === 1 && 10 | context.entity(entityId).type === 'way' && 11 | context.entity(entityId).geometry() === 'area'; 12 | }; 13 | 14 | operation.disabled = function() { 15 | return false; 16 | }; 17 | 18 | operation.tooltip = function() { 19 | return t('operations.rotate.description'); 20 | }; 21 | 22 | operation.id = "rotate"; 23 | operation.keys = [t('operations.rotate.key')]; 24 | operation.title = t('operations.rotate.title'); 25 | 26 | return operation; 27 | }; 28 | -------------------------------------------------------------------------------- /js/id/presets/category.js: -------------------------------------------------------------------------------- 1 | iD.presets.Category = function(id, category, all) { 2 | category = _.clone(category); 3 | 4 | category.id = id; 5 | 6 | category.members = iD.presets.Collection(category.members.map(function(id) { 7 | return all.item(id); 8 | })); 9 | 10 | category.matchGeometry = function(geometry) { 11 | return category.geometry.indexOf(geometry) >= 0; 12 | }; 13 | 14 | category.matchTags = function() { return false; }; 15 | 16 | category.name = function() { 17 | return t('presets.categories.' + id + '.name', {'default': id}); 18 | }; 19 | 20 | category.terms = function() { 21 | return []; 22 | }; 23 | 24 | return category; 25 | }; 26 | -------------------------------------------------------------------------------- /js/id/presets/field.js: -------------------------------------------------------------------------------- 1 | iD.presets.Field = function(id, field) { 2 | field = _.clone(field); 3 | 4 | field.id = id; 5 | 6 | field.matchGeometry = function(geometry) { 7 | return !field.geometry || field.geometry.indexOf(geometry) >= 0; 8 | }; 9 | 10 | field.t = function(scope, options) { 11 | return t('presets.fields.' + id + '.' + scope, options); 12 | }; 13 | 14 | field.label = function() { 15 | return field.t('label', {'default': id}); 16 | }; 17 | 18 | return field; 19 | }; 20 | -------------------------------------------------------------------------------- /js/id/start.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | 'use strict'; 3 | -------------------------------------------------------------------------------- /js/id/ui/cmd.js: -------------------------------------------------------------------------------- 1 | // Translate a MacOS key command into the appropriate Windows/Linux equivalent. 2 | // For example, ⌘Z -> Ctrl+Z 3 | iD.ui.cmd = function(code) { 4 | if (iD.detect().os === 'mac') 5 | return code; 6 | 7 | var replacements = { 8 | '⌘': 'Ctrl', 9 | '⇧': 'Shift', 10 | '⌥': 'Alt', 11 | '⌫': 'Backspace', 12 | '⌦': 'Delete' 13 | }, keys = []; 14 | 15 | if (iD.detect().os === 'win') { 16 | if (code === '⌘⇧Z') return 'Ctrl+Y'; 17 | } 18 | 19 | for (var i = 0; i < code.length; i++) { 20 | if (code[i] in replacements) { 21 | keys.push(replacements[code[i]]); 22 | } else { 23 | keys.push(code[i]); 24 | } 25 | } 26 | 27 | return keys.join('+'); 28 | }; 29 | -------------------------------------------------------------------------------- /js/id/ui/confirm.js: -------------------------------------------------------------------------------- 1 | iD.ui.confirm = function(selection) { 2 | var modal = iD.ui.modal(selection); 3 | 4 | modal.select('.modal') 5 | .classed('modal-alert', true); 6 | 7 | var section = modal.select('.content'); 8 | 9 | var modalHeader = section.append('div') 10 | .attr('class', 'modal-section header'); 11 | 12 | var description = section.append('div') 13 | .attr('class', 'modal-section message-text'); 14 | 15 | var buttonwrap = section.append('div') 16 | .attr('class', 'modal-section buttons cf'); 17 | 18 | var okbutton = buttonwrap.append('button') 19 | .attr('class', 'col2 action') 20 | .on('click.confirm', function() { 21 | modal.remove(); 22 | }) 23 | .text('Okay'); 24 | 25 | return modal; 26 | }; 27 | -------------------------------------------------------------------------------- /js/id/ui/flash.js: -------------------------------------------------------------------------------- 1 | iD.ui.flash = function(selection) { 2 | var modal = iD.ui.modal(selection); 3 | 4 | modal.select('.modal').classed('modal-flash', true); 5 | 6 | modal.select('.content') 7 | .classed('modal-section', true) 8 | .append('div') 9 | .attr('class', 'description'); 10 | 11 | modal.on('click.flash', function() { modal.remove(); }); 12 | 13 | setTimeout(function() { 14 | modal.remove(); 15 | return true; 16 | }, 1500); 17 | 18 | return modal; 19 | }; 20 | -------------------------------------------------------------------------------- /js/id/ui/preset/defaultcheck.js: -------------------------------------------------------------------------------- 1 | iD.ui.preset.defaultcheck = function(field) { 2 | 3 | var event = d3.dispatch('change', 'close'), 4 | input; 5 | 6 | var check = function(selection) { 7 | 8 | input = selection.append('input') 9 | .attr('type', 'checkbox') 10 | .attr('id', 'preset-input-' + field.id) 11 | .on('change', function() { 12 | var t = {}; 13 | t[field.key] = input.property('checked') ? field.value || 'yes' : undefined; 14 | event.change(t); 15 | }); 16 | }; 17 | 18 | check.tags = function(tags) { 19 | input.property('checked', !!tags[field.key] && tags[field.key] !== 'no'); 20 | }; 21 | 22 | check.focus = function() { 23 | input.node().focus(); 24 | }; 25 | 26 | return d3.rebind(check, event, 'on'); 27 | }; 28 | -------------------------------------------------------------------------------- /js/id/ui/preset/textarea.js: -------------------------------------------------------------------------------- 1 | iD.ui.preset.textarea = function(field) { 2 | 3 | var event = d3.dispatch('change', 'close'), 4 | input; 5 | 6 | function i(selection) { 7 | input = selection.append('textarea') 8 | .attr('id', 'preset-input-' + field.id) 9 | .attr('placeholder', field.placeholder || '') 10 | .attr('maxlength', 255) 11 | .on('blur', change) 12 | .on('change', change) 13 | .call(iD.behavior.accept().on('accept', event.close)); 14 | } 15 | 16 | function change() { 17 | var t = {}; 18 | t[field.key] = input.text(); 19 | event.change(t); 20 | } 21 | 22 | i.tags = function(tags) { 23 | input.text(tags[field.key] || ''); 24 | }; 25 | 26 | i.focus = function() { 27 | input.node().focus(); 28 | }; 29 | 30 | return d3.rebind(i, event, 'on'); 31 | }; 32 | -------------------------------------------------------------------------------- /js/id/ui/spinner.js: -------------------------------------------------------------------------------- 1 | iD.ui.Spinner = function(context) { 2 | var connection = context.connection(); 3 | 4 | return function(selection) { 5 | var img = selection.append('img') 6 | .attr('src', context.imagePath('loader-black.gif')) 7 | .style('opacity', 0); 8 | 9 | connection.on('loading.spinner', function() { 10 | img.transition() 11 | .style('opacity', 1); 12 | }); 13 | 14 | connection.on('loaded.spinner', function() { 15 | img.transition() 16 | .style('opacity', 0); 17 | }); 18 | }; 19 | }; 20 | -------------------------------------------------------------------------------- /js/id/ui/toggle.js: -------------------------------------------------------------------------------- 1 | // toggles the visibility of ui elements, using a combination of the 2 | // hide class, which sets display=none, and a d3 transition for opacity. 3 | // this will cause blinking when called repeatedly, so check that the 4 | // value actually changes between calls. 5 | iD.ui.Toggle = function(show, callback) { 6 | return function(selection) { 7 | selection 8 | .style('opacity', show ? 0 : 1) 9 | .classed('hide', false) 10 | .transition() 11 | .style('opacity', show ? 1 : 0) 12 | .each('end', function() { 13 | d3.select(this).classed('hide', !show); 14 | if (callback) callback.apply(this); 15 | }); 16 | }; 17 | }; 18 | -------------------------------------------------------------------------------- /js/lib/d3.jsonp.js: -------------------------------------------------------------------------------- 1 | d3.jsonp = function (url, callback) { 2 | function rand() { 3 | var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz', 4 | c = '', i = -1; 5 | while (++i < 15) c += chars.charAt(Math.floor(Math.random() * 52)); 6 | return c; 7 | } 8 | 9 | function create(url) { 10 | var e = url.match(/callback=d3.jsonp.(\w+)/), 11 | c = e ? e[1] : rand(); 12 | d3.jsonp[c] = function(data) { 13 | callback(data); 14 | delete d3.jsonp[c]; 15 | script.remove(); 16 | }; 17 | return 'd3.jsonp.' + c; 18 | } 19 | 20 | var cb = create(url), 21 | script = d3.select('head') 22 | .append('script') 23 | .attr('type', 'text/javascript') 24 | .attr('src', url.replace(/(\{|%7B)callback(\}|%7D)/, cb)); 25 | }; 26 | -------------------------------------------------------------------------------- /js/lib/d3.one.js: -------------------------------------------------------------------------------- 1 | d3.selection.prototype.one = function (type, listener, capture) { 2 | var target = this, typeOnce = type + ".once"; 3 | function one() { 4 | target.on(typeOnce, null); 5 | listener.apply(this, arguments); 6 | } 7 | target.on(typeOnce, one, capture); 8 | return this; 9 | }; 10 | -------------------------------------------------------------------------------- /js/lib/d3.size.js: -------------------------------------------------------------------------------- 1 | d3.selection.prototype.size = function (size) { 2 | if (!arguments.length) { 3 | var node = this.node(); 4 | return [node.offsetWidth, 5 | node.offsetHeight]; 6 | } 7 | return this.attr({width: size[0], height: size[1]}); 8 | }; 9 | -------------------------------------------------------------------------------- /js/lib/d3.trigger.js: -------------------------------------------------------------------------------- 1 | d3.selection.prototype.trigger = function (type) { 2 | this.each(function() { 3 | var evt = document.createEvent('HTMLEvents'); 4 | evt.initEvent(type, true, true); 5 | this.dispatchEvent(evt); 6 | }); 7 | }; 8 | -------------------------------------------------------------------------------- /land.html: -------------------------------------------------------------------------------- 1 | dist/land.html -------------------------------------------------------------------------------- /svg/loader.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/svg/loader.psd -------------------------------------------------------------------------------- /svg/mini-loader.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/svg/mini-loader.psd -------------------------------------------------------------------------------- /svg/renders/basic-ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/svg/renders/basic-ui.png -------------------------------------------------------------------------------- /svg/renders/layers-more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/svg/renders/layers-more.png -------------------------------------------------------------------------------- /svg/renders/layers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/svg/renders/layers.png -------------------------------------------------------------------------------- /svg/renders/layerswitcher-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/svg/renders/layerswitcher-default.png -------------------------------------------------------------------------------- /svg/renders/layerswitcher-expand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/svg/renders/layerswitcher-expand.png -------------------------------------------------------------------------------- /svg/renders/layerswitcher-expanded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/svg/renders/layerswitcher-expanded.png -------------------------------------------------------------------------------- /svg/renders/layerswitcher-hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/svg/renders/layerswitcher-hover.png -------------------------------------------------------------------------------- /svg/renders/layerswitcher-inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/svg/renders/layerswitcher-inactive.png -------------------------------------------------------------------------------- /svg/renders/layerswitcher-simplified.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/svg/renders/layerswitcher-simplified.png -------------------------------------------------------------------------------- /svg/renders/opacity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/svg/renders/opacity.png -------------------------------------------------------------------------------- /test/css: -------------------------------------------------------------------------------- 1 | ../css -------------------------------------------------------------------------------- /test/data/node.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /test/img: -------------------------------------------------------------------------------- 1 | ../dist/img/ -------------------------------------------------------------------------------- /test/spec/actions/add_entity.js: -------------------------------------------------------------------------------- 1 | describe("iD.actions.AddEntity", function () { 2 | it("adds an entity to the graph", function () { 3 | var entity = iD.Entity(), 4 | graph = iD.actions.AddEntity(entity)(iD.Graph()); 5 | expect(graph.entity(entity.id)).to.equal(entity); 6 | }); 7 | }); 8 | -------------------------------------------------------------------------------- /test/spec/actions/change_tags.js: -------------------------------------------------------------------------------- 1 | describe("iD.actions.ChangeTags", function () { 2 | it("changes an entity's tags", function () { 3 | var entity = iD.Entity(), 4 | tags = {foo: 'bar'}, 5 | graph = iD.actions.ChangeTags(entity.id, tags)(iD.Graph([entity])); 6 | expect(graph.entity(entity.id).tags).to.eql(tags); 7 | }); 8 | }); 9 | -------------------------------------------------------------------------------- /test/spec/actions/move_node.js: -------------------------------------------------------------------------------- 1 | describe("iD.actions.MoveNode", function () { 2 | it("changes a node's location", function () { 3 | var node = iD.Node(), 4 | loc = [2, 3], 5 | graph = iD.actions.MoveNode(node.id, loc)(iD.Graph([node])); 6 | expect(graph.entity(node.id).loc).to.eql(loc); 7 | }); 8 | }); 9 | -------------------------------------------------------------------------------- /test/spec/actions/noop.js: -------------------------------------------------------------------------------- 1 | describe("iD.actions.Noop", function () { 2 | it("does nothing", function () { 3 | var graph = iD.Graph(), 4 | action = iD.actions.Noop(graph); 5 | expect(action(graph)).to.equal(graph); 6 | }); 7 | }); 8 | -------------------------------------------------------------------------------- /test/spec/behavior/lasso.js: -------------------------------------------------------------------------------- 1 | describe("iD.behavior.Lasso", function () { 2 | var lasso, context; 3 | 4 | beforeEach(function () { 5 | context = iD(); 6 | 7 | // Neuter connection 8 | context.connection().loadTiles = function () {}; 9 | 10 | lasso = iD.behavior.Lasso(context); 11 | 12 | d3.select(document.createElement('div')) 13 | .call(context.map()); 14 | }); 15 | 16 | afterEach(function () { 17 | lasso.off(context.surface()); 18 | }); 19 | 20 | it('can be initialized', function () { 21 | expect(context.surface().call(lasso)).to.be.ok; 22 | }); 23 | }); 24 | -------------------------------------------------------------------------------- /test/spec/lib/locale.js: -------------------------------------------------------------------------------- 1 | describe("locale", function() { 2 | var saved, error; 3 | 4 | beforeEach(function() { 5 | saved = locale; 6 | error = console.error; 7 | console.error = function () {}; 8 | locale = { _current: 'en', en: {test: 'test', foo: 'bar'}, __: {}} 9 | }); 10 | 11 | afterEach(function() { 12 | locale = saved; 13 | console.error = error; 14 | }); 15 | 16 | describe("t", function() { 17 | it("defaults to locale._current", function() { 18 | expect(t('test')).to.equal('test'); 19 | }); 20 | 21 | it("supports a default option", function() { 22 | expect(t('nonesuch', {default: 'default'})).to.equal('default'); 23 | }); 24 | 25 | it("falls back to en", function() { 26 | locale._current = '__'; 27 | expect(t('test')).to.equal('test'); 28 | }); 29 | }); 30 | }); 31 | -------------------------------------------------------------------------------- /test/spec/spec_helpers.js: -------------------------------------------------------------------------------- 1 | iD.debug = true; 2 | 3 | mocha.setup({ 4 | ui: 'bdd', 5 | globals: [ 6 | '__onresize.tail-size', 7 | '__onmousemove.zoom', 8 | '__onmouseup.zoom', 9 | '__onkeydown.select', 10 | '__onkeyup.select', 11 | '__onclick.draw', 12 | '__onclick.draw-block' 13 | ] 14 | }); 15 | 16 | var expect = chai.expect; 17 | 18 | chai.use(function (chai, utils) { 19 | var flag = utils.flag; 20 | 21 | chai.Assertion.addMethod('classed', function (className) { 22 | this.assert( 23 | flag(this, 'object').classed(className) 24 | , 'expected #{this} to be classed #{exp}' 25 | , 'expected #{this} not to be classed #{exp}' 26 | , className 27 | ); 28 | }); 29 | }); 30 | -------------------------------------------------------------------------------- /test/spec/svg.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfloorplan/ofp-editor/5fe2a3c76bde8607c30c712cb795d49a466d3e19/test/spec/svg.js -------------------------------------------------------------------------------- /test/spec/svg/points.js: -------------------------------------------------------------------------------- 1 | describe("iD.svg.Points", function () { 2 | var surface, 3 | projection = Object, 4 | filter = d3.functor(true), 5 | context; 6 | 7 | beforeEach(function () { 8 | context = iD(); 9 | surface = d3.select(document.createElementNS('http://www.w3.org/2000/svg', 'svg')) 10 | .call(iD.svg.Surface(iD())); 11 | }); 12 | 13 | it("adds tag classes", function () { 14 | var node = iD.Node({tags: {amenity: "cafe"}, loc: [0, 0], _poi: true}), 15 | graph = iD.Graph([node]); 16 | 17 | surface.call(iD.svg.Points(projection, context), graph, [node], filter); 18 | 19 | expect(surface.select('.point')).to.be.classed('tag-amenity'); 20 | expect(surface.select('.point')).to.be.classed('tag-amenity-cafe'); 21 | }); 22 | }); 23 | -------------------------------------------------------------------------------- /test/spec/ui/cmd.js: -------------------------------------------------------------------------------- 1 | describe('iD.ui.cmd', function () { 2 | var detect, os; 3 | 4 | beforeEach(function() { 5 | detect = iD.detect; 6 | iD.detect = function() { 7 | return { os: os }; 8 | }; 9 | }); 10 | 11 | afterEach(function() { 12 | iD.detect = detect; 13 | }); 14 | 15 | it('does not overwrite mac keybindings', function () { 16 | os = 'mac'; 17 | expect(iD.ui.cmd('⌘a')).to.eql('⌘a'); 18 | }); 19 | 20 | it('changes keys to linux versions', function () { 21 | os = 'linux'; 22 | expect(iD.ui.cmd('⌘a')).to.eql('Ctrl+a'); 23 | expect(iD.ui.cmd('⇧a')).to.eql('Shift+a'); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /test/spec/ui/confirm.js: -------------------------------------------------------------------------------- 1 | describe("iD.ui.confirm", function () { 2 | 3 | var elem; 4 | beforeEach(function() { elem = d3.select('body').append('div'); }); 5 | afterEach(function() { elem.remove(); }); 6 | 7 | it('can be instantiated', function () { 8 | var confirm = iD.ui.confirm(elem); 9 | expect(confirm).to.be.ok; 10 | happen.keydown(document, {keyCode: 27}); // dismiss 11 | }); 12 | 13 | it('can be dismissed', function (done) { 14 | var confirm = iD.ui.confirm(elem); 15 | happen.click(confirm.select('button').node()); 16 | window.setTimeout(function() { 17 | expect(confirm.node().parentNode).to.be.null; 18 | happen.keydown(document, {keyCode: 27}); // dismiss 19 | done(); 20 | }, 300); 21 | }); 22 | }); 23 | -------------------------------------------------------------------------------- /test/spec/ui/flash.js: -------------------------------------------------------------------------------- 1 | describe("iD.ui.flash", function () { 2 | var clock; 3 | 4 | var elem; 5 | 6 | beforeEach(function() { 7 | elem = d3.select('body').append('div'); 8 | }); 9 | 10 | afterEach(function() { elem.remove(); }); 11 | 12 | beforeEach(function () { 13 | clock = sinon.useFakeTimers(); 14 | }); 15 | 16 | afterEach(function () { 17 | clock.restore(); 18 | }); 19 | 20 | it('leaves after 1000 ms', function () { 21 | var flash = iD.ui.flash(elem); 22 | clock.tick(1610); 23 | expect(flash.node().parentNode).to.be.null; 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /test/spec/ui/geocoder.js: -------------------------------------------------------------------------------- 1 | describe("iD.ui.Geocoder", function () { 2 | it('can be instantiated', function () { 3 | var geocoder = iD.ui.Geocoder(); 4 | expect(geocoder).to.be.ok; 5 | }); 6 | }); 7 | -------------------------------------------------------------------------------- /test/spec/ui/inspector.js: -------------------------------------------------------------------------------- 1 | describe("iD.ui.Inspector", function () { 2 | }); 3 | -------------------------------------------------------------------------------- /test/spec/ui/modal.js: -------------------------------------------------------------------------------- 1 | describe("iD.ui.modal", function () { 2 | var elem; 3 | 4 | beforeEach(function() { 5 | elem = d3.select('body').append('div'); 6 | }); 7 | 8 | afterEach(function() { 9 | elem.remove(); 10 | }); 11 | 12 | it('can be instantiated', function() { 13 | var modal = iD.ui.modal(elem) 14 | .select('.content') 15 | .text('foo'); 16 | expect(modal).to.be.ok; 17 | happen.keydown(document, {keyCode: 27}); // dismiss 18 | }); 19 | }); 20 | --------------------------------------------------------------------------------