Re: [mkgmap-dev] element type definition as variable

2017-11-25 Thread Gerd Petermann
Hi Enrico, I guess it depends on how you create the labels. I think the best way to find out what happens is to use echotags, e.g. if you have highway=* & ref=* {name ...} change it to highway=* & ref=* {echotags "before"; name ...; echotags "after"} where "name ..." stands for the action that yo

Re: [mkgmap-dev] Issues generating DEM

2017-11-25 Thread Andrzej Popowski
Hi Frank, > there is no predefined size for HGT's. I mean this code in HGTReader.cs: if (!dummydataonerror) ... else { Minimum = Maximum = NOVALUE; data = new Int16[1201 * 1201]; for (int i = 0; i < data.Length; i++) data[i] = NOVALUE; NotValid = data.Length; } This is the part, th

Re: [mkgmap-dev] Issues generating DEM

2017-11-25 Thread Frank Stinner
Hi Andrzej, there is no predefined size for HGT's. I use 1201-HGT's mixed with 3601'HGT's. It should not to be a problem to use any other size. The only restriction is: height==widht. The memory consumption is a problem. A HGT with 1201x1201 need in memory 1201*1201*4 Byte = 5,5 MB (.NET use f

Re: [mkgmap-dev] element type definition as variable

2017-11-25 Thread demon.box
ok, thanks very much Gerd! excuse me but I have another question for you... ;-) with my style I display before the name tag of the road and then (with the "continue" command) I display the name of the relation on the the same highway but why I have 2 different result in MapSource?

Re: [mkgmap-dev] Issues generating DEM

2017-11-25 Thread Andrzej Popowski
Hi Frank, I have successfully build several maps with DEM, thanks again for your tool. I have tripped on out-of-memory problems too. One case is, when tile is too big. This I can deal with, simply preparing smaller tiles. I think the limit is about 200 degree square. Other problem is with pr