Skip to content

Commit

Permalink
remove pc:encoding (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Romain committed Apr 9, 2024
1 parent b0b06ba commit 0022b48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/LASRcore/LAScatalog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,7 @@ bool LAScatalog::write_vpc(const std::string& vpcfile)
output << " \"id\": " << autoquote(file.stem().string()) << "," << std::endl;
output << " \"properties\": {" << std::endl;
output << " \"datetime\": " << "\"0-01-01T00:00:00Z\""<< "," << std::endl;
output << " \"pc:count\": " << n << "," << std::endl;
output << " \"pc:encoding\": " << "\"?\""<< "," << std::endl;
output << " \"pc:count\": " << n << "," << std::endl;;
output << " \"pc:type\": " << "\"lidar\"" << ","<< std::endl;
output << " \"proj:bbox\": [" << std::fixed << std::setprecision(3) << bbox.minx << ", " << bbox.miny << ", " << bbox.maxx << ", " << bbox.maxy << "],"<< std::endl;
if (!wkt.empty()) output << " \"proj:wtk2\": " << wkt << "," << std::endl;
Expand Down

0 comments on commit 0022b48

Please sign in to comment.