Skip to main content
naming; removed HTH
Source Link
Vince
  • 20.3k
  • 16
  • 48
  • 65

I have used this command in the shell to import a kmlKML file into a PostgreSQL database and it has worked perfectly for me. I share my solution. I hope it works for you.

ogr2ogr --config PG_USE_COPY YES -f PGDump /vsistdout/ filename.kml | psql db_name db_user

I have used this command in the shell to import a kml file into a PostgreSQL database and it has worked perfectly for me. I share my solution. I hope it works for you.

ogr2ogr --config PG_USE_COPY YES -f PGDump /vsistdout/ filename.kml | psql db_name db_user

I have used this command in the shell to import a KML file into a PostgreSQL database and it has worked perfectly for me. I share my solution.

ogr2ogr --config PG_USE_COPY YES -f PGDump /vsistdout/ filename.kml | psql db_name db_user
Source Link

I have used this command in the shell to import a kml file into a PostgreSQL database and it has worked perfectly for me. I share my solution. I hope it works for you.

ogr2ogr --config PG_USE_COPY YES -f PGDump /vsistdout/ filename.kml | psql db_name db_user