Original Message:
Sent: 03-25-2026 02:36
From: Peter Møller
Subject: How to Register a COG GeoTiff with a mapbasic command
Can you start by raisning this issue with our support team?
And if possible please include one of the your COG GeoTIFF files, too.
In that way, we can check if it's a glitch that easy to fix first.
Thanks
------------------------------
Peter Horsbøll Møller
Principal Presales Consultant | Distinguished Engineer
Precisely | Trust in Data
------------------------------
Original Message:
Sent: 03-25-2026 02:30
From: Nick Lawrence
Subject: How to Register a COG GeoTiff with a mapbasic command
Yes, I experimented by using a Register Table command in the MapBasic tool Window.
I specified a CoordSys but deliberately did not specify control points, to allow MapInfo to read the control points embedded in the image.
But it failed. It created a TAB file, but with (0,0) for all control points.
The Open Table button succeeds, so MapInfo Pro itself has the ability to read the control points embedded in the image.
It would be good if the Register Table command could also do that.
------------------------------
Nick Lawrence
Senior Spatial Science Officer
Department of Transport and Main Roads (QLD)
Brisbane QLD
Original Message:
Sent: 03-24-2026 09:00
From: Peter Møller
Subject: How to Register a COG GeoTiff with a mapbasic command
You raise a fair point, Nick.
I thught the control point part of the statement was required but it's not:
Register Table source_file { Type GRID | Type RASTER [ ControlPoints ( MapX1, MapY1 ) ( RasterX1, RasterY1 ), ( MapX2, MapY2 ) ( RasterX2, RasterY2 ), ( MapX3, MapY3 ) ( RasterX3, RasterY3 ) [ , ... ] ] [ CoordSys... ] [ Charset char_set ] |
I can see the descripton says:
ControlPoints is optional, but can be specified if the type is Grid or Raster. If the ControlPoints keyword is specified, it must be followed by at least 3 pairs of Map and Raster coordinates which are used to georegister an image. If the ControlPoints are specified, they will override and replace any control points associated with the image or an associated World file.
Maybe we need to make the statement able to read the control points from the file instead and not just a World file or similar?
------------------------------
Peter Horsbøll Møller
Principal Presales Consultant | Distinguished Engineer
Precisely | Trust in Data
Original Message:
Sent: 03-23-2026 20:12
From: Nick Lawrence
Subject: How to Register a COG GeoTiff with a mapbasic command
Thank you Peter,
Your second method achieved what I want.
I am still curious though, why is the "Open Table" button able to read the coordinates embedded in the COG GeoTiff and the "Register Table" MapBasic command not able to read the embedded coordinates?
------------------------------
Nick Lawrence
Senior Spatial Science Officer
Department of Transport and Main Roads (QLD)
Brisbane QLD
Original Message:
Sent: 03-20-2026 04:34
From: Peter Møller
Subject: How to Register a COG GeoTiff with a mapbasic command
Hey Nick
Try reading this #MapInfoMonday article and let me know if the second option is working for you.
It uses a standard dialog in MapInfo Pro and creates Tab files for the selected raster files.
If needed you will be prompted once for the projection details.
Peter
------------------------------
Peter Horsbøll Møller
Principal Presales Consultant | Distinguished Engineer
Precisely | Trust in Data