
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@basemaps/config
Advanced tools
To effectively serve tiles to users, all rendering processes must be kept in synch with the exact same configuration.
Basemaps stores its configuration into a single DynamoDB table and separates the configuration objects into
This configuration is generally stored as JSON files in a git repository (eg linz/basemaps-config ) to allow easy modification and then programmatically loaded into Basemaps DynamoDB table
For LINZ's implementation of this configuration see linz/basemaps-config
{
"v": 1,
"id": "im_01E8121FN71M0PNZ6VB87DW05Z",
"name": "new_zealand_sentinel_2018-19_10m",
"projection": 3857,
"uri": "s3://linz-basemaps/3857/new_zealand_sentinel_2018-19_10m/01E8121FN71M0PNZ6VB87DW05Z",
"year": 2018,
"files": [
{
"height": 4892,
"name": "13-8032-5113",
"width": 4892,
"x": 19254793.17314903,
"y": -4980025.266835816
}
]
}
{
"id": "ts_01H8JF29R6S2NT7QXNC7GK90D4",
"type": "raster",
"format": "webp",
"name": "manawatu-whanganui-sn9158-1991-0.375m",
"title": "Manawatū-Whanganui 0.375m SN9158 (1991)",
"layers": [
{
"2193": "im_01H8JF29R6S2NT7QXNC7GK90D4",
"maxZoom": 32,
"minZoom": 0,
"name": "manawatu-whanganui-sn9158-1991-0.375m",
"title": "Manawatū-Whanganui 0.375m SN9158 (1991)"
}
]
}
Tilesets can have multiple aliases, allowing them to be linked by different names:
{
"type": "raster",
"id": "ts_auckland-2010-2012-0.5m",
"title": "Auckland 0.5m Rural Aerial Photos (2010-2012)",
"name": "auckland-2017-0.075m",
"aliases": ["auckland-urban-2017-0.075m"]
}
{
"id": "st_topographic",
"name": "topographic",
"style": {
"id": "st_topographic",
"glyphs": "/v1/fonts/{fontstack}/{range}.pbf",
"layers": [
{
"id": "Background",
"filter": ["all", ["==", "class", "dock"]],
"layout": {
"visibility": "visible"
},
"minzoom": 0,
"paint": {
"background-color": "rgba(184, 220, 242, 1)"
},
"type": "background"
},
{
"id": "Landcover-Sand",
"filter": ["all", ["==", "class", "sand"]],
"layout": {
"visibility": "visible"
},
"minzoom": 8,
"paint": {
"fill-color": "rgba(226, 226, 226, 0.75)"
},
"source": "LINZ Basemaps",
"source-layer": "landcover",
"type": "fill"
}
]
}
}
{
"id": "pv_linz",
"name": "linz",
"serviceIdentification": {
"accessConstraints": "Basemap @ CC BY 4.0 Land Information New Zealand",
"description": "National map tile service provided by Land Information New Zealand",
"fees": "There are no fees associated with access via the web interface or API.",
"title": "LINZ Basemaps Service"
},
"serviceProvider": {
"contact": {
"address": {
"city": "Wellington",
"country": "New Zealand",
"deliveryPoint": "Land Information New Zealand",
"email": "basemaps@linz.govt.nz",
"postalCode": "6145"
},
"individualName": "LINZ Customer Support",
"phone": "+64 4 4600110",
"position": "Customer Support"
},
"name": "Land Information New Zealand",
"site": "http://www.linz.govt.nz"
}
}
FAQs
## Basemaps Configuration
We found that @basemaps/config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.