Skip to content

Commit 3f517d7

Browse files
author
Jelle Dijkstra
committed
Nilpointer + no scientific notation
1 parent bd2c9b7 commit 3f517d7

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

api/v2beta1/shared_conversion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func ConvertV2DataToV3(v2 Data) pdoknlv3.Data {
168168
if v2.Tif != nil {
169169
v3.TIF = &pdoknlv3.TIF{
170170
BlobKey: v2.Tif.BlobKey,
171-
Resample: *v2.Tif.Resample,
171+
Resample: smoothoperatorutils.PointerVal(v2.Tif.Resample, "NEAREST"),
172172
Offsite: v2.Tif.Offsite,
173173
GetFeatureInfoIncludesClass: smoothoperatorutils.PointerVal(v2.Tif.GetFeatureInfoIncludesClass, false),
174174
}

api/v2beta1/wms_conversion.go

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -429,45 +429,45 @@ func getDefaultWMSLayerBoundingBoxes(defaultBbox *pdoknlv3.WMSBoundingBox) []pdo
429429
CRS: "EPSG:25831",
430430
BBox: smoothoperatormodel.BBox{
431431
MinX: "-470271",
432-
MinY: "5.56231e+06",
432+
MinY: "5562310",
433433
MaxX: "795163",
434-
MaxY: "6.18197e+06",
434+
MaxY: "6181970",
435435
},
436436
},
437437
{
438438
CRS: "EPSG:25832",
439439
BBox: smoothoperatormodel.BBox{
440440
MinX: "62461.6",
441-
MinY: "5.56555e+06",
441+
MinY: "5565550",
442442
MaxX: "397827",
443-
MaxY: "6.19042e+06",
443+
MaxY: "6190420",
444444
},
445445
},
446446
{
447447
CRS: "EPSG:3034",
448448
BBox: smoothoperatormodel.BBox{
449-
MinX: "2.61336e+06",
450-
MinY: "3.509e+06",
451-
MaxX: "3.22007e+06",
452-
MaxY: "3.84003e+06",
449+
MinX: "2613360",
450+
MinY: "3509000",
451+
MaxX: "3220070",
452+
MaxY: "3840030",
453453
},
454454
},
455455
{
456456
CRS: "EPSG:3035",
457457
BBox: smoothoperatormodel.BBox{
458-
MinX: "3.01676e+06",
459-
MinY: "3.81264e+06",
460-
MaxX: "3.64485e+06",
461-
MaxY: "4.15586e+06",
458+
MinX: "3016760",
459+
MinY: "3812640",
460+
MaxX: "3644850",
461+
MaxY: "4155860",
462462
},
463463
},
464464
{
465465
CRS: "EPSG:3857",
466466
BBox: smoothoperatormodel.BBox{
467467
MinX: "281318",
468-
MinY: "6.48322e+06",
468+
MinY: "6483220",
469469
MaxX: "820873",
470-
MaxY: "7.50311e+06",
470+
MaxY: "7503110",
471471
},
472472
},
473473
{

0 commit comments

Comments
 (0)