[mkgmap-dev] [PATCH] contour lines v2
From Christian Gawron christian.gawron at gmx.de on Sat Jul 4 21:35:04 BST 2009
Dear all, thank you for your feedback! I changed two points: - Using the option --dem-maxlevels you can specify the maximum number of levels created (the increment is doubled untils this restriction holds). The default is 100. - Now the OSM styling engine is used to set labels, types & resolution of the contour lines. > output osm format data from the DEM (for other use, or later use, or > for intermediate reprocessing) > Actually this was the way my code worked before, but I don't like the size of the created osm files. > make an img that's transparent with the DEM data, not only for > licensing reasons but also because it really seems like something the > user would want to flip off sometimes. I would like to implement that - can one of the experts please give me a hint how I create an IMG file from a MapDataSource? Right now, I plugged my code into the addBackground method of MapperBasedMapDataSource. It would be now problem to create a MapDetails object containing only the contour lines, but how can I write this into an IMG file? I looked at the MapBuilder code, and it seems the makeMap method there needs a LoadableMapDataSource. But I don't want to implement a load(String fileName) method ... Best wishes Christian -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: DEM.java Url: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090704/a720de25/attachment.pl -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Brent.java Url: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090704/a720de25/attachment-0001.pl -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: contours.patch Url: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090704/a720de25/attachment-0002.pl
- Previous message: [mkgmap-dev] Route recalculation; error circle
- Next message: [mkgmap-dev] [PATCH] contour lines v2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list