Advertisement
Guest User

Untitled

a guest
Jan 11th, 2012
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 KB | None | 0 0
  1. -sh-4.1$ ./noc import-osm-data -f ~/tmp/map.xml -a "Armenia"
  2. Importing OSM data from file '/home/noc/tmp/map.xml'
  3. osm2pgsql SVN version 0.80.0 (32bit id space)
  4.  
  5. Password:
  6. Using projection SRS 900913 (Spherical Mercator)
  7. Setting up table: gis_osm_point
  8. NOTICE: table "gis_osm_point" does not exist, skipping
  9. NOTICE: table "gis_osm_point_tmp" does not exist, skipping
  10. 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)
  11. failed: ERROR: type "hstore" does not exist
  12. LINE 1: ...d" text,"width" text,"wood" text,"z_order" int4,tags hstore)
  13. ^
  14.  
  15. Error occurred, cleaning up
  16. Traceback (most recent call last):
  17. File "manage.py", line 41, in <module>
  18. execute_manager(settings)
  19. File "/opt/noc/contrib/lib/django/core/management/__init__.py", line 438, in execute_manager
  20. utility.execute()
  21. File "/opt/noc/contrib/lib/django/core/management/__init__.py", line 379, in execute
  22. self.fetch_command(subcommand).run_from_argv(self.argv)
  23. File "/opt/noc/contrib/lib/django/core/management/base.py", line 191, in run_from_argv
  24. self.execute(*args, **options.__dict__)
  25. File "/opt/noc/contrib/lib/django/core/management/base.py", line 220, in execute
  26. output = self.handle(*args, **options)
  27. File "/opt/noc/gis/management/commands/import-osm-data.py", line 66, in handle
  28. rbbox = self.process_file(options["file"], **options)
  29. File "/opt/noc/gis/management/commands/import-osm-data.py", line 137, in process_file
  30. subprocess.check_call(args)
  31. File "/usr/lib64/python2.7/subprocess.py", line 504, in check_call
  32. raise CalledProcessError(retcode, cmd)
  33. 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