Re: [mkgmap-dev] undocumented contour line feature

2017-03-24 Thread Andrzej Popowski
Hi Gerd, > I like the idea that mkgmap adds SRTM data "on the fly" instead of > first creating huge OSM files, pass them through splitter and so on. It could be handy, but contours aren't evenly spread over map area. You will get big variation in tile size and no way to correct it. -- Best

Re: [mkgmap-dev] undocumented contour line feature

2017-03-24 Thread Steve Ratcliffe
On 24/03/17 21:32, Gerd Petermann wrote: only class GeoTiffDEM is optional, the active code is able to read *.hgt files and can produce ways with elevation data. Ah OK. It was the only file containing srtm, should have searched for SRTM! ..Steve

Re: [mkgmap-dev] undocumented contour line feature

2017-03-24 Thread Gerd Petermann
Hi Steve, only class GeoTiffDEM is optional, the active code is able to read *.hgt files and can produce ways with elevation data. I stumbled over it because it appears in MapperBasedMapDataSource.addBackground() which I plan to move to MapDetails so that we don't have to override it in many

Re: [mkgmap-dev] undocumented contour line feature

2017-03-24 Thread Steve Ratcliffe
Hi mkgmap contains sources to generate contour lines from SRTM data, but it seems to be very incomplete. The last significant changes in the source was in 2010, and I never heard that anybody uses options like --x-contours since I started to contribute to mkgmap. All classes in packages

Re: [mkgmap-dev] RAM and mdr Europa ?

2017-03-24 Thread Carlos Dávila
El 24/03/17 a las 17:07, Thomas Morgenstern escribió: How many RAM must i have for Europa complete ? 2-3 months ago I had the same problem on a Linux machine with 8 GB RAM, but during the last weeks I've been able to build Europe index with -Xmx7500m. As Gerd suggested, it depends on your

Re: [mkgmap-dev] RAM and mdr Europa ?

2017-03-24 Thread Thomas Morgenstern
Hi, I found a solution for me: Now i use only the option -index and removed the option -x-splitt-name-index. in this configuration is 9800 MB RAM enough. thomas Am 24.03.2017 um 19:18 schrieb Bernhard Hiller: Hi Thomas, since you have 10 GB of RAM for all of the tasks running on your

Re: [mkgmap-dev] RAM and mdr Europa ?

2017-03-24 Thread Bernhard Hiller
Hi Thomas, since you have 10 GB of RAM for all of the tasks running on your computer, I doubt that 9800 MB for Java/mkgmap is actually feasable. With Win 7, I put away some 1200-1500 MB for the operating system. If a process gets more memory, swapping to disk will occur, which is a slow

Re: [mkgmap-dev] RAM and mdr Europa ?

2017-03-24 Thread Gerd Petermann
... but we have currently no option to control what is used for the index. I assume it could be a new special tag like mkgmap:no-index=true or maybe a program option like --exclude-from-index=type1,type2, type3..type4 which would exclude single types or ranges. No idea how much work that would be

Re: [mkgmap-dev] RAM and mdr Europa ?

2017-03-24 Thread Gerd Petermann
Hi Mike, my understanding is that mkgmap can decide which elements are used to build the index and what string are put into the index. AFAIK it can not decide what you can search in the device, as it may also perform a search without an index. Gerd

Re: [mkgmap-dev] RAM and mdr Europa ?

2017-03-24 Thread Mike Baggaley
Is it possible to not put POIs into the index, but still have them displayed? I would like to have gates and stiles on my map, but not have them searchable in the index. Is this possible? Cheers, Mike -Original Message- From: Gerd Petermann [mailto:gpetermann_muenc...@hotmail.com] Sent:

Re: [mkgmap-dev] undocumented contour line feature

2017-03-24 Thread Gerd Petermann
Hi all, I've tried to use it with --x-contours and it turned out that it doesn't work. 1) The code expects the SRTM data to be available, it has no automatic download feature like e.g. phyghtmap. I think that this would be needed to make it a good feature. 2) The code can only add SRTM data

[mkgmap-dev] undocumented contour line feature

2017-03-24 Thread Gerd Petermann
Hi all, mkgmap contains sources to generate contour lines from SRTM data, but it seems to be very incomplete. The last significant changes in the source was in 2010, and I never heard that anybody uses options like --x-contours since I started to contribute to mkgmap. See also