[Tile-serving] [osm2pgsql] ERROR: prepared statement "node_changed_mark" does not exist (#220)
Dwight Watson
notifications at github.com
Tue Nov 25 04:51:06 UTC 2014
I'm trying to import an `.osm` file built in JOSM into a database.
My database is being hosted by Postgres.app (Mac) and I've added both the `postgis` and `hstore` extensions. However, when I run the command I get the following error:
```
$ osm2pgsql -U Dwight -d osm --slim Campus.osm
osm2pgsql SVN version 0.86.0 (64bit id space)
Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
NOTICE: table "planet_osm_point" does not exist, skipping
NOTICE: table "planet_osm_point_tmp" does not exist, skipping
Setting up table: planet_osm_line
NOTICE: table "planet_osm_line" does not exist, skipping
NOTICE: table "planet_osm_line_tmp" does not exist, skipping
Setting up table: planet_osm_polygon
NOTICE: table "planet_osm_polygon" does not exist, skipping
NOTICE: table "planet_osm_polygon_tmp" does not exist, skipping
Setting up table: planet_osm_roads
NOTICE: table "planet_osm_roads" does not exist, skipping
NOTICE: table "planet_osm_roads_tmp" does not exist, skipping
Using built-in tag processing pipeline
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=800MB, maxblocks=102400*8192, allocation method=11
Mid: pgsql, scale=100 cache=800
Setting up table: planet_osm_nodes
NOTICE: table "planet_osm_nodes" does not exist, skipping
Setting up table: planet_osm_ways
NOTICE: table "planet_osm_ways" does not exist, skipping
Setting up table: planet_osm_rels
NOTICE: table "planet_osm_rels" does not exist, skipping
Reading in file: test.osm
node_changed_mark failed: ERROR: prepared statement "node_changed_mark" does not exist
(7)
Arguments were: -11266,
Error occurred, cleaning up
```
Is there something wrong with my setup or have I done something else wrong?
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/220
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20141124/bb67c758/attachment.html>
More information about the Tile-serving
mailing list