Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -sh-4.1$ ./noc import-osm-data -f ~/tmp/map.xml -a "Armenia"
- Importing OSM data from file '/home/noc/tmp/map.xml'
- osm2pgsql SVN version 0.80.0 (32bit id space)
- Password:
- Using projection SRS 900913 (Spherical Mercator)
- Setting up table: gis_osm_point
- NOTICE: table "gis_osm_point" does not exist, skipping
- NOTICE: table "gis_osm_point_tmp" does not exist, skipping
- CREATE TABLE gis_osm_point ( osm_id int4,"access" text,"addr:housename" text,"addr:housenumber" text,"addr:interpolation" text,"admin_level" text,"aerialway" text,"aeroway" text,"amenity" text,"area" text,"barrier" text,"bicycle" text,"brand" text,"bridge" text,"boundary" text,"building" text,"capital" text,"construction" text,"covered" text,"culvert" text,"cutting" text,"denomination" text,"disused" text,"ele" text,"embankment" text,"foot" text,"generator:source" text,"harbour" text,"highway" text,"historic" text,"horse" text,"intermittent" text,"junction" text,"landuse" text,"layer" text,"leisure" text,"lock" text,"man_made" text,"military" text,"motorcar" text,"name" text,"natural" text,"oneway" text,"operator" text,"poi" text,"population" text,"power" text,"power_source" text,"place" text,"railway" text,"ref" text,"religion" text,"route" text,"service" text,"shop" text,"sport" text,"surface" text,"toll" text,"tourism" text,"tower:type" text,"tunnel" text,"water" text,"waterway" text,"wetland" text,"width" text,"wood" text,"z_order" int4,tags hstore)
- failed: ERROR: type "hstore" does not exist
- LINE 1: ...d" text,"width" text,"wood" text,"z_order" int4,tags hstore)
- ^
- Error occurred, cleaning up
- Traceback (most recent call last):
- File "manage.py", line 41, in <module>
- execute_manager(settings)
- File "/opt/noc/contrib/lib/django/core/management/__init__.py", line 438, in execute_manager
- utility.execute()
- File "/opt/noc/contrib/lib/django/core/management/__init__.py", line 379, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/opt/noc/contrib/lib/django/core/management/base.py", line 191, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/opt/noc/contrib/lib/django/core/management/base.py", line 220, in execute
- output = self.handle(*args, **options)
- File "/opt/noc/gis/management/commands/import-osm-data.py", line 66, in handle
- rbbox = self.process_file(options["file"], **options)
- File "/opt/noc/gis/management/commands/import-osm-data.py", line 137, in process_file
- subprocess.check_call(args)
- File "/usr/lib64/python2.7/subprocess.py", line 504, in check_call
- raise CalledProcessError(retcode, cmd)
- subprocess.CalledProcessError: Command '['/usr/local/bin/osm2pgsql', '-m', '-k', '-p', 'gis_osm', '-G', '-S', 'share/osm2pgsql/default.style', '-d', 'noc', '-U', 'noc', '-W', '/home/noc/tmp/map.xml']' returned non-zero exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement