(Apologies if this has been answered before. I couldn't find it in a search)
We have a MapInfo vector table with Region objects in EPSG 3857. We want to know the min and max x and y extent over all objects in the table. But we get different answers depending on how we ask for the data.
Set CoordSys Earth Projection 8, 74, "m", -159, 0, 0.9996, 500000, 0 Bounds (-7745844.29605, -9997964.94315) (8745844.29605, 9997964.94315)
Print TableInfo(alias, TAB_INFO_MINX)
// Returns 801229.23
SELECT * FROM alias WHERE obj INTO qTest NOSELECT
Print TableInfo(qTest, TAB_INFO_MINX)
// Returns 821069.75
SELECT MIN(ObjectGeography(obj, OBJ_GEO_MINX)) "MINX" FROM alias WHERE obj INTO qTest NOSELECT
Browse * From qTest
// Returns 821069.75044454
Why does TableInfo return a different value than looking for the MinX over all objects?
------------------------------
Matthew Katinsky
Senior GIS Programmer
SCHLOSSER GEOGRAPHIC SYSTEMS
------------------------------