Export of navigation maps to MIF format |
The digital navigation map for road transport is intended for the decision of navigation problems of road transport and contains the information on objects of district, on the organization of traffic, on objects of a roadside infrastructure and service, the address information. The state digital navigation map for road transport is created in the state system of geodetic coordinates of 1995 (SC-95) in SXF format with use of classifier Road25.rsc. The state digital navigation map for road transport on territory of settlements can be created with classifier Road10.rsc The digital navigation map for the road transport, which took the control procedures, can be converted into format MIF (MapInfo Interchange Format). To run the program select the menu item - Tools \ Run Application \ Data conversion / Converter of vector map to airborne computer format. Onto each layer of a navigation map 2 files with extension MIF and MID are created. The name of each created file includes a name of source navigation map and a code of a layer from the classifier. For example, the map has name Belgorod.sit. Names of MIF files will look like: Belgorod. ROADINFO.MIF, Belgorod. ROADINFO.MID and so on. All files are placed in one folder which has name ROADMIF and is placed in a folder with the source map. The user can change a name of a folder and its location. The kind of the conventional symbols generated in the file MIF, can be changed by editing a file ROADMIF.TXT, which is placed in installation folder with executable modules. Each line of a file ROADMIF.TXT contains the description of one symbol from classifiers Road25.rsc and Road10.rsc. For example: 10111 SYMBOL (37,16711680,12,"Map Symbols",0,%.3f) 10327 SYMBOL (49,16711680,12,"MapInfo Transportation",0,%.3f) 10714 SYMBOL (110,255,12,"MapInfo Miscellaneous",0,%f) 5562 PEN (27,2,43775) 5561 FONT("Arial",0,0,0) The parameter " % .3f ” is automatically replaced onto an angle of symbol turn. If the parameter is equal to zero all symbols will be displayed without turn. For example: Point 37.538580516 55.637172172 SYMBOL (35,255,12,"Map Symbols",0,-25.887) At writing down into file MIF geodetic coordinates of objects from CS-95 will be transformed to geodetic coordinates WGS-84 (“ CoordSys Earth Projection 1, 104 ”) according to the order of transformation specified in GOST Р 51794-2007. The list of attributes that are stored in MID file, corresponds to the list of the layer attributes, defined in the map classifier. In addition the list of attributes contains the following attributes: OBJECTNUMBER Integer - unique number of object; OBJECTCODE Char (32) - code of object from classifier; OBJECTLOCAL Integer - code of object localization (0 - linear, 2 - point, 4 - vector); OBJECTNAME Char (32) - an object name. For example: "8";"10711";"4";"First-aid station";;;;;;;;;;;;;;;;;;;;;;;;;;;; If the object on a map is displayed with a line of callout, then its coordinates mismatch the actual location of object on a map. In this case into attributes of object additionally the coordinates of the actual location of the object on the ground are written down: LONWGS84 Float LATWGS84 Float For example: "1";"10715";"4";"Car Wash";;;;;;;;;;;;;;;;;;;;;;;;;;37.52561480;55.64181321; And the line of callout is created as additional linear object behind which the point sign is written. Attributes of a line of callout and a point sign coincide. For example: 37.525614800 55.641813208 37.533942151 55.645937352 PEN (13,2,0) Point 37.533942151 55.645937352 SYMBOL (33,255,12,"Map Symbols",0,0.000000) "1";"10715";"4";"Car Wash";;;;;;;;;;;;;;;;;;;;;;;;;;37.52561480;55.64181321; "1";"10715";"4";"Car Wash";;;;;;;;;;;;;;;;;;;;;;;;;;37.52561480;55.64181321;
|