[Tilecache] Transparent backgrounds are black in Google Maps

Christopher Schmidt crschmidt at metacarta.com
Wed Sep 24 15:44:51 EDT 2008


On Wed, Sep 24, 2008 at 12:43:19PM -0700, Roger André wrote:
> Ok, so I think this might actually be a Tilecache issue, though I'm sure it
> can be resolved via configuration.  I took a look in the cache, and the
> tiles there don't have the background set to transparent.  However, when I
> make a WMS request directly, the tiles are returned with alpha correctly
> inside of them.
> 
> I've read that this is because Tilecache doesn't correctly forward the
> "Transparent=true" request to the WMS service.  Is that true?

TileCache does not pass through any options from the request through to
the WMS service.

Assuming your'e using a WMS layer type, put ?transparent=true at the end
of your URL. (Or, if you already have a  "?" in your URL,
"&transparent=true".) 

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list