On 28. 11. 11 04:59, Dane Springmeyer wrote:
On Nov 25, 2011, at 10:01 AM, yvecai wrote:

Given the speed of rendering with Geos' ST_OffsetCurve,
Slow or fast?
Slow. I used this on a smal DB (150Mo of osm file, ski pistes extracts), here what I have from generate_image.py:

(select ST_OffsetCurve(way, 20) as way from planet_osm_line where route IS NOT NULL) as pistes
real    0m50.163s
user    0m0.400s
sys    0m0.024s

With this to compare:
(select ST_Simplify(way, 10) as way from planet_osm_line where route IS NOT NULL) as pistes
real    0m0.777s
user    0m0.380s
sys    0m0.028s


Anyway, an offset in geographic coordinates is not of great use in Mapnik, thanks for taking time to provide something in pixels :)

Yves
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to