Explanation: osm2pgsql imports normally the data in a static database schema. The tags without a corresponding column are ignored. By adding the option -k or --hstore, osm2pgsql will add a new hstore column tags to each table and save there all tags without column.

Another way:

The default.style file https://github.com/openstreetmap/osm2pgsql/blob/master/default.style does not pick all fields into its own column,so edit default.style what you want.

参考: http://stackoverflow.com/questions/31264674/osm2pgsql-data-converting-lost-columns

http://gis.stackexchange.com/questions/135715/osm2pgsql-cant-find-maxspeed-tag-after-import

相关文章:

  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2022-12-23
  • 2021-08-28
  • 2021-09-23
  • 2022-12-23
猜你喜欢
  • 2021-09-19
  • 2021-10-13
  • 2022-01-16
  • 2022-12-23
  • 2021-06-19
  • 2022-12-23
  • 2022-02-27
相关资源
相似解决方案