On 09.11.2011, at 18:50, Lennard wrote:

> On 8-11-2011 22:58, Jaak Laineste wrote:
> 
>> SELECT ST_SRID("way") AS srid FROM
> [...]
>>        WHERE "way" IS NOT NULL LIMIT 1;
> 
> These queries are supposed to be done once, upon loading the stylesheet. When 
> you run inside a daemon, like renderd, the impact is almost nil.

 Well, I do use renderd there. The query takes about 1 hour for me (see explain 
results [1]) for one layer, and as there is query for each layer, and there is 
I do not know many layers in the OSM Mapnik XML. Could it be issue with 
osm2pgsql compatibility with Postgis 2.0 ?

 Anyway - why it makes this query at all if my datasource already defines SRID?

[1] https://github.com/mapnik/mapnik/issues/944#issuecomment-2683114
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to