No Clocks

No Clocks

3456 bookmarks
Newest
gdalbuildvrt — GDAL documentation
gdalbuildvrt — GDAL documentation
gdalbuildvrt [--help] [--long-usage] [--help-general] [--quiet] [[-strict]|[-non_strict]] [-tile_index <field_name>] [-resolution user|average|common|highest|lowest|same] [-tr <xres> <yes>] [-input_file_list <filename>] [[-separate]|[-pixel-function <function>]] [-pixel-function-arg <NAME>=<VALUE>]... [-allow_projection_difference] [-sd <n>] [-tap] [-te <xmin> <ymin> <xmax> <ymax>] [-addalpha] [-b <band>]... [-hidenodata] [-overwrite] [-srcnodata "<value>[ <value>]..."] [-vrtnodata "<value>[ <value>]..."] [-a_srs <srs_def>] [-r nearest|bilinear|cubic|cubicspline|lanczos|average|mode] [-oo <NAME>=<VALUE>]... [-co <NAME>=<VALUE>]... [-ignore_srcmaskband] [-nodata_max_mask_threshold <threshold>] <vrt_dataset_name> [<src_dataset_name>]...
This program builds a VRT (Virtual Dataset) that is a mosaic of a list of input GDAL datasets. The list of input GDAL datasets can be specified at the end of the command line, put in a text file (one filename per line) for very long lists, or it can be a MapServer tileindex (see the gdaltindex utility). If using a tile index, all entries in the tile index will be added to the VRT.
·gdal.org·
gdalbuildvrt — GDAL documentation
Before I Sleep: Push the limits of interactive mapping in R with vector tiles
Before I Sleep: Push the limits of interactive mapping in R with vector tiles
A tutorial on mapping with vector tiles in R
Let’s start with tiles: If you’ve used interactive maps or ‘slippy maps’ as they are sometimes known, you’re probably aware of tiles. A slippy map (E.g. Google Maps) is comprised of thousands to millions of little images, a selection of which are served to you depending on the spatial viewport you have established on the map as you slip-slide around.
These solve the problem of how to serve a high resolution map image to the user. High resolution images of the Earth use a ton of data and bandwidth to transfer, but the typical user is only chasing an image of a very small section that contains whatever they are interested in.
So some clever person came up with the idea of cutting up the images of the earth into three dimensional dataset of x, y, and zoom. A tileset, as they are called, contains the whole Earth projected onto an x/y plane, rendered at progressively higher resolution or higher detail, with increasing zoom
As we ‘zoom-in’, or increase our position on the zoom dimension, we are sent only the tile images for our new viewport of the Earth, which contains roughly the same amount of tiles, but those tiles represent increasingly less area of the Earth’s surface. It follows that the number of tile images associated with each zoom level increases geometrically with increasing zoom (by a factor of 4).
This information is combined with a separately transmitted stylesheet to produce the tile image. Different stylesheets can use the same vector data to produce radically different looking maps that either highlight or omit data with certain attributes. As mappers of data we can use the same trick of streaming tiled sections of our data in vector form to drastically boost the amount of information we can make available on interactive maps.
Mapbox vector tiles A vector tile specfication created by the Mapbox company is currently the de-facto standard for vector tile files. Mabbox Vector Tiles, or ‘MVT’ as they are often abbreviated, are stored as a Google protocol buffer - a tightly packed binary format.
MBTiles databases MBTiles is a second specification created by Mapbox that describes a method of storing an entire MVT tileset inside a single file. Internally .mtbtiles files are SQLlite databases containg two tables: metadata and tiles. The tiles table is indexed by z,x,y and contains a tile_data column for the vector tile protocol buffers, which are stored compressed using gzip. This single-file tileset is much easier to ship around than millions of tiny files, and the SQLite format and gzip compression help with efficient retrieval and transmission. The guide later in this blog post will focus on generating, serving, and viewing MVT tilesets in .mbtiles format.
At present, as far as I am aware, there is only one package in the R ecosystem which has a map widget that can render Mapbox vector tiles: {rdeck}. {rdeck} is a deck.gl wrapper created by my colleague Anthony North, and has been my team’s main interactive mapping workhorse for the last couple of years. For this example we’ll serve the tiles with {mvtview}, a package I put together that provides a basic MVT server and viewer powered by {plumber} and {rdeck} respectively. It’s meant as a development tool, to help you iterate on tippecanoe parameters, not as a production solution.
·milesmcbain.com·
Before I Sleep: Push the limits of interactive mapping in R with vector tiles
Cursor agent best practices
Cursor agent best practices
A comprehensive guide to working with coding agents, from starting with plans to managing context, customizing workflows, and reviewing code.
·cursor.com·
Cursor agent best practices
Build – Data Science
Build – Data Science
Structure your API tests using the Arrange-Act-Assert (AAA) pattern Arrange: Start your API in a background process, prepare your test data, and set up any required authentication or configuration. This phase handles all the setup work needed for your test scenario. If your API is stateless, start the API before all tests to save time on repeated startup. Act: Make the HTTP request to your API endpoint using {httr2}. This step should focus solely on executing the action you want to test. When your API testing requires validation of concurrent request handling or high-performance scenarios, {nanonext} can serve as a powerful alternative to {httr2}. It’s particularly suitable for testing scenarios involving multiple simultaneous requests. Assert: Verify the response meets your expectations. Check status codes, response headers, and the structure of returned data. Focus on contract validation rather than business logic verification.
·ercbk.github.io·
Build – Data Science
STAC Browser
STAC Browser
·radiantearth.github.io·
STAC Browser
mapscaping.com
mapscaping.com
Episodes are evergreen — people keep discovering and sharing them long after publication.
·mapscaping.com·
mapscaping.com
Map Tools - Mapscaping.com
Map Tools - Mapscaping.com
Welcome to StateQuest Interactive, the ultimate US geography puzzle that transforms learning into an engaging map game experience. Whether you're a student
·mapscaping.com·
Map Tools - Mapscaping.com
Open Topo Data
Open Topo Data
Open DEM server.
·opentopodata.org·
Open Topo Data
Cartographic Design Process – Making Effective Maps: Cartographic Visualization for GIS
Cartographic Design Process – Making Effective Maps: Cartographic Visualization for GIS
The creation of this work was supported by Open CU Boulder 2023-2024, a grant funded by the Colorado Department of Higher Education with additional support from the CU Office of the President, CU Office of Academic Affairs, CU Boulder Office of the Provost, and CU Boulder University Libraries.
·colorado.pressbooks.pub·
Cartographic Design Process – Making Effective Maps: Cartographic Visualization for GIS
Types of Maps – Making Effective Maps: Cartographic Visualization for GIS
Types of Maps – Making Effective Maps: Cartographic Visualization for GIS
The creation of this work was supported by Open CU Boulder 2023-2024, a grant funded by the Colorado Department of Higher Education with additional support from the CU Office of the President, CU Office of Academic Affairs, CU Boulder Office of the Provost, and CU Boulder University Libraries.
·colorado.pressbooks.pub·
Types of Maps – Making Effective Maps: Cartographic Visualization for GIS
Calcite Design System | Esri Developer
Calcite Design System | Esri Developer
Collaborative design and development resources for creating consistent, on-brand Esri experiences.
·developers.arcgis.com·
Calcite Design System | Esri Developer
geospatialsuite
geospatialsuite
Comprehensive Geospatiotemporal Analysis Toolkit for R
·exelegch.github.io·
geospatialsuite
Download Overture Maps Data in R
Download Overture Maps Data in R
Overture Maps offers free and open geospatial map data sourced from various providers and standardized to a common schema. This tool allows you to download Overture Maps data for a specific region of interest and convert it to several different file formats. For more information, visit .
·denironyx.github.io·
Download Overture Maps Data in R