diff --git a/src/app/gcps-utils.service.ts b/src/app/gcps-utils.service.ts index 517455a..6c97e3f 100644 --- a/src/app/gcps-utils.service.ts +++ b/src/app/gcps-utils.service.ts @@ -13,6 +13,8 @@ export class GcpsUtilsService { projection = "EPSG:4326"; // default } + projection = projection.replace(/\r/g, ''); + if (projection.toLowerCase().startsWith("epsg:")){ projection = projection.replace(/^EPSG:/ig, ''); }