0% found this document useful (0 votes)
21 views1 page

Important GDB To Postgres

The document contains a series of commands using ogr2ogr to import various geospatial data from file geodatabases into PostgreSQL databases. It includes commands for LiDAR, boundary, and basemap data, specifying parameters such as database name, user credentials, file paths, and data types. Each command is set to overwrite existing data and skip failures during the import process.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views1 page

Important GDB To Postgres

The document contains a series of commands using ogr2ogr to import various geospatial data from file geodatabases into PostgreSQL databases. It includes commands for LiDAR, boundary, and basemap data, specifying parameters such as database name, user credentials, file paths, and data types. Each command is set to overwrite existing data and skip failures during the import process.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Lidar--ogr

ogr2ogr -f "PostgreSQL" PG:"dbname=LiDAR user=postgres password=data#thane


host=localhost port=5432" "C:\Users\Administrator\Desktop\6_2_2025\LiDAR - CIMS
ALL.gdb" -progress -skipfailures -dsco "OPENFILEGDB=YES" -overwrite

boundary--ogr
ogr2ogr -f "PostgreSQL" PG:"dbname=BOUNDARY user=postgres password=data#thane
host=localhost port=5432" "C:\Users\Administrator\Desktop\6_2_2025\
BOUNDARY_TMC.gdb" -progress -skipfailures -dsco "OPENFILEGDB=YES" -overwrite

basemap--ogr

ogr2ogr -f "PostgreSQL" PG:"dbname=BASEMAP user=postgres password=data#thane


host=localhost port=5432" "C:\Users\Administrator\Desktop\6_2_2025\
BASEMAP_TMC_ALL.gdb" -progress -skipfailures -dsco "OPENFILEGDB=YES" -overwrite -
nlt MULTILINESTRING -nln basemap_line BASEMAP_LINE

ogr2ogr -f "PostgreSQL" PG:"dbname=BASEMAP user=postgres password=data#thane


host=localhost port=5432" "C:\Users\Administrator\Desktop\6_2_2025\
BASEMAP_TMC_ALL.gdb" -progress -skipfailures -dsco "OPENFILEGDB=YES" -overwrite -
nlt MULTIPOLYGON -nln basemap_polygon BASEMAP_POLYGON

ogr2ogr -f "PostgreSQL" PG:"dbname=BASEMAP user=postgres password=data#thane


host=localhost port=5432" "C:\Users\Administrator\Desktop\6_2_2025\
BASEMAP_TMC_ALL.gdb" -progress -skipfailures -dsco "OPENFILEGDB=YES" -overwrite -
nlt POINT -nln basemap_point BASEMAP_POINT

ogr2ogr -f "PostgreSQL" PG:"dbname=BASEMAP user=postgres password=data#thane


host=localhost port=5432" "C:\Users\Administrator\Desktop\6_2_2025\
BASEMAP_TMC_ALL.gdb" -progress -skipfailures -dsco "OPENFILEGDB=YES" -overwrite -
nlt MULTILINESTRING -nln basemap_contour BASEMAP_CONTOUR

You might also like