Skip to content

Commit

Permalink
Address #50
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Romain committed May 15, 2024
1 parent 4350584 commit e6164f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Doc: added some notes in the documentation of `geometry_features()` to address question in #45
- Enhance: #49 `set_crs()` no longer forces the pipeline to read the files.
- Enhance: `exec` normalizes the path so users do not get an error when providing a path with a `~`.
- Fix: #50 `write_vpc()` use `EPSG:4326` instead of `EPSG:4979`

# lasR 0.5.3

Expand Down
2 changes: 1 addition & 1 deletion src/LASRcore/LAScatalog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ bool LAScatalog::write_vpc(const std::string& vpcfile, const CRS& crs, bool abso
Rectangle bbwgs84 = bbox;
OGRSpatialReference oTargetSRS;
OGRSpatialReference oSourceSRS;
oTargetSRS.importFromEPSG(4979);
oTargetSRS.importFromEPSG(4326);
oTargetSRS.SetAxisMappingStrategy(OAMS_TRADITIONAL_GIS_ORDER);
oSourceSRS = crs.get_crs();
OGRCoordinateTransformation *poTransform = OGRCreateCoordinateTransformation(&oSourceSRS, &oTargetSRS);
Expand Down

0 comments on commit e6164f5

Please sign in to comment.