v0.15 (March 25th, 2010)
* output format correction - size and resolution
* more intelligent way labeling: merging by name and type, splitting by direction on map
* faster area icon processing
* [-place] also accepts node id now
v0.15 (March 25th, 2010)
* output format correction - size and resolution
* more intelligent way labeling: merging by name and type, splitting by direction on map
* faster area icon processing
* [-place] also accepts node id now
Discussion
Comment from yohanson on 31 March 2010 at 09:50
National characters are all replaced with question marks like this "??. ??????". I've removed encoding from utf-8 to iso-8859-1 and left it all in utf-8. Not sure if it is correct, but with this modification all symbols are displayed correctly.
--- gary68/OSM/mapgen.pm 2010-03-31 15:43:14.381402437 +0700
+++ test/OSM/mapgen.pm 2010-03-31 16:06:45.741398483 +0700
@@ -37 +36,0 @@
-use Encode ;
@@ -598 +597 @@
- print $file "\n" ;
+ print $file "\n" ;
@@ -665 +664 @@
- "\">" . encode("iso-8859-1", decode("utf8", $text)) . "" ;
+ "\">" . $text . "" ;
@@ -765 +764 @@
- $svg = $svg . "" . encode("iso-8859-1", decode("utf8", $text)) . " \n" ;
+ $svg = $svg . "" . $text . " \n" ;
Comment from yohanson on 2 April 2010 at 05:36
With default label (name!addr:housenumber) labels for buildings are not displayed at all. This is because "!" and "#" symbols in labels of ways are not handled.
Here is patch for that. It also makes labels without icons centered.
http://pastebin.com/Rd9gqcZp