Home
Mapgen User`s manual
Contents
1. Fonts serif esans serif ecursive efantasy monospace Times Baskerville e Verdena eSymbol Oneways olive olivedrab orange orangered orchid palegoldenrod palegreen paleturquoise palevioletred papayawhip peachpuff peru pink plum powderblue oneways add oneway arrows onewaycolor TEXT purple red rosybrown royalblue saddlebrown salmon sandybrown seagreen seashell sienna silver skyblue slateblue slategray slategrey color for oneway arrows snow springgreen steelblue tan teal thistle tomato turquoise violet wheat white whitesmoke yellow yellowgreen iu Lower scale maps For lower scale maps it might be appropriate to disable drawing of bridges and tunnels because they are too short and the map doesn t look pretty then Also the layer of ways will then be set to zero Then smaller ways are drawn first then bigger ones regarding thickness So important roads appear in one piece nobridge don t draw bridges and tunnels for lower scale maps Extracts If you don t wan t the whole osm data to be printed that is contained in the file no problem As long as you have installed osmosis and this can be invoked from the current directory by command line Just specify the name of a place or a node id and mapgen will look for such a place Upon success it will invoke osmosis to extract the needed data By default a width and height of 4km 2 2km radius 1s
2. The file must be in text format CSV and uses SPACE as a delimiter and as field delimiters and could look someting like this 8 50 40 blue confluence point 1 40 9 50 40 blue confluence point 2 40 8 45 50 086 40 red HOME 40 Ho dener Apfel Rathaus Hofheim a e LSS Circles around POls For some applications it is useful to be able to draw a circle around a POI like a fire department 1 e Just specify the k v of the POI with the circle parameter Add distance in meters the color and the thickness of the circle It is possible to have multiple POIs Just separate them with a hash It is also possible to have multiple circles around one POI Just use two entries This also applies to ways Here the center of the area way is first calculated and then taken as the center of the circle circle key value distance color thickness circle key value distance color thickness key value distance color thickness circle key value distance color thickness The value may be an asterisk Then all values of the key are allowed Example circle amenity fire_station 3000 black 30 S S N Wallau Apothexre Ka dx No labels mapping assistant To assist in mapping the no labels mode can be switched on In this case every object way node that should have a label will be labeled NO LABEL if the data to fill the label is not present in osm file This is like the no name layer on the osm web sit
3. gt residential ij am motorway am primary secondary wh E Es tertiary track a footway path cycleway park Si stadium Ti y t1 cemetery S D military Mi forest farmland residential industrial Mapgen by Gary68 User s manual Version 1 19 April 2011 Table of Contents reel re te EE 3 ehr E 3 Ire e e 3 Basie parameter cia iia 5 OU A ei 5 LBE cans Geatnmetdnntassae dimen andy E E Sianctn en le ke DR NER 5 M psize MM he HR id 6 EE 7 ET E 9 Understandame eS ai E 9 DE EMSA SCALE tor rules ALONG adidas 10 SOE Ue APP EEN 11 A O e 11 NG ASER o o ei me eres 11 EE 12 A E a a ace E E ee cerca ae ee eco eek eee ee 14 A ne Re eer 16 COO OO 17 Leet E 18 E RN 18 Lower SCANS EE 19 EXC cos 19 De iia 20 Gids EE 21 PASC MUDA AAA A 21 Ee 21 See by 0 Ls Te ood E Career nen ie sad ad 22 hee tam CP CULES cto MED inn 22 GE 23 Coordmates ee ME 24 EE PO BENE isla 25 Circles around RO ars italia 26 No labels IMAP PINS assistant A ide 26 DOS EOD al ia 26 Relaton analice E ZI Style tile Comyerstom rome SO LOST air di ab aid Zi EE 29 Some more examples TON GEMAN enaa a 29 Introduction Mapgen has its roots in osmdiff pl and osmrender pl They were very basic render programs Once Haiti was hit by the strong earthquake I wanted to provide large png maps for the local help This proved to be hard since so many things couldn t be done with my programs So I decided to improve the feature
4. mean It means that when printing with 300dpi the way will be displayed using 40 pixels which is roughly 3mm If you look at this same map on a screen you will have much larger ways because the resolution of the screen is much lower 90 120dp1 What to do Very simple To create a map for the screen using the same style file just specify scaledpi 117 1 e for my netbook Everything will be scaled now Of course you can t send this to the printer now because everything would be too small If you use the 300dpi rule file and you want to print with a higher resolution just specify scaleset 600 or 1200 What to do if you want to specify your rule file for another resolution than 300 Just as easy but don t forget You now have to use basedpi 75 or whatever you chose each time you call mapgen Let s look at our 40px way from above Assuming a base dpi of 75 this way would have to have a thickness of only 10px Assuming a base dpi of 600 would mean to specify a thickness of 80px Some Hints e my netbook has a resolution of 117 dpi s my 18 monitor has a resolution of 90 dpi e for printing choose a scalable format or a dpi of 300 dpi or more most laser printers today support 600 or even 1200 dpi Setting a scale for rules alone If you specify a certain scale for rulescaleset then for selecting rules not the actual scale of the map is used but the specified one This is useful to show more or less details than initially intended by the g
5. Miami A set of colors can be given by using the as a delimiter 3 Thickness INTEGER Of the line 4 DashType See above Of the line 5 Opacity 0 100 Opacity in percent 6 Label Valid keys Key to get the label from 7 stopNodeT INTEGER hickness 8 FromScale INTEGER 9 ToScale INTEGER The colors will be assigned to each found route in order of occurrence in style file if no k v for the colors are present in the osm file Additionally the labels can be configured by command line parameters routelabelcolor TEXT color for labels of routes routelabelsize INTEGER DEFAULT 28 routelabelfont TEXT DEFAULT sans serif routelabeloffset INTEGER DEFAULT 35 ei Hiking routes in the Taunus Some bus stops in Frankfurt Route icons Aditionally icons for routes can be added to the map if icons are provided as follows Create folder routeicons and save icons there As the file name choose the ref or the name of the route preceeded by the route type and a dash If the route has a ref the ref has to be used Example routeicons hiking E3 png OR routeicons hiking E3 svg The default icon directory can be changed icondir TEXT dir for icons for routes icondir i e DEFAULT routeicons You can also change the default distance of pixels between multiple icons for same way routeicondist INTEGER dist in y direction for route icons on same route DEFAULT 75 And perhaps sometimes i
6. e above 3 color see separate table the fill color thickness INTEGER key where value will be the label text entries can 5 label be separated by or AND PRIO special keys _lon and _lat 6 label color see list below label size INTEGER size of text 8 seg INTEGER NOT USED RIGHT NOW 9 legend 0 or LegendLa 10 bel The text to be shown in legend 11 Icon File name 12 Icon size In pixels 13 FromScale INTEGER 14 ToScale INTEGER A halo can be specified by using the option halo lt FLOAT gt white halo width for point feature labels DEFAULT 0 However then a bold font is used so you also have to adjust ppc to maybe 7 The halo is white and opacity is 90 Use large font sizes Ways Name Values Description 1 ke see wiki 7 values can be separated by a see wiki 1 gt e an asterisk may be used as a wild card values can be separated by a 3 color see separate list the fill color 4 thickness INTEGER thickness of line Dash styles have to be given in SVG format That is an even number of pra Kees E determines the style of the dashes forming 5 dash style value either butt round or square Se Example 20 20 round meaning d 20 pixels on 20 pixels off line ends round 6 Border TEXT Border color for the way Only valid if color border thickness is gt O 7 GE INTEGER Border thickness for th
7. e except it expands to every label property you specify in the rule file nolabel label ways and nodes without label with NO LABEL Debug Verbose will turn on lots of information to be printed while program executes This is mostly done for debug purposes verbose If you want to print a map only containing multipolygons you can specify so This is also a debug function although a graphical one multionly draws only areas of multipolygons for test purposes Relation analyzer mode ra TEXT TEXT types and or ids separated by commas add relation analyzer layer keep normal elements in map in light colors 56444 multipolygon Displays elements of relations in map Background should be kept in light colors Elements are labeled and whole relation will be placed inside a box Style file conversion from 1 16 to 1 17 From version 1 16 to version 1 17 the rule files have to be adapted sections ways and routes column dash style The numbers have to be replaced by none or actual SVG dash styles The following table lists the changes Old value New value 0 none 1 20 20 round 2 44 20 round 3 28 20 round 4 12 20 round 10 8 8 round 11 16 16 round 12 24 24 round 13 32 32 round 14 40 40 round 20 0 8 0 16 round 21 0 16 0 32 round 22 0 24 0 48 round 23 0 32 0 48 round 30 4 4 butt 31 8 8 butt 32 12 12 butt 33 4 12 butt 34 4 20 butt 35 8 20 butt Also a new column has to be added After th
8. e legend columns a new column named legend label has to be added That is the text to be shown in the legend Shields Shields for ways can be implemented by providing an SVG template and some special rule values First the simple thing the rule Instead of providing a label name provide this shield 1icons shield ger bab detf These are two values separated ba a colon The first indicates a shield shall be used The second tells the program which template to use Label size will then define the height of the shield The label itself 1s extracted from the ref tag Now the template 1 e icons shield_ger_bab def for the German Autobahn Motorway lt g 1d REPLACEID transform scale REPLACESCALE REPLACESCALE gt lt svg width 60px height 40px gt lt defs gt lt path id REPLACEPATH d M 10 20 L 50 20 gt lt dets gt lt rect x 0 y 0 width 60 height 40 sty le f rlLewhiterstroket4ErErtrrstroke widtheZ stroke linecap round stroke linejoin round stroke miterlimit 4 stroke opacity 1 stroke dasharray none stroke dashoffset 0 gt lt rect x 0 y 0 width 60 height 40 style fill none stroke 0000ff stroke width 2 stroke linecap round stroke linejoin round stroke miterlimit 4 stroke opacity 1 stroke dasharray none stroke dashoffset 0 gt polylin points 4 9 30 de 56 Y 56 Siz 30 36 4 31 E Oy 30 4 style fi11 f0000ff stroke none gt lt text font fam
9. e osm style mapgenRules csv out map svg Also specify size and that you want a PDF additionally perl mapgen pl in file osm style mapgenRules csv size 2048 pdf Now let s say you have a big osm file but only want a map of a certain city perl mapgen pl in germany osm style mapgenRules csv place Frankfurt This will probably not cover the whole of Frankfurt because the default radiuses are too small 2km each direction perl mapgen pl in germany osm style mapgenRules csv place Frankfurt lonrad 10 latrad 10 Now we want our map with grid lines and a street directory perl mapgen pl in file osm style mapgenRules csv grid 8 dir And let s turn off the legend perl mapgen pl in file osm style mapgenRules csv legend 0 Map size and the like The background color can be set according to the given color set The size of the picture 1s specified by the width in pixels Height is automatically calculated Clipping means that not all of the data given in the osm file will be presented This is useful to clip incomplete data at the edges of the area in the osm file Clipping can be done by a percentage or by giving a bounding box which might be more precise Giving a bounding box overrides simple clipping actual map y Symmetric clipping large multipolygon actual map data Clipping to enable big elements not completely in bbox Padding means to pad the map with an empty border Useful fo
10. e way thickness g eu Dozi 0 area will not be filled 1 area will be filled 9 label key where value will be used as label text entries can be separated by or if AND PRIO special keys _lon and _lat OR see Shields section 10 label color see below 11 label size INTEGER font size or shield height 112 a on see below family 13 label offset INTEGER offset for label text in y direction negative up positive down 14 legend 0 or I entry for automatic legend O no 1 yes 15 Fam Text Text to be shown in legend applies for areas closd ways areas tagged 16 base layer Oorl with are drawn as background first use for landuse natural etc 17 Icon TEXT Fill icon for area SVG and PNG supported 18 FromScale INTEGER 19 ToScale INTEGER Mapgen will produce a file that lists all labels that were not placed on the map but should have according to the rules given The file name 1s derived from the svg name and ends with _NotDrawnLabels txt The user can then process this information further Using _lon and _lat you could nicely label a natural peak using a second rule for elevation 1 e Using area icons Ay re Ber Feldberg 8 4574995 SO Cer Parkplatz Folder ewe Gir 23202 Ways with borders EN o ZE Routes e ep Name Values Description l RouteType bus hiking see wiki gt cu
11. ily sans serif font size 15 fill white font weight bold gt lt textPath xlink href REPLACEPATH text anchor middle startOffset 50 gt lt tspan dy 6 gt REPLACELABEL lt tspan gt lt textPath gt lt text gt lt svg gt lt g gt s We need a group definition per shield The group already holds the first values that will be replaced by the program REPLACESCALE e Inside this group an SVG element is defined with width and height The size in px is important because the program will read these values for scaling s Then the path definition follows Again we have a variable that will be replaced by the program REPLACEPATH e Now all the graphics elements follow like desired e Near the end the initially defined path is used to draw the variable label inside the shield Again the path variable and a label variable appear to be replaced by the program Some more examples from Germany Germany Primary lt a 1d REPLACEID transform scale REPLACESCALE REPLACESCALE gt lt svg width 60px height 40px gt lt defs gt lt path id REPLACEPATH d M 10 20 L 50 20 gt x defs gt lt rectk X 0 T y 0 wieth 6o0 heignt 420 style fill yellow stroke yellow stroke width 2 stroke linecap round stroke linejoin round stroke miterlimit 4 stroke opacity 1 stroke dasharray none stroke dashoffset 0 gt lt rect x 2 y 2 width 56 height 36 style f111 nones stroke 000000 stroke wtdth 2 s
12. in PDF You can create a formatted street and POI directory in PDF format To be able to do so you need some programs installed see installation latex dvips ps2pdf Also necessary is to also specify the options to create street and POI directories with dir and or poi and a grid created by grid x dirpdf creates directory of streets and POIs if according options for generation are set dircolnum INTEGER number of columns for PDF directory of streets and POIs DEFAULT 3 dirtitle TEXT title for PDF directory of streets and POIs DEFAULT mapgen map Statistics You can print a tag statistic about the usage of the keys and values To keep the list short unimportant keys are omitted This must be adapted in the code if desired The idea is to see what keys are used mostly So you can decide for which features rules are needed Mapgen will print an alphabetical list of keys and values as well as a list of the most used k v combinations At the end of each line the program prints if 1t knows a rule for that k v Output is separated for nodes and ways and will be written in a file called name_tagstat txt tagstat lists keys and values used in osm file program filters list to keep them short see code array noListTags TOR 20 ELST highway residential 123 RULE highway footway 351 RULE oneway yes FE highway service 21 RULE highway primary 19 RULE highway steps EE foot ves LZ highway secondary 11 RULE building
13. iven ruleset minScale maxScale A similar function can be found in the Garmin GPS receivers Map details normal more most less least rulescaleset INTEGER determines the scale used to select rules DEFAULI 0 meaning actual map scale is used to select rules Style file format In any case only one rule per object is used And this is the first matching rule according to the style file So it s possible 1 e first to look after all tracktype X Y and then having a default rule for all highway track So it is important to have more specific rule higher above in the sheet file The different sections of the file start with a SECTION line This line contains the word SECTION in the first cell These lines are mandatory even if no rules for a section are present You can add COMMENT lines for remarks if you enter COMMENT in the first cell These lines will be omitted when style file is read File Note that you can enter multiple key value pairs for a rule Valid for nodes and ways Different entries must be separated by a l If you for example want a rule for all tracks with tracktype gradel then the entries would be column key tag highway tracktype column value track gradel Nodes Column ee 4 Name Values Description see wiki key 66199 values can be separated by a l see above see wiki 2 value an asterisk may be used as a wild card values can be separated by a l se
14. olor for this text can be set scale print scale scalecolor TEXT set scale color DEFAULT black A specific scale can be set 1 e 1 25 000 by adding scaleset 25000 to the command line To be able to work with this information you have to specify the resolution of the output device in dpi By default this is set to 300dpi scaleset INTEGER 1 x preset for map scale overrides size INTEGER set correct printer options scaledpi INTEGER print resolution DEFAULT 300 dpi Setting the scale overrides the size parameter The program will in any case print information on how big the map will be and on what paper size it will fit basedpi basedpi is the dpi on which the sizes in the rules file are given So if you 1 e want to use a base resolution of 72dpi you could set this by specifying basedpi 72 You should then also specify scaledpi 72 basedpi INTEGER rule size resolution DEFAULT 300 dpi Understanding rules and dpi First of all The next paragraphs apply to PNG or other pixel related unscaled graphic formats like JPG or BMP When using PDF or SVG you don t have to care about this too much Because there is always a bit confusion about sizes of objects and the according rules I want to give some hints The rules provided in SVN are for a resolution of 300dpi So the resulting files should be suitable for printing In the file there are ways that have a thickness of let s say 40px What does that
15. ory in PDF format you ll also need the following latex sudo apt get install texlive latex base dvips sudo apt get install texlive latex bin ps2pdf sudo apt get install texlive latex bin Information about Osmosis can be found here http wik1 openstreetmap org wiki Osmosis Basic parameters Obviously there are some things that can t be hidden from the user So the user has to specify at least 2 basic parameters in file osm style style csv original can be kept and maintained in OO sheet or MS Excel in also supports osm bz2 format Default output name is mapgen svg Output Basic and only output format from mapgen itself is SVG That has the advantage that all further formats contain all elements that mapgen can produce Disadvantage is a post processing done by inkscape out file svg png and pdf names are automatic DEFAULT mapgen svg There are two options specifying additional output formats png also produce png inkscape must be installed very big pdf also produce pdf inkscape must be installed The names are automatic and derived from the out name Inkscape must be installed and your system must be able to run it from command line in the current directory The PNG files are rather big So maybe some post processing is appropriate Usage examples Most simple form perl mapgen pl in file osm style mapgenRules csv Also specify an output name if you wish perl mapgen pl in fil
16. r islands Program will output some useful information about map and paper sizes as well as resolution and scale bgcolor TEXT color for background size lt integer gt in pixels for x axis DEFAULT 1024 clip lt integer gt percent data to be clipped on each side O no clipping DEFAULT 0 clipbbeox lt Eloat gt TEloat gt Eloarto Eloar gt lett DOE TOM tight Lop of Dbox For clipping map out of data more precise than clip overrides clip pad lt INTEGER gt percent of white space around data in osm file DEFAULT 0 Advanced parameters By default a legend is drawn in the upper left corner This can be switched off legend INT 0O no legend l legend in top left corner 2 legend in lower right corners DEFAULT L You can also place the legend in the lower right corner by giving legend 2 The legend will only show elements that would be drawn if present in the current map scale A ruler is drawn by default in the upper right corner This can be switched off as well Additionally a color can be specified tower E y Krankenha 5 Hotel d residential MOlOrWway primary secondary tertiary track cones footway path ee e e cycleway line fall park forest farmland farmari ruler INT 0 no ruler l draw ruler DEFAULT 1 rulercolor TEXT DEFAULT black Optionally a scale value can be calculated and added to the map Of course the c
17. s pagenumbers size color number or pagenumbers size color number left bottom right top The first option will only draw the page number of this map in the lower right corner The second option will additionally draw connection page numbers to all borders of the map Street directory mapgen can even create a street directory It will do so including the grid squares where the street is located if the grid is turned on Output is an unformatted street list to be further processed The grid squares are separated by a tab File name is name_streets txt dir create street directory in separate file if grid is enabled grid squares will be added In the next table you can see a section of the street directory On the left without grids on the right with grid squares Burgstrake BULOST rabo a ade St a oo o Red StS e NES BI Cohausenstrake COMeAUS ens Ee ech ee Ge Al A2 Bl Crufterostrake CEUTTEROS ED Ee ted ae ances ae de D2 Elisabethenstra e ElAasabernenserabes y BZ El EZ DL El Eschborner Weg ESCUDOS Wed ses iaa als he are El Feldbergstrake FeldbergstraBhe ni Al Bl Poi and place list You can print a poi and place list like the street directory Grid option applies as well poi create list of pois DELER tI ac da CS D iedenberoen ssec ece F4 BOOSTS Me Usb ES eaten ERA G5 Edeka Kundenparkplatz G7 Falkenberg Keramag E7 e nel Ms 4s iia F6 EE EE lr sie eos aes oes 4 Cil Street and POI directory
18. s of my renderer and give it a new name So the basic goals became e Fast and easy map generation different output formats e Fast extraction of needed data out of osm files place Easy style file handling Street and place directories s Keep it simple easy invocation with only 2 mandatory parameters s Keep it powerful by using more parameters Hints The projection method used is Mercator ellipsoid is WGS84 Projection used is displayed in footer of map Be aware that at the edges of the map items may be missing This may occur when items are not completely contained in the osm file You can try to prevent this by using the clip parameter with larger values Installation Put the mapgen pl file in a folder Put dur ol in the same folder Put pm files in a subfolder called OSM can also be put into a directory contained in the INC pathes Get Math Poygon from CPAN and create a subfolder Math can also be put into a directory contained in the INC pathes Install osmosis if desired take care that it can be invoked from command line Install inkscape if desired take care that it can be invoked from command line This is necessary when usein SVG files as tile patterns or when converting from SVG to PNG or PDF bzip2 installation sudo apt get install libcompress bzip2 perl eGD installation sudo apt get install libgd graph3d perl Geo Proj4 cpan lt enter gt dann install Geo Proj4 For the direct
19. set But of course it can be overridden If you want to speed up the search process you can provide a placefile in osm format which only contains places Can be created with osmosis place TEXT Place to draw automatically quotation marks can be used if necessary node id can be given alternatively OSMOSIS REQUIRED lonrad FLOAT radius for place width in km DEFAULT 2 latrad FLOAT radius for place width in km DEFAULT 2 placefile lt TEXT gt file in which to look for places can be produced with osmosis speeds up search process Program will print used OSMOSIS string to STDOUT for later use Declutter Usually when drawing maps especially with lots of details clutter may occur emapgen will register an used area for each drawn label and won t use this area again emapgen will register an used area for each drawn icon and won t use this area again mapgen registers a polygon for each drawn way label and will prevent collision Icons will be placed at the given location Using option allowiconmove you can permit the program to slightly move icons if they don t fit the original position Labels are drawn afterwards and will be placed accordingly Using this option will significantly increase the number of drawn icons in cluttered areas In Frankfurt using a scale of 1 50 000 150 more icons could be drawn allowiconmove allows icons to be moved if they don t fit the exact position Text labels for nodes and areas
20. t comes in handy if you can scale the given route icons by a factor routeiconscale FLOAT factor to scale the height and width of the route icons zl bigger lt 1 smaller Colors aliceblue antiquewhite aqua aquamarine azure beige bisque black blanchedalmond blue blueviolet brown burlywood cadetblue chartreuse chocolate coral cornflowerblue cornsilk crimson cyan darkblue darkcyan darkgoldenrod darkgray darkgreen darkgrey darkkhaki darkmagenta darkolivegreen darkorange darkorchid darkred darksalmon darkseagreen darkslateblue darkslategray darkslategrey darkturquoise darkviolet deeppink deepskyblue dimgray dimgrey Brunhldisstein 8 la WI dodgerblue firebrick floralwhite forestgreen fuchsia gainsboro ghostwhite gold goldenrod gray green greenyellow grey honeydew hotpink indianred indigo ivory khaki lavender lavenderblush lawngreen RENE 50 23 SEE Teufelsquarti l 45 4995 50 2 lemonchiffon lightblue lightcoral lightcyan lightgoldenrodyellow lightgray lightgreen lightgrey lightpink lightsalmon lightseagreen lightskyblue lightslategray lightslategrey lightsteelblue lightyellow lime limegreen linen magenta maroon mediumaquamarine mediumblue mediumorchid mediumpurple mediumseagreen mediumslateblue mediumspringgreen mediumturquoise mediumvioletred midnightblue mintcream mistyrose moccasin navajowhite navy oldlace
21. troke l1necap round stroke linejoin round stroke miterlimit 4 stroke opacity 1 stroke dasharray none stroke dashoffset 0 gt lt text font family sans serif font size 15 fill black font weight bold gt lt textPath xlink href fREPLACEPATH text anchor middle startOffset 50 gt lt tspan dy 6 gt REPLACELABEL lt tspan gt lt textPath gt lt text gt lt j SNIF lt g gt Germany Secondary and Tertiary lt q 1d REPLACEID transform scale REPLACESCALE REPLACESCALE gt lt svg width 70px height 40px gt lt defs gt lt path id REPLACEPATH d M 10 20 L 60 20 gt lt defs gt lt rect x 0 y 0 width 70 height 40 style fi1l white stroke white stroke width 2 stroke linecap round stroke linejoin round stroke miterlimit 4 stroke opacity 1 stroke dasharray none stroke dashoffset 0 gt EEN MELLA yar WIOLA 00 HELE TEENS style fill none stroke 000000 stroke width 2 stroke linecap round stroke linejoin round stroke miterlimit 4 stroke opacity 1 stroke dasharray none stroke dashoffset 0 gt lt text font family sans serif font size 15 fill black font weight bold gt lt textPath xlink href REPLACEPATH text anchor middle startOffset 50 gt lt tspan dy 6 gt REPLACELABEL lt tspan gt lt textPath gt E AER lt So lt g gt
22. will be placed on a default position and orientation If this is not possible other positions and alignments will be tried So labels might me moved and or omitted at all At the end of map drawing program will show how many labels and icons were omitted or moved To prevent a special form of clutter caused by certain parallel ways the following option may be specified declutter declutter text WARNING some labels might be omitted motorway and trunk will only be labeled in one direction eMotorways and trunks will be labeld only in one direction mapgen tries not to put labels on ways that are too short To do so it calculates the length of the way and the length of the text This is done by assuming a need of 6 pixels per character for a 10pt font Other font sizes are calculated automatically If you find out that 6 ppc doesn t suit your used font please reconfigure the value using the following option ppc lt float gt pixels needed per label char using font size 10 DEFAULT 6 Grids directory and stats A grid can be laid over the map Just specify the number of squares you want in longitude direction The other dimension is automatic Of course you can specify the grid color The grid squares are labeled numerically and alphabetically grid lt integer gt number parts for grid O no grid DEFAULT 0 gridcolor TEXT color for grid lines and labels DEFAULT black Page numbers Page numbers can be added in two way
23. yes 10 RULE bicycle yes LY e amenity parking 10 RULE surface cobblestone Si service parking_aisle O highway pedestrian oS landuse residential 6 RULE highway track 6 RULE highway path 5 RULE highway living_street E amenity restaurant A amenity pharmacy 9 Obviously we should maybe implement a rule for oneway yes And we can see that by far the most used tag here is highway residential Coordinates Grid You can add a grid of coordinates to your map by specifying the coords option By default the grid distance is 0 01 degrees This can be changed by using the coordsexp parameter The value given here is the power of 10 2 means 0 01 degrees 2 means 10 degrees And of course the color can be changed coords tura on coordinates grid coordsexp INTEGER degrees to the power of ten for grid distance DEFAULT 2 equals 0 01 degrees coordscolor TEXT set color of coordinates grid Al h CAS UA Beta data qe pr d DE ap ofa nail rae ede P T Epnrad Ad m uer Sch le 1 External POI files A separate POI file can be specified where additional POIs are defined These will be placed on the map according to their positions The following information is needed e longitude e latitude e size of dot in points of base resolution e color for node and label e name of POI e size of label in points of base resolution poifile lt TEXT gt name of file with POIs to be displayed in map
Download Pdf Manuals
Related Search
Related Contents
Philips 47TA648BX User's Manual [日進西保育園]基準表(PDF形式:67KB) PIS Delvak Betriebsanleitung Operating Instructions Instructions de Multiblitz PROPAC-1 rechargeable battery コンパクトクールオイルクーラーキット 取扱説明書 (ステアリングステム 2 - ソニー製品情報 User Manual - ADFWeb.com Copyright © All rights reserved.
Failed to retrieve file