Skip to content

Commit

Permalink
Fix capitalization (#2971)
Browse files Browse the repository at this point in the history
* ensure WKTv1 writing for LAS 1.4

* adjust as suggested

* Simplify logic.

* Throw an exception is we can't convert an SRS to WKT1.

* Move comment.

* Correct capitalization.

Co-authored-by: Howard Butler <howard@hobu.co>
  • Loading branch information
abellgithub and hobu committed Mar 13, 2020
1 parent 6ed4ce0 commit 6da8d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdal/SpatialReference.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ std::string SpatialReference::prettyWkt(const std::string& wkt)
std::string SpatialReference::getWKT1() const
{
#if GDAL_VERSION_MAJOR < 3
return getWkt();
return getWKT();
#else
std::string wkt = getWKT();
if (wkt.empty())
Expand Down

0 comments on commit 6da8d2b

Please sign in to comment.