Raster picture coordinate information can be read from different types of coordinate files. When reading raster pictures, all three files are searched in that order.
The file has to be in the same directory as the actual picture and the name without extension must be same as the picture file’s.
Special setting CrdPath can be used to define some other directory for raster coordinate files.
The 3d-system CRD file is an ASCII format file, where one raster picture’s scaling information is given with the lower left and upper right corner coordinates.
You can make the CRD file in the 3D-Win program after you have read the raster picture.
Example:
6700000.000 2550000.000 6710000.000 2560000.000
First line of file is the pixel size in meters. Next three numbers are rotation parameters and last two numbers are coordinates of the center of the upper left pixel. This format is used by ESRI GIS-applications.
Example:
2.0 0.0 0.0 -2.0 2550001.000 6709999.000
In addition to the coordinates of the corner points, the file includes information about the picture and map projection. Format is used by MapInfo GIS-application.
Example:
Definition Table File "map4.tif" Type "Raster" (1560050,6712769) (0,0) Label "Pt 1", (1565650,6712769) (560,0) Label "Pt 2", (1565650,6707169) (560,560) Label "Pt 3", (1560050,6707169) (0,560) Label "Pt 4" CoordSys Earth Projection 24,28,"m",21,0,1,1500000,0 Units "m"
Coordinate file used by finnish TietoSavo.
Example:
FORMAT TIFF SCALE 1000 UNIT 1000 ORIGIN 1566000.000 6709000.000 RESOLUTION 254.000 COLOUR 62
Coordinates for lower and upper corner. Format is used in some road map CD:s.
Example:
[PICTUREINFORMATION] LOWERLEFTCORNERX=6300000.000000 LOWERLEFTCORNERY=1275000.000000 UPPERRIGHTCORNERX=6325000.000000 UPPERRIGHTCORNERY=1300000.000000
Coordinate file used by ErMapper for ECW-pictures. ECW-picture coordinates can also be stored internally to picture.
DatasetHeader Begin Version = "6.0" Name = "Greyscale.ers" LastUpdated = Mon Jul 19 01:31:19 GMT 1999 DataFile = "Greyscale.ecw" DataSetType = Translated DataType = Raster ByteOrder = LSBFirst CoordinateSpace Begin Datum = "NAD27" Projection = "NUTM11" CoordinateType = EN Rotation = 0:0:0.0 CoordinateSpace End RasterInfo Begin CellType = Unsigned8BitInteger CellInfo Begin Xdimension = 10 Ydimension = 10 CellInfo End NrOfLines = 1500 NrOfCellsPerLine = 1500 RegistrationCoord Begin Eastings = 475900.90839250002 Northings = 3628704.6741760001 RegistrationCoord End NrOfBands = 1 BandId Begin Value = "Pseudo" BandId End RegionInfo Begin Type = Polygon RegionName = "All" SubRegion = { 0 0 0 1500 1500 1500 1500 0 } RegionInfo End RasterInfo End DatasetHeader End