hi , everybody
i have hundreds of georeferenced png files in specific folders and png files have pgw extensions..i can open manually in mapinfo. after open
mapinfo ask which projection .then i choose projection and everyhing is okay and the png file is on the right location.But i must open hundreds of png files like this
i must hit the enter key hundreds of time for hundred of png files (also every png files's name has upper left x,y coordinates) .so
i want to this wtih mapbasic or mbx.i couldnt find code that makes open georeferenced png files.
in mapbasic docments i found this
Example: RASTER Registering a completely georeferenced raster image (the raster handler can return at least three control points and a projection). Register Table "GeoRef.tif" type RASTER into "GeoRef.TAB"
Registering a raster image that has an associated World file containing control point information, but no projection. Register Table "RasterWithWorld.tif" type RASTER coordsys earth projection 9, 62, "m", -96, 23, 29.5, 45.5, 0, 0 into "RasterWithWorld.TAB"
Registering a raster image that has no control point or projection information. Register Table "NoRegistration.BMP" type RASTER controlpoints (1000,2000) (1,2), (2000,3000) (2, 3), (5000,6000) (5,6) coordsys earth projection 9, 62, "m", -96, 23, 29.5, 45.5, 0, 0 into "NoRegistration.tab"
it requires some control points .i have onle one control point that it is in the name of the png .
i dont know what method i must use..
do u have any idea about this or another way .i googled and looked for documents and this is the point i came .
Thanks for now
Faruk CAGLAR
Geomatics Engineer
INFOTECH location intelligence company