Map Layers
Use this guide to choose a tileset, configure its source layers and zoom range, and find the attributes and styling resources for your map.
Choose a tileset
Tilesets are unstyled Mapbox Vector Tile protobuf data. Configure a vector source with this URL template:
Code
z: zoom levelx: tile column in XYZ coordinatesy: tile row in XYZ coordinates
Use the source-layer name in your map style. A tileset can contain more than one source layer.
| Tileset | Source layers | Published zoom range |
|---|---|---|
gnaf | gnaf | 0–15 |
localities | localities | 0–14 |
postcodes | postcode_polygons, postcode_points | 0–12 |
local_government_areas | local_government_areas | 0–12 |
wards | wards | 0–14 |
buildings | buildings | 0–15 |
solar | solar | 0–17 |
cadastre | cadastre | 0–16 |
property | property | 0–16 |
electoral | state, commonwealth | 0–13 |
country | country | 0–14 |
state | state | 0–14 |
airports_polygon | airport | 0–14 |
rail | railway_line, railway_station | 0–14 |
Tile attributes
The following field names and example values come from the published reference. Use metadata to check the fields in the current tileset. Example IDs and dates are illustrative, not lookup guarantees.
G-NAF
ADDRESS_DETAIL_PID:GANT_703831523ALIAS_PRINCIPAL:PRINCIPALGEOCODE_TYPE:PROPERTY_CENTROIDPRIMARY_SECONDARY: primary or secondary address classificationstreet_number:60
Localities
locality_pidlocality_polygon_pidlocality_name:DARWINarea: square kilometres (km²)
Postcodes
postcode_polygons
postcode_pid:NSW216111postcode_polygon_pid:161postcode:2161
postcode_points
postcode_pid:NSW216111postcode_point_pid:161postcode:2161
Local Government Areas
lga_pid:lga744170e79f38lga_polygon_pid:lgp5b4307df2e0flga_name:Darwin Municipalityarea:139.894km²
Wards
ward_pid:wadff86c1934cd4ward_polygon_pid:wdp3faBuVCopmPPward_name:Ararat Rural Citystate:VICdate_created:2023-08-15
Buildings
building_pid:blda54bc84c09be
Solar
capture_date:2023-08-25capture_source:7.5cm aerialsolar_area:25.62m²solar_building_pid:sbp7e895616ffe4solar_type:Polycrystallinesolar_pid:sol1YfOR2d2h8iP
Cadastre
cadastre_pid:cad0941c65bd1cdcadastre_polygon_pid:cp1923530d6ca02parcel_type:Lotarea:2020.48m²base_parcel:Yes
Property
property_pid:prpf45bf15a0428property_polygon_pid:pp0cb2086a6829fbase_property:Yesarea:405630.9m²
Electoral Boundaries
Commonwealth attributes
commonwealth_electoral_name:MALLEEcommonwealth_electoral_pid:VIC2commonwealth_electoral_polygon_pid:11914date_created:2018-08-01date_gazetted:2021-07-26date_retired:nullredistribution_year:2021
State attributes
date_created:2015-05-05date_retired:nulleffective_end_date:2022-10-31effective_start_date:2014-11-29state_electoral_class_name:Legislative Assemblystate_electoral_name:LOWANstate_electoral_pid:VIC197state_electoral_polygon_pid:992
Country
country_abbreviated:AUScountry_name:Australiacountry_pid:1country_polygon_pid:1
States
state_pidstate_polygon_pidstate_name:Australian Capital Territorystate_abbreviation:ACT
Airports
airport_pidairport_polygon_pidairport_name
Rail
Railway Line attributes
date_created:2019-05-03ground_relationship:On Groundguage_type:STANDARD BROADjurisdiction_id:10066414operational_status:Operationalrailway_line_pid:VIC16652773railway_name:ALBION-BROADMEADOWSrailway_pid:VIC5149transport_hierarchy:Railway Line 1
Railway Station attributes
date_created:2019-04-17jurisdiction_id:5580490operational_status:Operationalrailway_station_name:SOUTH KENSINGTON STATIONrailway_station_pid:VIC16208061transport_hierarchy:Railway Station
Zoom and detail
Set the source's maxzoom to its published maximum. Let the map client overzoom that source when displaying higher zooms.
Low-zoom tiles simplify geometry and can omit small features. Use tiles for visualisation. Retrieve authoritative feature attributes and geometries through the relevant data API when performing analysis. The Rail product guide explains rail attributes.
Read tileset metadata
/v1/maps/index.json returns an array of TileJSON 3.0.0 objects:
tilessupplies tile URL templatesvector_layers[].idis the source-layer namevector_layers[].fieldsmaps attribute names to type descriptionsvector_layers[].geometrydescribes the geometry typeminzoomandmaxzoom, when supplied within a vector layer, describe available zoomsboundsuses west,south,east,north longitude and latitude degreescenteruses longitude,latitude,zoom
Metadata and examples can change as datasets are updated. Inspect the metadata for the deployed data. Authenticate every tile request, including those made from metadata templates.
Styling resources
The geoscape-light stylesheet follows the Mapbox Style Specification. Authenticate the style and its tile and font requests.
Useful clients and tools include:
- MapLibre and Mapbox GL JS
- Leaflet and OpenLayers, with compatible vector-tile support
- Maputnik and Fresco for style editing
- Protocol Buffers for the binary encoding
The TileJSON specification is licensed under CC BY 3.0 US.
Attribution and G-NAF use
Retain attribution when displaying Geoscape data. G-NAF use is also subject to its licensing and privacy requirements. Review the G-NAF overview, G-NAF dataset and licence, and Australian Privacy Principles.
Review the G-NAF end-user licence and additional G-NAF use restrictions.