[OSM-talk] Mapnik Import Error
yellowbkpk
ian.dees at gmail.com
Wed May 28 20:00:27 BST 2008
I'm running postgres-8.3-postgis on a Ubuntu 8.04 system.
I finished downloading the planet.osm file yesterday and started running
osm2pgsql. When I woke up this morning, I had the following on my screen:
osm2pgsql SVN version 0.08-20071112 $Rev: 4842 $
Setting up table: planet_osm_point
Setting up table: planet_osm_line
Setting up table: planet_osm_polygon
Setting up table: planet_osm_roads
Reading in file: /mnt/planet-latest.osm.bz2
Processing: Node(237171k) Way(19252k) Relation(9k)
Writing way(0k)
Node stats: total(237171271), max(262574346)
Way stats: total(19252201), max(24252860)
Relation stats: total(9051), max(12553)
VACUUM ANALYZE planet_osm_point;
ALTER TABLE planet_osm_point ALTER COLUMN way SET NOT NULL;
CREATE INDEX way_index0 ON planet_osm_point USING GIST (way
GIST_GEOMETRY_OPS);
CREATE INDEX z_index0 ON planet_osm_point (z_order);
CLUSTER way_index0 ON planet_osm_point;
GRANT SELECT ON planet_osm_point TO PUBLIC;
VACUUM ANALYZE planet_osm_point;
failed: ERROR: VACUUM cannot be executed from a function or multi-command
string
Error occurred, cleaning up
Can anyone suggest a workaround? When I received this message earlier, I ran
the individual SQL commands one at a time and they all worked, but Mapnik
couldn't render using the database. I guess there was more data to import
after this step.
--
View this message in context: http://www.nabble.com/Mapnik-Import-Error-tp17512349p17512349.html
Sent from the OpenStreetMap - General mailing list archive at Nabble.com.
More information about the talk
mailing list