Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Basemaps User guide documentations #3012

Merged
merged 3 commits into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Build docs
run: |
cp packages/landing/node_modules/@linzjs/lui/dist/assets/images/linz-motif.svg docs/
docker run --rm -v ${PWD}:/docs squidfunk/mkdocs-material:9.4 build
docker run --rm -v ${PWD}:/docs ghcr.io/linz/basemaps-mkdocs:v1 build

- name: Store docs artifact
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
-v ${PWD}:/docs \
-e GOOGLE_ANALYTICS \
-e BASEMAPS_DOCS_URL \
squidfunk/mkdocs-material:9.4 build
ghcr.io/linz/basemaps-mkdocs:v1 build
env:
GOOGLE_ANALYTICS: ${{ secrets.GOOGLE_ANALYTICS }}
BASEMAPS_DOCS_URL: https://dev.basemaps.linz.govt.nz/docs/
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
-v ${PWD}:/docs \
-e GOOGLE_ANALYTICS \
-e BASEMAPS_DOCS_URL \
squidfunk/mkdocs-material:9.4 build
ghcr.io/linz/basemaps-mkdocs:v1 build
env:
GOOGLE_ANALYTICS: ${{ secrets.GOOGLE_ANALYTICS }}
BASEMAPS_DOCS_URL: https://basemaps.linz.govt.nz/docs/
Expand Down
7 changes: 0 additions & 7 deletions docs/user-guide/README.md

This file was deleted.

54 changes: 54 additions & 0 deletions docs/user-guide/_get-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Get started with LINZ Basemaps

The LINZ Basemaps API lets you build your own New Zealand-centric maps for mobile, web and GIS apps. This page describes our APIs and what you need to do to use them successfully.

## How to get started with LINZ Basemaps APIs

We've made getting started with LINZ Basemaps APIs easy.

1. Pick a [LINZ Basemaps product](https://basemaps.linz.govt.nz/).
2. Grab a map tile API url from the menu bar.
3. If you're a developer, email <[email protected]> for developer access
4. Find the [Technical documentation](./technical-documentation.md) and [API documentation](./api-documentation.md), legals and how to's that will help you get mapping successfully.

## Basics of our APIs

### What API access levels are available?

There are two access levels to our APIs, there is no charge for either access level.

| Level | Description |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Standard access | Standard access allows quick access to our Basemap APIs without needing to register. This access is best suited for use of our APIs in internal apps |
| Developer access | Developer access allows integration of our Basemap APIs into high volume public mapping platforms. Contact us to register for a site restricted API key |

### What protocols are available?

We support three common standards for web mapping.

| Protocol | Description |
| ------------------------ | -------------------------------------------------------------------------------------------- |
| XYZ | Best suited for use in web and mobile mapping JavaScript clients |
| WMTS | Support for Open Geospatial Consortium Web Map Tile Services WMTS v1.0.0 for use in GIS apps |
| Vector tile map services | Support for StyleJSON version 8 for access to our styled web maps |

### Important documentation

There are a few core concepts within our technical documentation that you should check out before you start mapping.

- [Access levels](./technical-documentation.md/#api-access-levels)
- [Rate limiting](./technical-documentation.md/#rate-limiting)
- [Response codes](./technical-documentation.md/#response-codes)
- [Data attribution](./technical-documentation.md/#data-attribution)

### Stay informed

Contact us at <[email protected]> to get email notifications related to LINZ Basemaps APIs, including announcements of new services or planned changes to APIs.

If you have registered for a Developer API then you do not need to sign up as you will already be included on the list.

### Support hours

Monday to Friday
9:00am - 5:00pm
Closed on public holidays
5 changes: 5 additions & 0 deletions docs/user-guide/api-documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# API documentation

This page provide examples of Basemaps APIs that allow you to programmatically access LINZ map tile services to integrate into your mobile, web.

<swagger-ui src="./swagger-api.json"/>
Loading
Loading