Skip to content

add section on gdal api#242

Merged
tomkralidis merged 1 commit into
geopython:masterfrom
pvgenuchten:add_gdal_api
Jun 21, 2026
Merged

add section on gdal api#242
tomkralidis merged 1 commit into
geopython:masterfrom
pvgenuchten:add_gdal_api

Conversation

@pvgenuchten

@pvgenuchten pvgenuchten commented Jun 20, 2026

Copy link
Copy Markdown

it adds a section on gdal api, which from 3.8/3.11 has good features to get/set metadata at band level

also adds an example of creating a cog from tiff

with a sample to display it, adds localtileserver package, it is quite big, maybe better to look for alternative with geotiff.js...

welcoming your feedback

fixes #233

@tomkralidis tomkralidis merged commit 44b4bd1 into geopython:master Jun 21, 2026
1 check passed
@pvgenuchten

pvgenuchten commented Jun 21, 2026

Copy link
Copy Markdown
Author

Not happy with localtileserver, aim to rewrite sample to use local cog processing

import leafmap.maplibregl as leafmap

m = leafmap.Map(center=[5.12, 52.09], zoom=7)
cog_url = "https://githubusercontent.com"
m.add_cog_layer(url=cog_url, name="Mijn COG Data", colormap_name="terrain")
m

@pvgenuchten pvgenuchten deleted the add_gdal_api branch June 21, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

do we cover new gdal raster api?

2 participants