Opened 8 years ago

Last modified 17 months ago

#16523 new defect

Built-in level filter ignores min_level/max_level and building:min_level/building:levels — at Version 3

Reported by: twpol Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description (last modified by twpol)

What steps will reproduce the problem?

  1. Download data for area with buildings tagged with levels (e.g. https://www.openstreetmap.org/#map=19/51.42080/-0.20503)
  2. Find and select building outline with levels defined (e.g. https://www.openstreetmap.org/way/482814284)
  3. Look for built-in level selection just below zoom/scale UI in top-right.
  4. Select level 2.

What is the expected result?

Levels -1 through 3 are shown, and building outline is visible for 0 through 3 per tags.

What happens instead?

Levels -1 through 2 are shown, with indoor rooms shown for levels 0 and 1 but no building outlines anywhere.

Please provide any additional information below. Attach a screenshot if possible.

Ideally this feature of JOSM would support all of the following keys (all level related keys I am aware of):

  • level (already supported)
  • min_level
  • max_level
  • repeat_on

(Note that the building:* keys related to level are probably not relevant here, per discussions on IRC.)

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-07-09 01:47:59 +0200 (Mon, 09 Jul 2018)
Build-Date:2018-07-08 23:50:14
Revision:14026
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14026 en_GB) Windows 10 64-Bit
OS Build number: Windows 10 Pro 1709 (16299)
Memory Usage: 916 MB / 1820 MB (545 MB allocated, but free)
Java version: 1.8.0_181-b13, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 2560x1440, \Display1 1600x1200
Maximum Screen Size: 2560x1440
Dataset consistency test: No problems found

Plugins:
+ ImproveOsm (137)
+ Mapillary (v1.5.15)
+ MicrosoftStreetside (34389)
+ OpenStreetCam (149)
+ OpeningHoursEditor (34389)
+ apache-commons (34389)
+ apache-http (34389)
+ continuosDownload (1530471163)
+ graphview (34389)
+ gson (34389)
+ imagery_offset_db (34370)
+ mapdust (34389)
+ scoutsigns (124)
+ tageditor (34109)
+ turnlanes-tagging (263)
+ turnrestrictions (34129)
+ utilsplugin2 (34389)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportOneClick&zip=1

Map paint styles:
- https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip
- E:\Documents\Coding\JOSM Styles\Invisible.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_features&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_features_ryg&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/NumberedCycleNodeNetworks&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/NumberedWalkingNodeNetworks&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1
- E:\Documents\Coding\JOSM Styles\PublicTransportV3.mapcss
- E:\Documents\Coding\JOSM Styles\PublicTransportV3Validation.mapcss
- https://www.openrailwaymap.org/styles/josm-additional.zip
- https://www.openrailwaymap.org/styles/electrified.zip
- https://www.openrailwaymap.org/styles/standard.zip
- https://www.openrailwaymap.org/styles/maxspeed.zip
- https://www.openrailwaymap.org/styles/signals.zip
- https://raw.githubusercontent.com/species/josm-preset-wheelchair/master/sidewalks_kerbs.mapcss
- https://github.com/osmlab/appledata/archive/josm_paint_inline_validation.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/LayerChecker&zip=1

Validator rules:
+ https://www.openrailwaymap.org/validator/openrailwaymap.validator.mapcss

Last errors/warnings:
- W: Unable to convert property fill-color to type class java.awt.Color: found Keyword{transparent} of type class org.openstreetmap.josm.gui.mappaint.Keyword!
- W: Unable to convert property fill-color to type class java.awt.Color: found Keyword{transparent} of type class org.openstreetmap.josm.gui.mappaint.Keyword!
- W: Unable to convert property fill-color to type class java.awt.Color: found Keyword{transparent} of type class org.openstreetmap.josm.gui.mappaint.Keyword!
- W: Unable to convert property fill-color to type class java.awt.Color: found Keyword{transparent} of type class org.openstreetmap.josm.gui.mappaint.Keyword!
- W: Unable to convert property fill-color to type class java.awt.Color: found Keyword{transparent} of type class org.openstreetmap.josm.gui.mappaint.Keyword!
- W: Unable to convert property fill-color to type class java.awt.Color: found Keyword{transparent} of type class org.openstreetmap.josm.gui.mappaint.Keyword!
- W: Unable to convert property fill-color to type class java.awt.Color: found Keyword{transparent} of type class org.openstreetmap.josm.gui.mappaint.Keyword!
- W: Unable to convert property fill-color to type class java.awt.Color: found Keyword{transparent} of type class org.openstreetmap.josm.gui.mappaint.Keyword!
- W: Unable to convert property fill-color to type class java.awt.Color: found Keyword{transparent} of type class org.openstreetmap.josm.gui.mappaint.Keyword!
- E: org.openstreetmap.josm.data.osm.search.SearchParseError: Unexpected token: <equals>

Change History (3)

comment:1 by anonymous, 8 years ago

buildings:level is a S3DB tag and not defined in a way that it is useful for indoor mapping.

comment:2 by twpol, 8 years ago

Description: modified (diff)

comment:3 by twpol, 8 years ago

Description: modified (diff)

Picking a new example location/building.

Note: See TracTickets for help on using tickets.