Skip to content

Latest commit

 

History

History

Australian Tourism Regions

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Australian Tourism Regions

Vector Tile Hosting

Alpaca Travel offers a vector tile hosting service which provides access to the current Australian Tourism Regions for presenting on interactive maps. This can help build interactive maps that can display to the user various regions and sub-regions across Australia.

<iframe src="https://codesandbox.io/embed/simple-mapbox-tourism-kuo39x?fontsize=14&hidenavigation=1&module=%2Fsrc%2FMap%2FTourismMapLayer.tsx&theme=dark" style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;" title="simple-mapbox-tourism" ></iframe>

Interactive Explorer

Alpaca offers an interactive explorer to review what data is visible within the vector dataset.

Australian Tourism Regions

Interactive Explorer

SVG Data

<iframe src="https://codesandbox.io/embed/svg-tourism-hq4nen?fontsize=14&hidenavigation=1&module=%2Fsrc%2FMap.js&theme=dark" style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;" title="SVG-tourism" ></iframe>

It is possible to extract the SVG data for each region, using it for rendering SVG maps of tourism regions.

Feature Specification

Alpaca provides a specification derived from the ABS data set, allowing you to target and create interactions with data.

Example of Feature Properties

{
  "properties": {
    "class": "place_polygon",
    "TR_CODE21": "2R040",
    "TR_NAME21": "Great Ocean Road",
    "STE_NAME21": "Victoria",
    "STE_CODE21": "2",
    "id": "place/abs:2021-tourism:2r040",
    "label": "Great Ocean Road"
  }
}

Adding to Mapbox

You can directly attach the ATDW products to your Mapbox map instance by adding the following style source definition.

"tourism": {
  "type": "vector",
  "data": "https://mapping.withalpaca.travel/v1/set/abs_2021_tourism.tilejson?scheme=xyz&accessToken=YOUR_ACCESS_TOKEN",
  "scheme": "xyz"
}

Targeting Regions

As an example, you can also add a style layer to your map, which will display corresponding ATDW products.

Displaying Regions of New South Wales

{
  "id": "maine",
  "type": "fill",
  "source": "tourism",
  "source-layer": "default",
  "layout": {},
  "paint": {
    "fill-color": "#0080ff",
    "fill-opacity": 0.5
  },
  "filter": ["==", "STE_NAME21", "New South Wales"]
}