Datasets / MapsOnline API


MapsOnline API

Published By Environment and Science

Issued over 6 years ago

AU
beta

Summary

Type of release
a service or API for accessing open data

Data Licence
Not Applicable

Content Licence
Creative Commons Attribution

Verification
automatically awarded

Description

This API accesses QLD Government's MapsOnline service that integrates, summarises, presents and delivers spatially-referenced information as map and report products. Responses are returned via the specified email address once processed. There are supporting functions that retrieve the available report and feature types. The primary **request report** function has separate GET and POST end points: **GET** https://mapsonline.information.qld.gov.au/service/environment/resource/MapsOnline/1/http/rest/request **POST** https://mapsonline.information.qld.gov.au/service/environment/resource/MapsOnline/1/http/rest/requestPost ** Parameters:** - **reportType**: any type in [getReportTypes](https://mapsonline.information.qld.gov.au/service/environment/resource/MapsOnline/1/http/rest/getReportTypes) - **featureType**: any type in [getFeatureTypes](https://mapsonline.information.qld.gov.au/service/environment/resource/MapsOnline/1/http/rest/getFeatureTypes) - **features**: any valid feature, e.g. a coordinate as -27,150, a lot plan as 1,RP1 or GeoJson. Geometries must fall within Queensland and have a total bounding box of less than 200,000km2. Multiple pipe seperated features can be included in a single request, e.g. -27,150|-26,149|-23,148 - **emailAddress**: any valid email address - **customerReference**: (optional) - include your own file reference **Example Valid Request** https://mapsonline.information.qld.gov.au/service/environment/resource/MapsOnline/1/http/rest/request?reportType=VEG1L&featureType=LotPLan&features=1,RP1&emailAddress=OpenData@example.com { message: "Report Requested", message_code: "success", output: [ ], status: 200, success: true } **Example Invalid Request** https://mapsonline.information.qld.gov.au/service/environment/resource/MapsOnline/1/http/rest/request?reportType=VEG1C&featureType=coord&features=160,-27&emailAddress=OpenData@example.com { message: "Report request failed", message_code: "input_validation", output: [ "Coordinates outside of Queensland" ], status: 200, success: false } [BioMaps](https://qldspatial.information.qld.gov.au/biomaps/index.html) and [WetlandMaps](http://www.ehp.qld.gov.au/wetlandmaps/) provide map interfaces to request some reports available in this API