Skip to content

Commit eee7895

Browse files
committed
Fix dim names and update PDAL version
1 parent 87f1290 commit eee7895

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ resolvers ++= Seq(
1616
)
1717

1818
libraryDependencies ++= Seq(
19-
"io.pdal" %% "pdal" % "1.8.1", // core library
20-
"io.pdal" % "pdal-native" % "1.8.1" // jni bindings
19+
"io.pdal" %% "pdal" % "1.8.2", // core library
20+
"io.pdal" % "pdal-native" % "1.8.2" // jni bindings
2121
)
2222
```
2323

@@ -39,8 +39,8 @@ Scala API to build pipeline expressions instead of writing a raw JSON.
3939

4040
```scala
4141
libraryDependencies ++= Seq(
42-
"io.pdal" %% "pdal-scala" % "1.8.1", // scala core library
43-
"io.pdal" % "pdal-native" % "1.8.1" // jni bindings
42+
"io.pdal" %% "pdal-scala" % "1.8.2", // scala core library
43+
"io.pdal" % "pdal-native" % "1.8.2" // jni bindings
4444
)
4545
```
4646

examples/pdal-jni/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ resolvers ++= Seq(
2121

2222
fork := true
2323

24-
val pdalVersion = "1.8.1"
24+
val pdalVersion = "1.8.2"
2525

2626
libraryDependencies ++= Seq(
2727
"io.pdal" %% "pdal" % pdalVersion,

native/src/io_pdal_PointLayout.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ JNIEXPORT jlong JNICALL Java_io_pdal_PointLayout_dimPackedOffset
102102
DimType dimType = pl->findDimType(fid);
103103
DimTypeList dims = pl->dimTypes();
104104

105-
auto it = std::find_if(dims.begin(), dims.end(), [&dimType](const DimType& dt) {
105+
auto it = std::find_if(dims.begin(), dims.end(), [&dimType, pl](const DimType& dt) {
106106
return pl->dimName(dt.m_id) == pl->dimName(dimType.m_id);
107107
});
108108
auto index = std::distance(dims.begin(), it);

scripts/merge-native.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ done
1717
export PDAL_VERSION_SUFFIX=${PDAL_VERSION_SUFFIX-"-SNAPSHOT"}
1818

1919
cd ./native/target
20-
rm -f ./pdal-native-1.8.0${PDAL_VERSION_SUFFIX}.jar
20+
rm -f ./pdal-native-1.8.2${PDAL_VERSION_SUFFIX}.jar
2121
rm -rf ./tmp; mkdir -p ./tmp
2222

23-
cd tmp; jar -xf ../pdal-native-x86_64-darwin-1.8.0${PDAL_VERSION_SUFFIX}.jar; cd ~-
24-
cd tmp; jar -xf ../pdal-native-x86_64-linux-1.8.0${PDAL_VERSION_SUFFIX}.jar; cd ~-
23+
cd tmp; jar -xf ../pdal-native-x86_64-darwin-1.8.2${PDAL_VERSION_SUFFIX}.jar; cd ~-
24+
cd tmp; jar -xf ../pdal-native-x86_64-linux-1.8.2${PDAL_VERSION_SUFFIX}.jar; cd ~-
2525

2626
jar -cvf pdal-native-1.8.0${PDAL_VERSION_SUFFIX}.jar -C tmp .
2727

0 commit comments

Comments
 (0)