Skip to content

Commit

Permalink
Revert EPSG
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Romain committed May 15, 2024
1 parent e6164f5 commit 9d23923
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion NEWS.md
Expand Up @@ -6,7 +6,6 @@
- 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
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(4326);
oTargetSRS.importFromEPSG(4979);
oTargetSRS.SetAxisMappingStrategy(OAMS_TRADITIONAL_GIS_ORDER);
oSourceSRS = crs.get_crs();
OGRCoordinateTransformation *poTransform = OGRCreateCoordinateTransformation(&oSourceSRS, &oTargetSRS);
Expand Down

0 comments on commit 9d23923

Please sign in to comment.