Osm2pgsql Importing fewer fields

Source: Internet
Author: User

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

Another:

The Default.style file Https://github.com/openstreetmap/osm2pgsql/blob/master/default.style does not pick all fields Into it own column,so edit Default.style what you want.

Reference: Http://stackoverflow.com/questions/31264674/osm2pgsql-data-converting-lost-columns

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

Osm2pgsql Importing fewer fields

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.