logo separator

[mkgmap-dev] [PATCH v4] contours

From Nop ekkehart at gmx.de on Wed Jul 8 21:50:37 BST 2009

Hi!

Christian Gawron schrieb:
> I can reproduce the problem, and unfortunately I don't know what the 
> reason is (regenerating the patch with svn diff did not help, any hint 
> is appreciated ...).

Some research brought up the answer: It is a problem with slashes and 
backslashes and can be solved by calling patch with -p0.

But now the real problem starts: How do I use the contour functions?

You say: "- Now the OSM styling engine is used to set labels, types & 
resolution of the contour lines. "

How does this work? What rules are required? How can I distinguish 
between minor and major lines, I did find some code that adds some tags 
and then does some conversion, but there is nothing there for 
minor/medium/major contour lines.

How would I apply styles with --dem-maxlevels? When the levels increase, 
so must the major contour distances, otherwise more and more lines will 
be major while minor lines disappear from the map.

I also do not want all minor contour lines to be tagged with an 
elevation, that clutters up the map. But I see no way to suppress this.

And eventually, how do I get the proper input data from CGIAR and ASTER? 
What does a proper input file look like that the contours function can 
process? I am only familiar with .hgt.

bye
	Nop




More information about the mkgmap-dev mailing list