[Geocoding] Geocoding larger files
Charles Randall
crandall747 at gmail.com
Wed Oct 31 02:43:28 GMT 2012
All,
I have Nominatim compiled, working and importing small files well on a
machine.
I've started working on updating larger files, but run into the following
error - anyone else run into it or know how to work around it?
Any help or insights on how to make progress would be
appreciated.
Thanks - Charles
*Importing the US Western states osm:
**Command run:
*./utils/update.php --import-file uswest.osm.bz2
*Output:
palantir at localhost Nominatim]$ ./utils/update.php --import-file
../Desktop/us-west.osm.bz2
/home/palantir/Nominatim/osmosis-0.40.1/bin/osmosis --read-xml
'/home/palantir/Desktop/us-south.osm.bz2' --read-empty --derive-change
--write-xml-change /home/palantir/Nominatim/data/osmosischange.osc
Oct 30, 2012 6:52:06 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.41
Oct 30, 2012 6:52:06 PM org.java.plugin.registry.xml.ManifestParser <init>
INFO: got SAX parser factory -
org.apache.xerces.jaxp.SAXParserFactoryImpl at 27431340
Oct 30, 2012 6:52:06 PM
org.java.plugin.registry.xml.PluginRegistryImpl configure
INFO: configured, stopOnError=false, isValidating=true
Oct 30, 2012 6:52:07 PM org.java.plugin.registry.xml.PluginRegistryImpl register
INFO: plug-in and fragment descriptors registered - 1
Oct 30, 2012 6:52:07 PM org.java.plugin.standard.StandardPluginManager
activatePlugin
INFO: plug-in started - org.openstreetmap.osmosis.core.plugin.Core at 0.41.0
Oct 30, 2012 6:52:07 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Oct 30, 2012 6:52:07 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
Oct 30, 2012 6:52:07 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
Oct 30, 2012 7:49:20 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline complete.
Oct 30, 2012 7:49:20 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Total execution time: 3433815 milliseconds.
/home/palantir/Nominatim/osm2pgsql/osm2pgsql -klas -C 2000 -O
gazetteer -d nominatim /home/palantir/Nominatim/data/osmosischange.osc
Using projection SRS 4326 (Latlong)
Allocating memory for dense node cache
Allocating dense node cache in one big chunk
Allocating memory for sparse node cache
Sharing dense sparse
Node-cache: cache=2000MB, maxblocks=256001*8192, allocation method=11
Mid: pgsql, scale=10000000 cache=2000
Setting up table: planet_osm_nodes
Setting up table: planet_osm_ways
Setting up table: planet_osm_rels
Reading in file: /home/palantir/Nominatim/data/osmosischange.osc
Processing: Node(42850k 4.7k/s) Way(0k 0.00k/s) Relation(0
0.00/s)WARNING: terminating connection because of crash of another
server process
DETAIL: The postmaster has commanded this server process to roll back
the current transaction and exit, because another server process
exited abnormally and possibly corrupted shared memory.
HINT: In a moment you should be able to reconnect to the database and
repeat your command.
get_classes failed: (7)
Arguments were: N, 170191145,
Error occurred, cleaning up
osm2pgsql exited with error level 1
[palantir at localhost Nominatim]$
More information about the Geocoding
mailing list