Radio Mobile - RF propagation simulation software
-
Bookmark This site

Mapfile .geo format

Inside the .geo file is the filename of the map image, two reference points (x/y pixels), lat and long in decimal degrees.

File location:

The location of the file is not mandatory

mapfile.geo

#< Comment>
URL[tab]< path\filename>

TIEPOINT[tab]< x1>[tab]< y1>[tab]< Longitude1>[TAB]< Latitude1>
TIEPOINT[tab]< x2>[tab]< y2>[tab]< Longitude2>[TAB]< Latitude2>

Variables:

The fields must be separated by tabs, not spaces The first line refers to which image it is for, this is for future use.

Any line starting with '#' is a comment

You have to have 2 "TIEPOINTs", these associate a lon/lat with any x/y of the image. The X and Y are in pixels of the IMAGE, the LON and LAT are that LON/LAT values of the POINT specified by X,Y. The more accurate that you have this, the better the image map will work. The second point MUST be to the right and below the first point. It is best to have the first point as close to the top left as possible and the second point as close to the bottom right as possible.

The images MUST be ORTHOGONAL, this means that the map lines up square with lat/lon.

Variable Comment
comment Comment
path\filename The filename with the absolute path to it.
x1 x-part of the 1st point in the raster image in pixels
y1 y-part of the 1st point in the raster image in pixels
Longitude1 Longitude in degrees.decimal-degrees of the 1st point in the raster image.
Latitude1 Latitude in degrees.decimal-degrees of the 1st point in the raster image.
x2 x-part of the 2nd point in the raster image in pixels
y2 y-part of the 2nd point in the raster image in pixels
Longitude2 Longitude in degrees.decimal-degrees of the 2nd point in the raster image.
Latitude2 Latitude in degrees.decimal-degrees of the 2nd point in the raster image.
   

Sample file:

mapfile.geo
#FILENAME 20070927_JOTACoverage.png
URL R:\RadioMobile\Data\20070927_JOTACoverage.png
TIEPOINT 0 0 3.344749 53.94007
TIEPOINT 1319 1999 7.214673 50.34053
 

powered by CMSimple_XH | cmsimple-styles.com template modified by PE1MEW