diff --git a/src/createPackage/models/createPackageManager.ts b/src/createPackage/models/createPackageManager.ts index 44068b3..90f3816 100644 --- a/src/createPackage/models/createPackageManager.ts +++ b/src/createPackage/models/createPackageManager.ts @@ -353,7 +353,8 @@ export class CreatePackageManager { private generatePackageName(productType: string, productId: string, productVersion: string, zoomLevel: number, bbox: BBox): string { const numberOfDecimals = 5; const bboxToString = bbox.map((val) => String(val.toFixed(numberOfDecimals)).replace('.', '_').replace(/-/g, 'm')).join(''); - return `${productType}_${productId}_${productVersion}_${zoomLevel}_${bboxToString}.gpkg`; + const productVersionConvention = productVersion.replace('.', '_'); + return `${productType}_${productId}_${productVersionConvention}_${zoomLevel}_${bboxToString}.gpkg`; } private extractPolygonParts(layerPolygonParts: FeatureCollection, sanitizedBboxPolygonzied: Feature): FeatureCollection {