Home

cGPSmapper User Manual

image

Contents

1. 71 8 1 CREATING THE SOURCE FIEE nennen menm en 72 8 2 CUSTOM TYPE DEFINITION atau hin 75 8 3 PUTTINGIT ALL TOGETHER tola vid yes 82 NTAPSOURGCH e a a Rae 86 9 1 INSTALLING MAPS TO BE USED WITH MAPSOURCE eene eene 86 9 2 MAPSOURCE DATA STRUCTURE ccccsessssscesececessessssececesccseeesssseseeeseesesssenssseeeseceens 86 9 3 CREATING PREVIEW MAP 8 1 21 20 202 00000000000000000000 87 9 4 FORMAT OF PREVEIW CONTROL FILE 87 9 4 1 Structure of the preview control file ce adeo cbe rer eH SR PRU ted 87 9 5 MAKING THE REGISTRY ENTRIES e eren 91 9 6 LOADING THE MAPS INTO THE GPS 93 http cgpsmapper com 3 of 130 cGPSmapper Manual 10 TOADS eer 95 10 1 NAME VARIABLES AND WHERE THEY SHOW 95 LOJE ce SOS a u u diete 95 2 SONOS n katanata debui doce e TE 95 10 2 ACTIVATION OF MAPS IN THE ene nnne eene nennen ens 96 10 3 SAVING OBJECTS AS RGNX0 vs POI POLYGON POLYLINE 97 IJ de sss 97 10 3 2 I
2. 28 7 14 42 43 T extStakt dacs ae eene 28 Hardware Zoom Level 43 44 Toll 2 oet 28 A 43 44 Toward 58 Zoom Level u aa 44 amp os optet cioe eo aede og 57 TraffRoads 57 http cepsmapper com 130 of 130
3. o o N 0Ox s0 591011 O O N 0x6502 2588 10 SandBa N ox6503 9392 Z O N 0x6500 25860 101 Bed _ N 0 6505 258680 Caml 6S O N Ox6506 2921011 Chana C O Z O O i y O N 0x6507 25863 N 0 6508 25864 11 sd alls o Z 1 N 0x6509 25865 J10 Geyser 0 N 0 650 256 Ss Glacier 000 N 0 6508 297 10 Sf arbour N 0x650c_ 2568 101 Island N Ox s0D 291100111 O N 0x650 590 N 0x650F_ 12871111 Reservoir N oxesi0 2582 10 Sa O Z O N 0x6S11 25873 10 Ss Spring O N 0Ox6512 2584 O OOOO O N ox6513 2585 O N 0x6600 26112 10 4 N 0 6601 63 Arch gt O SSS O N 0 6602 64 121 N 0x6603 615 02 2 N ox6604 66 0 Sf Beach CS N 0x6605 26117 10 Bench N ox6 60o6 648 0 Cape Cis N 0Ox6607 69 102 1 N 0x6608 126020 102 Crater N 0 6609 14 10 N 0Ox6600 2642 1214 Forests o Z y O N 0 6608 62022 10 Gap N 0X60C 2644 0 Gut O N 0x660D 26125 102 X lsthms N 0 66 2646 102 Z 0 66 2647
4. 24 Tine n nana raid 78 Polyline or Polygon 25 LocalDesignator 29 41 a s p ue te E eL 5 Locking as eee em cas 67 27 See Manual Pocket PG sud a eed erc ette 69 Notation See Document Conventions POLIS y P 11 map POINumberFirst 11 activation in the GPS 96 au uve ett bn eee 11 creating preview files 87 POUAIBFIESE vets 11 Creationa sc 8 POSH ON sa anasu usu nas 28 37 loading into the GPS 93 PECPIOCESS cesse iu am 13 o ideo ione asses 8 PROVIEW 69 87 104 PHI c bo 16 MapDecode 30 ProductCode 89 MapSetName 88 Projecfi niu tas ays 16 do 86 Published eee deett 16 MapsourceName 88 R MapVersion 89 M 14 19 22 23 34 30 Marine etd 34 S Ts 15 10 16 e eplOon dX e Multi city street 65 R
5. 1 N 0x2800 0x283F 10240 10303 40 Region no Point smal N ox2a00 52 2 Ss Dining Other 000 N 0x2A01 1053 142 j Dining Amercan N ox2a02 054 21 Dinig Asan N 0 2 03 10755 2 j Dining Babecu N 0x2a04 16 2 Dining Chinese N 0Ox2405 10777 42 Dinig Del Bakery lt N 0 246 10758 42 j Dining Intemaiona N 0Ox2407 505990 42 FatFod o O N 0 248 107600 42 Dining Italian N 0 2 09 101 2 Dining Mexican 0 0 N 0x2A0B 1063 42 j Dining SeaFoo Dinig StakGrill Description ENT N 0x2A0D_ 10765 142 7 Dining Bage Donu N 0x2A0E 1076 2 JDiming Cafe Dinr N 0x2A0F 1007 22 Dining Frenchy NJoxoA10 48 42 Dining German http cgpsmapper com 107 of 130 cGPSmapper Manual Code Filter Find Decimal Dec GPS PN 0x2A11 10700 42 Dining BriishlIsle N 0x2B00 1008 Ss Hotel Other 00 N O2BO 109 43 C Hoe Moe C N 0x2B02 1100 43 Bed amp Breakfatinn N o2BO 01 3 JjCampigRV Pak O Z N 0x2B04 1102 43 Resort N Oo2co i1265 44 AmusementPark 0 4 N O2CO 12 X 44 j MueunHisoy o N 0x2c03 1267 44 7 N o0x2c04 198 44 Land Mark N ox2cos 1126
6. Note that the coordinate definition line starts Data0 digit following the word Data specifies the level at which these coordinates will be used This definition only specifies coordinates for level zero That means that the village will only be visible on the user s GPS at zoom level zero Suppose we change this to RGN10 Type 3328 Label Remenham Datal 51 551744 0 889936 END Now we have defined coordinates for level 1 only That means that the village will be visible only at zoom level 1 If the GPS user zooms out further than that or if he zooms in closer the village will not be visible Let s say you want the village to be visible at levels zero one and two You could write RGN10 Type 3328 Label Remenham Data0 51 551744 0 889936 Datal 51 551744 0 889936 Data2 51 551744 0 889936 END However there is an easier and better way The above definition can be abbreviated using an EndLevel n line http cgpsmapper com 45 of 130 cGPSmapper Manual RGN10 Type 3328 Label Remenham EndLevel 3 Data0 2 51 551744 0 889936 END What the EndLevel n line says is that the coordinates in the highest numbered Datan line apply up to the specified EndLevel n starting with the level number in the Datan line In our example EndLevel 3 combined with Data0 means that the coordinates apply for three consecutive levels commending with
7. DE PRIORITY Large urban area gt 200k Small urban area lt 200k Rural housing area Military base Parking lot Parking garage Airport Shopping center Marina University college Hospital Industrial complex Reservation Airport runway Building Man made area National park National park National park City park Golf course Sports complex Cemetery State park State park State park Sea Ocean Blue Unknown Sea Blue Unknown Large lake 250 600 km2 Large lak 77 250 km2 Medium lake 25 77 km2 Medium lake 11 25 km2 Small lake 0 25 11 km2 Small lake 0 25 km2 Major lake gt 3 3tkm2 Major lake 1 1 3 3tkm2 Large lake 0 6 1 1tkm2 Blue Unknown Major river gt 1km Large river 200m 1km Medium river 20 200km Small river 40m Intermittent water Glacier http cgpsmapper com 74 of 130 cGPSmapper Manual 0 4 5 Orchard plantation 0 4 5 Scrub 0 50 3 Forest 0 51 6 Wetland swamp 0 52 4 Tundra 0 53 5 Sand tidal mud flat end 8 2 Custom Type Definition Your custom type definitions will replace the default imagery on your GPSr or Mapsource other objects will be rendered with their default imagery point Definitions Points POIs define your replacement bitmap for
8. HeightAboveDatumUn it field name amp Refer to section 0 on page 31 for details amp Refer to section 0 on page 31 for details Refer to section 0 on page 31 for details amp Refer to section 0 on page 31 for details amp Refer to section 0 on page 31 for details amp Refer to section 0 on page 31 for details Refer to section 0 on page 31 for details amp Refer to section 0 on page 31 for details Refer to section 0 on page 31 for details amp Refer to section 0 on page 31 for details amp Refer to section 0 on page 31 for details amp Refer to section 0 on page 31 for details amp Refer to section 0 on page 31 for details http cgpsmapper com 29 of 130 cGPSmapper Manual Racon field name amp Refer to section 0 on page 31 for details t x W o DoubleLights field amp Refer to section 0 on page 31 for details Dee T W DoubleLightsHorizo amp Refer to section 0 on page 31 for details ntal field name T W FacilityPoint fiel e Refer to section 0 on page 31 for details 9 END Section terminator 4 2 4 7 MapDekode file This section will be further documented in a future version of this manual DBX name file name Name of a MapDekode file including extension to be processed in the current compilation END Section terminator 4 2 4
9. 90 HeightUnit 28 34 HIS AWAY Lect errato ett 20 Highways aaa conico nan qua 18 HouseNumber 20 27 TALA 16 Ib er 9 90 IX 65 HTD s icc su SA M 9 Tides oec sealed 127 Indexinpl x cuc onde teas 64 Indexing words 67 InternationalDesignator 29 41 Islands y ee 98 L Label tesi 19 22 23 25 32 35 23 Babel 26 LabelPield uec acest e trs 26 BSNS OG S s 89 LBECOGIDE 9 32 LeadingAngle 29 41 LeftCiy ua 61 LeftCountryName 61 PTET eee dtt 62 LeftRegionName 61 a tua anasu ass 62 62 elt Zip Name 61 a sasa ananassa mus 14 26 90 LeveIl RGNYnn 18 EevelBill a ace tesa est us 14 e 14 http cgpsmapper com 128 of 130 cGPSmapper Manual levels iius coser ete teda 98 opening bracket 65 Levels omnta rp 14 42 90 Origin 20 23 35 E 45 OvernightParking 20 ashtaka aba a uta sd 29 39 OziExplorer 29 40 Point Of Interest
10. http cgpsmapper com 124 of 130 cGPSmapper Manual Version Routable Personal Edition This version has full scope of functionality including creation of routable maps with the following exceptions e Hardcoded copyright string name surname email email com cGPSmapper personal edition e No support for creating routable maps Only basic support regarding the input data format No permission for commercial use w Routable Fully routable maps find fastest or shortest route support for all kinds of restrictions and time limited restrictions 12 5 cGPSmapper files This section will be further documented in a future version of this manual The table below lists the contents of the main files that are distributed with the compiler File Contents Datum List txt Full list of supported datums to be used in the Datum element amp Refer to section 4 2 1 on page 9 for details further details to use the compiler the compiler cGPSmapper element types list in Excel format Contains the graphical representation of many of the element types 67 Refer to section 12 3 on page 106 for details amp Refer to section on page 4 for details Licence txt RGNtype txt cGPSmapper element types list in plain text format amp Refer to section 12 3 on page 106 for details http cgpsmapper com 125 of 130 cGPSmapper Manual 13 Index and Tables 13 1 Table of Figures FIGURE 1 LESS DE
11. 10 Ss N 0x6610 26 28 10 Z N 0 661 249 0 00052500 N 0x6612 26130 1102 Reserve sd N ox6613 241 O N 0 664 0692 Rok Cis Description http cgpsmapper com 111 of 130 cGPSmapper Manual Code Filter Find Decimal Dec GPS N 0x6615 26133 102 sd N 0Ox6616 20414 10 Summit N 0x6617 245 1214 0 6618 26130 10 S Woods N ox coo 7168 148 Unclassified Obstruction N ox coi 7160 28 Wreck 0 IN OiCO 7170 28 Submerged Wreck dangerous N 0 111 28 Submerged Wreck non dangerous N o0x1c04 712 28 Wreck cleared by Wire drag N 05 nz 28 _ Obstruction visible at high Water N ox1co6 7174 28 Obstruction awash N ox co7 17175 28 Obstruction submerged N OiCO 7176 28 _ Obstruction cleared by Wire drag N ox coo 7177 28 Rockawah N ox coa 71748 28 submerged at low Water N OCO 7179 28 Sounding 00 N o0x1D0 725 29 Ss Tide Prediction N 0 1 01 27 FogHom 0 N Ox1A01 6657 26 FogHom sd N oi91 6010 5 FogHom 000 N oxis 45 4 FogHom 000 1 0 1701 1 589 23 FogHon 0 1601 563 12 00 0 1 02 694 27 RadoBecn o N OxIA02
12. Amchorngprohibited 0 0706 1108 7 Y Fishingprohibted 0 070 1800 7 N O 0x0801 209 8 N Information Y 0x0901 2300 9 Bottom conditions 0 0902 2300 9 Fishinginformatiin v ox0 37 1 9 N Faiiy 12 3 2 POLYLINE types x Code Hex Description N Ox06 6 J Roathin 8 18 Ramp N 0x09 9 Ramp http cgpsmapper com 117 of 130 Description cGPSmapper Manual Code Code Hex Decimal Description http cgpsmapper com 118 of 130 cGPSmapper Manual Code x Code Hex Decimal Fishing prohibited ml puo cd 12 3 3 POLYGON types x Code Hex Description Description http cgpsmapper com 119 of 130 cGPSmapper Manual Code x Code Hex Decimal N 0x06 6 JjParingGaage ox08 8 ShoppingCentre N 0x09 9 O 60 Lake 60 Lake 50525959 Description http cgpsmapper com 120 of 130 cGPSmapper Manual x Code Hex m m Description NjOx50 1850 Woods _ O Depth area white Pier jetty invisible http cgpsmapper com 121 of 130 cGPSmapper Manual Code x Code Hex Decimal 12 3 4 Custom types name substitution Description You ma
13. uJ cGPSmapper Manual CityName xxx RegionName xxx END 4 2 4 2 Polygon POLYGON type For RGN20 CityName has the same meaning as Label If both Label and Cit yName are provided the one which appears later in the file is used For RGN10 CityName is the name of the city to which the object belongs Can be used only together with keys RegionName and CountryName 80 characters maximum Name of region to which the object belongs Can be used only together with keys Cit yName and CountryName 80 characters maximum Name of country to which the object belongs Can be used only together with keys RegionName and CityName 80 characters maximum Object Zip Code 80 characters maximum Applies to RGN10 only Additional facilities available at the exit type of exit facility direction to facility facilities label Integer hex or decimal values as indicated on amp section 12 2 Exits on page 105 80 characters maximum Section terminator Polygon section identifier RGN80 may also be used instead It is used to define lakes parks forests etc amp Refer to section 4 2 4 1 on page 19 for details SubType defines the second byte of the Type value The type of element can be defined either by using the Type key only or by using the Type and SubType keys Example Type 0x0211 can be also written as Type 0x02 SubType 0x11 http cgpsmapper co
14. 0x590 2275 89 Large Airport N 0 5902 26 9 N 0x5903 277 89 Airport 5105904 28 9 Ss Heliport N 0 5905 0 593 22789 22847 89 o o Z o y O N 0x5D00 0x5D3F 23808 23871 93 Green Square 0 5 00 5 24064 24127 94 Daymark Red Triangle lt 0x6200 7 25088 98 with point one decimal place 9 __ Height without point no decimal place 100 i Description 100 44 264 Che 0x6405 2605 N 0x6406 2606 10 Crossing 7 Building 0x6407 25607 1100 0x6408 25608 00 j 0x6409 12609 0 0x640A 25610 Ox640B 2561 0x640C 125612 100 Ox640D 53 1100 Oil Field 0x640E 25614 100 Park Ox640F 25615 100 N 0x6410 266 101 School NjJOx 4l 125617 10 Tower N 0x6412 268 100 N 0x6413 256019 10 Tuned N 0x6414 25620 100 Drinkwater N 0x6415 261 10 JjGhotTown 7 http cgpsmapper com 110 of 130 cGPSmapper Manual Code Filter Find Decimal Dec GPS N 0x6416 2562 100 Subdivision N 0 6500 256 10
15. 58 5 9 1 Of te FOUU oodd ai ola A 58 5 9 2 Defining routing data in DEFINITIONS 59 5 9 3 Defining attributes of road segments in DEFINITIONS 59 5 9 4 Defining restriction data DEFINITIONS 60 5 9 5 Secton IDEFINITIONS au u ana a etg Sun 61 NATIONAL CHARACTERS INDEXING 64 6 1 CODEPAGES zonus Siva teet tede 64 6 2 INDEXING tay em RETO tb deep UE 64 6 3 PREPARING MAPS FOR INDEXING 65 6 4 MULTI ATTRIBUTES ASSIGNMENT n eene enne netten eese nennen nenne seen 65 6 5 INDEXING WITH CPREVIEW PROGRAM enn 66 PROTECTING IMG FILES LOCKING 67 7 1 RESPONSIBILITY 67 7 2 TECHNOLOGY atte bo RUBRI ORI PIE IE 68 7 3 LOCKING MAPS WITH CGPSMAPPER eee ne rennen enne tenter nennen 69 7 4 CREATING PREVIEW MAPSET 69 7 5 UNLOCK CODES E E E 71 7 6 UNLOCKING MAPS SD CARD entente eese nennen 71 CREATING CUSTOM TYPE EFILE
16. 60 of 130 cGPSmapper Manual VEHICLER Optional field holding Boolean value 1 0 whether restriction should apply to trucks 5 9 5 Secton DEFINITIONS DEFIN ONS Routing data house numbers and restrictions section identifier Routing and road attributes part Routing file name NodelD fiel Road1ID fiel RightCountryName f ield name Name of the DBF files with extension for routing and attribute definition This should be the full or relative path for the DBF file gt 0 gt normal NodeID definition gt 1 gt bound point NodeID definition this point will be used as entry exit point of the map connection to other separate IMG files gt Default 0 Name of the field in the associated dbf file from which cGPSmapper will get the NodeID Name of the field in the associated dbf file from which cGPSmapper will get the Road ID Name of the field in the associated dbf file from which cGPSmapper will get the NODE Name of the field in the associated dbf file from which cGPSmapper will get the City name on left side of the road for the current segment Name of the field in the associated dbf file from which cGPSmapper will get the Region name on left side of the road for the current segment Name of the field in the associated dbf file from which cGPSmapper will get the Country name on left side
17. normal NodeID definition gt 1 gt bound point NodeID definition this point will be used as entry exit point of the map connection to other separate IMG files Default 0 Bound attribute defines Entry Exit points of single IMG file if no NodeID point with such attribute is defined in the map there is way device can enter exit the map Typically every road crossing borders of the map at the border shall have NodeID point with this attribute set to 1 5 7 Restrictions Restrictions define logical or physical turn restrictions in the map Currently cGPSmapper is able to handle restrictions composed from two or three segments respectively 3 nod points or 4 nod points Restrictions can be defined either using MP text format or as ESRI import data http cgpsmapper com 55 of 130 cGPSmapper Manual Following our previous example 16967 NodelD 25010 NodelD 25009 RESTRICT TraffPoints 16968 25008 25009 TraffRoads 520763 532674 END RESTRICT Above definition will set a restriction when turning from road 520763 into road 532674 However opposite direction will be still allowed meaning it will be allowed to go through road 532674 into road 520763 at crossing nod 25008 Definition of the restriction is composed from set of 3 nod points routable points and two roads with that we can define an unique route to be forbidden
18. 0x4200 0x423F 16896 16959 66 N 0x4300 0x433F 17152 17215 67 Marina N 0x4400 0x443F 17408 17471 68 Gas 0x4500 0x453F 17664 17727 69 Restaurant o o Ba 2 Description 0x4600 0x463F 17920 17983 70 Bar 0x4700 0x473F_ 18176 18239 71 BotRmp 0002 0x4800 0x483F 18432 18495 72 2 N 0 4900 0 493 18688 18751 73 Pak 2 N 0x4A00 0x4A3F 18944 19007 74 Picnic Area N Ox4BOO Ox4B3F 19200 19263 75 Hospial o O LN 0x4C00 0x4C3F 19456 19519 76 Information N 0x4D00 0x4D3F 19712 19775 77 Parking i O http cgpsmapper com 109 of 130 cGPSmapper Manual Code Filter Find Decimal Dec GPS N 0x4E00 0x4E3F 19968 20031 78 Resrom sd N 0x4F00 0x4F3F 20224 20287 79 Showr o OZO o 0x5000 0x503F 20480 20543 DrinkingWater O o N 0x5100 0x513F 20736 20799 81 N 0 5200 0 523 20992 21055 82 Scenic Area N 0x5300 0x533F 21248 21311 83 Sking C 0x5400 0x543F 21504 21567 84 Swimming o N 0x5500 0x553F 2176021823 88 Dam N 0x5700 0x573F 22272 22335 87 DangerAra 0x5800 0x583F 22528 2259 88 RestictedAra o N 0x5900 2274 89 Generic Airport
19. 1968 17 gt GRS 1967 18 gt GRS 1980 19 gt Helmert 1906 20 gt Hough 2 gt International 22 gt South American 1969 23 gt WGS 60 24 gt WGS 66 25 gt WGS 72 26 gt WGS 84 27 gt Unknown VVVVVVVVVVVVVVVVVVVVVV VV VV VV http cgpsmapper com 17 of 130 cGPSmapper Manual END Section terminator 4 2 3 Advanced Declarations gt The ADVANCED DECLARATIONS elements must be in the order shown herewith 4 2 3 1 Background BACKGROUND t IJ Declares a custom shape for the map another way to define a custom shape for the map is to use a POLYGON section or RGN80 as described in section 4 2 4 2 a Name file name Name of the ESRI file without extension This should be the full or relative path for the ESRI file without the extension which should be shp for files containing ESRI data END Section terminator 4 2 3 2 Dictionary DICTIONARY Level RGNnn bitmas amp Refer to section 4 5 on page 47 for details k bitmask gt mask used to show hide the objects END Section terminator 4 2 3 3 Highways This section will be further documented in a future version of this manual HIGHWAYS END Section terminator 4 2 3 4 ZIP Codes Although this section is obsolete it is still supported This section will be further documented in a future version of this manual ZIPCODES END Section terminator 4 2 3 5 Definitions amp Refe
20. 3 B 21 40 N 0 0 2999 2999 Warszawa Mazowieckie Polsk a Warszawa Mazowieckie Polska END RGN40 Where NumbersX index of point in the polyline 0 based left side numbering style first number on left side last number on left side right side numbering style first number on right side last number on right side left side zip code right side zip code left side city left side region left side country right side city right side region right side country ct ct Some of the information are optional if no zip code it can be replaced by 1 if no city region and country info also it can be replaced by 1 Numbersi 0 E 1 9 0 4 20 1 1 1 1 First 1 replaces zip code on left side second zip code on the right side then 1 replaces city region country info on left side and the last on the right side This is equivalent of Numbers1 20 E 1 9 0 4 20 Numbering style can be N E O B which suits to None Even Odd Both 4 2 7 Special codes for object labels It is possible to use some special codes for labialisation of the objects in the map these special codes are responsible for both adding graphics around the label and special behaviour of the label Special codes are different for 6 bit and 8 bit coding for which LBLcoding parameter is responsible http cgpsmapper com 32 of 130 cGPSm
21. 37 387 29 38 26 37 Dictionary 18 47 MUSING eoe na 48 DirIndicator 25 Document Conventions 5 DoubleLights 30 42 DoubleLightsHorizontal 30 42 DrawPriortty 14 Driving ted eder dea 15 E Citi scit Par end qasa 17 Elevation eem 30 33 EndLevel 22 24 25 26 35 us Cod tS aL NL 101 Exists valid exit facility types 105 PNA u auqa qq ashuy 58 EIU D ota ua 21 EX 105 FacilityPoint 30 42 FID ER 89 File unata aaa n a 30 Jo x 24 25 FileName D a ee deed bein 88 files shipped with cGPSmapper 125 FoundationColor 29 38 G Gas SLatlOTIS s uero 98 Global unte ecc ua 65 Glos SOY o Ces 100 H sd 9 eibi petii taped testate 26 37 HeightAboveDatum 29 41 HeightAboveDatumUnAit 29 41 HeightAboveFoundation 29 41 HeightAboveFoundationUnit 29 41 HeightProfile
22. 6658 26 RadoBeco sd N 0x190 602 15 RadoBecn o N 0 802 646 24 sd N 0 1702 580 23 JjRadoBeaon N ox1602 s5634 2 RadoBecn 00 N 0x1B03 69155 27 Raon 0 N OxIAO 69 6 Raon O 000 N ox1903 63 25 Reo 00 N ox1803 64724 Rao N 0 1703 5904 23 Reo 0 0 00 N OxIA04 6660 26 DaybeaconredTriange Description mm Daybeacon Triangle __ Daybeacon Triangle __ Daybeacon Triangle N 10 1604 166 2 2 N 0 1805 607 27 http cgpsmapper com 112 of 130 Daybeacon red Triangle Daybeacon green Square cGPSmapper Manual Code Filter Find Decimal Dec GPS N OxIA05 66600 26 Daybeacon green Square N 0 1905 6405 25 green Square N 0 1805 6149 24 Daybeacon green Square N 0 1705 159 3 Daybeacon green Square N 0 1605 s637 2 DaybeacongrenSqure N 0x1B06 6918 27 Daybeacon white Diamond N ox1ao6 6662 26 Daybeacon white Diamond 0 1906 606 25 Daybeacon white Diamond 0 1806 6150 4 Daybeacon white Diamond 0 1706 5944 23 white Diamond N 0x1606 5638 22 Daybeacon white Diamond N ox B07 6919 7 unltNavad white
23. 8 File FILE Lists other PFM files to be included in the current compilation name file name Name of a PFM file including extension to be processed in the current compilation The compiler processes all the objects and sections in the specified file as if they were part of the current file The file included may contain any section but the IMG ID section You may specify either the full path or the path relative to the current directory END Section terminator 4 2 5 Object elevation By default the elevation is defined in feet in PFM To define the elevation in metres the Elevation m statement should be defined the header section 4 7 refer to section 4 2 1 on page 9 Since this is a global definition all elevations on a map must be in the same units either all in feet or all in metres Elevation can be specified for POI objects like summit Type 0x6616 and depth height points Types 0x6200 to 0x6600 as well as for polyline objects like land depth contours Types 0x20 to 0x25 http cgpsmapper com 30 of 130 cGPSmapper Manual Whenever POI label starts with numbers or numbers are placed after 0x1 f separator they are treated as elevation and might be converted depends of Elevation setting in the header The elevation is entered in the label field of the objects The following code extract defines a height point with elevation of 668 m assuming Elevat ion m is defined in th
24. Default N http cgpsmapper com 22 of 130 cGPSmapper Manual END 4 2 4 3 Polyline POLYLINE Type object type S Marine x Label object name Label2 20bject name EndLevel Data lati lonl 1352 162 sos DirIndicator x instead Object data for layer amp Refer to section 4 4 on page 42 for details Coordinates are in degrees using the datum defined in the header or default Normally there will be more than one data line for each level The exception is when creating a polygon with holes in it Holes in polygons are used to represent islands in lakes or seas clearings in woods etc amp Refer to section 10 6 for information on creating polygons with holes Section terminator Polyline section identifier RGN40 may also be used instead It is used to define linear objects such as streets streams etc amp Refer to section 4 2 4 1 on page 19 for details SubType defines the second byte of the Type value The type of element can be defined either by using the Type key only or by using the Type and SubType keys Example Type 0x0211 can be also written as Type 0x02 SubType 0x11 Indicates if the object is extended marine type gt Nor 0 gt standard type gt Yor 1 gt extended type Default N amp Refer to section 4 2 4 1 on page 19 for details Secondary name of the object only applies to roads amp Ref
25. However GPSMapEdit uses special syntax of comments to specify attachments and such comments are interpreted by GPSMapEdit http cgpsmapper com 8 of 130 cGPSmapper Manual Section Type Body Objects Identifier s POI POLYLINE POLYGON PLT The header section is mandatory and must appear as the first section in the source file other sections are optional Declaration and advanced sections if any must appear after the header section in the order specified here These sections cannot be repeated Objects must appear after declaration and advanced sections 1f any may be in any order and may be repeated as many times as necessary The order of statements in the section body i e between the section keyword statement and the END statement is insignificant 4 2 1 Header IMG ID Name map name LBLcoding x Section identifier Unique identifier up to 8 decimal digits for the map May be only written in a decimal format 11000204 Map name to be displayed in the GPS receiver s Map Info menu 67 Refer to section 10 1 on page 95 for details 80 characters maximum gt 6 gt compressed label coding smallest maps gt 9 gt full byte 8 bit coding supports national characters depending on the GPS firmware gt 102 Unicode MBCS depending on the GPS firmware Default 6 http cgpsmapper com 9 of 130 cGPSmapper Manual Codepa
26. Rafael Goya Delta RioPla Chttp mzalbo n et RioPla www mzalba nei D elta RioPla Chttp mzalba net http cgpsmapper com 96 of 130 cGPSmapper Manual 2 Activation Deactivation of the GPS base map Loaded maps usually have more detail of the zone than the base map which comes from the factory with the GPS Some GPS models allow you to deactivate the base map in the GPS so that zoom levels do not mix up with the other loaded maps Depending on the GPS model this is done via the option Basemap in the Map tab in the Setup Map menu which can be accessed by pressing the key Menu once in the map page 2 dieu wW General 7 Waypoin A DE LAS FAMAE SS IO x Show Data Fields Measure Distance Show Next Street amp Refer to section 4 2 4 1 on page 19 for details 10 3 Saving Objects as RGNx0 vs POI POLYGON POLYLINE 10 3 1 Equivalences Notation 1 Notation 2 POI 1 POI City N or no city key RGN10 END POI covers both RGN10 and RGN20 The difference is made with the City y key 10 3 2 Impact of saving objects in one format or the other There is no impact POI POLYGON POLYLINE are more understandable to the human reader 10 3 3 Preferred method There is no preferred method http cgpsmapper com 97 of 130 cGPSmapper Manual 10 4 Relationship between levels in the detail maps and the preview maps T
27. Second type of restriction cGPSmapper can handle at the moment is a restriction composed from 3 roads Such restriction will forbid route which will follow only exactly the forbidden definition RESTRICT TraffPoints 25009 25008 16968 16967 TraffRoads 532674 520763 520763 END RESTRICT Above definition will not allow creating a route going through roads 532674 520763 passing by nod 25009 520763 passing by nod 16968 and ending at node 16967 It will not of course forbid using a short cut of road 520762 http cgpsmapper com 56 of 130 cGPSmapper Manual Restrictions similar to roads can apply only to certain vehicle types RESTRICT Restriction section identifier IraffPoints NodeID List of NodelD points composing the restrictions Can be 3 l1 NodeID2 NodeID3 points or 4 points IraffRoads RoadIDl ListofRoadID values composing the single restriction Can 2 be 2 or3 roads depending or restriction type RestrParam restric Optional defines vehicles to which apply the restriction tion parameter def Thisisalist of comma separated Boolean values 0 1 By default restrictions apply to all kind of vehicles if RestrParam is used then restriction will be ignored by specified types of vehicles Emergency delivery car bus taxi pedestrian bicycl e truck Example RestrParam 0 1 1 0 Above definition will set the restriction
28. Set Name Map Set Name Test 10 Area My Map Set Name Size 11 ersion CD Set Name My CD Set Name US Topo Alaska 301 US Topo East 201 US Topo Hawai 301 Garmin Corporation 1995 2002 Garmin Corporation 1995 2002 Garmin Corporation 1985 2002 amp GARMIN c 1999 2003 Garmin Ltd or its subsidiaries Test 80 v1 mp Notepad TestMap_py txt Notepad MER Edt Format View Help IMG ID ID 12291080 ame Test Map 80 Preprocess F 000 510 1 53 Productcode 14 apsourceName My Mapsource Name Date map was loaded into the GPS Unit Levell is Zoom 3 zoom1 4 Zoom4 4 END IMG ID End Map Figure 4 How name variables are shown 10 2 Activation of maps in the GPS 1 Activation of the map s in the GPS If the map image is not shown in the GPS check that the map is selected to be shown The method for doing this depends on the GPS model For example you may find it on the MapSource Info screen accessed from the unit s main menu or on the information page of the Setup Map screen Consult your unit s documentation to find out how to access this screen display MapSource Info CORDOBACS30 35 W60 65 BUENOS AIRES 4663 530 35 Oct 2004 Show Map Name Cordoba 30 35 Buenos Aires 4663 fisuncion S25 30 I IRioPla www mzalb San
29. Then the map is compiled with the cGPSmapper compiler and the resulting img file is uploaded using sendmap or MapSource The PFM format is described section 4 2 PFM syntax Description on page 8 When you have finished your map or at any time during the map creation process you may preview it on the computer screen Some software packages allow you to preview PFM format files directly Alternatively you can compile it and preview the resultant img file using MapSource Finally the img file may be uploaded to your GPS 4 2 PFM syntax Description A PFM format file contains comment lines and statements Blank lines are also permitted A comment line starts with the character Comment lines and blank lines may appear at anywhere in the file and are ignored by the compiler Statements are grouped into sections Sections are identified with a section name enclosed between and finish with an END identifier PFM syntax for preview control file used when generating preview file TDB file and index files MDR and MDX are described at section 9 4 on page 87 END section identifier can also be used to finish a section E g IMG ID END IMG ID instead of IMG END The following types of sections exist Section Type Identifier s IMG ID Declarations Advanced DICTIONARY Declarations BACKGROUND HIGHWAYS ZIPCODES DEFINITIONS
30. as it is strongly recommended to not to use space character Example FileName MyMaps The Product name This field is not displayed on the GPS unit This field is displayed on the product menu bar and product menu in the MapSource software The Area name This field is the second field displayed on the GPS unit under the Map Information section It is displayed in the MapSource software on the maps tab when the map 15 selected and in the Map Properties window The CD Set Name This field is not displayed on the GPS unit This field is displayed in the MapSource software when displaying the Product Information http cgpsmapper com 88 of 130 cGPSmapper Manual MapVersion nnn 2 CodePage nnn Lb1lCoding n Product Code n The software version of the CDSetName This field is not displayed on the GPS unit This field is displayed in the MapSource software when displaying the Product Information It will be displayed as n nn For example MapVersion 153 will be displayed as Data Version 1 53 This field can only contain numeric characters and must be three characters long i e 000 through 999 The first line of the copyright text associated with the CDSetName This field is not displayed on the GPS unit This field is displayed in the MapSource software when displaying the Product Information If you wish to include a copyright symbol in your tex
31. column represented with Bg it indicates that the element is only valid when either gt gt inthe IMG ID section there is a definition Marine Y gt inthe element definition section POI POLYLINE POLYGON there is a definition Marine Y 12 3 1 POI types Code Filter Find Decimal Dec GPS N 0 0100 0 0500 256 1280 1 5 City name Point fat big 0 0600 0 0 00 1536 2560 6 10 bi 0 0 00 2816 1 jCitname Pontsmal N oxocoo 13072 12 City name Point smal N 0 328 jCiyname Pontsmal N 0 0 00 0 1100 3584 4352 14 17 7 City name Point big 0x1400 0x153F 5120 5439 2021 Region name no Point big N 0x1E00 0x1E3F 7680 7743 30 Region name no Point middle N 0x2000 0x203F 8192 8255 32 Exit o 1 1 11 1 N OOI0F s463 33 jExit Sevie o o 0x2100 0x213F 8448 8511 33 Exit with facilities N 0x2200 0x223F 8704 8767 34 Exit Resroom N 0 2300 0 233 8960 9003 35 j Exit ConvenienceStore N 0x2400 0x243F 9216 0279 36 Exit WeightStaion N 0x2500 0x253F 9472 9535 37 N 0 2600 0 263 9728 9791 38 Exit Informtion N 0x2700 0x273F 9984 10047 39 sf Exit
32. given device Special registration of cGPSmapper is required Locked IMG contains some portion of the data crypt this data is used by the device to decide whether the end user pose rights to use the map or not Locking base on using several user defined values some of them cannot be changed while some of them can Each IMG file is locked using 3 values FID Family ID value unique identifier for map creator FID value is hard coded into the cGPSmapper registration to ensure that each map creator is using unique value Some registrations are holding range of allowed FID values then this value has to be defined in the header of map Product Code Unique value for product identification maximum allowed value is 60 therefore map creator can create up to 60 separate products Region Code Each product can consist from several separate regions There could be up to 255 regions within single product each region can have its own unlock code as well as it is possible to generate universal unlock key for every region within a product It is worth to note that single map set can be build from several different regions allowing to unlock only specific part of the whole map In order to use map in device it is necessary to use 4 value GPS ID of the device This ensure that each sold copy of the map requires unique unlock key GPS ID value can be usually found in GPS menu under system entry It is not possible to u
33. in the lowest numbered Dat a line apply up to the specified EndLevel http cgpsmapper com 19 of 130 cGPSmapper Manual Object data for layer amp Refer to section 4 4 on page 42 for details Coordinates are in degrees using the datum defined in the header or default StreetDesc xxx Applies to RGN10 only Address for the RGN10 object 80 characters maximum HouseNumber xxx Applies to RGN10 only House number for POI defined by the object 80 characters maximum Field is used to define POI address number Value should be defined as an integer number with eventual use of special codes which represent type of address Special Meaning how it is translated in GPS device sequence 0 1 APT 2 BLDG 3 DEPT 4 FL 5 RM 6 STE 7 UNIT Example HouseNumber 10 1103 This will be translated to 10 APT 103 OvernightParking x Applies to RGN10 only Indicates if 24 hr parking is allowed gt 0 gt Yor1 gt POL at the exit of a highway will have an overnight parking flag Default Highway xxx Applies to RGN10 only Name of the Highway This name will be added to the list of available highways so it can be searched in some GPS devices Garmin does not support this feature 80 characters maximum 1 Refer to section 4 2 1 on page 9 for further details http cgpsmapper com 20 of 130
34. lighted Navaid orange 0x1813 6163 24 lighted Navaid orange Find GPS Description lighted Navaid orange lighted Navaid orange lighted Navaid violet __ lighted Navaid violet __ lighted Navaid violet U lighted Navaid violet lighted Navaid violet lighted Navaid violet lighted Navaid blue lighted Navaid blue lighted Navaid blue lighted Navaid blue lighted Navaid blue lighted Navaid blue __ lighted Navaid multi coloured lighted Navaid multicoloured __ lighted Navaid multi coloured __ lighted Navaid multi coloured __ lighted Navaid multi coloured __ lighted Navaid multi coloured Ung C Light http cgpsmapper com 115 of 130 cGPSmapper Manual Code Filter Find Decimal Dec GPS Special purpose buo Platform buoy Port hand beacon 0xo00 768 3 iDepthpoint 00 Py oxo301 79 13 Depthpoitinvisibe 0 032 17013 N Depthpoint underscore Py 0035 7111 3 Spotheight sd http cgpsmapper com 116 of 130 Description cGPSmapper Manual Code Filter Find a Decimal Dec GPS 0 0600 156 6 000000 y oxo703 175 17 N JjyYachhabor v 0x07000 176 7 N Pe C O O 0 0705 77 7
35. lines 4 or RGN04 2 marine points Name of the field in the associated dbf file from which cGPSmapper will get the Label for each object Secondary name for roads Used in cases where you want a road to have a numeric ID and a name The secondary name of the road road number if highway for example is not visible in the GPS but is used when searching street by name Name of the field in the associated dbf file from which cGPSmapper will get the object type for each object The field_name field must contain a decimal or hexadecimal value representing the object type If both Default Type and TypeField are specified an error occurs but at least one of them must be specified amp Refer to section 4 4 on page 42 for details on the valid object types Name of the field in associated dbf file from which cGPSmapper will get the second byte of the object type this is an optional field because the object type canbe defined using only TypeField gt NorO0 gt Hide street direction on crossroads gt Yor 1 gt Show street direction on crossroads Default N Level into which objects will be imported amp Refer to section 4 4 on page 42 for details The coordinates from Leve1 line apply up to the specified EndLevel Decimal or hexadecimal value representing the object type to be applied when the TypeField is not specified If both Default Type and TypeField are specified an error occurs but at leas
36. of roads with highest versus other road class roads In ideal situation for usual mixed area with city and rural areas percentage of roads with specific road class should be Road Approximate number of class roads 4 7 10 20 0 60 80 av Road Class attribute is used as a main indicator for fastest route calculation 5 5 Speed attribute Second in importance of attributes used for routing calculation is speed attribute which is used for fastest route calculation Speed Speed attribute Comment class 128 km h _ 6 108km h Can be adjusted in MapSource 5 3 93km h Can be adjusted in MapSource 4 72kmh 7 Canbeadjstedin MapSource 3 56kmh Can be adjusted in MapSource 2 40kmh 1 1 j2kwh J 0 0 0 O O 8kmn This attribute is independent of the route class attribute http cgpsmapper com 53 of 130 cGPSmapper Manual 5 6 Routing attributes PMF Routing attributes of the road in MP text format RGN40 Label road 1 RoadID 520763 Data0 RouteParam 2 3 1 Nod1 3 25008 END RGN40 Route attributes are defined by a single key RouteParam Each attribute is separated by comma At lease first two values has to be defined rest of attributes is optional RouteParam speed road class one way toll denied emergency den ied delivery denied car denied bus denied taxi denied pedestr ain denied bicycle denied truck
37. of 130 Description cGPSmapper Manual Code Filter Find Decimal Dec GPS N Ox2FO2 1204 47 C N oxr03 12035 7 jCaRepi O N ox2F04 110 47 N 0 255 207 47 Ss Post Office NJ OoF0 6 20587 Bn SS O N 0x2F07 1209 47 j CarDealr pon N 0x2F08 12000 47 Ss Bus Station 0000 0 2069 21 47 Marina O N 0x2F0A 120022 47 N OGFOB 103 7 sd Parking 00000 N Ox2FOC 12044 17 Retoom 2 N OGFOD 1205 47 jAwuomobleClb N OGFOE 206 1 N Ox2FOF 12047 47 j GammnDeaer N ox2F10 1248 47 Personal Service o o PN ox2Fi1 1209 7 BusinessService 0 N 0x2F12 11200 47 N 0x2F13 12051 147 RepairService N 0x2F14 12052 47 SoilSevce _ N 02F15 12 47 Utility 050520 N ox2F16 12054 7 JjTrukLomyStp 00 N 0x3000 112288 48 Emergency Government N Ox300 2290 48 Police Station N 0Ox302 120 8 Bopita 1 O N 0x3003 1121 48 j PublicOffire N 0 3004 1292 0 3005 129 48 Concerthall point N 0 3006 7 24 48 poin 00 0 0 4000 0 403 16384 16447 64 Golf 00220 N 0x4100 0x413F 16640 16703 65 Fish N
38. region RGN40 Label road 1 CityName cityl city2 city3 RegionName regionl region2 CountryName country Data0 END RGN40 Above example shows how to use multi city and multi region configuration cGPSmapper will assign cityl to region and both city2 city3 to region2 Depreciated format with CityIdx is supported as well RGN40 Label road 1 CityIdx 203 Data0 END RGN40 So the road will belongs to both cities with index 2 and 3 6 5 Indexing with cpreview program Indexes for global search are prepared by cpreview external program Cpreview program accepts same preview control file as one used by cgpsmapper with command Cgpsmapper preview generation from now is considered as obsolete however still available As for indexing it is important that a proper sort order dependant of the codepage is used it is important that a proper codepage is defined in the control preview file http cgpsmapper com 66 of 130 cGPSmapper Manual MAP CodePage 1252 FID ProductCode ID The ID key defines map ID value of the preview IMG file Usually it has to be set to 1 For the meaning of rest of the keys please see next chapter Cpreview program should be used same as cgpsmapper from command line windows shell Cpreview pv txt Where pv txt is a control file for preview generation As the result following files will be gener
39. segment for routing points 003 Routable object cannot be uo DICTIONARY section be routable value is 1048575 008 Too short road to be routable coordinates were aligned to same place 010 No data for routing remove ROUTING Y from IMG for non routable maps closer than 5 4 meter existing point of the road existing NODID routable road is not permitted 12 2 Exits n n m n uJ 12 2 1 Valid exit facility types Mnemonic Description Truck Lorry Stop 24 hour Diesel Fuel With Restaurant HGV Diesel Fuel With Large Vehicle Clearance Fuel http cgpsmapper com 105 of 130 cGPSmapper Manual Mnemonic Description 12 2 2 Directions Mnemonic Description 12 2 3 Facilities Facilities be combined 1 facility with Car Wash Open 24 Hours is 0x48 Mnemonic Description Liquid Propane 12 3 cGPSmapper object types list The list below contains the map element types and their associated codes in both hexadecimal and decimal format This list is distributed with cGPSmapper in two formats a text file RGNtype txt and an Excel spreadsheet RGNtype xls Both of these files can be found in the cGPSmapper installation directory The Excel spreadsheet contains a graphical representation of many of the element types http cgpsmapper com 106 of 130 cGPSmapper Manual When a is present in the marine
40. taken then restriction apply to taxis If from defined field TRUE or larger than 0 value is taken then restriction apply to pedestrians If from defined field TRUE or larger than 0 value is taken then restriction apply only to bicycles If from defined field TRUE or larger than 0 value is taken then restriction apply only to trucks http cgpsmapper com 63 of 130 cGPSmapper Manual 6 National characters indexing Garmin map format allows to use several different character coding schema 6 bit coding which allow to use only basic character set 8 bit coding and 2 bytes coding There are however some important constrains when selecting coding schema 6 1 Codepages Only 8 bit coding and 2 byte coding allows to use specific codepages Map format allow to use following codepages Codepage Name 936 Simplified Chinese 950 Traditional Chinese 932 Japanes 949 Korean 874 Thai 1252 Western European 1251 Cyrilic 1256 Arabic 1257 Baltic 1250 Central Europe 1253 Greek 1254 Turkish 1255 Hebrew It is important to know however that the only codepage fully supported by all or most of receivers is 1252 Western European It is possible to use other codepages but then national characters may not be shown correctly The only fully supported codepage is 1252 Western European only with this codepage it is possible to use lowercase char
41. the Spot Soundings setting in the GPS receiver is set to Off Please note also that this setting affects also some of the objects mainly soundings they will not be displayed at all because they have no visual representation except the depth height value This is dangerous for navigation since very important information will be hidden from the chart There is also the Spot Soundings setting in Preferences of MapSource Applies only to following marine types as height depth Y polylines of types 0x0105 to 0x0107 0x03XX Y polygon of types 0x0105 to 0x0107 0x03XX points of types 0x03XX soundings building spot height points of types 0x04XX obstruction DepthUnit x Alias name for Height Unit Can not be present if Height Unit is present Allowed only when either Depth or Height is present HeightUnit x gt m gt metres gt f gt feet Default Elevation value from the IMG ID section Allowed only when either Depth or Height is present Position Position of the obstruction 0 gt unknown 1 gt empty 2 gt doubtful 3 gt existence doubtful 4 gt approximate 5 gt reported Applies only to following marine types points of types 0x04XX obstruction vy v Vv Vv Vv v http cepsmapper com 37 of 130 cGPSmapper Manual DepthFlag Depth info of the obstruction 0 gt empty no depth flag 1 gt unknown dangerous for navigation 2 gt awash at chart datum 3
42. the associated POI type using the XPM format For example L point 0 01 Dayxpm 16 16 2 1 c None MX c 000000 XXXXXXXXXXXXXXXX X X X X X X X X X x Large City lt X X X X X X X X X X X X X X XXXXXXXXXXXXXXXX end defines a daytime replacement image for POI type 0x01 Large city The rendered image will be a 16 pixel square rectangle with a 1 pixel black border and a transparent interior as shown in the rendering above Extended marine types can be customized using full 3 byte type definition Type 0x010402 wreck http cgpsmapper com 75 of 130 cGPSmapper Manual In addition you may also specify up to four language strings defining the default name for the POI category This is the name displayed when the cursor is over an unlabeled object For example n tringl 0x04 Large city 0x04 English tring2 0x08 Ciudad grande 0x08 Spanish n defines the string Large city when the GPSr is set for English and Ciudad grande when the GPSr is set for Spanish Refer to amp section 12 3 4 Custom types name substitution on page 122 for more information about supported language types Point bitmap definitions may be up to 24 x 24 pixels and 254 colors There may be different definitions for the daytime bitmap and the nighttime bitmap For nighttime definitions use
43. the selected grid may be too low to allow the desired tre region to be created The maximum size of any object strictly depends on the bit resolution For resolution 24 the maximum size 1 5 metre 65535 Similarly for resolution 23 the maximum size 3 meter 65535 This means that if the object is too big to fit into the given layer of the map the bit resolution of this layer needs to be decreased so the layer can accept bigger objects Zoom definition for layers must be ascending check Zoom keys in IMG ID E026 More than 65535 Tre regions were created in a single layer use bigger TRESIZE and RGNLIMIT or split your map E027 Timeout limit compilation Used only the Mapcenter special version interrupted because of the timeout set by administrator E028 Region and Country information defined by HIGHWAY is not consistent with definition of CITY value Name of the file for preview must be composed always from 8 digits o gt For the preview creation name 00000008 img is not permitted empty allowed E034 Not enough columns for XPM bitmap definition http cgpsmapper com 104 of 130 cGPSmapper Manual lt Code Warning Error Text Description Workaround E035 Wrong XPM bitmap definition E036 ID of map cannot be higher than 268435455 OxOFFFFFFF E037 City index beyond the number of defined cities i C Cannot find
44. to be applied for Emergency Bus Taxi Pedestrian and Bicycle Restriction will NOT apply for Delivery and Car Restriction can be defined using ONLY neighboring nodes there cannot be any additional nodes between 5 7 1 Restriction definition with ESRI format Restriction can be defined also in a single DBF file where all the parameters are stored To import them into the final IMG file in the MP text file import section has to be defined amp Refer to section 5 9 5 on page 61 Required DBF field names be found there 5 8 Road signs It is possible to define road sign information which is shown as a routing guideline during navigation This can include an information like exit number to be taken from the highway or additional direction information which usually can be found on real road signs e g direction toward a specific city Definition of the road sign in sense of logic is very similar to definition of restriction It is defined as 3 routing points and 2 RoadID roads http cgpsmapper com 57 of 130 cGPSmapper Manual SIGN Sign section identifier SignPoints NodeIDi1 List of NodeID points composing the road sign Road sign NodeID2 NodeID3 will be defined only for route which will go through routing points in the same order as defined in the list SignRoads RoadID1 List of RoadID values composing the road sign Road sign RoadID2 will be defined only for route which will go throu
45. using an integer value called the Hardware Zoom Level Hardware zoom levels are in the range 1 24 Note that there isn t a precise one to one mapping between the hardware zoom levels and all possible device zoom settings The hardware zoom level is simply a guide Hardware zoom level 24 represents the most detailed map levels on the device Each successively lower zoom level number maps onto twice the map scale of the previous number The approximate mapping of hardware zoom levels onto actual device zoom settings is shown in the table below Note that this 15 only approximate The matching of levels to Garmin display zoom levels is unfortunately not an exact science Level GPS Equivalent Metric GPS Equivalent Imperial Up to 500ft 3 mi 800m to 1 2km 0 8 miles to 1 2 miles 1 eTrex series Other models may vary 7 As previously indicated the map level settings dictate the level at which objects visible assuming the GPS user has their unit s map detail level set to Normal http cgpsmapper com 43 of 130 cGPSmapper Manual Level GPS Equivalent Metric GPS Equivalent Imperial 2 miles to 3 miles The principle of doubling the map scale for each successive zoom number continues beyond level 12 but lower hardware zoom levels are not really useful Zoom level 12 represents the most zoomed out setting for current Garmin devices The hardware zoom levels described above are only ever referred to
46. will stop after an error occurs it will not stop when a warning message occurs This section will be further documented in a future version of this manual Code Warning Error Text Description Workaround W001 Could not open include file No zip codes file defined W003 No highways file defined 004 Cannot determine type of element type cannot be defined before RGNTYPE RGN10 element 007 Wrong coordinates E g incorrectly separated coordinates like eem degrees RGNTYPE is not defined depreciated RGNTYPE is not defined 013 014 small RGNLIMIT derives in the creation ofa smaller than 500 bigger map with no gain in speed TRESIZE larger than 5000 When the TreSize value in IMG ID is too big the TRESIZE is fixed i e the resulting map IMG file renders more and more TRESIZE is automatically slowly on a GPS receiver This value should never changed to 5000 be higher than 5000 If the value is larger than 5000 it is internally changed to 5000 and the warning is shown Note that for a preview map this warning won t be shown There is a new key in IMG ID to specify that a preview map is created Preview Y 016 017 http cgpsmapper com 101 of 130 i Ki a cGPSmapper Manual V Code Warning Error Text Description Workaround kg ID of map should be larger than 0x10000 6
47. within the enclosing polygon For example here is a definition of a simple wood containing a clearing http cgpsmapper com 98 of 130 cGPSmapper Manual RGN80 Type 80 Label Some Wood Levels 3 Data0 2 52 636651 2 189029 52 844893 4 709805 51 465289 5 707034 49 799352 4 128087 50 033624 2 853849 51 283077 1 524209 Data0 51 595440 2 604541 52 272227 3 961882 50 762472 4 405095 50 710411 3 906480 END http cgpsmapper com 99 of 130 cGPSmapper Manual 11 Glossary This section will be further documented in a future version of this manual Term Definition Vector Map C C UKU j cGPSmapper Map compiler psendmap SO PFM Polish Format is a convenient text based format used for saving map information on a computer and transferring map information between computer programs Polish format map files cannot be sent directly to a GPS unit First they must be converted into a format which is understandable to your GPS receiver A program that performs this conversion is called a map compiler http cgpsmapper com 100 of 130 cGPSmapper Manual 12 Appendices 12 1 cGPSmapper compilation Errors and Warnings The table below contains a list of the different errors and warnings that could occur at compilation time Codes starting with either E or R apply only to routable maps Codes starting with W are warnings Although the compilation
48. 00 44 N 02C0 1 2014 Park O N 0 2 07 a Zo O PN 0x2c08 11272 44 Sportspark Stadium point N o2co X 1273 4 Fair Conference poin N O2COA 124 44 J jVineyad Winery pon N OxOCOB 11275 44 Place of Worship N o2coc 126 44 ot Spring N O2DO 11321 45 Theatre 0 2027 1 152 js Bar N O2D0O 153 45 Cima O O N 0x2D04 154 45 Casino N o2Do 1195 45 Gof O N o2D06 156 4 SkiCentre 000204 N Ox2D07 1527 45 Bowling 00 N O2DOS 198 4 o oZ o N 0x2D09 159 45 Swimming 1 2 180 5 jSpots pin O o O N O2DOB i11331 45 _ Sport Aiport 0 2 01 177 46 Department Store 0 2802 1178 46 Grocery 000020 N 0x2E03 179 46 General Merchandiser N 0x2E04 1180 46 ShoppngCenre 0 2805 171 61 Pharmacy N 0x2E06 1 1172 46 Convenience Store N OGEOU7 1497 Apparel _ O N O3EOS 174 6 HowseandGarden N OE0 1175 46 Home Furnishing N 2 0 117866 6 O O o o N 0x2E0o 1747 46 Compute Softwre N 0x2F00 12032 47 Generic Service 000 N ox2F0 _ 7 04 http cgpsmapper com 108
49. 000 N 07 6663 26 unitNavad white 00 N 0x1907 6407 25 unltNavaid whte N Oxis7 1651 24 unnitNavad N ox1707 585 23 unltNavad white N 0x1607 56399 2 unlitNavaid white N OoiBO 690 27 J unitNavaid red OZ Oo N OxlAOS 6664 26 unltNavaidjred N Oxi9088 608 5 JQunitNavaid red oOo N Oxiso8 amp 62 24 junitNavad red O O Oo N 0 1708 15906 23 unltNavaidored o N OxicO8 540 22 JunitNavad red OZ Oo 0 1809 691 27 unitNavad green O o N OxIA09 6665 26 wlitNavaid green N 0 19099 649 25 un ltNavad green N 0 1809 6153 24 unltNavad green N Oxi79 597 23 00 0 N 0 1609 15641 22 green 00 0 N OxIBOA 1692 27 unltNavaid N OxIAOA 666 26 black N OxI9A 1640 25 black O N oxisoa 6154 24 N OxI7OA 588 23 black O o 0 160 5642 22 black _ 16923 27 yelloworamber N OxIAOB 660 26 unlitNavaid yellow oramber N 0x1908 641 X 25 unlitNavaid yellow oramber N OxISOB 6155
50. 0350 Qu 124 12 5 CGPSMAPPER FILES OSC ree sted sav eet 125 13 INDEX AND TABLES 2 20 na G ua aa uq ease sassa dona pee e Paso cina 126 13 1 5 62540020 oett au Eee Pe S 126 132 126 13 3 INDEX Rete Ten NT ER EE RES 127 http cgpsmapper com 4 of 130 cGPSmapper Manual 2 Introduction The latest version of this document can be found at http www cgpsmapper com Feel free to e mail your comments contributions to the present document to manual cgpsmapper com 2 1 Purpose of this document This manual explains how to create vector maps and then upload them to your Garmin GPS receiver or see them in the MapSource software utilizing the cGPSmapper sendmap software 9 2 2 Basic Concepts 2 2 1 What is Polish Format Polish Format is a convenient text based format used for saving map information on a computer and transferring map information between computer programs Polish format map files cannot be sent directly to a GPS unit First they must be converted into a format which is understandable to your GPS receiver A program which performs this conversion is called a map compiler 2 2 2 What is cGPSmapper cGPSmapper is a command line program which compiles files in polish format PFM and produces a vector map in file s of a format understa
51. 15 4 2 2 3 16 42 2 4 Chart Info icone o pe deba ide i ees 16 4 2 3 Advanced Declar ons eite v evisos e 18 4 2 3 1 Background EE 18 4 2 3 2 Dictionary 2 535 A cce d ote edd vedette 18 4 2 3 3 TIVO WAYS PEE 18 4 2 3 4 ZIP Codes ng 18 4 2 3 5 Definitions ua a m 18 4 2 4 Objects kausa 18 4 2 41 Point of Interest aote B ODER RI Ig 19 4 2 4 2 lamp cates 21 4 2 4 3 Polyliti dli etae Hie e e oder D d e de C eR alu d e ER 23 4 2 4 4 Point of Interest from OziExplorer esses eere 24 4 2 4 5 Polyline or Polygon from 2 0 2 2 100000000000000000000000005000000050 etre enne 25 4 2 4 6 SHAPES CHEM m 25 4 2 4 7 Mapbekode file nda utin Wie petendi Kasten tec dee edes 30 4 2 4 8 i l SGS 30 4 2 5 30 4 2 6 Road numb rs xo IR ate eite eats 31 4 2 7 Special codes for object labels 32 4 3 MARINE CHARTS PIE 34 4 4 PEVEDSS SR et DEu
52. 24 unlitNavaid yelloworamber N OxI70OB 5899 23 unlit Navaid yellow oramber N OxIcOB 543 2 unlitNavaid yelloworamber 64 27 unitNavadjornge O http cgpsmapper com 113 of 130 Description cGPSmapper Manual Code Filter Find Decimal Dec GPS N OxIAOC 6668 26 unltNavaidorang N Ooi9O 642 25 unitNavaiorange N OxiSOC 66 4 untNavaiorange N 0 170 lt 1500 23 unlit Navaid orange N OxicOC 54 2 orange o N OxIBOD 6925 27__ unliNavaid multi coloured N OxIAOD 6669 unlitNavaid multicoloured N ox190 643 25 unlitNavaid multicoloured N OxiSOD 6157 24 unlitNavaid multi coloured N 0 70 s9091 23 unlitNavaid multicoloured N 0x160D_ 5645 _ 22 unlit Navaid multi coloured N OXIBOE 696 7 unknown N OxXIAOE 60 26 unknown N OxI9OE 64314 25 Navaid unknown N OxISOEE 68 41 unknown N oxi70E 92 23 unknown N 0x160E 56046 2 Navaidunknown Nur ca qr N OxIAOF 6671 26 lighted Navaid white N oxi90F 4d5 25 lightedNavaid white N oxis0F 159 24 l
53. 5536 or may not work in MapSource W019 More than ONE background This error means that more than object defined switching to BACKGROUND object is defined Defining full manual background more than one background object is not creation mode recommended W020 Object has more than 255 nodes it is allowed only for the PREVIEW map did you forget to add Preview Y in IMG ID W021 Missing DRAWORDER section polygons may not be visible Ben between 0 and 31 W023 Wrong index information Each city which is intended to be used as attribute Search by city region for POI or road must has its representation as object country will NOT work RGN20 object otherwise index for search functionality will not work be 0 Eines country name definitions Gas Field in DEFINITIONS L region name definitions O Field in DEFINITIONS E005 Invalid name for Region DEFINITIONS E006 Could not open file with city DEFINITIONS misis Idx in DEFINITIONS Field DEFINITIONS E010 Invalid name for Highway Region Idx in DEFINITIONS http cgpsmapper com 102 of 130 cGPSmapper Manual lt Code Warning Error Text Description Workaround Field in DEFINITIONS COUNTRIES REGIONS CITIES tri ZIPCODES E016 Invalid sequ
54. 808 Nighttime border color When describing lines using LineWidth and BorderWidth note that the color declarations use a different format The first character represents either daytime interior 1 daytime border 2 nighttime interior 3 or nighttime border 4 As with POIs and polygons you may use up to four language substitution strings for the generic type description http cgpsmapper com 78 of 130 cGPSmapper Manual Line declaration method 2 Describe a bitmap using XPM line Type 0x0a Xpm 32 5 4 1 505050 none 3 585858 712345678901234567890123456789012 stringl 0x04 Unpaved string2 0x08 Camino revistida end The first line of the xpm declaration indicates a definition 32 pixels wide 5 pixels tall with 4 colors using character for the pixel representations in the bitmap This declaration uses a transparent background represented by the space character in the ASCII bitmap In the image above notice that the transparency reveals whatever texture is underneath the line _polygon Definitions Polygon definitions are limited to 32x32 xpm bitmaps using using 2 colors each for the daytime and nighttime definitions They are tiled when rendered http cgpsmapper com 79 of 130 cGPSmapper Manual In this screen capture from a Garmin n vi four polygon types are shown The one on the left is a custom definition described below and the followi
55. 9 gt long flashing 0x0a gt group long flashing 0 05 gt Morse letter see above 0 gt quick 0 gt group quick 0x0e gt group quick and long flashing 0x0f gt interrupted quick 0x10 gt very quick Ox11 gt group very quick 0x12 gt group very quick and long flashing 0x13 gt interrupted very quick 0x14 gt ultra quick 0x15 gt interrupted ultra quick 0x16 gt fixed and occulting 0x17 gt fixed and group occulting 0x18 gt fixed and isophase 0x19 gt fixed and flashing Oxla gt fixed and group flashing Ox1b gt fixed and long flashing Oxlc gt alternating Oxld gt alternating occulting Oxle gt alternating flashing Ox1f gt alternating group flashing Applies only to following marine types Y points of types 0 01 and 0x02XX Text visible in the properties window of the object Applies only to following marine types Y points of types 0 01 and 0x02XX http cgpsmapper com 40 of 130 hy aa hy hy hy a cGPSmapper Manual LocalDesignator xx x InternationalDesig nator xxx HeightAboveFoundat HeightAboveDatum HeightAboveFoundat ionUnit HeightAboveDatumUn Racon x Text visible in the properties window of the object Applies only to following marine types Y points of types 0 01 and 0x02XX Text visible in the properties window of the o
56. IMG files In the example above files 10002011 10002012 10002013 belongs to region ID 1 with name region1 File 10003011 belongs to region ID 2 with region name region2 It is important to ensure that region ID and product code values are consistent with IMG files itself as during creation of the IMG file in the IMG ID such values are defined Failure to do so will result in not working mapsets http cgpsmapper com 70 of 130 cGPSmapper Manual 7 5 Unlock codes Along with cGPSmapper there is another program cGPSmapperKey which is used to generate unlock codes for products Program can work in a batch mode or user enter mode To check how it can work in a batch mode just start the program and examine the help screen To generate unlock key following information needs to be provided FID ProductCode RegionID GPSID Expiration date 1 exist Note RegionID to generate universal unlock code working for every region within a given Poduct Code put 0 Note on Expiration date if unlock code shall not expire then put 0 7 6 Unlocking maps on SD card Second method of unlocking maps is to distribute them on SD memory cards with GMAPSUPP UNL file Whole process of distributing maps should be similar create locked detailed IMG files prepare appropriate preview files and at the end creation of GMAPSUPP IMG file This file should be then placed in GARMIN folder at SD
57. Nightxpm If you do not plan to use Nightxpm itis better to use xpm fora single bitmap definition which will be used in both day and night modes The first line of the definition describes the bitmap dimensions number of colors and number of ASCII characters used to represent each pixel We will use the following simple definition to describe the individual parts of the definition point 0 01 Dayxpm 4 4 2 1 X c 000000 XXXX X X X X XXXX end Dayxpm 4 4 2 1 declares that the definition is 4 pixels wide x 4 pixels tall with 2 defined colors and 1 character representing each pixel in the bitmap Bitmap colors are defined using hex RGB values Each color should be declared explicitly cGPSmapper does not support reserved literals representing standard colors The only literal allowed is None for transparent pixels 2 c None Special declaration for transparent color NX c 000000 Black The first character is the ASCII character used to represent the associated color in the bitmap In this example we are using a space to represent transparent pixels and an X to represent black pixels Next is a tab then the letter which indicates a color definition followed by a space then the hex RGB color value http cgpsmapper com 76 of 130 cGPSmapper Manual Following the color declarations is the bitmap descr
58. SOFTWARE Garmin MapSource Products http cgpsmapper com 91 of 130 cGPSmapper Manual Where is the unique product ID and must correlate with the number you specified with ProductCode i4f in your mypv mp file The 3 entries are e Tdb the name of the tdb file Bmap the name of the preview img file e Loc the directory where the detail img files are stored An example registry file REGEDIT4 HKEY_LOCAL_MACHINE SOFTWARE Garmin MapSource Products 6 67 Loc D maps garmin NZ Topo Bmap D maps garmin NZ Topo NZTopo img Tdb D maps garmin NZ Topo NZTopo tdb You only need to do this registration once for each product that you create As you edit or create more detail maps and or update your preview maps as long as they stay in the same place on your disk you do not need to do anything to your registry http cgpsmapper com 92 of 130 cGPSmapper Manual 9 6 Loading the maps into the GPS 1 Choose the map s Once in MapSource the map s to be loaded in the GPS must be chosen first This is done via any of the following methods Under Switch to Product in the View menu view Tools Utilities Help Selected Item Ctr D Go To Position Ctrl T Zocm In Zocm Out Zocm Ctrl Zocm Out Region Ctrl Hide GPS Map Detail Ctrl G Shcw Crosshair Ctrl H Swi ch to Product Americas BlueCrart v4 00 Chan
59. Smapper Corrections Changes Codepages Added DEFINITIONS section description Routing description 13 3 Index drawOrdetr 72 M n 72 line esso SERLO 78 75 79 CHART INFO 16 16 COUNTRIES ua Peer 15 DEFINITIONS es 61 DICTIONARY 18 48 FILE RE 30 FILES 87 91 IMG ID mcm 9 MAP hna 87 88 vm EMI 25 PON 19 TU E 107 POLYGON EUN E 21 YPES MEC TM 119 POLYLINE 23 117 REGIONS 15 RESTRICT osi n trs 57 RGN cerrota auaa See POT See POT RGN40 5 2959 See POLYLINE See POLYGON RGNx0 97 SHP 25 SIGN amanta 58 WP 24 65 Addressing 31 PSO sacos ent Don Sur 14 Appendices 101 Background 18 22 BlockSize 14 ovp mx ASIA 78 61 Bound point 55 61 CDSetN
60. Speed Road class One way Toll Denied emergency Denied delivery Denied car Denied bus Denied taxi Speed attribute Road class attribute gt 0 gt both directions allowed gt 1 one way road direction from beginning to end is allowed only Default 0 gt 02 normal gt toll road Default 0 gt 0 2 normal gt 1 gt emergency car cannot use road Default 0 gt 0 2 normal gt 1 gt delivery car cannot use road Default 0 gt 0 2 normal gt 1 5 use road Default 0 gt 0 2 normal gt 1 gt bus cannot use road Default 0 gt 02 normal gt 1 gt taxi cannot use road Default 0 http cgpsmapper com 54 of 130 cGPSmapper Manual Denied pedestrian gt 0 normal gt 1 gt pedestrian cannot use road Default 0 Denied bicycle gt 0 2 normal gt 1 gt bicycle cannot use road Default 0 Denied truck gt 0 normal gt 1 gt truck cannot use road Default 0 For definition of connection as it was written already Nod key is used For each connection separate key is used RGN40 Label road 1 RoadID 520763 Data0 RouteParam 2 3 1 Nod1 3 25008 Nod2 4 26005 Nod3 8 99330 END RGN40 NodX point index NodeID bound Point index Index of the point in line definition Starting point has index 0 NodeID Index of virtual routing point NodeID Bound gt 0 gt
61. TAIL MAP 43 FIGURE 2 MORE DETAIL MAP 6 eene nmenen seen nennt netten nennen enn 43 FIGURE 3 MAP DETAIL SETUP uuu u a reet eee rer 47 FIGURE 4 HOW NAME VARIABLES ARE SHOWN 4 4 44002 0 6000 000000000000 96 13 2 Version Control Log Ver Date Edited by Section Changes 2005 04 01 Zalba Initial Release 1 1 2005 04 04 H Scheffler 2 4 Removed some author names as requested 2 0 2005 07 08 M Zalba Added marine documentation and updated ESRI documentation 4 2 PFM syntax Description Added CHART INFO section to the end of the Declarations section 4 2 1 Header Marine element added DrawPriority element added 4 2 2 4 Chart Info New section 4 2 4 1 SubType element added to Points of 4 2 4 2 Interest Polygons and Polylines 4 2 4 3 Section updated New section cGPSmapper compilation Errors and Warnings 3 8 1 Changed W014 Added R010 R011 R012 8 3 cGPSmapper object types list Note about the marine objects added 8 3 1 Marine objects and their description 8 3 2 added 8 3 3 Find GPS feature added 8 4 cGPSmapper versions Marine version added 2 1 2006 10 10 G Rikker Custom TYP file http cgpsmapper com 126 of 130 cGPSmapper Manual Ver Date 2006 12 01 Edited by S Kozicki Section Locking with cGP
62. acters Codepage 1252 1s the only one that allows using full character set including lowercase characters No other codepage is capable to show lowercase characters While using any other codepage in the input MP file all labels should be uppercase or they will not be correctly presented in receiver amp For every codepage except 1252 All labels must be written in CAPITALS 6 2 Indexing http cgpsmapper com 64 of 130 cGPSmapper Manual With certain versions of cGPSmapper it is possible to create indexes that allow searching for certain POI city or road With more advanced version it is possible to create global index which collect information from several separate IMG files When creating global index it is possible to index in a simply way whole labels or multi body if label consist of more than one word each word is indexed separately amp 6 bit coding does not allow to create multi body indexes At the moment cGPSmapper starting from version 0 94 is capable to create maps which handles correctly for indexing only following codepages Codepage Name 1252 Western European 1251 Cyrilic 1256 Arabic 1257 Baltic 1250 Central Europe More codepages will be implemented in the future 6 3 Preparing maps for indexing When maps are indented to support find functionality by city name region and country it is very important to use consistent infor
63. ads assigning route class value to roads does this Meaning of this attribute is importance of the road for routing which usually follow type of the road but not necessary Road network should never be broken network of most important roads which are defined by road class attribute cannot be broken with lower class attributes insertion or route calculation will fail 5 2 General remarks When preparing routable maps following rules should be followed gt IMG file should be created with Level 0 equal to 24 otherwise distance calculation might be wrong gt A street cannot intersect itself i e a roundabout from one object is not possible as it has common begin with end gt The minimal distance between Node ID points is 5 4 meters When preparing routable preview map what is required when mapset is composed from more than one IMG file if routing has to work properly under MapSource software gt Roundabouts are not permitted gt Any 2 different streets cannot be connected to each other by both sides gt The minimal distance between NodeID points is 10 meters Neither CGPSmapper nor cpreview generates automatically routable preview IMG or MP amp incase cpreview file Such routable preview map has to be created manually MP file generated by cpreview program can be used as initial step 5 3 Concept of input data The idea of preparing routable data for cGPSmapper base on network of ro
64. ads where each road can be defined by its ID number RoadID and virtual set of connection points nod points where each such node is having its unique ID value NodeID Whenever any two points of roads are sharing same NodeID value cGPSmapper will make a connection between these roads at given points http cgpsmapper com 51 of 130 cGPSmapper Manual 16967 NodelD 25010 NodelD 25009 Having above picture if we define in our data RoadID Node point NodelD 520763 3 25008 532674 2 25008 This will be understood by the program as follow at point with index 3 of road 520763 where each point of the road is indexed starting from beginning with index 0 we define NodeID 25008 then at point with index 2 of road 532674 we define NodeID 25008 that means these roads are connected there as they are sharing same NodeID value To code it in PFM we would look like RGN40 Label road 1 RoadID 520763 Data0 Nod1 3 25008 END RGN40 http cgpsmapper com 52 of 130 cGPSmapper Manual RGN40 Label road 2 RoadID 532674 Data0 1 2 25008 END RGN40 5 4 Road class The main attribute for routing calculation as it has been mentioned already is road class attribute On one hand it is important to prepare data with non broken road network keeping specific road class on the other hand it is important to keep well balanced percentage
65. al map reducing upload times and helping to fit in memory where otherwise it wouldn t In practice you don t normally need to specify reduced detail explicitly in this way because cGPSmapper automatically detects when there is unnecessary detail for the target zoom http cgpsmapper com 46 of 130 cGPSmapper Manual level cGPSmapper automatically averages out consecutive points which are too close to be distinguishable on the GPS screen and discards unnecessary points Nevertheless it is useful for the map author to understand how it is possible to take explicit control over the shape of map objects at different levels if and when necessary 4 4 4 Idiosyncrasies of GPS hardware The foregoing sections have explained how the map author can control the levels at which map objects are displayed That s the theory In practice things can be slightly different General Detail Orientation The first thing to note is that the map level settings dictate Colors the level at which objects are visible assuming the GPS user has their unit s map detail level set to Normal In the eTrex series for example the map set up screen offers five choices for detail level Most More Normal Less and Least ne ALAR vies Figure 3 Map Detail Setup At higher detail levels map objects will continue to be visible even if the user zooms out furthe
66. ame 88 ona etd 5 jj M 125 uu 124 Versions notation 6 cGPSmapperKey 71 qha 16 16 19 CityName 21 24 26 Clarif gS u Noa o UOI 98 CODED AG T 10 64 Code POE 89 aaa 28 36 COPY edes one teri 89 GU a 89 T E 89 CopyRight 11 95 Copy 11 95 COMPE CHO M usus apupas 17 15 obo PT 15 Countryldx 15 CountryNam e 11 21 24 27 http cgpsmapper com 127 of 130 cGPSmapper Manual CPLOVIEW otro side NC ta 66 87 Custom Type Definiton 75 Custom type file 71 D Dat f Deuce 20 23 35 98 Datum a sedeo ies 10 125 DAY X 75 76 Declarations Advancded 18 DefaultCityCountry 11 DefaultRegionCountry 12 DefaultType 26 Definitions h ass 18 ri eddie ie 16 Delta WB tate ne 16 Depths Sua ecce tte 28
67. and polygons Should be used with caution as process time might be much longer Intersections for polygons are detected for all the gt layers for polylines only for the most detailed layer gt NO no generalization and no intersection detection Unnecessary nodes from the resolution point of view will be removed automatically There will be no reduction of the oversampled points in the objects the only reduction of the points will be done because of alignment to the same coordinates This option should be used if input data 1s prepared separately for each layer the data for each layer having already been adjusted to the map author s requirements Used only if you explicitly provide data for all layers Default F http cgpsmapper com 13 of 130 cGPSmapper Manual Levels n Preview x AlignMethod BlockSize LevelFill LevelLimit WorldMap DrawPriority Marine x amp Refer to section 4 4 on page 42 for details Number of levels layers in the map at least 2 not more than 10 CONN tA WPL 9 10 Note the last layer must always be empty e g Levels 3 means that two layers only are available for map objects Grid size for layer layer 0 is the most detailed one amp Refer to section 4 4 on page 42 for details amp Refer to section 4 4 on page 42 for details 67 Refer to section 9 3 Creating preview map files on page 87 for details gt N gt map de
68. apper Manual 6 bit coding 8 bit coding LLL ui v Code meaning Separation on the map visible only the second section when over 1km with the mouse sees displayed one the word completely not separated Separation on the map visible only the first section when over with the mouse sees displayed one the word completely not separated Separation on the map visible only the second section when over with the mouse sees displayed one the word completely by blank separated Separation on the map visible only the first section when over Ikm with the mouse sees displayed one the word completely by blank separated Normally used as a separator before elevation Example RGN10 Label 0x1f 500 e Interstate symbol name can consist only from digits allowed only at beginning of label Example RGN40 1 0 2 11 a US Highway shield can consist only from digits allowed only at beginning of label US Highway round symbol can consist only from digits allowed only at beginning of label Eg Highway big allowed only at beginning of label Main road middle allowed only at beginning of label Main road small allowed only at beginning of label http cgpsmapper com 33 of 130 cGPSmapper Manual 4 3 Marine Charts Marine charts are a special kind of cartography similar to Garmin s BlueChart that is used as naviga
69. at it has a higher priority number than any other overlapping polygons Each statement in the _drawOrder section includes the hex ID of the defined polygon type and its relative draw order Higher numbers are rendered later Therefore a polygon defined with a priority of 1 will be drawn first and overwritten by an overlapping polygon defined with a higher number 2 8 Priority numbers are between 1 and 8 For example http cgpsmapper com 72 of 130 cGPSmapper Manual in the drawOrder section below a Shopping center Type 8 priority 3 will be shown on top of a large urban area Type 0x01 priority 1 http cgpsmapper com 73 of 130 cGPSmapper Manual drawOrder PIype POLYGON CO 0 01 1 0 02 1 0 03 1 0 04 1 0 05 1 Type 0x06 1 Type 0x07 1 Type 0x08 3 Type 0x09 1 Type 0x0a 2 Type 0x0b 2 Type 0x0c 2 Type 0x0d 2 Type 0x0e 2 0 13 2 0 14 2 0 15 2 0 16 2 0 17 3 0 18 3 0 19 3 0 1 4 0 1 2 0 1 2 0 20 2 0 28 1 0 29 0 32 Type 0x3b Type 0x3c 8 Type 0x3d 8 Type 0x3e 8 Type 0x3f 8 Type 0x40 8 0 41 8 0 42 8 Type 0x43 8 0 44 4 0 45 2 0 46 2 0 47 2 Type 0x48 3 0 49 4 Type 0x4c 5 0 4 5
70. ated name mp name tdb name reg And with the version of the program able to generate global indexes name MDX name MDR IMG Global index file can be generated only with use of the Routable Personal or Pro version of cGPSmapper If option r is used Cpreview pv txt r Then first selection when searching for address is for region instead country Refer to chapter on preparing preview files for rest of details If option m is used Cpreview pv txt m Then each separate word in street name will be indexed For example Albert Einstein street can be found by Albert and Einstein 7 Protecting IMG files locking 7 1 Responsibility http cgpsmapper com 67 of 130 cGPSmapper Manual It must be understood that author of the cGPSmapper did not implement locking mechanism by reverse engineering of any of the Garmin original software All the work has been done basing on 3 party software not coming originally from Garmin THERE IS NO RESPONSIBILITY ON THE AUTHOR SIDE FOR USING THE LOCK TECHNOLOGY END USER DECIDE ON OWN RESPONSIBILITY TO USE IT KNOWING THAT THIS TOOL WAS NOT APPROVED BY GARMIN AND GARMIN MAY NOT ACCEPT SITUATION THAT 3 PARTIES ARE CREATING LOCKED MAPS 7 2 Technology Starting from the version 0 91 of the cGPSmapper it is possible to prepare locked IMG files Such files can be used with GPS device only with unique unlock key generated exclusively for the
71. ays to 1 Example 1 Allow to see height profile under MapSource Height profile is defined by use of contour lines types 0x20 0x21 0x22 Definition of basic parameters for the preview IMG file For the preview files it is recommended to use only 2 layers maps Example Levels 1 10 14 11 13 amp Refer to section 4 2 1 on page 9 for details Grid size for layer layer 0 is the most detailed one It is very important to set the levels setting to lower details than the most generic lowest detail layer of any of the IMG file included into the map set It means that 1f header of the detailed IMG file defines levels as below IMG ID Levels 4 10 24 11 22 12 20 13 19 Then the highest allowed level setting for 1 10 of the preview map is 18 Levels 1 Level0 18 Levell 17 67 Refer to section 4 2 1 on page 9 for details Second required section is a list of IMG files to be included into the map set Section FILES contains references filenames of all the IMG files to be used to create a complete map set If available cpreview file will build a complete global index for all the IMG files included http cgpsmapper com 90 of 130 cGPSmapper Manual There must be at least one input file M It is required that detail IMG files are named with DIGITS only and extension IMG This limitation is not valid for preview IMG fil
72. bject Applies only to following marine types Y points of types 0 01 and 0x02XX Period s of the light Can be single value or series of values Examples Period 2 3 Period 2 3 2 1 2 3 1 0 Applies only to following marine types Y points of types 0x01XX Height above foundation Value visible in the properties window of the object Applies only to following marine types Y points of types 0x01XX Height above datum Value visible in the properties window of the object Applies only to following marine types Y points of types 0x01XX gt m 2 metres gt f gt feet Default Elevation value from the IMG ID section Allowed only when HeightAboveFoundation is present gt m metres gt f gt feet Default Elevation value from the IMG ID section Allowed only when HeightAboveDatum is present Leading angle in degrees for the light value with one decimal Example LeadingAngle 120 1 Applies only to following marine types Y points of types 0 01 gt YD yes gt Default Applies only to following marine types Y Points of types 0x01XX http cgpsmapper com 41 of 130 aa hy cGPSmapper Manual DoubleLights x gt Additional info shown in the properties window Number of light bubbles Valid values are from 1 to 7 Applies only to following marine types Y Points of types 0x01XX DoubleLightsHorizo Additional info shown
73. cGPSmapper User Manual gt YA KULA S yr m Sees PRESS SS LEN ACC CREE NS CR NUS First Published Date 2005 04 01 Version 2 5 Published Date 2009 10 16 Total Page Count 130 cGPSmapper Manual 1 Contents CONTENTS ies ditis 2 2 INTRODUCTION 5 2 1 5 DOCUMEN Tetin ee deca 5 22 PASIC CONOBEPTS Sua uma 5 2 2 1 What is Polish Format 2 2 2 5 00000000000000000000000000 5 2 2 2 What is CGPSmapp6eE sien ERR a Ca DRE R E 5 2 2 3 5 2 3 DOCUMENT CONVENTIONS rca ea ito de e t aa Eaa 5 2 3 1 EARE aes sack AE E soin neum A E A 5 2 3 2 COPSIBUDDEF VETSIONN 2 4 MANUAD AUTHORS ua eM 6 OVERVIEW ui Su 7 4 5 8 4 1 CREATION 8 4 2 PEM SYNTAX DESCRIPTION uu 8 4 2 1 Header ers i sese Ea ES 9 4 2 2 Er du vs 15 4 2 2 1 tacet tite ae e e ere te aee SO a e Ha eire ous 15 4 2 2 2 Sql
74. card In order to enable the map on this particular card unlock code specific to the card has to be created in opposite to unlock code specific to the GPS ID value For that SDLock tool has to be used This tool is able to retrieve SD serial ID value and generate GMAPSUPP UNL file that will unlock map on a particular SD card SDLock tool as an optional part of cGPSmapper package is a Windows Mobile software running on a PocketPC This special platform requirement comes from the fact that usual PC is not able to read the serial ID value of SD card while all PocketPC devices have access to this value of course when the SD slot is built in into device SD card can be processed with SDLock tool before or after putting on the card GMAPSUPP IMG file If GARMIN folder is not yet existing on the card it will be created automatically by the tool In addition to the GMAPSUPP UNL file SDLocker will create also id txt file which contains serial ID value of SD card This file is only for information 8 Creating custom type file cGPSmapper creates custom TYP files when invoked with the typ switch For example http cgpsmapper com 71 of 130 cGPSmapper Manual cGPSmapper exe typ MyCustomTypes txt Your custom TYP file may be combined with IMG files into GMAPSUPP IMG for uploading into a compatible Garmin GPSr using SendMap 2 0 v3 3 or later available at http cgpsmapper com en buy htm We believe that any Garmin rec
75. cation of the detail maps If you wish to install a custom map set into MapSource you will need to a create the preview map and the tdb file and b create the registry entries to tell MapSource where your files are located More recent map products with routing information such as Metroguide are registered in a slightly different way http cgpsmapper com 86 of 130 cGPSmapper Manual 9 3 Creating preview map files To create the preview and tdb file you will need to run cpreviw program responsible for creating all the control files required by MapSource software From version 0 98 of cGPSmapper it is no longer possible to use cGPSmapper program to generate preview files Only cpreview program can be used C mymaps gt cpreview mypv mp It is important to note that cpreview does not generate final preview IMG file instead it does create an MP preview file which has to be converted to IMG file using cGPSmapper The main gain is that now it is possible to edit change the preview IMG file doing all the edits in the MP generated file It is required to compile MP file created by cpreview in order to get IMG file As IMG file used for preview usually is named by name not by numbers preferred method of compilation is C mymaps gt cgpsmapper mymap mp From version 0 99 of cGPSmapper cpreview program does allow to create empty preview files all the detailed IMG files are processed without reading detai
76. d value 1024 Suggested value gt 1024 Simplify level for Douglas Peucker simplification algorithm The higher value the less simplification is done It is important to note that with high value gridding limitation coming from the format might be visible Default 1 Valid range is from 0 1 up to 10 http cgpsmapper com 12 of 130 cGPSmapper Manual PreProcess x Kind of pre processing gt G gt generalization only faster method but crossroad nodes might be removed Also the nodes from intersections may be removed Data will be simplified using Douglas Peucker polyline simplification algorithm which will ensure that the output is not jagged gt F or Y gt full generalization intersection detection for polylines Unnecessary nodes are not removed if there are intersections this is important for more advanced maps at intersections all the intersecting roads have to have nodes find intersection won t work This is very similar to G with one important exception all intersection points of the roads are preserved too even if according to the simplification algorithm these points should be reduced this is especially important when we are interested in using find intersection functionality Intersections are detected only for the most detailed layer for the others no trace is done gt P very similar to option full generalization intersection detection for polylines
77. directly in the IMG ID section of your PFM file The remainder of the file uses a different level numbering scheme called Map Zoom Levels Map zoom levels are defined by the map author Any map can use up to ten map zoom levels numbered 0 to 9 If you use fewer than ten map zoom levels you should use consecutive map zoom level numbers starting at zero Within your IMG ID section you specify the number of map zoom levels you will be using with a line of the form EndLevel n The relationship between your chosen map zoom levels and the hardware zoom levels using a set of Levelmzh lines where m is the map zoom level and h is the corresponding hardware zoom level For example IMG ID Levels 4 Level0 23 Levell 21 Level2 20 Level3 17 The above extract specifies that the map uses four map zoom levels Map zoom level zero corresponds to hardware zoom level 23 map zoom level 1 corresponds to hardware zoom level 21 and so on The hardware zoom levels do not need to be consecutive but each successive map zoom level must correspond to a smaller hardware zoom level number than the previous one The settings our example specify that map objects and coordinates defined as map level zero will be used at hardware zoom levels 23 and above Objects defined as map level 1 will be used at hardware zoom levels 21 and 22 and so on The highest numbered map zoom level that you define dictates the zoom level at whic
78. e 1 will display on the corresponding level and if you set the first bit to 1 all objects of type 1 defined for the specific level will display This is explained much better by an example see 4 5 3 below Note that you still need to specify EndLevel or Data for each object to extend the object to the required level The dictionary bit mask only filters out objects on layers they are defined on However when using dictionary you can set EndLevel to your highest map level for all objects and control which type of objects display at which map levels with the dictionary bit mask Since all object are by default displayed on the most detailed map level level 0 it is not necessary to define a dictionary bit mask for level 0 The Dictionary tag is optional but very useful to filter map objects per type per level 4 5 3 Using Dictionary The following is an extract from a PFM file defining a Dictionary bit mask for polyline RGN40 objects In this example major thick and principal medium highways types 1 2 amp 3 will be displayed on levels 0 to 3 arterial roads types 4 amp 5 will be displayed on levels 0 1 and 2 and residential streets type 6 will be displayed on levels 0 and 1 No other polyline objects will be displayed Level 4 is the last level of this map and cannot contain map objects http cgpsmapper com 48 of 130 cGPSmapper Manual The first two lines start with indicating that these are com
79. e Transfers menu Transfer View Tools Utilitie Send To Device Receive From Device Viathe respective button located in the Transfer Toolbar Once the transfer is done the program will confirm the map s transfer finished successfully http cgpsmapper com 94 of 130 cGPSmapper Manual 10 FAQs 10 1 Name variables and where they show up 10 1 1 Introduction There are three locations where the names of maps map sets and related information name data are specified the PFM file the PFM Preview file and sendmap options There are various locations where the name data is displayed both on the GPS unit and in the Garmin MapSource software Figure 4 shows the relationship between where the name data is specified and where it is displayed 11 2 2 Sendmap The name data specified when using Sendmap is used to describe a collection of PFM files The name data is specified as command line options Sendmap The Area name This field is the second field displayed on MapSetName the GPS unit under the Map Information section Sendmap filenamel img is not used with the MapSource software filename2 img http cgpsmapper com 95 of 130 cGPSmapper Manual Untitled MapSource D e ule s m e xjo Foe els o rfe 2 Waypoints Routes Tracks 5 Size 11KB 32KB Area My Map
80. e header section RGN10 Type 0x6300 Label 668 Origin0 2 33 93497 18 38925 END RGN10 A minor land contour with elevation of 1080 m can be defined like this RGN40 Type 0x20 1 1080 Data0 33 96727 18 42540 33 96725 18 42557 33 96709 18 42600 33 96693 18 42624 33 96682 18 42630 33 96662 18 42627 33 96646 18 42581 33 96641 18 42557 END RGN4A0 Text be combined with the elevation in the label by using 0 1 delimiter to indicate the elevation Example of a summit with 1084 m elevation RGN10 Type 0x6616 Label Table Mountain 0x1f 1084 Origin0 2 33 96664 18 42569 END RGN10 Type 0x6616 require a special code separation before the height value 0x1f in case there is no name of the summit label should looks like 1 0 1 1084 4 2 6 Road numbers House numbers along the streets can be defined using NUMBERS key within RGN40 declaration There could be up to 60 definitions of numbers for a single road Each definition consist from the Number sX definition where X is increasing value from 1 up to 60 For using house numbering along streets when working with ESRI data please refer to section 5 7 on page 55 http cgpsmapper com 31 of 130 cGPSmapper Manual RGN40 Type 6 1 0 1 9 0 4 20 2999 2999 Warszawa Mazowieckie Polska Warszawa Mazowieckie Polska Numbers2
81. e only Due to MapSource special requirements it is forbidden to use name 00000008 1mg for any detailed IMG map file FILES IMG XXXXXXX Full filename of the IMG file to be included into the map set Can be defined as relative path or absolute path name Example list of included IMG files with absolute paths FILES IMG c myMaps imgs 00000021 img IMG c myMaps imgs 00000022 img IMG c myMaps imgs 00000023 img Example list of included IMG files with relative paths FILES IMG img 00000021 img IMG 00000022 img IMG 00000023 img Relative paths are processed according to execution of the cpreview program from the command line 9 5 Making the registry entries To make the registry entries you can use 3 different methods 1 Usethe windows registry editor Start run regedit to directly edit the registry take EXTREME care doing this as you can completely destroy your PC configuration if you do something silly 2 Create or edit a registry file which you can simply double click to create your entries You can get a template for this file by doing a registry export Note that you need double slashes in filenames If you are distributing your maps to others this is the simplest way to get them to make the necessary registry changes 3 Usea GUI program such as MapManager http vip hyperusa com dougs GPSSM index html GPSMM The entries are stored in the registry under HKEY LOCAL MACHINE
82. e region within map which might be unlocked separately It means that map can be unlocked only in a part not the whole map at once Please note when preparing unlock key if RegionID is set to 0 zero then it will unlock all regions in the map at once 7 4 Creating preview mapset As locking introduces several new possibilities of creating products it is important to understand differences http cgpsmapper com 69 of 130 cGPSmapper Manual As it has been mentioned already single product mapset can contain several different regions Each region may be unlocked separately or end user can use universal unlock key To achieve that there are some changes in the preview control file First of all section MAP MAP Lock Y ProductCode FID Lock Y this will turn on generation of the preview for locked IMG files ProductCode value within a range of 1 up to 60 must be consistent with detail IMG files all IMG files must belongs to same product FID Unique map creator identification if value used is inconsistent with the one defined by the cGPSmapper registration it is automatically fixed Section FILES Files 1 regionl img 10002011 img img 10002012 img img 10002013 img region 2 region2 img 10003011 img END Files It is important to note one new key region which is used to define to which region belong following
83. ed from the waypoint description field not from the waypoint name field gt 0x10 gt POI gt 0x20 gt point amp Refer to section 4 2 4 1 on page 19 for details amp Refer to section 4 2 4 1 on page 19 for details wpt file from which data will be imported to layer The path could be either absolute or relative to the current directory For platform portability it is recommended to use slashes instead of backslashes to separate directories in the path In Unix ile name is case sensitive http cgpsmapper com 24 of 130 T uJ cGPSmapper Manual END Section terminator 4 2 4 5 Polyline or Polygon from OziExplorer PLT RgnType object cat DirIndicator EndLevel File file name END 4 2 4 6 Shapes SHP name file name Polygon Polyline section identifier with data imported from an OziExplorer p1t file gt 0x40 gt polyline gt 0x80 gt polygon amp Refer to section 4 2 4 1 on page 19 for details amp Refer to section 4 2 4 1 on page 19 for details If the track imported in the PLT section contains multiple segments i e objects all segments will take the same label name as defined by the Label statement However it is possible to give a different name to each segment To achieve this omit the Label statement and specify the names in an additional file which should have the same name as the plt
84. egionName 12 21 24 27 N 15 9 16 25 30 222 2 0 55 Name substitution 122 Restriction DBF 57 E 61 soci de chere er re tes 62 52 61 22 2 57 ee teta 62 t 12 62 ROOT PVE 24 25 NodelD3 62 RightCityName 61 NOG 62 RightCountryName 61 29 40 62 RM 15 RightRegionName 61 Number 16 62 u peiiini uN 10 su a 62 IN UNI DESC 24 31 RightZipName 61 0 Road claSSs st s 53 CONS Way unde 28 Roath SIEN edes eU 2 huu 58 po cup UEM RoadlID 27 61 http cgpsmapper com 129 of 130 cGPSmapper Manual ROSdIDI 62 Transparent 10 14 RondlD2 62 ciconia ae asa 12 t 62 TYP 75 Ro
85. eiver which works with Garmin s POILoader may have custom type definitions installed with your IMG file Installed TYP files do not affect the rendering of Garmin maps only GMAPSUPP IMG files uploaded by SendMap The generated TYP file may also be added to your Windows registry enabling MapSource to display your custom types All installed mapsets are rendered with your TYP file This is useful for quickly testing and evaluating your custom types under development 8 1 Creating the source file The custom type input file is a simple text file At this time we recommend using the TXT extension so it will open with your default text editor ID Section The ID section defines the Family ID FID that associates this custom type file with your map file Product Code should be 1 your FID should match the FID declared in the MAP section of your preview source file This definition is used when viewing your custom types in MapSource ad ProductCode 1 FID 888 CodePage 1252 End _drawOrder Section At a minimum your input file must define the draw order for ALL polygon types not just your custom ones Even if you don t define any custom polygon types in your source file this section is mandatory If a polygon type is not defined in the _drawOrder section it will not be rendered on your GPSr If a polygon type is not showing up check to make sure that it is listed in your _drawOrder section and th
86. ely the fact that MapSource has to be able to read these maps that enabled cGPSmapper to be written because the developer was able to use MapSource as a diagnostic tool 9 1 Installing maps to be used with MapSource With the most recent version of cGPSmapper sample installation script for Gdansk Routable map is distributed It requires use of Inno Setup It simplify installation of map to be used by MapSource to the following steps Build detailed IMG files with use of cGPSmapper Build preview files with use of cpreview Build preview IMG file from MP file created by cpreview using cGPSmapper Prepare installation setup using prepared Inno Setup script Distribute map Below topics are still valid to be aware of issues when installing maps to be used by MapSource however in most of the cases use of installation script will be just enough The only thing to take care is to update FID value in the script as well as names of files to be installed 9 2 MapSource Data structure MapSource arranges its map sets as products Each product such as Metroguide Europe U S has a top level preview map and several many detail maps The detail maps can be graphically selected with the program for upload to the GPS Internally these map sets are configured using data in the Windows registry Each product requires three registry entries One entry points at the preview map one at a tdb file and one at the lo
87. en section Text in olive colour e g Labe1 are optional statements 2 3 22 cGPSmapper versions The table below contains the meaning of the different symbols used in this document to represent the cGPSmapper Version to which a certain concept applies Symbol cGPSmapper Version Freeware Freeware o Shareware amp The different cGPSmapper versions are explained in section 12 3 4 on page 122 2 4 Manual Authors This manual was written by Stanislaw Kozicki the author of cGPSmapper Gary Turner Graham Bowring Hans Scheffler Keith Sheppard Greg Rikker and Mauricio Zalba http cgpsmapper com 6 of 130 cGPSmapper Manual 3 Overview Creating a map to be uploaded to a GPS receiver may be compared to programming you write a program i e a map in the programming language i e in PFM and then compile it Alternatively just as with programming tools exist to generate the source code visually or semi automatically or to assist in other ways in the code preparation The source code format used by the cGPSmapper compiler is referred to as PFM Polski Format Mapy Polish Map Format or the Polish format The standard file extension for maps in the PFM format is mp in previous versions the txt extension was used which is still acceptable but not recommended A map consists of map objects which fall into four categories POIs points of interest e g hotel restaurant points non indexed point objec
88. ence in HIGHWAYS E017 e g 2 3 4 2 2 E018 Type of element for RGNA40 RGNS80 cannot be higher than 128 E019 Only applies to a routable map itself Split this element allowed E021 Grid definition for layers must be descending check Level keys in IMG ID E022 STREETNUMBERSSTART and STREETNUMBERSEND keys are no longer supported use ROADID instead E023 Layer detail level too high to This error is similar to error E024 but this error cover non splittable objects applies to preview maps from lower layer decrease detail level use higher The maximum size of any object strictly depends Level on the bit resolution For resolution 24 the maximum size 1 5 metre 65535 Similarly for resolution 23 the maximum size 3 metre 65535 This means that if the object is too big to fit into the given layer of the map the bit resolution of this layer needs to be decreased so the layer can accept bigger objects http cgpsmapper com 103 of 130 cGPSmapper Manual Code Warning Error Text Description Workaround E024 Top layer detail level too This error needs a little more explanation since it is high to cover entire map often a source of confusion decrease detail level of the less detail layer use higher The last layer the empty one must always have Level one tre region The maximum size of this region is 65535 2 resolution grid If the map covers a large area
89. ent is basically a part of road starting at certain http cgpsmapper com 58 of 130 cGPSmapper Manual point index of the road where index 0 refers to a starting point of the road and ending at the point where next segment starts or at the end of the road Let assume we have a following data in the DBF file NodeID RoadID Node LeftStart LeftEnd 1 o jo o 12 100 js Jlo J That define first segment of road road id 100 starting at the beginning of the road up to point with index 2 there as in above example road numbers will change from 10 at point index 0 up to 12 at point index 2 Next segment of this road is starting at point index 2 and ends at point index 5 As seen in above example segment definitions does not really needs to be aligned to the routable notes even if that s most common It is not required that data in the input file are sorted in any specific way 5 9 2 Defining routing data in DEFINITIONS General rule is that each row in the DBF file used in the DEFINITIONS section corresponds to single NODID point definition For a proper NODID point definition in the input DBF file must exists fields which will at least define NODEID ID of the routable node Second parameter in the NodX of the MP format NODEID ROADID ID of the road RoadID in the MP format NODE Index of the point in line definition Starting point has index 0 First parame
90. er to section 4 2 4 1 on page 19 for details Refer to section 4 2 4 2 on page 21 for details Street alias or secondary street name 80 characters maximum Show direction of the road when selecting intersection in GPS gt 02 gt 12 Yes Default 0 Refer to section 4 2 1 on page 9 for further details http cgpsmapper com 23 of 130 cGPSmapper Manual CityName xxx yyy z RegionName xxx yyy Road ID xxx WPT RgnType object cat Name of city to which this object belongs Can be used only together with keys RegionName and CountryName 80 characters maximum Since version 0 97 of cGPSmapper it is possible to assign more than one city as attribute to street used for search purposes That can be used for city name and quarter name to enable search by both names amp Refer to section 6 4 on page 65 for details Name of region to which this object belongs Can be used only together with keys CityName and CountryName 80 characters maximum Name of country to which this object belongs Can be used only together with keys RegionName and CityName 80 characters maximum Object Zip Code 80 characters maximum amp Refer to section 4 2 6 on page 31 for details Section terminator 4 2 4 4 Point of Interest from OziExplorer Point of interest section identifier with data imported from an OziExplorer wpt file The object labels are deriv
91. erimental NT format Default Section terminator gt DECLARATION elements must be in the order shown herewith 4 2 2 1 Countries Although this section is obsolete it is still supported COUNTRIES Country country_n END 4 2 2 2 Regions Declares all countries used for city indexing Name and abbreviation used to identify country The first must always be one E g Country1 United States 0x1d US 80 characters maximum The statement above can be repeated as needed must be in ascending order Section terminator Although this section is obsolete it is still supported REGIONS Region region_nam Declares all regions used for city indexing Name and abbreviation used to identify region The first must always be one Subsequent must be ordered ascending E g Regionl New York 0x1d NY 80 characters maximum corresponding Count ry statement The first Count ry Idx must always be one Subsequent must be in ascending order If included there must be at least 1 region per country In theory the limit is 13 107 E g CountryIdx1 1 means that the current region is located in country 1 right side of the equals sign The statements above can be repeated as needed 2 Unlikely since each region normally is located in a single country http cgpsmapper com 15 of 130 cGPSmapper Manual END 4 2 2 3 Cities Section terminator Alth
92. f backslashes to separate directories in the path In Unix file_name is case sensitive 16kb maximum each entry Refer to section 4 2 1 on page 9 for further details http cgpsmapper com 35 of 130 cGPSmapper Manual Color Object colour 0 gt COLOR 0x00 1 gt COLOR 0x01 2 gt COLOR 0x02 2 7 4 gt COLOR 04 5 gt COLOR 0x05 6 gt COLOR 0x06 7 gt COLOR 0x07 8 gt COLOR 0x08 9 gt COLOR 0x09 10 gt COLOR 0 0 112 12 gt 13 gt 14 gt 15 gt Applies only to following marine types Y polylines of types 0x04XX to 0x06XX points of types 0x0500 coloured text Style Valid values sum of 0x00 to 0x03 basic styles 0x10 to 0x30 extended styles VVVVVVVVVVVVVV VV 0x00 gt 0x12 gt TT 0x13 0x20 gt x22 gt ti 0x23 gt 44 0x30 2 0x32 gt 0x33 gt y V V V V V V V V VV VV VV V Applies only to following marine types Y polylines of types 0x04XX to 0x06XX Y polyline of type 0x0108 Recommended Route valid values are only between 0x00 and 0x03 http cgpsmapper com 36 of 130 cGPSmapper Manual Height Alias name for Depth Can not be present if Depth is present Depth Point depth height value with one decimal e g 20 1 The maximum value is 65535 when value is defined as integer and 6553 when value is defined as real Warning This value is not displayed if
93. file including the extension and the additional extension txt e g Highways plt txt The file must be in the same directory as the plt file Each line in this file specifies the name for the corresponding track segment Direction indicator only for streets highways etc gt 0 no direction gt 1 gt the GPS will show direction of the road calculated internally by GPS Default 0 amp Refer to section 4 2 4 1 on page 19 for details 1 file from which data will be imported to layer The path could be either absolute or relative to the current directory For platform portability it is recommended to use slashes instead of backslashes V to separate directories in the path In Unix ile name is case sensitive Section terminator ESRI shape file section identifier Name of the ESRI files without extension This should be the full or relative path for the ESRI files without the extension which should be shp for files containing ESRI data http cgpsmapper com 25 of 130 hy cGPSmapper Manual Type xxx LabelField field n ame Label2Field field name SubTypeField field Leveles EndLevel DefaultType object CityName field_nam Type of objects to be imported from the ESRI files 16 or RGN10 gt POI 32 or RGN20 gt cities 64 or RGN40 gt lines 128 or RGN80 gt polygons 2 or RGN02 gt marine polygons 3 or RGNO3 2 marine
94. ge Map Scale Americas Tides and Marine Services v4 00 2 17 GOOR v Delta RioPla http mzalba net GPSMAP 162 168 Tide Points No Map SR Goya http mzalba net Tenerife Robert Elsinga Shcw Toolbars Hide Status Bar gt Via the corresponding combo located in the View Toolbar Delta RioPla http mzalba net Y Americas BlueChart v4 00 Americas Tides and Marine Services v4 00 CONOSUR Delta RioPla mzalba net GPSMAP 162 168 Tide Points No Map SR Goya http mzalba net Tenerife Robert Elsinga The quantity of maps available will vary depending on the maps installed http cgpsmapper com 93 of 130 cGPSmapper Manual 2 Select the map s The map s to be loaded in the GPS must be selected This is done via any of the following methods Under Map in the Tools menu Tools Utilities Help Map m Zoom 2 h Waypoint Ww Route r Selection 5 DistancejBearing d Viathe respective button located in the Tools Toolbar Once this is done the map to be selected must be clicked in order to select it The maps to be transferred to the GPS and the bytes they occupy will be shown to the left of the screen 2 Waypoints Name rea RioPla www mzalba net Delta Ri BUENOS AIRES 4663 53 CONGOSI 3 Send the map s to the GPS This is done via any of the following methods Under Send To Device in th
95. ge xx Datum xxx Iransparent x T Numbering x gt 0 gt full byte 8 bit character coding with the specified codepage is used depending on the GPS firmware gt 0 2 single byte coding Note Refer to section 0 on page 55 Note The delimiters for road numbers amp refer to section 4 2 6 on page 31 for details are different if full byte coding is used Note Special codes are different for 8 bit coding Default 0 gt W84 gt WGS 84 gt Custom Custom E g for for WGS84 Custom 0 0 0 6378137 000 298 257223563 gt W84 amp Custom gt amp refer to the Datum List txt file in the cGPSmapper directory for the full list of supported datums Default W84 gt Y gt a full transparent map will be created gt No transparent map will not be created gt S gt semi transparent map will be created Default N When a transparent map is displayed on a GPS unit features in the unit s basemap will also be visible If your map is not transparent it will obscure the basemap when visible Semi transparent map is created in a way a usual map is created but no background object is created Full transparent map is created in a way that no background object is created and information in IMG is stored that map is transparent n some cases to have a nice overlapping map it is necessary to use semi transparency instead of full transparency Lock on road search for intersection a
96. gh roads in the same order as defined in the list This has to be consistent with routing points SignParam Type Lab Define type of road sign and label to be shown el gt T gt Toward gt Onto gt E gt Exit Example SignParam T Bone Ville 5 9 Routing data defined for ESRI files When working with ESRI data routing data can be defined directly for shape files and stored in a DBF file There can be only one DBF file which defines routing information This file is used also to define house numbering along streets as well as some other attributes Maproute program which is available for free as a generator of routable data by default generates DBF file which is ready to use in the DEFINITIONS section of the MP file For declaring the MP format DEFINITIONS section needs to be used It is important to note that this section defines only what DBF file should be used and which fields from this particular DBF shall be used to define input data Section DEFINITIONS declare use of one or two DBF files First one declared with field ROUTING can hold following attributes Routing data City Region Country attributes Zip code attributes Second DBF file declared with field RESTRICTIONS is strictly used for restrictions for routing definitions 5 9 1 Segment of the road Routing data when declared in DBF file as well as all the additional attributes for roads are referring to a segment of road Segm
97. gt unknown safe for navigation 4 gt unknown Applies only to following marine types Y points of types 0x04XX obstruction FoundationColor Foundation colour 0x00 gt generic symbol 0x01 gt P red 0x02 gt 7 green 0x03 gt yellow 0x04 gt 2 white 0x05 gt P black 0x06 gt f black yellow 0x07 gt white red 0x08 gt black red 0x09 gt white green 0x0a gt 7 red yellow 0x0b gt 7 red green 0 gt orange 0 gt black yellow black 0 gt yellow black 0x0f gt 9 yellow black yellow 0x10 gt red white 0x11 gt green red green 0x12 gt P red green red 0x13 gt black red black 0x14 gt yellow red yellow 0x15 gt green red 0x16 gt 4 black white 0x17 gt white orange 0x18 gt 2 orange white 0x19 gt green white Applies only to following marine types Y points of types 0x02XX Y Vv Vv Vv v Y V V V V V V V V V V V V V V V V V YVYVYVYVYVYVYVYV http cepsmapper com 38 of 130 cGPSmapper Manual Light colour Definition of light colour and range Light colour rang There several accepted formats Light 2 define colour of the light valid for types 0x02XX Light 3 4 colour 3 and range 4 nm Ranges always in nautical miles Light colours 0x00 gt unlit 0x01 gt 6 red 0x02 gt green 0x03 gt white 0x04 gt blue 0x05 gt yellow 0x06 gt 4 violet 0x07 gt amber Applies only
98. h your map replaces the GPS unit s base map In our example the highest numbered map zoom level is 3 and this corresponds to hardware zoom level 17 What this means is that if the GPS device user zooms in to level 17 or higher it will see your uploaded map At hardware zoom levels 16 and below it will see the base map Your highest map zoom level is only used for the purpose of specifying when your map takes over from the base map You are not allowed to define map objects and coordinates at this level So in our example map zoom levels 0 1 and 2 are the only ones available for http cgpsmapper com 44 of 130 cGPSmapper Manual defining map objects Map zoom level 3 is only used to dictate when our map replaces the base map This means that you must always define one more map zoom level than you actually need for your map objects and every map definition must therefore include at least two map zoom levels Having understood the relationship between map zoom levels and hardware zoom levels you can effectively ignore hardware zoom levels during the map design process Within the rest of this section the term evel should be interpreted as meaning map zoom level unless explicitly stated to the contrary 4 4 3 Using levels when defining map objects Here is an extract from a PFM file defining the village of Remenham Berkshire UK as a Point of Interest RGN10 Type 3328 Label Remenham Data0 51 551744 0 889936 END
99. he lowest zoom level in the PV should be the smaller at least by one from the highest in the detailed map The preview is displayed up to this switch over point When you zoom in more in MapSource the GPS detail map is displayed Example In your detail IMG file Level0 24 Levell 22 14 18 Zoom0 0 Zoomi 1 Zoom4 4 And in the preview file Smaller by one from the top level in the detailed map which is Level4 18 10 17 Levell 16 Zoom0 5 Zooml 6 Does not overlap with detail IMG file 10 5 Filling Gas Stations not showing in the find function of the GPS Use 0x2F01 instead of 0x4400 if you want to show it in the find function of your GPS receiver 10 6 Islands and Clearings Islands clearings etc are created by defining polygons with holes in them For example a hole in a polygon representing a lake or the sea will be displayed on your GPS as an island For this reason the following technique is often referred to loosely as creating an island However the same technique may also be used for creating holes in other polygon types For example a hole in a wood would represent a clearing and so on A hole can be defined in any region by including a second or subsequent Dat a line with the same level or layer number as the enclosing polygon The Data line defining the hole should come after the Dat a line for the enclosing polygon and should define a polygon which is wholly contained
100. ield in the associated dbf file from which cGPSmapper will get the third point NodeID of the restriction Name of the field in the associated dbf file from which cGPSmapper will get the fourth optional for 4 point restrictions only point NodeID of the restriction Name of the field in the associated dbf file from which cGPSmapper will get the first road Road ID of the restriction Name of the field in the associated dbf file from which cGPSmapper will get the second road Road ID of the restriction Name of the field in the associated dbf file from which cGPSmapper will get the third optional for 4 points restrictions only road Road ID of the restriction If from defined field TRUE or larger than 0 value is taken then restriction apply to emergency vehicles http cgpsmapper com 62 of 130 cGPSmapper Manual VehicleD field nam VehicleC field_nam VehicleB field_nam VehicleT field_nam VehicleP field_nam VehicleI field VehicleR field_nam If from defined field TRUE or larger than 0 value is taken then restriction apply to delivery vehicles If from defined field TRUE or larger than 0 value is taken then restriction apply to cars If from defined field TRUE or larger than 0 value is taken then restriction apply to buses If from defined field TRUE or larger than 0 value is
101. ightdNavaid white 0 4 N 0 170 59 23 lighted Navaid white N OxIcOF 5647 22 lighted Navaid white N OoiBIO 69s 27 lighedNavad red 00 N OxlIAlO 6672 26 j lightdNavaid red N ox910_ 616 25 lighted Navaidjred 0 0 N 0 1810 6160 24 lightdNavaid red N 0 1710 94 23 lighted Navaidjred O 0 0 N oxi610 58 2 lighedNavaid red 0 0 N 0x1B11 1 699 27 green N X 663 26 lighted Navaid green NJois1 611 25 lightedNavaid green O N 0 811 6161 24 lighted green NJOi711 1595 23 ligh tedNavaid green N 0x1611 569 22 lightdNavaid gren 0 2 690 27 lightedNavaid yellow oramber 2 6416 lighted Navaid yellow oramber N 0 1912 6148 2 lighted Navaid yellow or amber __ N 0 1812 612 24 lighted Navaid yellow or amber N 0x1712 1 5900 23 lighted Navaid yellow or amber N Oxi6I2 5650 22 lightedNavaid yellow or amber N 0 6931 27 lightedNavaid http cgpsmapper com 114 of 130 Description cGPSmapper Manual Code Decimal Filter Code Hex Dec 0 1 13 6675 126 lighted Navaid orange 0x1913 6419 25
102. in the properties window Double ntal x lights horizontal vertical flag gt YD yes gt no Default Applies only to following marine types Y points of types 0x01 XX FacilityPoint xxx Facility point sum of flags 0x000001 gt boat ramp 0x000002 gt drinking water 0x000004 gt restrooms 0x000008 gt picnic area 0x000010 gt campground 0x000020 gt marina 0x000040 gt fuel 0x000080 gt marine supply 0x000100 gt bait and tackle 0x000200 gt groceries 0x000400 gt restaurant 0x000800 gt water electric hook up 0x001000 gt boat motor rental 0x002000 gt guide service 0x004000 gt lodging 0x008000 gt dump station 0x010000 gt handicap accessible Applies only to following marine types points of types 0x0903 Y v Vv V V V V V V V V V V V V V V 4 4 Levels 4 4 1 Introduction Every Garmin GPS with mapping capability gives you the option to zoom in or out on the map page either displaying a small area in great detail or a larger area in less detail The selection of map objects which it is appropriate for the unit to display is dependent on the zoom level For example when you are zoomed in you would probably want to see individual buildings on your map As you zoom out this level of detail would be inappropriate because it would make the map too cluttered Using levels in your PFM file allows you to dictate the zoom settings at which your map objects will be visible Levels also all
103. iption XXXX gt lt cn gt lt x XXXX This definition describes a 4x4 rectangle with a black 1 pixel border and a transparent center Refer to amp section 12 3 5 How do I create XPM definitions on page 123 fora discussion of how to create XPM descriptions using a graphics editor and conversion tools http cgpsmapper com 77 of 130 cGPSmapper Manual line Definitions Line definitions are used to replace the standard polyline types including roads There are two ways to define a line You may either declare the line s color and thickness attributes for its interior and border or you may provide a custom bitmap Both methods allow transparency in the definitions Line declaration method 1 Declare a line thickness and border thickness line 0 01 LineWidth 5 BorderWidth 1 xpm 0 04 0 1 c 20c818 2 c 4309838 3 c 1205818 4 c 086808 stringl 0x04 Toll Road string2 0x08 Carretera de pago end This definition specifies a replacement for polyline 0x01 Major highway LineWidth is specified as 5 pixels BorderWidth is specified as 1 pixel xpm 0 0 4 0 Define both day and night colors 4 This line indicates that there is no pixel bitmap only color definitions There are 4 colors defined 2 for daytime and 2 for nighttime 1 c 20c818 Daytime interior color 2 c 4309838 Daytime border color 3 c 20c818 Nighttime interior color 4 c 4086
104. level 0 i e levels 0 1 2 and 3 Levels and LevelsNumber are old equivalents of EndLevel 4 4 3 1 Tailoring shape according to level In the previous example our map object had the same coordinates at all the levels in which it was visible For single point objects there s no need for the coordinates to vary You don t want your village moving around the countryside as the user zooms in or out on your map For lines and regions you may wish to modify the coordinates according to zoom level Consider the following footpath RGN40 Type 22 Label EndLevel 3 Data0 51 562624 1 070283 51 561637 1 070592 51 561272 1 069878 51 560059 1 064277 END This path will be visible and have exactly the same shape at levels 0 to 3 Now let s change it slightly RGN40 Type 22 Label EndLevel 2 Data0 51 562624 1 070283 51 561637 1 070592 51 561272 1 069878 51 560059 1 064277 Datal 51 562624 1 070283 51 561272 1 069878 51 560059 1 064277 END The path is still visible at levels 0 to 3 but the shape changes subtly between level zero the greatest detail and level one At level zero there are four vertices in the line At levels one and two this reduces to three vertices What we are actually doing here is specifying that we are only interested in the precise shape of the bend in the path at the highest zoom level Reducing the detail at higher zoom levels can reduce the size of your digit
105. ll be after the street name gt Y gt the house number will be before the street name Default Y gt NO the ZIP code will be after the street name Y 2 the ZIP code will be before the street name Default Y Should be used in conjunction with RegionName Defines the default region name for automatic city indexing If not defined cities will be indexed only if city index info is explicitly provided 80 characters maximum This is a replacement of depreciated key DefaultCityCountry http cgpsmapper com 11 of 130 cGPSmapper Manual RegionName region Tresize n RgnLimit n SimplifyLevel n Should be used in conjunction with Count ryName Defines the default country name for automatic city indexing If not defined cities will be indexed only if city index info is explicitly provided 80 characters maximum This is a replacement of depreciated key DefaultRegionCountry Maximum allowed region size A higher value increases the allowable region size but may decrease the map performance a lower value may increase the map size Suggested values gt topo maps 1000 2000 gt city dense streets 2000 5000 gt countryside 6000 10000 Maximal number of elements in one region Can be any value between 50 and 1024 values less than 50 don t make sense Recent experiments show that this parameter does not impact map performance and can be set to maximum allowe
106. lled Dictionary which allows you to switch map objects of the same type on or off for each level DICTIONARY is an optional section and follows after the IMG ID section 4 5 2 Concepts and Terminology Dictionary uses strings of 0 s and 1 s where the position of each digit in the string corresponds to a specific map object type and thus controls the display of that object type Programmers refer to this as a bit mask A bit is a binary digit In binary there are only two digits 0 and 1 In a bit mask 0 normally represents false or and 1 represents true or on In PFM each map object type has a code amp Refer to section 12 3 on page 106 for a list of object types with codes in hexadecimal and decimal You do not have to be familiar with hexadecimal the decimal equivalent works just as well In hexadecimal there are 16 digits O to 9 plus a to f In the Dictionary bit mask each bit digit refers to the object type code corresponding to the bit position counting from the left of the string E g the first bit refers to map object type 1 the second bit refers to map object type 2 and bit 20 refers to object type 20 and so on The PFM allows for a bit mask to be defined for each map level The format is Level RGNnn lt bit mask where indicates the level the object class 10 20 40 or 80 and bit mask is a string of 0 s and 1 s If you set the first bit in the bit mask to 0 no objects of typ
107. ls no spatial data are processed only generic boundary is taken No index file is created Option x will switch cpreview into such generic mode C mymaps gt cpreview mypv mp x 9 4 PFM format of preveiw control file The preview control file used with cpreview program is a text file with two sections inside MAP section which defines general attributes of the map set to be generated and FILES variable length section which lists all the detailed IMG files to be included into the map set Cpreview program after processing the control file will generate at least following files MP file and file that s are extension of the created files because exact naming depends of the MAP configuration section For further details of index creation see section 6 on page 64 which explain more about global index file creation done by cpreview 9 4 1 Structure of the preview control file The basic structure of the preview control file is shown below http cgpsmapper com 87 of 130 cGPSmapper Manual MAP FileName MapSetName ProductCode 00000001 Levels 10 END MAP FILES img img ENB FILES Exact format of the preview control file MAP 11 MapsourceName x XXXXXX Name of the filename to be created excluding extension which is added automatically TDB MDX Cannot use period as well
108. m 21 of 130 cGPSmapper Manual Marine x Indicates if the object is extended marine type gt 0 gt standard type gt 1 gt extended type Default Label object name Refer to section 4 2 4 1 on page 19 for details EndLevel amp Refer to section 4 2 4 1 on page 19 for details Background x Declare the custom shape of the map The background object defines the area of the basemap which is covered by this map It is recommended that background be only used with maps which have irregular boundaries If there is only one object set as the background then the EndLevel is automatically set to 9 If there is no background object or more than one then the EndLevel is not changed It is common mistake to use a background object when defining an island An island is implemented simply as a hole in the containing polygon amp Refer to section 10 6 for details To create a background object in the shape of the island is quite wrong A background object is not a It should only be used to describe the total area covered by your map Most maps do not require the use of this object at all The only exception is when you want to create map with an irregular boundary In which case you should create ONLY ONE BACKGROUND OBJECT which covers the whole map If you create a lot of background objects don t be surprised that map is strange slow etc gt N gt gt Y gt Yes
109. mation when preparing source data for compilation cGPSmapper starting from version 0 95 during normal IMG file generation is also creating additional IDX file which is used later by cpreview program IDX file contain index information of objects which is normally lost during conversion from MP format to final IMG format After index generation with use of cpreview program all IDX files can be removed It is important to define CODEPAGE in every MP file in the section IMG ID to assure that indexing will work correctly By intention there is a special meaning of opening bracket if first character of street name is such opening bracket street will not be indexed amp If opening bracket will be not used as a first character then street will be indexed Whenever multi word indexing is used all words within the label will be indexed except words after opening bracket 6 4 Multi attributes assignment http cgpsmapper com 65 of 130 cGPSmapper Manual Single street can be assigned to more than one city region what is useful whenever we want to make possibility of searching by city name and for example by quarter name Program can handle up to 3 names assigned to a single street RGN40 Label road 1 CityName cityl city2 RegionName region CountryName country Data0 END RGN40 In above example street will be searchable by both names city1 and city2 both belonging to
110. ment lines and are ignored by cGPSmapper They are there so that you do not need to actually count the digits to determine which one refers to which object code DICTIONARY 5 0 2 3 4 1234567890123456789012345678901234567890123 LevellRGN40 1111110000000000000000000000000000000000000 Level2RGN40 1111100000000000000000000000000000000000000 Level 3RGN40 1110000000000000000000000000000000000000000 Level 4RGN40 0000000000000000000000000000000000000000000 END DICTIONARY RGN40 Type 0x01 Label Highway 1 EndLevel 3 Data0 51 562624 1 070283 51 561637 1 070592 51 561272 1 069878 51 560059 1 064277 END In the same way we can use dictionary to filter polygon RGN80 and point of interest RGNIO amp 20 objects by defining bit masks using Level RGN80 and Level RGN10 Dictionary for POI RGN10 and 20 objects works slightly differently in that the POI objects are controlled in groups amp Refer to section 12 3 on page 106 for a list of object types with codes in hexadecimal and decimal Object type codes for POI consist of a group code and a subtype code For the decimal codes the subtype is shown in brackets after the group code The hexadecimal POI object codes are of the form Ox nn where is the group code and nn the subtype code The Dictionary filter operates on the whole group and thus bit mask positio
111. mpact of saving objects in one format or the other 97 10 3 3 Preferred method vsti Riss ER Pie td ee 97 10 4 RELATIONSHIP BETWEEN LEVELS IN THE DETAIL MAPS AND THE PREVIEW MAPS 98 10 5 FILLING GAS STATIONS NOT SHOWING IN THE FIND FUNCTION OF THE GPS 98 10 6 ISEANDS AND 2 2 t etaed ete npa re e GTP VID 98 11 GLOSSARY AE 100 12 APPENDICES TE 101 12 1 CGPSMAPPER COMPILATION ERRORS AND WARNINGS cce 101 12 27 E NDPESS SSS ST aA ea Sateen ob In nde sie tare i 105 A22 E 105 12 2 2 Dif cllOnses isset Ree wed es 106 12 2 3 lt eA lh aye e ease 106 12 3 CGPSMAPPER OBJECT TYPES 18 20022 10000000000000000 106 I2 T POI ISDES enira 107 2322 tibns Co RD Ras vila bai Ce 117 12255 HROLYGON TE eS E e dete ERI Oe ard GS kN edet Sidi 119 12 3 4 Custom types name substitution 122 12 35 How do I create XPM definitions 123 12 4 CGPSMAPPER 8 4 4 1 0000000 01 0001000000000000000000
112. msc L dob d 83 130 cgpsmapper com http cGPSmapper Manual Sample screen from MapSource of CustomDemo img http cgpsmapper com 84 of 130 cGPSmapper Manual Sample screens from n vi E Standard roads and cities A er ste 44 b 4 22 2 4 2 b Ten Back Set Loc Standard Scrub camping mountain range sj anas 15300 9 909 99 9 Custom roads and cities Back Set Loc Custom scrub camping mountain range http cgpsmapper com 85 of 130 cGPSmapper Manual 9 MapSource MapSource is Garmin s Windows and only Windows PC based GPS interface program As with most similar programs it allows upload and download of waypoints routes and tracks Of more interest to us is the fact that it is also capable of displaying vector based mapping on the PC and also uploading the map data to mapping capable GPS units The MapSource program is included with maps bought from Garmin The same program is shared between the various map sets that Garmin supplies Recently Garmin have been supplying MapSource and Waypoint manager free with their mapping GPS units This program can also be configured to read custom maps It was larg
113. n controls POI group As far as the Dictionary filter is concerned you can ignore the nn subtype code The following PFM dictionary section will filter out all POI objects and display only dining type POIs 0x2A00 to Ox2AFF on levels 1 to 3 In this example the comment lines count in hexadecimal but you can count in decimal if you prefer http cgpsmapper com 49 of 130 cGPSmapper Manual DICTIONARY E 0 1 2 12345678 9abcdef0123456789abcdef012345678 9abcdef LevellRGN10 200000000000000000000000000000000000000000100000 Level2RGN10 200000000000000000000000000000000000000000100000 Level 3RGN10 00000000000000000000000000000000000000000100000 Level 4RGN10 00000000000000000000000000000000000000000000000 END DICTIONARY Note that the Dictionary bit mask only operates on the objects defined on a layer To define a specific object on a layer a Data entry or an appropriate EndLevel entry is required for the object Refer to section 4 4 on page 42 for details http cgpsmapper com 50 of 130 cGPSmapper Manual 5 Routable maps 5 1 Introduction Preparing maps data for making routable maps is a challenge due to additional complexity of the source data comparing to non routable maps There are several additional rules that have to be followed in order to have a working map at the end The most important thing is to prepare a correct network for ro
114. nd considering the digitalisation direction 1 gt one way road opposite to the digitalisation direction 0 gt two way road Used for routing Defines that it is a toll road 1 gt emergency vehicles allowed on the road 1 delivery vehicles allowed on the road 1 gt no cars allowed on the road gt no buses allowed on the road 1 gt no taxis allowed on the road pedestrians allowed on the road 1 bicycles allowed on the road 1 gt no trucks allowed on the road Name of the file with long text for very long description of the object Starting line number from TextFileLines file to be imported Ending line number from TextFileLines file to be imported Text file name to be imported amp Refer to section 0 on page 31 for details amp Refer to section 0 on page 31 for details Refer to section 0 on page 31 for details amp Refer to section 0 on page 31 for details amp Refer to section 0 on page 31 for details amp Refer to section 0 on page 31 for details Refer to section 0 on page 31 for details http cgpsmapper com 28 of 130 aa 0 a hy cGPSmapper Manual DepthFlag field na InternationalDesig nator field name HeightAboveFoundat ion field name HeightAboveDatum f ield name HeightAboveFoundat ionUnit field name
115. nd show next street name active gt Y gt Yes gt no Default N Lock on road show next street name and house numbers along street active gt Y gt Yes gt Default N http cgpsmapper com 10 of 130 hy hy hy a hy hy cGPSmapper Manual Routing x Lock x ProductCode x CopyRight XXXXXXX Elevation x POIOnly x POIIndex x POINumberFirst x POIZipFirst x CountryName countr Lock on road show next street name active house numbers along street and routable maps active gt Y gt Yes gt N gt no Note for routable maps a special data format required Default N Final IMG file will require unlock code specific for each GPS device gt Y gt Yes gt Default N Subfamily identifier used for locked IMG files only value between 1 and 60 Each subfamily can be unlocked with universal unlock code or separately with individual unlock code Default 1 Text visible in welcome page of GPS amp Refer to section 10 1 on page 95 for details 80 characters maximum m metres gt f gt feet Default f No longer used supported gt NO objects will be indexed only if POI index info is explicitly provided gt Y gt all POI objects will automatically be indexed may be searched by the Find function in the GPS Default N gt N gt the house number wi
116. ndable by your GPS receiver and Garmin MapSource There are different cGPSmapper versions refer to section 12 3 4 on page 122 with diverse features 2 2 3 What is sendmap sendmap is a command line program used to transfer vector map files generated with cGPSmapper to your GPS receiver 2 3 Document Conventions Text in italics is shown in the Glossary page 100 2 3 1 Code Textin monospace font represents literals to be inserted literally in the PFM file Text in underlined monospace font represents metavariables which appear to the right of the equals sign in many statements Metavariables should be replaced with appropriate values as described in the explanation or self evident Text in normal font is explanatory and should not be inserted into the source file The number sign special metavariable takes a numeric value E g Data stands for 0 Datal etc The special iteration operator in a statement line has its intuitive meaning This operator in a separate line denotes that the preceding statement may be repeated zero or more times http cgpsmapper com 5 of 130 cGPSmapper Manual with various typically consecutive values of the metavariable If the iteration operator is preceded by a pair of statements with metavariables the whole pair should be repeated see specific statements for examples Text in orange colour e g Name are mandatory statements in the giv
117. ng three are standard type Ox4F 0x50 and 0x51 The black boxes show 32x32 tiles Notice that the leftmost tile uses two colors while the next three tiles use transparency When defining a polygon bitmap transparency may be used in either the foreground or background color position You may define 2 colors which will be used for both day and night rendering or 4 colors with colors 3 and 4 used for nighttime rendering http cgpsmapper com 80 of 130 cGPSmapper Manual polygon Type 0x4e 5 5 tringl 0x04 Wilderness tring 1 0 08 Yermo xpm 32 32 4 1 e wt a 26 889 77 1 2 77 1 2 889 EHE EE CE THE E ET em EET EE E EE EE EE EE E EU I E EIE Nigh Nigh Daytime foreground Daytime background time foreground time background http cgpsmapper com 81 of 130 cGPSmapper Manual 8 3 Putting it all together If you are serious about creating custom types I recommend that you prepare a small Polish format test file so that you can quickly check your work Once you have things the way you want them then you should apply your TYP file to your larger maps I use MapSource to test my work in progress as it is much quicker than making a GMAPSUPP IMG file and downloading it to the unit Once I m satisfied with the appearance in MapSource then I proceed to do the download and in
118. object Only used for polylines i e when Type RGN40 or Unique ID number for the road This is internally used by cGPSmapper to maintain routing data creation Used for routing This attribute defines the maximum allowed speed it is used mainly for calculating fastest possible route There are 8 of them 7 gt 128 km h 6 108km h Can be adjusted in MapSource 5 93 km h Can be adjusted MapSource 42 72 km h Can be adjusted in MapSource 32 56 km h Can be adjusted in MapSource 2 40 km h Can be adjusted in MapSource 20 km h v 02 8 km h ferry Used for routing http cgpsmapper com 27 of 130 hy uJ uJ uJ uJ uJ uJ uJ uJ uJ hy cGPSmapper Manual RoadClass field na OneWay field name Toll field name Vehic l Vehic l Vehic l Vehic VehicleT field nam VehicleP field nam Vehiclel field_nam E VehicleR field nam gt TextStart line num ber TextEnd line numbe TextFile file name Color field name This attribute defines the importance of the road for routing It is one of the most important attributes for routing The lowest importance is 0 the highest is 4 Road class 4 should be used for Major highways and other main roads Used for routing 1 gt one way road where the permitted direction is always from the beginning of the road to the e
119. of the road for the current segment Name of the field in the associated dbf file from which cGPSmapper will get the Zip code on left side of the road for the current segment http cgpsmapper com 61 of 130 cGPSmapper Manual LeftType field nam e RightType field na e Restrictions part Restrictions file NodeTl Node I Node l Road1l Name of the field in the associated dbf file from which cGPSmapper will get the numbering type for the left side of the road This field is optional as type can be determined from LeftStart and LeftEnd fields gt 0 gt No numbers gt 1 Even numbers only gt 2 Odd numbers only 3 Even and odd numbers on this side of the street Name of the field in the associated dbf file from which cGPSmapper will get the starting number for the left side of the road Name of the field in the associated dbf file from which cGPSmapper will get the ending number for the left side of the road Name of the DBF files with extension for restrictions This should be the full or relative path for the DBF file Name of the field in the associated dbf file from which cGPSmapper will get the first point NodeID of the restriction Name of the field in the associated dbf file from which cGPSmapper will get the second point NodeID of the restriction Name of the f
120. ough this section is obsolete it is still supported CITIES name END 4 2 2 4 Chart Info CHART INFO Name xxx Print mmyyyy Declares all cities used for indexing Name used to identify the city The first must always be one Subsequent must be in ascending order E g Cityl New York 80 characters maximum corresponding Region statement The first RegionIdx must always be one Subsequent must be in ascending order If included there must be at least 1 city per Region In theory the limit is 13 107 E g RegionIdx1 1 means that the current city is located in Region 1 right side of the equal sign The statements above can be repeated as needed Section terminator Declarations for marine charts attached to the marine chart object which is created automatically as well similar to the background object and also attached to the marine border line This section should only be present if in the IMG 1 section there is a definition Marine Y Chart Name e g La Plata to Nueva Palmira Chart Code e g Gb3561 a Chart Projection e g Mercator Place where the chart was published e g United Kingdom Map scale e g 1 100000 Longitude Delta Latitude Delta IALA system The areas that use the B system are the Americas Japan and the Philippines The remainder of the world uses the A system gt B Defaul
121. ow you to display map objects in different ways depending on the zoom level For example a lake might appear as a region at some zoom levels but a single point at others This is achieved by creating two map objects to represent your lake one a region http cgpsmapper com 42 of 130 cGPSmapper Manual and the other a single point and choosing levels for them so that the appropriate one is displayed at each zoom setting RIO URIN You may also want to show only the most important objects like main roads and cities at a wide zoom level and include secondary roads and other objects such as railroads at more detailed zoom Kua levels GENERAL SA 253 mI USO SS mapsource S at napsourcehi Figure 1 less detail map Figure 2 more detail example map example You can even have different sets of coordinates for the same map object at different zoom levels The most usual use for this is to include more detail perhaps showing every bend in a river when zoomed in and less detail when zoomed out Normally this will not be necessary though because cGPSmapper automatically reduces the number of points in higher zoom levels 4 4 2 Concepts and Terminology When you zoom in and out on your GPS map page a scale line is displayed in the bottom left corner of the map screen This is annotated with the current scale such as 800ft or 2km or whatever In a PFM file these zoom levels are identified
122. r com Version No city or POI indexing No additional city information No additional POI information No map copyright Maps created with this version should not be sold Shareware Direct support for ESRI shape format City and POI indexing is limited to 100 cities and POIs in standard maps Indexing means that cities and POIs may be searched using the GPS receiver s Find by name function subject to the receiver limitations City and POI indexing is limited to 65 500 cities and POIs in so called POI maps i e maps containing only cities and POIs with no dimensional objects such as roads or forests maps created with switch Additional POI information country region city and description displayed in the details window but no phone number and full address Additional city information country and region The purchased copy is registered permanently to the purchaser s name and e mail address this information is displayed by the receiver in the map copyright section Maps created with this version should not be sold Building numbering Additional city region and country information for roads and POI Search by address street name house number and optionally zip code and city Search for intersection City and POI indexes are not limited creation of global indexing multi IMG mapsets Full POI address and additional descriptions lock on road feature User defined copyright text Limited support
123. r than the greatest level at which you have defined them At lower detail levels the user will have to zoom in more than expected before the objects become visible The extent to which the detail setting affects the levels at which objects become visible has not been determined by the authors of this guide If this is important to you you will just have to experiment Perhaps more bizarrely the level at which things become visible can also be affected by what type of object it is You may find for example that two points of interest with identical map level settings but different types for example one is a building and the other a village become visible at different zoom settings on the GPS screen Precise determination of how the object type affects its visibility is beyond the resources of the authors Again if this is important to you you will just have to experiment As mentioned near the start of this section choosing correct zoom levels is not a precise science 4 5 Dictionary 4 5 1 Introduction Section 4 4 Levels explains how you can dictate the zoom settings at which your map objects will be visible However if you have a large map with many map objects and you need to change the display level for all objects of a specific type changing the EndLevel tag for each instance can be a cumbersome and time consuming task http cgpsmapper com 47 of 130 cGPSmapper Manual Fortunately the Polish file format has a solution ca
124. r to section 5 7 on page 55 for further details DEFINITIONS END Section terminator 4 2 4 Body Objects gt BODY objects may be specified in any order http cgpsmapper com 18 of 130 cGPSmapper Manual 4 2 4 1 Point of Interest POI Type object type Marine x City x Label object name EndLevel Point of interest section identifier RGN10 meaning point of interest and RGN20 meaning point may be used instead Type of element may be written in hex or decimal or as a name valid names are defined in file RGNtyps txt which you can customised to your requirements SubType defines the second byte of the Type value The type of element can be defined either by using the Type key only or by using the Type and SubType keys Example Type 0x0211 can be also written as Type 0x02 SubType 0x11 Extended marine types can be stored in 3 bytes as follow 0 010203 What correspond to 0 02 SubType 0x03 Marine Y Indicates if the object is extended marine type gt NorO0 gt standard type gt 1 gt extended type Default Indicates if the POI is a city Only used if the POT alias is used gt Nor0 gt nota city instead of RGN10 gt 1 gt city instead of RGN20 Default Name of the object to be shown on the map 80 characters maximum amp Refer to section 4 4 on page 42 for details The coordinates
125. s http cgpsmapper com 34 of 130 cGPSmapper Manual SubType object typ SubType defines the second byte of the value e The type of element be defined either by using the key only or by using the and SubType keys Example 0 0211 can be also written as 0 02 SubType 0x11 Label object name Optional name of the object to be shown on the map 80 characters maximum Data lat lon Origin lat lon may be used instead amp Refer to section 4 4 on page 42 for details Coordinates are in degrees using the datum defined in the header or default EndLevel amp Refer to section 4 2 4 1 on page 19 for details Marine objects may also have the following keys depending on the ob ject_type Very long description information displayed in the n properties windows of the object W There could be several Text entries in a single object Applies only to following marine types polygons of types 0x0700 and 0 0704 points of types 0x0801 and 0x0902 16kb maximum each entry o IlextFile file name File containing a very long description information n displayed in the properties windows of the object W There could be several TextFile entries in a single object The path could be either gt absolute or gt relative to the current directory For platform portability it is recommended to use slashes instead o
126. s tct t cubo US c 42 4 4 1 InUQdu eto es i 42 4 4 2 Concepts and Terminology Un 43 4 4 3 Using levels when defining map objects 45 4 4 3 1 Tailoring shape according to level enne nre 46 4 4 4 Idiosyncrasies of GPS hardware 47 4 5 DICTIONARY ua 47 http cgpsmapper com 2 of 130 cGPSmapper Manual 5 4 5 1 ANG ODUCTION NER 47 4 5 2 Concepts and Terminology We rota duh 48 4 5 3 Usinge Dictionary deae 46 ROUTABLE MAPS 202555566 X 51 54 INTRODUCTION Zi an pan n au a EHE OG 51 5 2 GENERAL REMARKS LIS A SASS SS AA NSS u ya 51 5 3 CONCEPT OF INPUT DAT Apetina d aeter imet ipe tar 51 5 4 ROAD CEASS Diti els e bete eie 53 5 5 SPEED ATTRIBUTE inr UE 53 5 6 ROUTING ATTRIBUTES aa Q u E R u aa lu 54 5 7 RESTRICTIONS ERIGI hua 55 5 Z 1 Restriction definition with ESRI format Dy 5 8 IROAD SIGNS t aee e e ver EE iV 57 5 9 ROUTING DATA DEFINED FOR ESRI FILES
127. se unlock key generated for different GPS ID The exception is MapSource which allow to see the map with any valid unlock key not important for what GPS ID generated http cgpsmapper com 68 of 130 cGPSmapper Manual Starting from cGPSmapper version 0 94 it is possible to generate unlock keys in 2 forms basing on GPS ID value or locking map to SD card For that a special key generator is delivered which is working only on Pocket PC platform 7 3 Locking maps with cGPSmapper Locking with cGPSmapper is as easy as adding few more entries into the IMG ID section This is IMG ID Lock Y ProductCode RegionID FID END Lock Y this will turn on generation of the locked IMG file ProductCode value within a range of 1 up to 60 RegionID value within a range of 1 up to 255 FID key valid only with multi FID registrations IMG created with such additional keys will be locked meaning useless without a proper unlock key FID value defines general identification of the whole mapset it has to be unique within all maps uploaded to GPS used with MapSource ProductCode value defines product ID within one FID Each product is visible as a separate map in MapSource GPS however all maps with same FID are sharing the same global index file MDR file therefore it is very important to build a common index file for all the products within the FID RegionID value defines a singl
128. signated for use with GPS will be created Y map designated for use as preview map for MapSource will be created Default No longer used supported No longer used supported No longer used supported No longer used supported No longer used supported Value between 0 and 31 indicating the priority used by the GPS to draw the map The highest value the highest priority is set Priority for the transparent maps is calculated by adding always 32 to the set priority by DrawPriority value Default 25 Indicates if the map is of marine type N or 0 gt non marine map Y or 1 2 marine map B or 2 gt marine map compatible with G2 devices X or 3 2 non marine map compatible with G2 devices be aware Garmin does not produce such non marine maps compatible with G2 devices only Default amp Refer to section 0 on page 31 for details Y v V V V V V V V v v v v http cepsmapper com 14 of 130 cGPSmapper Manual LeftSideTraffic x NT x END 4 2 2 Declarations Indicates if driving side is right default or left gt NorO0 gt driving side is right gt 1 gt driving side is left Default amp Used for routable maps only for proper display of roundabout icon other maneuver icons Experimental Changes storage format to NT like This is NOT YET real Garmin NT format gt Nor0 7 normal storage format gt 1 gt Exp
129. spect the results on the GPSr Working with small files makes this process much much easier I ve also created a template MP file formatted to fill the nuvi screen exactly This makes it easy to compose test images that won t be blocked by the menu and on screen zoom buttons It s fairly simple to create such a template for your specific unit and it will save you a lot of time in the long run I recommend it Workflow Create a MP file with the object types you are customizing See CustomDemo mp for an example Select all of the objects in the file and drag them a location near where your GPSr thinks it is When you look at your files on the GPSr you ll only have to drag the map a little bit to see the results Compile your MP file e Create a TXT file with your custom type definitions Use CustomTypesDemo txt as a starting point to create your own variations e Compile your custom type file with cGPSmapper using the typ switch cGPSmapper typ CustomTypesDemo txt e Use Sendmap 2 0 v 3 3 to assemble your img file and your file into a single GMAPSUPP IMG Download GMAPSUPP IMG into your GPSr Turn off any loaded mapsets other than your IMG file to make it easier to find and view your work e Repeat http cgpsmapper com 82 of 130 cGPSmapper Manual Sample screens from MapEdit of CustomDemo mp lt e N e lt Q EN a wee 2 er i o 5 E E
130. t A Paper chart print date gt Note that MapSource will show the day as 01 the day field 1s not available in the GPS Unlikely since each city normally is located a single region http cgpsmapper com 16 of 130 cGPSmapper Manual Edition mmyyyy Paper chart edition date za Note that MapSource will show the day as 01 the day field is not available in the GPS Correction ddmmyyy Paper chart correction date Text xxx Very long description information There could be several Text entries in a single object 16kb maximum each entry TextFile file name File containing a very long description information There could be several Text File entries in a single object The path could be either absolute or relative to the current directory For platform portability it is recommended to use slashes instead of backslashes to separate directories in the path In Unix ile name is case sensitive 16kb maximum each entry ReferenceEllipsoid Reference Ellipsoid 0 gt Krassovsky 1 gt Airy 2 gt Modified Airy 3 gt Australian National 4 gt Bessel 1841 5 gt Bessel 1841 Namibia 6 gt Clarke 1866 7 gt Clarke 1880 8 gt Everest Brunei 9 gt Everest India 1830 10 gt Everest India 1956 11 gt Everest W Malaysia 1948 12 gt Everest W Malaysia 1969 13 gt Modified Everest 14 gt Fischer 1960 Mercury 15 gt Modified Fischer 1960 16 gt Fischer
131. t you can do in your favourite text editor Hold down the ALT key type the numbers 0169 on the numeric keypad and then release the ALT key You must use the numbers on the numeric keypad as opposed to the numbers across the top of the keyboard You must also have Num Lock turned on The second line of the copyright text associated with the CDSetName See above The third line of the copyright text associated with the CDSetName See above Code page for the index files Has to be consistent with coding in all IMG files included into map set Important when global index file is created amp Refer to section 6 on page 64 for details Label coding for the index files Has to be consistent with coding in all IMG files included into map set Important when global index file is created amp Refer to section 6 on page 64 for details FID identifier used for map set Has to be consistent with coding in all IMG files included into map set Important when using lock feature of cGPSmapper amp Refer to section 7 on page 67 for details Product code of the map set Allow creating several separate products map sets within one FID This value cannot be higher than 60 Has to be consistent with coding in all IMG files included into map set http cgpsmapper com 89 of 130 cGPSmapper Manual ID n Height Protile x Level s n ID value of the preview IMG file It is strongly recommended to set this value alw
132. t one of them must be specified amp Refer to section 4 4 on page 42 for details on the valid object types Name of the field in the associated dbf file from which cGPSmapper will get the Cit yName for each object Only used for polylines i e when Type RGN40 or Vy V V Vv V Vv v http cepsmapper com 26 of 130 hy a hy hy hy hy uJ uJ uJ cGPSmapper Manual RegionName field_n CountryName field_ HouseNumber field_ RoadID field name Name of the field in the associated dbf file from which cGPSmapper will get the RegionName for each object Should not be present if DefaultRegionCountry element is present in the IMG ID section Only used for polylines i e when Type RGN40 or Name of the field in the associated dbf file from which cGPSmapper will get the Count ryName for each object Should not be present if the DefaultCityCountry element is present in the IMG ID section Only used for polylines i e when Type RGN40 or House number written as a string Used for address search and routing Only used for POIs Type RGN10 or Type 16 Street name or additional description Only used for POIs Type RGN10 or Type 16 Phone number written as a string Only used for POIs Type RGN10 or 16 Name of the field in the associated dbf file from which cGPSmapper will get the Zip for each
133. ta needs to be defined in a different DBF file than all the other attributes routing definition other road attributes Each single restriction is defined in a single row of data in the DBF file Following fields are required in order to define restriction data RESTRICTIONS Name of the DBF file with restrictions NODEIDI First NODEID point of restriction NODEID2 Second NODEID point of restriction NODEID3 Third NODEID point of restriction NODEID4 Fourth only for 4 points restrictions NODEID point of restriction ROADIDI First road ID of the restriction ROADID2 Second road ID of the restriction ROADID3 Third only for 4 points restrictions road ID of the restriction VEHICLEE Optional field holding Boolean value 1 0 whether restriction should apply to emergency vehicles VEHICLED Optional field holding Boolean value 1 0 whether restriction should apply to delivery vehicles VEHICLEC Optional field holding Boolean value 1 0 whether restriction should apply to cars VEHICLEB Optional field holding Boolean value 1 0 whether restriction should apply to buses VEHICLET Optional field holding Boolean value 1 0 whether restriction should apply to taxis VEHICLEP Optional field holding Boolean value 1 0 whether restriction should apply to pedestrians VEHICLEI Optional field holding Boolean value 1 0 whether restriction should apply to bicycles http cgpsmapper com
134. ter in the NodX of the MP format Optional fields are BOUND Entry Exit point of the map 5 9 3 Defining attributes of road segments in DEFINITIONS Same DBF file which define routing data can hold also following additional data City Region Country information for each segment of the road for left and right side of the road zip code information and house numbering along the road http cgpsmapper com 59 of 130 cGPSmapper Manual Each segment is defined by the NODE field which defines at which point of the road segment definition starts Segment definition is valid till next definition of segment or up to end of the road City Region Country information definition require definitions of the following fields LEFTCITYNAME Field holding city name on the left side of the segment RIGHTCITYNAME Field holding city name on the right side of the segment LEFTREGIONNAME Field holding region name on the left side of the segment RIGHTREGIONNAME Field holding region name on the right side of the segment LEFTCOUNTRYNAME Field holding country name on the left side of the segment RIGHTCOUNTRYNAME _ Field holding country name on the right side of the segment LEFTZIPNAME Field holding zip code on the left side of the segment RIGHTZIPNAME Field holding zip code on the right side of the segment 5 9 4 Defining restriction data in DEFINITIONS Restriction da
135. tion Here s a description of one approach using Photoshop Elements IconXP and Microsoft Word this is certainly not the only way Photoshop steps e Create the original full color image You may find it easier to edit the image at a multiple of its target size For example 96x96 is a good size as it scales well to 24x24 16x16 12x12 and 8x8 nicely Or you can edit at the target dimensions e Create your transparent areas as desired e Resize as needed to your target dimensions e Save PNG 24 format with transparency IconXP steps e Goto http www aha soft com iconxp index htm to download a trial version of IconXP The registered version is 20US e Open your PNG file from Photoshop e Export As XPM Microsoft Word steps e Open the xpm file e Look for any instances of color definitions using black or white replace them with 000000 or FFFFFF cGPSmapper does not support these literals e Copy the definition into your source file starting with the quotation mark before the first line of the declaration all the way to the closing brace Notepad steps e Add the necessary header type strings and end statement http cgpsmapper com 123 of 130 cGPSmapper Manual 12 4 cGPSmapper versions The table below lists the various versions of cGPSmapper and illustrates the main differences between each of the versions For more information including the latest prices visit http www cgpsmappe
136. tional aid and contains its own set of marine elements Although marine charts are generated managed and compiled in the same way as ordinary maps certain restrictions apply to the attributes of the objects e g extended attributes like CityName RegionName StreetDesc are not applicable marine objects are not searchable Such restrictions are explained in the present section All the attributes listed herewith are meant to be included in one of the following sections POI POLYLINE POLYGON amp Refer to section 4 2 on page 8 for details on these sections Marine maps cannot be transparent Most of marine types can be now used on usual maps Marine x Marine objects use many additional special attributes which are listed below gt Nor 07 non marine object gt Yor 17 gt extended marine object Default Marine value from the not present default Indicates if the object is of marine type MG D section If This key is no longer necessary if extended 3 bytes type definition is used Extended marine types can be stored in 3 bytes as follow 0 010203 What correspond to 0 02 SubType 0x03 Marine Y Marine objects have only the following keys in common Type object type Type of element may be written in hex or decimal or as a name valid names are defined in file RGNtyps txt which you can customised to your requirement
137. to following marine types Y points of types 0x02XX accepts ONLY colour attribute Y points of types 0 01 G Light colour rang Definition of light colour nominal range and light sectors Vy V V V V V V V angle colour Light 2 3 10 0 3 3 205 0 defines colour 2 range 3 nm tange angle from angle 10 0 to 205 0 and colour 3 range 3 nm from W angle 205 0 to 10 0 The true geographic angles should be used as opposed to magnetic Angles are arranged clockwise and are given from seaward toward the light These are bearings of the light as seen from a vessel crossing the sector lines Please note that you can change the Light sectors setting both in MapSource and in your GPS receiver to suit your needs Applies only to following marine types points of types 0x02XX accepts ONLY colour attribute points of types 0x01 XX http cgpsmapper com 39 of 130 cGPSmapper Manual LightType xxx Definition of the light type Can be a number as decimal or hex or a letter If the value is a letter then the light type is set to OxOb Morse code and letter is used as a Morse code letter Hex values y v Vv V V V V V V V V V V V V V V V N N N N N N N N N N N VV VV 0x00 gt unlit 0x01 gt fixed 0x02 gt isophase 0x03 gt flashing 0x04 gt group flashing 0x05 gt composite group flashing 0x06 gt occulting 0x07 gt group occulting 0x08 gt composite group occulting 0x0
138. ts e g summit building polylines linear objects e g street stream and polygons area objects e g lake forest For non dimensional objects POIs and points it is necessary to define the object attributes such as label and type as well as the object coordinate pair latitude longitude For dimensional objects polylines and polygons it is necessary to define the object attributes as well as coordinate pairs of all object vertices Providing the coordinates is the most laborious part of map authoring You may prepare the map source file mp using various methods by writing the complete source code with any text editor by generating it visually by drawing on the screen with any visual editor by importing objects waypoints and tracks created by the OziExplorer mapping software or by various combinations of those methods When you have finished your map you can compile it with cGPSmapper a number of methods are available and preview it after compilation The standard file extension for compiled maps is img Finally you can upload the resulting compiled map file img to your GPS with sendmap or MapSource All those operations and variants are described in relevant sections below http cgpsmapper com 7 of 130 cGPSmapper Manual 4 Map Project 4 1 Map Creation You write the source file in the PFM format the mp file using any text editor All map related information is provided in relevant statements
139. uting 11 51 61 Type 19 21 23 24 25 26 34 Routing attributes 54 Typebield iiie ctas reete abet 26 Routing ESRI 58 U S Unlock enis rt 68 Scale erae tue bead a E oed 16 V SD card map locking 02 MOC UOT TIA ee ee 5 NOC tata 71 28 63 58 28 63 5 95 VehicleD 28 63 Shapes 25 VehicleE 28 62 28 e ee x 28 63 M E 28 28 63 btt opas 58 OE MCN 28 63 D e 2 Vehicle T co csset itu 28 63 StreetDesc 20 23 27 126 28 36 W SUD T VBec 19 21 23 35 Warnings 101 SubTypeField a aaa 26 Windows registry 24 1 91 T 14 Table of Contents 2 X Table of Figures bsc a Is dte tap sea feft 126 APM EDU 75 79 TDBZ is b Deinde 87 Z Text enne 17 35 CIE CIE A 27 A 21 24 1 444 44004 17 28 35 Codes 18 TextFileLines
140. y create up to 4 default names in different languages to be used if the object does not have a label For example line Type 0x01 Stringl 0x01 Route French String2 0x02 Landstra e German String3 0x04 Highway English String4 0x08 Carretera Spanish LineWidth 5 BorderWidth 1 xpm 0 0 4 0 Define both day and night colors 4 1 20c818 Daytime interior color 2 309838 20 818 Daytime border color Nighttime interior color lt Ne Ne 4 086808 Nighttime border color end Code Language Code Language 0x00 Unspecified 0x12 Czech 0x01 French 0x13 Croatian 0 02 German 0x14 Hungarian 0x03 Dutch 0x15 Polish 0x04 English 0x16 Turkish 0x05 Italian 0x17 Greek http cgpsmapper com 122 of 130 cGPSmapper Manual 0x06 Finnish 0x18 Slovenian 0x07 Swedish 0x19 Russian 0x08 Spanish Oxia Estonian 0x09 Basque Oxib Latvian OxOa Catalan 0 Romanian OxOb Galican 0 1 Albanian OxOc Welsh 0 Bosnian OxOd Gaelic 0 11 Lithuanian OxOe Danish 0x20 Serbian OxOf Norwegian 0x21 Macedonian 0x10 Portuguese 0x22 Bulgarian 0 11 Slovak 12 3 5 How do I create XPM definitions If you want to create any other than the simplest shapes for your POIs you will want to use graphics tools to manage your source bitmaps and ultimate XPM defini

Download Pdf Manuals

image

Related Search

Related Contents

Samsung GT-P7100 Наръчник за потребителя  フルハイビジョン街頭防犯システム  My Samsung Galaxy S®5 for Seniors  mar 71 split - Scotsman Ice Systems  Solving a maximization problem with R - User  A sse m b ly In stru ctio n s Assembly Instructions English  Varispeed-606V7 - Yaskawa America, Inc., Drives & Motion Division  Sony Walkman D-F201 User's Manual    Scythe Kaze Master Pro Ace  

Copyright © All rights reserved.
Failed to retrieve file