Fri 08 Jan 2010 11:01:43 AM UTC, comment #1:
Checked locally, here's the error:
<pre>
INFO:maposmatic:[job 22] starting rendering, title 'Saint-Martin-d'Hères, Isère, Rhône-Alpes, France'
NOTICE: TopologyException: side location conflict 640596 5.65051e+06
ERROR:maposmatic:Failure in rendering child process:
Traceback (most recent call last):
File "/home/sam/src/python/maposmatic/maposmatic/www/../scripts/maposmaticd", line 78, in render_job
retval = render_job_process(job)
File "/home/sam/src/python/maposmatic/maposmatic/www/../scripts/maposmaticd", line 48, in render_job_process
language=job.map_language)
File "/home/sam/src/python/maposmatic/ocitysmap/ocitysmap/street_index.py", line 322, in _init_
self.amenities = self.get_amenities_by_osmid(db, self.osmid)
File "/home/sam/src/python/maposmatic/ocitysmap/ocitysmap/street_index.py", line 860, in get_amenities_by_osmid
osm_id=osmid))
File "/usr/lib/python2.5/site-packages/pgdb.py", line 259, in execute
self.executemany(operation, (params,))
File "/usr/lib/python2.5/site-packages/pgdb.py", line 289, in executemany
raise DatabaseError("error '%s' in '%s'" % (msg, sql))
DatabaseError: error 'ERROR: GEOS intersects() threw an error!
' in 'select 'Public buildings', name, textcat_all(x || ',' || y || ';')
from (select distinct amenity, name, x, y, planet_osm_point.osm_id
from planet_osm_point join map_areas
on st_intersects(way, st_transform(geom, 900913))
left join cities_area_by_osmid on cities_area_by_osmid.osm_id=-80349
where amenity = 'townhall' and
case when cities_area_by_osmid.area is null
then
true
else
st_intersects(way, cities_area_by_osmid.area)
end
union
select distinct amenity, name, x, y, planet_osm_polygon.osm_id
from planet_osm_polygon join map_areas
on st_intersects(way, st_transform(geom, 900913))
left join cities_area_by_osmid on cities_area_by_osmid.osm_id=-80349
where amenity = 'townhall' and
case when cities_area_by_osmid.area is null
then
true
else
st_intersects(way, cities_area_by_osmid.area)
end)
as foo
group by amenity, osm_id, name
order by amenity, name
'
INFO:maposmatic:[job 22] rendering failed with 1
</pre>
|