AI6YR · @ai6yr
4815 followers · 33316 posts · Server m.ai6yr.org

Via @pierre_markuse: Look at this super-interesting and well-written fifth part of the Gentle Introduction to series by @rsimmon, this time dealing with shaded relief. medium.com/@robsimmon/a-gentle

#gdal #remotesensing #gis #dataviz #cartography

Last updated 2 years ago

Michael Sumner · @mdsumner
422 followers · 3418 posts · Server fosstodon.org

ok I'm pretty convinced that 's MDIM arraySpecs is not being parsed correctly by the gdalmdimtranslate_lib, but it is working when the spec is called by GetView() in cpp or python

finding examples is tough!! it's teaching me numpy indexing too

#gdal

Last updated 2 years ago

Michael Sumner · @mdsumner
410 followers · 3277 posts · Server fosstodon.org

wow just took a stab in the dark on (>=3.7.0) and tried

vrt://<dsn>?ovr=-1

in the hope that it means "native data level, ignore all overviews" - and, it does!

#gdal

Last updated 2 years ago

Michael Sumner · @mdsumner
411 followers · 3246 posts · Server fosstodon.org

to the rescue, use SHAPE-ZIP if the server supports, still can't unpick the curve thing easily without more C++

ftw: "geoserver/wfs?OUTPUT_FORMAT=SHAPE-ZIP"

#gdal

Last updated 2 years ago

Michael Sumner · @mdsumner
403 followers · 3141 posts · Server fosstodon.org

many data providers don't even know about the benefits of well structured GeoTIFF (let alone the buzz of COG, STAC, Zarr, etc)

I reach out to providers, but more often than not there's just another individual there scratching head at my crazy email (who even reads bathymetry on the fly from a url, nuts right...)

at institution I can try collectively to feedback, but the and and communities could join forces here - is there something in the zone?

#spatial #python #rstats #gdal #xarray

Last updated 2 years ago

Bill · @bil
635 followers · 564 posts · Server vis.social

I had a bit of fun cramming moderately-complicated spatial SQL into the "-sql" parameter of ogr2ogr. Now you can have fun with it too!

billmorris.io/shoals/posts/202

#tiles #gdal #sql #mapping

Last updated 2 years ago

Mike Mahoney · @MikeMahoney218
758 followers · 852 posts · Server fosstodon.org

Has anyone had any luck using 's SAFE driver to download Sentinel-1 from Planetary Computer STAC endpoints? When I try `gdalinfo -if SAFE /vsicurl/<some_url>` I get "not recognized as a supported file format" -- is there a correct way to do this?

I'm suspecting the authentication junk at the end of Planetary Computer URLs is causing issues.

gdal.org/drivers/raster/safe.h

#gdal #gischat #rspatial

Last updated 2 years ago

JensWiesehahn · @JensWiesehahn
281 followers · 178 posts · Server fosstodon.org

With , is there a way to resample a raster to a coarser grid by aggregating to arbitrary quantiles?

In `gdalwarp` there is the first an third quartile implemented as resampling method, but how to calculate the 95th percentile?

It seems to be possible with `r.resamp.stats` so my guess is there is some way with gdal too.

@EvenRouault @mdsumner

#gdal #grass

Last updated 2 years ago

Michael Sumner · @mdsumner
402 followers · 3023 posts · Server fosstodon.org

gee I just figured out external overviews in ... it's so easy! You make a COG with the lower resolution overviews and call it "original_file.fmt.ovr" and stick it next to the "original_file.fmt" (can be original.vrt for any other source) - I'm sure there's more to it but this alone is amazing and opens up so much

#gdal

Last updated 2 years ago

Michael Sumner · @mdsumner
402 followers · 3023 posts · Server fosstodon.org

sets the benchmark for as central in the handling of general "datasets to open" schemes

github.com/rasterio/rasterio/d

#Rasterio #gdal

Last updated 2 years ago

Michael Sumner · @mdsumner
400 followers · 2997 posts · Server fosstodon.org

this repo runs a regular github actions task to update with latest data, it's pretty rough but represents a lot of consolidated learnings for me

it gets some recent spatial data using (sea ice concentration, and research vessel location) and makes a map, it's fairly simple so might be of interest if you're keen to get github actions doing work :)

github.com/mdsumner/seaice.map

thanks to @mattcowgill for help with gha ๐Ÿ‘Œ

#gha #rstats #gdal

Last updated 2 years ago

Michael Sumner · @mdsumner
400 followers · 2985 posts · Server fosstodon.org

it is *so good* to be able to load gdal_translate args onto a dsn with vrt:// string, amazing - it just kicked in for me, I can add "scale" without that intermediate VRT file step v3.7.0

#gdal

Last updated 2 years ago

Michael Sumner · @mdsumner
398 followers · 2920 posts · Server fosstodon.org

probably the single best resource for techniques and code examples is the autotest suite:

github.com/rouault/gdal/tree/m

it's all in Python but it's not *about Python*, it's about GDAL and all the superpower flexible and efficient facilities it has

takes a bit of orientation to understand what's in there and how to explore, but it's worth it ๐Ÿ‘Œ

#gdal

Last updated 2 years ago

Michael Sumner · @mdsumner
391 followers · 2715 posts · Server fosstodon.org

oh free hot tip TIL you can vector VRT to reproject any source... something I've been trying to learn to do in cpp ๐Ÿ˜… so much easier to wrap a little vrt text and hit that for queries

shove your source and crs in that text and hit with favourite gdal tool

gdal.org/drivers/vector/vrt.ht

#gdal #rstats

Last updated 2 years ago

GIS OpenCourseWare · @gisocw
36 followers · 12 posts · Server fosstodon.org

This week @hansakwast is teaching MSc students the course Programming for Geospatial Hydrological Applications at @ihedelft. You can follow along for free at GIS OpenCourseWare! courses.gisopencourseware.org/

#groundwatch #ErasmusMundus #gdal #cli #python #PCRaster #PyQGIS

Last updated 2 years ago

Rafagas Links · @rafagaslinks
145 followers · 494 posts · Server en.osm.town

"Mastering GDAL Tools" provides complete course materials for an introduction to GDAL and OGR command-line programs to create workflows for processing raster and vector data and organizing spatial ETL pipelines

courses.spatialthoughts.com/gd

#gdal

Last updated 2 years ago

GregCocks · @GregCocks
388 followers · 412 posts · Server techhub.social

Pacific Crest Trail Viewshed [animation]
--
youtu.be/tmY27ZIVfpA <-- shared video
--
H/T Doug Newcombe
โ€œThis animation is a viewshed of the Pacific Crest Trail. A viewshed shows all surrounding terrain that is visible from a given point on the trail. The viewshed is taken at 1/10 of a mile increments. Visible terrain is light colored, invisible terrain is darker. Views are without regard for vegetation or tree coverโ€ฆโ€
โ€œThe following viewsheds were created with GDAL, one tif for every tenth
of a mile along the 2,650 mile Pacific Crest Trail. Stitched together
with ffmpeg..โ€

#gis #spatial #mapping #viewsheds #spatialanalysis #3d #elevation #pacific #pnw #pacificcresttrail #dem #gdal #ffmpeg #viewshed #animation #hiking #trail

Last updated 2 years ago

· @cartocalypse
609 followers · 634 posts · Server norden.social

#gdal #gtfs

Last updated 2 years ago

Micha Silver · @Micha_Silver
57 followers · 29 posts · Server fosstodon.org

I have some rasters of multi GB size.
Without a gripe, call gdal_translate to compress those guys.
With โ€˜-coโ€™ I set COMPRESS=ZSTD
and PREDICTOR=2 for optimal squeeze.
And only then proceed to analyze.

#gischat #gdal #limrigis #zstd #raster

Last updated 2 years ago

Joana Simoes · @doublebyte
183 followers · 188 posts · Server noc.social

I feel like this was a really productive code sprint, with lots of issues created in and . There were some great discussions, and even some live coding ๐Ÿ˜€ Thanks to everyone who showed up online, and in-person! ๐Ÿ‘‹ Hope to see you all soon! @gdal @pygeoapi @qgis

#standards #OGC #OGCAPI #codesprint21 #pygeoapi #qgis #gdal

Last updated 2 years ago