Property talk:P11272

From Wikidata
Jump to navigation Jump to search

Documentation

Bureau of Meteorology location ID
identifier of a location within Australia on the Bureau of Meteorology website providing weather observations and forecasts
Associated itemBureau of Meteorology (Q923429)
Data typeExternal identifier
Domaincity (Q515), town (Q3957), suburb (Q188509), village (Q532), locality (Q3257686) or island (Q23442)
Allowed values[a-z\d]{7}
ExampleAlbany (Q704257)q9gbdrn
Norfolk Island (Q8437343)rdz6vgr
Darwin (Q5225948)qvv117s
Goulburn (Q605235)r3f6qd4
Sourcehttps://weather.bom.gov.au/onboarding
Formatter URLhttps://api.weather.bom.gov.au/v1/locations/$1
https://api.weather.bom.gov.au/v1/locations/$1/forecast/rain
https://api.weather.bom.gov.au/v1/locations/$1/forecasts/daily
https://api.weather.bom.gov.au/v1/locations/$1/observations
https://api.weather.bom.gov.au/v1/locations/$1/forecasts/3-hourly
https://api.weather.bom.gov.au/v1/locations/$1/warnings
Related to country Australia (Q408) (See 201 others)
See alsoBureau of Meteorology station ID (P3796)
Lists
Proposal discussionProposal discussion
Current uses
Total8
Main statement450% of uses
Qualifier450% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “[a-z\d]{7}: 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/P11272#Format, SPARQL
Scope is as main value (Q54828448): the property must be used by specified way only (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/P11272#Scope, SPARQL
Allowed entity types are Wikibase item (Q29934200): 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/P11272#Entity types
Distinct values: this property likely contains a value that is different from all other items. (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/P11272#Unique value, SPARQL (every item), SPARQL (by value)
Single value: this property generally contains a single value. (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/P11272#Single value, SPARQL
Item “coordinate location (P625): Items with this property should also have “coordinate location (P625)”. (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/P11272#Item P625, SPARQL

link rot?[edit]

Hi all (especially @Dhx1:). I was about to see if I could make a Mix'n'Match set for this, but then discovered that the source link no longer works, and even worse, the main formatter URL no longer works (some of the APIs still do). I wonder if anyone knows where we might find a list of these geohashes? --99of9 (talk) 07:10, 16 August 2023 (UTC)[reply]

I suggest this property should perhaps be deleted, as it's not an identifier. It's a 6 character long geohash (+/-610m resolution) that is mapped by the BOM API to the nearest weather station. For example, [1] and [2] both return the same results from station 046126 (Property:P3796) which is named "Tibooburra Airport". There's numerous online tools (e.g. [3]) for translating between WGS84 coordinates and geohashes, as well as numerous open source software libraries in multiple programming languages. Thus one could take the Property:P625 of anything in Australia, create a 6 character long geohash, send it to the BOM API, and find the most local weather information available. Dhx1 (talk) 08:17, 16 August 2023 (UTC)[reply]