Property talk:P6592

From Wikidata
Jump to navigation Jump to search

Documentation

OpenStreetMap zoom level
raster zoom level (or vector zoom +1) that would be requested for a 512×512-pixel OSM map that could contain the boundaries of this item
RepresentsOpenStreetMap (Q936)
Data typeString
Template parameter"zoom" in c:Template:Map
Domainmap (Q4006), geographic location (Q2221906) or geographic region (Q82794)
Allowed values
According to this template: "\d\d?"; in practice 0 -> 23 (perhaps 24)
According to statements in the property:
\d|1\d|2[0-5]
When possible, data should only be stored as statements
Example
According to statements in the property:
world map (Q653848) → 0
Amerique Meridionale (Q56759862) → 3
John Speed's map of Wales (Q22912348) → 7
Map of the Black Hills region (Q60502116) → 6
When possible, data should only be stored as statements
SourceGiven by the calculation

$zoom = int((-log ($range / 360) / log(2)) + 1), where $range = MAX ( ($east - $west), ((180/$pi) * ( log(tan(45 + $north/2)) - log(tan(45 + $south/2)) )))

(note: this information should be moved to a property statement; use property source website for the property (P1896))
Lists
Proposal discussionProposal discussion
Current uses
Total241
Main statement23497.1% of uses
Qualifier62.5% of uses
Reference10.4% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P6592#Scope, hourly updated report, SPARQL
Format “\d|1\d|2[0-5]: value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6592#Format, SPARQL
Allowed entity types are Wikibase item (Q29934200), Wikibase MediaInfo (Q59712033): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6592#Entity types

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Why 512×512-pixel?[edit]

why not 513×513? Or 23×42? What is the specific use case for this property?--Shisma (talk) 06:16, 14 May 2019 (UTC)[reply]