I am trying to import .las files in PostgreSQL database. The .las files are from https://viewer.nationalmap.gov/basic/?basemap=b1&category=ned,nedsrc&title=3DEP%20View. The issue is the file is in Lambert Conformal Conic projection and my remaining map data is in WGS84 projection.
I tried converting las file using las2las, but getting error:
could not import coordinate system into OSRSpatialReference SetFromUserInput
I was following the tutorial https://gist.github.com/YKCzoli/3605e014b8ed09a571e5. But this tutorial does not talk about projection conversion.
Steps I followed:
- las2txt -i SFdowntown.las -o SFdowntown.txt
- copy elevation(x,y,z) FROM ‘~/Desktop/LiDARExtract/SFdowntown/SFdowntown.txt’ DELIMITERS ',';