Am 30.06.2011 16:52, schrieb Ab_fab:
Thanks for your swift reply Darafei,
I also understand that SRTM data might need to be pre-processed prior
integration in the GeoJSON tiles.
I just think that even after pre-processing, adjustments such as the
definition of the gap between two contour lines may still be possible
from the stylesheet (i.e. placing one thin line for every multiple of
10 m elevation, bold line every multiple of 50 m ...)
That should be possible, I think:
Let's assume the SRTM is preprocessed to contain the contour-lines as
vectors (linestrings).
Then each line has as an attribute it's elevation level.
With MapCSS you can set these lines as visible, e.g. printed as a thin
black line - easy so far.
I'm not sure, but I think, it should be possible to check in some kind
the elevation value with conditions in the selector, e.g.
way[contour_line][elevation%50=0]
{
width:2;
}
way[contour_line][elevation%50=25]
{
width:1;
}
Currently as far as I can see these more complex selectors are not
implemented in Kothic, but I think, you are welcome to do that ;)
In general MapCSS should support these kind of of selectors, I think.
regards
Peter
_______________________________________________
Mapcss mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/mapcss