Re: [OSM-dev] Rendering transparent OSM maps using Mapnik

2012-02-03 Thread Ciprian Talaba
Thanks Andre, commenting out the shapefiles layer seem to fix the problem.

--Ciprian

On Fri, Feb 3, 2012 at 10:22 AM, Andre Joost  wrote:
> Am 03.02.2012 09:09, schrieb Andre Joost:
>
>
>> The blue background is replaced by a white background along with the
>> coastline rendering. To have transparent tiles, just leave out the
>> background-color entry from your style.
>
>
> EDIT: And the shapefile-rendering!
>
> Greetings,
> ajoessen
>
>
>
> ___
> dev mailing list
> dev@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Rendering transparent OSM maps using Mapnik

2012-02-03 Thread Andre Joost

Am 03.02.2012 09:09, schrieb Andre Joost:


The blue background is replaced by a white background along with the
coastline rendering. To have transparent tiles, just leave out the
background-color entry from your style.


EDIT: And the shapefile-rendering!

Greetings,
ajoessen


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Rendering transparent OSM maps using Mapnik

2012-02-03 Thread Andre Joost

Am 03.02.2012 09:00, schrieb Ciprian Talaba:

Hi,

I have a working installation of Mod_tile + Tirex + Mapnik rendering a
small region. The next step was to create s simpler style without
landuse and with transparent background in order to use this as an
overlay. Currently osm.xml have a map background of #B5D0D0 (assuming
that this is due to the fact that a lot of tiles contain water areas).
The rendered tiles have instead a background of "#F1EEE8" so somewhere
this is set, but a search in the original style (and any includes) led
me to nothing.

Have anyone tried to generate transparent tiles with Mapnik. I am
missing something here?



The blue background is replaced by a white background along with the 
coastline rendering. To have transparent tiles, just leave out the 
background-color entry from your style.


HTH,
André Joost



___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Rendering transparent OSM maps using Mapnik

2012-02-03 Thread Frederik Ramm

Ciprian,

On 02/03/2012 09:00 AM, Ciprian Talaba wrote:

Have anyone tried to generate transparent tiles with Mapnik. I am
missing something here?


I have had reports of other people having problems with transparent 
tiles and tirex. I never had the time to investigate but before you 
debug any further you should try generating an image with your style 
using generate_image.py; if that works, and using Tirex doesn't, then we 
really need to get to the bottom of this! If OTOH using 
generate_image.py does the same as Tirex then your problem is somewhere 
else.


Bye
Frederik


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Rendering transparent OSM maps using Mapnik

2012-02-03 Thread Andrew Harvey
On Fri, Feb 3, 2012 at 7:00 PM, Ciprian Talaba  wrote:
> Hi,
>
> I have a working installation of Mod_tile + Tirex + Mapnik rendering a
> small region. The next step was to create s simpler style without
> landuse and with transparent background in order to use this as an
> overlay. Currently osm.xml have a map background of #B5D0D0 (assuming
> that this is due to the fact that a lot of tiles contain water areas).
> The rendered tiles have instead a background of "#F1EEE8" so somewhere
> this is set, but a search in the original style (and any includes) led
> me to nothing.
>
> Have anyone tried to generate transparent tiles with Mapnik. I am
> missing something here?

I haven't done such by modifying osm.xml, but I have done transparent
tiles/stylesheet for OSM data using mapnik as an independent style.

example http://tianjara.net/osmt.html
stylesheet source https://github.com/andrewharvey/osm-hybrid-carto/

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Rendering transparent OSM maps using Mapnik

2012-02-03 Thread Ciprian Talaba
Hi,

I have a working installation of Mod_tile + Tirex + Mapnik rendering a
small region. The next step was to create s simpler style without
landuse and with transparent background in order to use this as an
overlay. Currently osm.xml have a map background of #B5D0D0 (assuming
that this is due to the fact that a lot of tiles contain water areas).
The rendered tiles have instead a background of "#F1EEE8" so somewhere
this is set, but a search in the original style (and any includes) led
me to nothing.

Have anyone tried to generate transparent tiles with Mapnik. I am
missing something here?

Thanks,
Ciprian

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev