Changeset 33997 in osm for applications/editors/josm/plugins/indoorhelper/src/model
- Timestamp:
- 2018-01-12T16:06:40+01:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/indoorhelper/src/model
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/indoorhelper/src/model/IndoorHelperModel.java
r33974 r33997 2 2 * Indoorhelper is a JOSM plug-in to support users when creating their own indoor maps. 3 3 * Copyright (C) 2016 Erik Gruschka 4 * Copyright (C) 2018 Rebecca Schmidt 4 5 * 5 6 * This program is free software: you can redistribute it and/or modify -
applications/editors/josm/plugins/indoorhelper/src/model/PresetCounter.java
r33974 r33997 2 2 * Indoorhelper is a JOSM plug-in to support users when creating their own indoor maps. 3 3 * Copyright (C) 2016 Erik Gruschka 4 * Copyright (C) 2018 Rebecca Schmidt 4 5 * 5 6 * This program is free software: you can redistribute it and/or modify -
applications/editors/josm/plugins/indoorhelper/src/model/TagCatalog.java
r33974 r33997 2 2 * Indoorhelper is a JOSM plug-in to support users when creating their own indoor maps. 3 3 * Copyright (C) 2016 Erik Gruschka 4 * Copyright (C) 2018 Rebecca Schmidt 4 5 * 5 6 * This program is free software: you can redistribute it and/or modify … … 18 19 19 20 package model; 20 21 /**22 * Class to provide the indoor tagging catalog.23 *24 * @author egru25 * @author rebsc26 *27 */28 21 29 22 /** … … 55 48 switch(o) { 56 49 case CONCRETE_WALL: 57 tagList.add(new Tag( tr("indoor"), tr("wall")));58 tagList.add(new Tag( tr("material"), tr("concrete")));50 tagList.add(new Tag("indoor", "wall")); 51 tagList.add(new Tag("material", "concrete")); 59 52 return tagList; 60 53 case DOOR_PRIVATE: 61 tagList.add(new Tag( tr("door"), tr("yes")));54 tagList.add(new Tag("door", "yes")); 62 55 tagList.add(new Tag ("access","private")); 63 56 return tagList; 64 57 case DOOR_PUBLIC: 65 tagList.add(new Tag( tr("door"), tr("yes")));66 tagList.add(new Tag ( tr("access"),tr("public")));58 tagList.add(new Tag("door", "yes")); 59 tagList.add(new Tag ("access","public")); 67 60 return tagList; 68 61 case ELEVATOR: 69 tagList.add(new Tag( tr("highway"), tr("elevator")));62 tagList.add(new Tag("highway", "elevator")); 70 63 return tagList; 71 64 case ENTRANCE: 72 tagList.add(new Tag( tr("entrance"), tr("yes")));65 tagList.add(new Tag("entrance", "yes")); 73 66 return tagList; 74 67 case ENTRANCE_EXIT_ONLY: 75 tagList.add(new Tag( tr("entrance"), tr("exit")));68 tagList.add(new Tag("entrance", "exit")); 76 69 return tagList; 77 70 case ACCESS_PRIVATE: 78 tagList.add(new Tag( tr("access"),tr("private")));71 tagList.add(new Tag("access","private")); 79 72 return tagList; 80 73 case ACCESS_PUBLIC: 81 tagList.add(new Tag( tr("access"),tr("public")));74 tagList.add(new Tag("access","public")); 82 75 return tagList; 83 76 case TOILET_FEMALE: 84 tagList.add(new Tag( tr("indoor"), tr("room")));85 tagList.add(new Tag( tr("amenity"), tr("toilets")));86 tagList.add(new Tag( tr("female"), tr("yes")));77 tagList.add(new Tag("indoor", "room")); 78 tagList.add(new Tag("amenity", "toilets")); 79 tagList.add(new Tag("female", "yes")); 87 80 return tagList; 88 81 case GLASS_WALL: 89 tagList.add(new Tag( tr("indoor"), tr("wall")));90 tagList.add(new Tag( tr("material"), tr("glass")));82 tagList.add(new Tag("indoor", "wall")); 83 tagList.add(new Tag("material", "glass")); 91 84 return tagList; 92 85 case TOILET_MALE: 93 tagList.add(new Tag( tr("indoor"), tr("room")));94 tagList.add(new Tag( tr("amenity"), tr("toilets")));95 tagList.add(new Tag( tr("male"), tr("yes")));86 tagList.add(new Tag("indoor", "room")); 87 tagList.add(new Tag("amenity", "toilets")); 88 tagList.add(new Tag("male", "yes")); 96 89 return tagList; 97 90 case ROOM: 98 tagList.add(new Tag( tr("indoor"), tr("room")));91 tagList.add(new Tag("indoor", "room")); 99 92 return tagList; 100 93 case STEPS: 101 tagList.add(new Tag( tr("highway"), tr("steps")));94 tagList.add(new Tag("highway", "steps")); 102 95 return tagList; 103 96 case CORRIDOR: 104 tagList.add(new Tag( tr("indoor"), tr("corridor")));97 tagList.add(new Tag("indoor", "corridor")); 105 98 return tagList; 106 99 case BENCH: 107 tagList.add(new Tag( tr("amenity"),tr("bench")));100 tagList.add(new Tag("amenity","bench")); 108 101 return tagList; 109 102 case ZONE: 110 tagList.add(new Tag( tr("area"),tr("zone")));103 tagList.add(new Tag("area","zone")); 111 104 return tagList; 112 105 case NONE:
Note:
See TracChangeset
for help on using the changeset viewer.