[Tile-serving] [openstreetmap/mod_tile] getting blank tile while using mod_tile with mapnik to serve geotiff file (Issue #432)

Alexander Sago notifications at github.com
Thu May 22 13:44:17 UTC 2025


cagelight left a comment (openstreetmap/mod_tile#432)

@hummeltech Sorry for the delay, I must have had notifications disabled. 

We were using these for testing, confirmed valid referenced TIFFs:
https://www.naturalearthdata.com/downloads/50m-raster-data/50m-natural-earth-2/

And pretty much any minimal mapnik.xml will do, we tried many, many variants to no avail. So I'd be interested to see which (if any) work for you on the other hand.
But just an example of something we tried:

```XML
<?xml version="1.0" encoding="utf-8"?>
<Map srs="+init=epsg:4326">
  <Style name="raster">
    <Rule>
      <RasterSymbolizer/>
    </Rule>
  </Style>

  <Layer name="raster" status="on" srs="+init=epsg:4326">
    <StyleName>raster</StyleName>
    <Datasource>
      <Parameter name="type">gdal</Parameter>
      <Parameter name="file">/data/tiff/test.tif</Parameter>
    </Datasource>
  </Layer>
</Map>
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/432#issuecomment-2901284853
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/issues/432/2901284853 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20250522/de9b6442/attachment.htm>


More information about the Tile-serving mailing list