Ovi ovobj file, converted to shp file, then changed into sql file and imported into pgsql
Change the KML file first. Then use the vector of QGIS to become a shp file. **
Finally.
Shp2pgsql-W utf8-s 4326 / home/manbug/ningbo/NB.shp ningbo_524 > / home/manbug/ningbo/NBnew.sql
Https://www.cnblogs.com/think8848/p/6929351.html