Merge pull request #1206 from sketchpunk/develop

Fix error loading EPT data
This commit is contained in:
Markus Schütz 2022-11-29 12:38:52 +01:00 committed by GitHub
commit cd01af96d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ export class PointCloudEptGeometry {
this.projection = info.srs.authority + ':' + info.srs.horizontal;
}
if (info.srs.wkt) {
if (info.srs && info.srs.wkt) {
if (!this.projection) this.projection = info.srs.wkt;
else this.fallbackProjection = info.srs.wkt;
}