Opened 5 years ago
Last modified 4 years ago
#18848 new enhancement
Provide a way to override overzoom
Reported by: | Stereo | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core imagery | Version: | |
Keywords: | template_report macOS hidpi tile zoom | Cc: | wiktorn |
Description (last modified by )
What steps will reproduce the problem?
- On a Mac running Java 13, load the Place du Grand Sablon in Brussels
- Add Imagery > Maps > Urbisfr Numerical Imagery
What is the expected result?
Text on map is readable
What happens instead?
Text on map is tiny
Please provide any additional information below. Attach a screenshot if possible.
r15918 added automatic detection of hidpi. This is fantastic if you're showing photo imagery, less if you're trying to read the text on the imagery.
Some tile servers provide hidpi tiles that are 512px - compare:
- http://wmts1.geoportail.lu/opendata/demo/?wmts_layer=basemap&format=png&srs=EPSG%3A3857
- http://wmts1.geoportail.lu/opendata/demo/?wmts_layer=basemap&format=png&srs=EPSG%3A3857
or the sizes and resolutions of
http://wmts1.geoportail.lu/opendata/wmts/basemap/GLOBAL_WEBMERCATOR_4_V3/10/529/347.png
http://wmts1.geoportail.lu/opendata/wmts/basemap_hd/GLOBAL_WEBMERCATOR_4_V3_HD/9/264/173.png
Should this maybe be another attribute in the imagery definition?
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-02-26 10:50:27 +0100 (Wed, 26 Feb 2020) Revision:15937 Build-Date:2020-02-26 09:52:41 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (15937 en_GB) Mac OS X 10.15.3 OS Build number: Mac OS X 10.15.3 (19D76) Memory Usage: 890 MB / 4096 MB (217 MB allocated, but free) Java version: 13.0.2+8, AdoptOpenJDK, OpenJDK 64-Bit Server VM Screen: Display 69733632 1680x1050 Maximum Screen Size: 1680x1050 Dataset consistency test: No problems found Plugins: + AddrInterpolation (35248) + CommandLine (35297) + ImportImagePlugin (35248) + Mapillary (1.5.20) + MovementAlert (1511141840) + OpeningHoursEditor (35250) + PicLayer (35313) + ShapeTools (1240) + alignways (35248) + apache-commons (35092) + apache-http (35092) + areaselector (359) + austriaaddresshelper (57) + buildings_tools (35248) + changeset-viewer (22) + conflation (0.6.4) + continuosDownload (91) + contourmerge (v0.1.6) + ejml (35122) + geotools (35169) + jaxb (35092) + jna (35092) + jogl (1.2.3) + jts (35122) + log4j (35092) + opendata (35330) + openqa (0.1.9) + public_transport (35313) + reltoolbox (35313) + reverter (35313) + rex (53) + splinex (35248) + terracer (35327) + todo (30306) + turnrestrictions (35313) + undelete (35313) + utilsplugin2 (35334) + wikipedia (1.1.3) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/BicycleJunction&preset&zip=1 + http://osmtools.de/josm/steps.xml + https://josm.openstreetmap.de/josmfile?page=Presets/Historic_Stone&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&preset&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Towers&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Golf_Course&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportOneClick&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Bus_lanes&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Heritage&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Historical_Objects&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/public_bookcase&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Stolpersteine&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1 + https://gitlab.com/k127/josm-presets/raw/master/diplomatic.xml Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/Lit&style&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&style&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Surface&style&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&style&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Modified&style&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/LessObtrusiveNodes&style&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&style&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Noname&style&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Power&style&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Surface-DataEntry&style&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/PowerMapping&style&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/BesideTheRoad_Speed&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/TreeCrownDiameter&style&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SlovakiaBicycleRoutes&style&zip=1 - https://github.com/simon04/coloured-addresses.mapcss/raw/master/dist/coloured-addresses.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&style&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Suburb&style&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&style&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SlovakiaBicycleRoutes&style&zip=1 - https://github.com/GlassOceanos/indoor-JOSM-style/archive/master.zip - https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/PTStops&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SlovakiaBicycleRoutes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SimpleRoofTags&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SimpleBuildingTags&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/HiDPISupport&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/AddressValidator&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/NewHighwayColors&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Noname&zip=1 Validator rules: + http://www.openrailwaymap.org/validator/openrailwaymap.validator.mapcss + https://josm.openstreetmap.de/josmfile?page=Rules/GermanySpecific&zip=1 + http://www.openrailwaymap.org/validator/de-openrailwaymap.validator.mapcss + https://josm.openstreetmap.de/josmfile?page=Rules/MissingWeekdays&zip=1 + https://raw.githubusercontent.com/nlehuby/transport_mapcss/master/transport.validator.mapcss Last errors/warnings: - W: Not a single layer for the name 'Bing Sat': []
Attachments (1)
Change History (8)
by , 5 years ago
Attachment: | Screenshot 2020-03-03 at 11.12.09.png added |
---|
comment:1 by , 5 years ago
Description: | modified (diff) |
---|
comment:2 by , 5 years ago
Description: | modified (diff) |
---|
comment:3 by , 5 years ago
Description: | modified (diff) |
---|
comment:4 by , 5 years ago
Description: | modified (diff) |
---|
comment:6 by , 5 years ago
Cc: | added |
---|---|
Keywords: | tile zoom added |
comment:7 by , 4 years ago
I think #20030 is related.
I see 3 types of TMS imagery:
- aerial imagery without added labels or other annotation (ie. no hybrid, sample: https://ofmozaika.tiles.freemap.sk/16/36668/22521.jpg)
- on HiDPI displays are these best displayed with Tile zoom offset set to 0.
- rendered tiles without support of scaling (sample: https://c.tile.openstreetmap.org/15/18316/11251.png)
- on HiDPI displays are these best displayed with Tile zoom offset set to 1 (will became pixelated but texts will be of normal size).
- rendered tiles with support of scaling (sample for 2x tile: https://outdoor.tiles.freemap.sk/14/9153/5642@2x)
- on HiDPI displays are these best displayed with Tile zoom offset set to 1 (will stay sharp and texts will be of normal size).
As you can see Tile zoom offset should be set per imagery. Maybe solution would be to have some indicator in TMS template URL which would tell what offset to use.
Difference in JOSM and background imagery text rendering