Wentao-Kuang / basemaps

NZ’s authoritative and open digital basemap service for LINZ and the public.

Home Page:https://basemaps.linz.govt.nz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basemaps

Build Status License Language grade: JavaScript

A digital basemap provides a consistent background detail necessary to orient location and add to aesthetic appeal. Basemaps can be made up of streets, parcels, boundaries (country, regional, and city boundaries), shaded relief of a digital elevation model, waterways, hydrography, aerial and satellite imagery. Basemaps can be used as desktop, website or mobile phone application components, or as a 3rd party layers within a GIS or desktop mapping application.

Building

This repository requires NodeJs > 16 & Yarn

Use n or fnm to manage nodeJs versions

# Download the latest nodejs & yarn
n latest
npm install -g yarn

# Install node deps
yarn

# Build everything into /build
yarn run build

# Run the unit tests
yarn run test

Example clients

See https://basemaps.linz.govt.nz/examples

License

This system is licensed under the MIT License, except where otherwise specified. See the LICENSE file for more details.

Deployment

Deployments of Basemaps are managed with github actions.

To trigger a deployment, make sure your branch is up to date and run the version bump script ./scripts/version.bump.sh This script will create a release: commit and branch, please review the commit then create a pull request from it.

Once the release pull request is merged the CI system will deploy the released version into dev then into production.

About

NZ’s authoritative and open digital basemap service for LINZ and the public.

https://basemaps.linz.govt.nz

License:Other


Languages

Language:TypeScript 95.8%Language:HTML 2.1%Language:JavaScript 1.5%Language:CSS 0.4%Language:Shell 0.2%Language:Dockerfile 0.1%