Avoid creating duplicate projections in COG examples
This commit is contained in:
@@ -424,7 +424,7 @@ class GeoTIFFSource extends DataTile {
|
||||
image.geoKeys.ProjectedCSTypeGeoKey ||
|
||||
image.geoKeys.GeographicTypeGeoKey;
|
||||
if (code) {
|
||||
this.projection = getProjection(`EPSG:${code}`);
|
||||
this.projection = getProjection('EPSG:' + code);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user