Property talk:P11272
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
identifier of a location within Australia on the Bureau of Meteorology website providing weather observations and forecasts
Associated item | Bureau of Meteorology (Q923429) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Data type | External identifier | |||||||||
Domain | city (Q515), town (Q3957), suburb (Q188509), village (Q532), locality (Q3257686) or island (Q23442) | |||||||||
Allowed values | [a-z\d]{7} | |||||||||
Example | Albany (Q704257) → q9gbdrn Norfolk Island (Q8437343) → rdz6vgr Darwin (Q5225948) → qvv117s Goulburn (Q605235) → r3f6qd4 | |||||||||
Source | https://weather.bom.gov.au/onboarding | |||||||||
Formatter URL | https://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 200 others) | |||||||||
See also | Bureau of Meteorology station ID (P3796) | |||||||||
Lists |
| |||||||||
Proposal discussion | Proposal discussion | |||||||||
Current uses |
| |||||||||
Search for values |
[create Create a translatable help page (preferably in English) for this property to be included here]
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
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
Type “city (Q515), town (Q3957), suburb (Q188509), village (Q532), locality (Q3257686), island (Q23442)”: item must contain property “instance of (P31)” with classes “city (Q515), town (Q3957), suburb (Q188509), village (Q532), locality (Q3257686), island (Q23442)” or their subclasses (defined using subclass of (P279)). (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#Type Q515, Q3957, Q188509, Q532, Q3257686, Q23442, 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)
- 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)
Categories:
- Australia-related properties
- All Properties
- Properties with external-id-datatype
- Properties used on 1+ items
- Properties with format constraints
- Properties with scope constraints
- Properties with entity type constraints
- Properties with unique value constraints
- Properties with single value constraints
- Properties with constraints on items using them
- Properties with constraints on type