;Sample file accepted by cGPSmap to create new IMG file ; ;Last update : 1st July 2002 ; ; ;Element types is provided in RGNtype.dbf file ; ;######################################################################################## ;[IMG ID] ;######################################################################################## ; ;############ ;ID = (required) integer number, id number of map - must be unique for each map ; may be written in decimal format or special hex format with 'I' letter : ; DEC HEX ; 11000204 I00A7D98C ;############ ; ;############ ;Datum = (optional) code name of source datum, default value is W84 ; ex. Datum=NAS-A ;############ ; ;############ ;POIIndex = (optional-full version only) Y/N - if set to 'Y' all RGN10 elements will be ; indexed (to activate button 'find' in GPS) - without this option only ; with provided additional info (ex. street/description) would be indexed ; default is 'N' ;############ ; ;############ ;POINumberFirst = (optional-full version only) Y/N - if set to 'Y', then the house number ; (for POI) will be BEFORE street name ; default is 'Y' ;############ ; ;############ ;POIZipFirst = (optional-full version only) Y/N - if set to 'Y', then the zip-code (for POI) ; will be BEFORE street name ; default is 'Y' ;############ ; ;############ ;AlignMethod = (optional) -1,0,positive real value ; Choosen method for coordinate alignment - ; -1 - no special alignment - should not be used! ; 0 - grids in all regions will be aligned ; positive value - maximum error between given coordinates and ; calculated coordinates for choosen region - if error exceed ; the parameter then other region will be choosed or new region ; will be created. ; If two nodes belonging to different elements (except RGN10, RGN20) ; will be nearer than the AlignMethod distance - then during import both of them will be ; connected ; suggested value : between 0.001 and 0.000001 ;############ ; ;############ ;Name = (required) map name - character string ;############ ; ;############ ;TreSize = (optional) maximum allowed region size - in grids - the bigger value, the ; newly created region may be bigger, but performance of map might ; be worst, in other hand, the smaller region, the more regions ; must be created... ; suggested value : between 2000 and 4000 ;############ ; ;############ ;TreMargin = (optional) additional margin for newly created region (in degree) ; suggested value : 0.02 ;############ ; ;############ ;LevelFill = (optional) approximate percentage of element exsisting in Layer compared to Layer+1 ; if during creation of new map there would be not enaugh space ; in certain region, this valu may be increased ; suggested value : 75 ;############ ; ;############ ;LevelLimit = (optional) limit of element for a single region (value less or equal to 255) ; this value is used only during creating new regions on other ; layer than the most detailed one ; Decreasing this value can help if some elements could not be imported ; suggested value : 200 ;############ ; ;############ ;RgnLimit = (optional) limit for number of elements in one region ; can be any value between ~50 - 1024 (value less than 50 doesn't make sense) ; suggested value : 700 ;############ ; ;############ ;WorldMap = (optional) Y,N ; if set to 'Y' then special procedure will be used to create ; regions on layer 1 - more regions will be created ;############ ; ;############ ;Levels = (required) number of layers for map, last layer - in this example Level3 ; is always empty - no objects will be imported into ;############ ; ;############ ;Level0 = (required) grid for each layer, layer 0 is the most detailed one ; grid value is used to calculate level grid in layer - in degree value ; standard value for most detailed level is 22. ; To choose best grid values you can use the following table : ; ; Grid value also defines visibility in GPS! ; ; Grid Degree Grid Visibility for normal settings in GPS ; 24 2.14576721191406E-05 0m - 120m ; 23 4.29153442382812E-05 200m - 300m ; 22 8.58306884765625E-05 500m ; 21 0.000171661376953125 800 - 1.2km ; 20 0.00034332275390625 2km ; 19 0.0006866455078125 3km ; 18 0.001373291015625 5 - 8km ; 17 0.00274658203125 12km ; 16 0.0054931640625 ; 15 0.010986328125 ; 14 0.02197265625 ; ;############ ;Zoom0 = (required-used only by MapSource) zoom level for which given layer should be visible in MapSource ; ex. Zoom1 = 4 means Layer1 will be visible in zoom range between 30km and 12km ; WARNING! zoom values for successive layer must be ascending! ; ; Zoom Approximate visibility in MapSource ; 7 starting from 300km zoom till 120km ; 6 starting from 120km zoom till 50km ; 5 starting from 50km zoom till 30km ; 4 starting from 30km zoom till 12km ; 3 starting from 12km zoom till 8km ; 2 starting from 8km zoom till 3km ; 1 starting from 3km zoom till 1.2km ; 0 starting from 1.2km zoom ;############ ; ; LIMITATIONS : ; - Number of nodes for RGN40 and RGN80 elements is limited to 255, ; - Size of a single element cannot exceed maximum allowed size of region ; (maximum size of region can be calculated from TreSize*DegreeGrid for ; given level) ; - maximum number of regions is limited to 65535 - optimum number of regions ; is about 50 for small maps and 200-300 for big ones ;############ ; ; ;######################################################################################## ;Valid special section types : ;[POI] - dbf tables used by POI symbols ; ;Valid section types : ;[RGN10] - POI ;[RGN20] - simple points, cities ;[RGN40] - streets, streams, railroads and other polilines ;[RGN80] - lakes, reservations, regions, ; ;[SHP] (full version only) - declaration of shp/dbf pair to be imported ;[PLT] - declaration of ozi-PLT file to import ;[WPT] - declaration of ozi-WPT file to import ; ;######################################################################################## [IMG ID] ID=10000013 Name=Mission Trails AlignMethod=0.000001 TreMargin=0.02 Datum=W84 WorldMap=N TreSize=2000 LevelLimit=250 LevelFill=50 RgnLimit=500 Levels=4 Level0=24 Level1=24 Level2=14 Level3=14 Zoom0=1 Zoom1=2 Zoom2=3 Zoom3=4 [END-IMG ID] ;############ ;[PLT] - declaration of ozi-PLT file to import ;RgnType= Kind of element, valid are 0x40(polilines) and 0x80(regions) ;Type= Type of element, could be written in hex or dec ;Label= Element label ;DirIndicator = (optional) 1,0 - only for streets - if value is set to 1, then on crossroads ; GPS will show direction of the road (calculated internally by GPS) ;FILE0= (optional)name of PLT file to import into layer 0 ;FILE1= (optional)as above, into layer 1 ;... ; There could be as much as 10 PLT files defined (each one for ; a different layer) - the required is at least one PLT file ;[END-PLT] ;############ ;############ ;[WPT] - declaration of ozi-WPT file to import ;RgnType= Kind of element, valid are 0x10(POI) and 0x20(simple points) ;Type= Type of element, could be written in hex or dec ;Elevation= (optional) m,f - specifies unit used for elevation ;FILE0= (optional)name of WPT file to import into layer 0 ;FILE1= (optional)as above, into layer 1 ;... ; There could be as much as 10 WPT files defined (each one for ; a different layer) - the required is at least one PLT file ;[END-WPT] ;############ ;############ ;[RGNxx] - (where xx could be 10 or 20) definition of RGN10/RGN20 ;Type= Type of element, could be written in hex or dec ;Label= Element label ;Data0= definition (coordinate) for layer 0 ;Data1= definition (coordinate) for layer 1 ;... Coordinates can be written in any resonable precision in format (ns,we) ; ; Coordinates must be written in datum defined in [IMG ID] section - if datum ; is not defined there, default datum is assumed - WGS84 ; ; There could be as much as 10 different coordinates defined (each one for ; a different layer) - the required is at least one ;############ ;############ ;[RGNxx] - (where xx could be 40 or 80) definition of RGN40/RGN80 ;Type= Type of element, could be written in hex or dec ;Label= Element label ;DirIndicator= (optional) 1,0 - only for streets - if value is set to 1, then on crossroads ; GPS will show direction of the road (calculated internally by GPS) ;Data0= definition (coordinates) for layer 0 ;Data1= definition (coordinates) for layer 1 ;... Coordinates can be written in any resonable precision in format (ns,we) ; ; All coordinates for a single object must be stored in ONE LINE ; ; For RGN40 elements there is no limitation for number of points in a single ; object, however if number of points exceed 255, object will be splitted into ; 2 or more separate elements ; ; There is no automatic splitting for RGN80 elements (areas), therefore ; you cannot exceed limit of 255 points! ; Coordinates must be written in datum defined in [IMG ID] section - if datum ; is not defined there, default datum is assumed - WGS84 ; ; There could be as much as 10 different coordinates defined (each one for ; a different layer) - the required is at least one ;############ [WPT] Type=0x2d05 RgnType=0x10 Elevation=f FILE0=MissionTrails.wpt FILE1=MissionTrails.wpt FILE2=MissionTrails.wpt [END-WPT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 1 DIRINDICATOR=0 FILE0=MissionTrails1.plt FILE1=MissionTrails1.plt FILE2=MissionTrails1.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 2 DIRINDICATOR=0 FILE0=MissionTrails2.plt FILE1=MissionTrails2.plt FILE2=MissionTrails2.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 3 DIRINDICATOR=0 FILE0=MissionTrails3.plt FILE1=MissionTrails3.plt FILE2=MissionTrails3.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 4 DIRINDICATOR=0 FILE0=MissionTrails4.plt FILE1=MissionTrails4.plt FILE2=MissionTrails4.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 5 DIRINDICATOR=0 FILE0=MissionTrails5.plt FILE1=MissionTrails5.plt FILE2=MissionTrails5.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 6 DIRINDICATOR=0 FILE0=MissionTrails6.plt FILE1=MissionTrails6.plt FILE2=MissionTrails6.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 7 DIRINDICATOR=0 FILE0=MissionTrails7.plt FILE1=MissionTrails7.plt FILE2=MissionTrails7.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 8 DIRINDICATOR=0 FILE0=MissionTrails8.plt FILE1=MissionTrails8.plt FILE2=MissionTrails8.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 9 DIRINDICATOR=0 FILE0=MissionTrails9.plt FILE1=MissionTrails9.plt FILE2=MissionTrails9.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 10 DIRINDICATOR=0 FILE0=MissionTrails10.plt FILE1=MissionTrails10.plt FILE2=MissionTrails10.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 10 DIRINDICATOR=0 FILE0=MissionTrails11.plt FILE1=MissionTrails11.plt FILE2=MissionTrails11.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 10 DIRINDICATOR=0 FILE0=MissionTrails12.plt FILE1=MissionTrails12.plt FILE2=MissionTrails12.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 10 DIRINDICATOR=0 FILE0=MissionTrails13.plt FILE1=MissionTrails13.plt FILE2=MissionTrails13.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 10 DIRINDICATOR=0 FILE0=MissionTrails14.plt FILE1=MissionTrails14.plt FILE2=MissionTrails14.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 10 DIRINDICATOR=0 FILE0=MissionTrails15.plt FILE1=MissionTrails15.plt FILE2=MissionTrails15.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 10 DIRINDICATOR=0 FILE0=MissionTrails16.plt FILE1=MissionTrails16.plt FILE2=MissionTrails16.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 10 DIRINDICATOR=0 FILE0=MissionTrails17.plt FILE1=MissionTrails17.plt FILE2=MissionTrails17.plt [END-PLT] [PLT] Type=0x18 RgnType=0x80 Label=Hole 10 DIRINDICATOR=0 FILE0=MissionTrails18.plt FILE1=MissionTrails18.plt FILE2=MissionTrails18.plt [END-PLT]