Re: [mkgmap-dev] splitter r586 still doesn't always align properly with --align-for-dem option

2018-01-19 Thread Gerd Petermann
@lists.mkgmap.org.uk> im Auftrag von Andrzej Popowski <po...@poczta.onet.pl> Gesendet: Freitag, 19. Januar 2018 23:35:00 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] splitter r586 still doesn't always align properly with --align-for-dem option Hi Gerd, > What make

Re: [mkgmap-dev] splitter r586 still doesn't always align properly with --align-for-dem option

2018-01-19 Thread Andrzej Popowski
Hi Gerd, > What makes you think that 0,0 is used instead of the upper left cornen > given in the DEM section header(s)? In Garmin's DEM coordinates are always a multiple of DEM pixel size (dem-dists). The result is, that all DEMs data are aligned with 0;0. It makes easy to join different

Re: [mkgmap-dev] splitter r586 still doesn't always align properly with --align-for-dem option

2018-01-19 Thread Gerd Petermann
: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] splitter r586 still doesn't always align properly with --align-for-dem option Hi Gerd, my current opinion is, that aligning to HGT won't work. The way Garmin sets coordinates in DEM suggests, that all DEM is aligned to coordinates 0;0.

Re: [mkgmap-dev] splitter r586 still doesn't always align properly with --align-for-dem option

2018-01-19 Thread Andrzej Popowski
Hi Gerd, my current opinion is, that aligning to HGT won't work. The way Garmin sets coordinates in DEM suggests, that all DEM is aligned to coordinates 0;0. Since pixel distance for DEM can be set exactly as in HGT, the farther form 0;0 the bigger misalignment. Then at some point could

[mkgmap-dev] splitter r586 still doesn't always align properly with --align-for-dem option

2018-01-19 Thread Gerd Petermann
Hi all, I don't know yet why but alignment doesn't always work well. One problem is that we keep bbox data only with 24 bit resolution, but there must be more to it. I'll try to find out more but I have not much time until monday. Gerd ___ mkgmap-dev