Subscribe to this thread
Home - General / All posts - Image offset issue
LeRepère
156 post(s)
#04-Nov-25 01:42

I am experiencing an image offset issue resulting from the following SQL code:

INSERT INTO [Clas_MC Table] ([X], [Y], [Tile])

SELECT [X], [Y],

CASTV(TileFill(TileMaskRange([Tile],10,30,True,True), 1) As Float64) AS [Tile]

FROM [Test_TWI] THREADS SystemCpuCount();

[Test_TWI] is an image projected in EPSG2950. The resulting image from the functions “TileFill(TileMaskRange([Tile],10,30,True,True), 1)” is also in EPSG2950. However, the latter is shifted ±25m south relative to [Test_TWI], as illustrated in the following figure:

According to my research, the “ComponentFieldBounds” function should solve the problem. But I can't figure out how.

Does anyone have any suggestions?

yves61
464 post(s)
#05-Nov-25 13:02

Just a guess : are datum and projection identical in source and target?

There are several datums for NAD83 over time. So there may be a difference in the datum of your base reference image, and what Manifold may implicitly use in the function using EPSG:2950 ?

yves61
464 post(s)
#05-Nov-25 20:44

Can you send a sample .map file to verify?

LeRepère
156 post(s)
#06-Nov-25 14:11

Thank you, yves61, for your support.

It is true that the coordinate system may be the source of the problem. But in my case, it is related to the tiles (origin and dimension). This was reported by adamw in 2021 (https://georeference.org/forum/t157408.21#157412). In these cases, he suggested using the JOIN... tool from the Edit menu.

My processing uses two images from different sources (MNT Table and Test_TWI) with the same projections but different tiling. The Join... tool effectively resolved the issue.

Here are the steps I followed:

1 - Make a copy of the MNT

2 - Put the MNTcopy and Test_TWI in a Map

3 - Select the MNTcopy layer and then activate the Join... tool

4 - In the Join... tool, MNTcopy is on the left (target) (see image below)

5 - Select Test_TWI (source) from the drop-down menu to the right of the tool

6 - Specify the reference channel for Test_TWI in line with the MNT channel

7 - Click the Join button at the bottom of the tool

8 - Change the name of MNTcopy, which is now Test_TWImodified, to the same size as the original MNT.

Manifold User Community Use Agreement Copyright (C) 2007-2021 Manifold Software Limited. All rights reserved.