Hi List! There are tiles for which TRAPI sends incomplete data. The data file is empty and even not closed with </osm>.
The tile and captionless renderers run through it without noticing, that there is something wrong. But maplint complaints. For the tile in the example this is always reproducible. In tilesAtHome.conf you have to set APIServers = TRAPI Here is, what I get: > $ ./tilesGen.pl --Debug=1 xy 3697 2512 12 maplint > - Using working directory /tmp/client-no-auto-1 > - Using process log file tah-process.log > - Pngcrush version 1.6.15 > - pngnq version 0.5 > - Java version 1.6 is available > - ImageMagick version 6.5.2 (lowzoom enabled) > - rendering using or/p > - Using http://server.tah.openstreetmap.org/Request/take/ for Requests > This is version 14692 (Ulm) of tilesgen running on linux, ID: 38025 > - rasterizing using SVG::Rasterize::Engine::Inkscape > * Take care to manually backup your inkscape user preferences > if you have knowingly changed them. > Some tilesets will cause inkscape to clobber that file! > [#1 0% ] Tileset (12,3697,2512) around -37.75,144.98 > [#1 0% Download] Downloading map data for maplint from TRAPI... > Downloading: > http://api1.osm.absolight.net/api/0.6/map?bbox=144.887695,-37.799895,145.063477,-37.706777 > [#1 0% Download] Download of data complete > [#1 0% Download] Checking for UTF-8 errors... > [#1 0% Download] Download in 2 sec > [#1 0% maplint] Running maplint... > /tmp/client-no-auto-1/12_3697_2512_0nDzI/data.osm:4: parser error : Premature > end of data in tag osm line 2 > > ^ > unable to parse /tmp/client-no-auto-1/12_3697_2512_0nDzI/data.osm > [#1 0% maplint] Creating tags from maplint... > tmp.16331:1: parser error : Document is empty > > ^ > tmp.16331:1: parser error : Start tag expected, '<' not found > > ^ > unable to parse tmp.16331 > [#1 0% maplint-z12] Generating SVG file... > [#1 0% maplint-z12] Transforming zoom level 12 with or/p... > > no element found at line 1, column 0, byte 0 at > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/XML/Parser.pm line 187 > [#1 0% maplint-z12] orp produced an error, aborting render. > [#1 0% maplint-z12] xml2svg failed > removing job dir /tmp/client-no-auto-1/12_3697_2512_0nDzI And the data file: > $ cat /tmp/client-no-auto-1/12_3697_2512_0nDzI/data.osm > <?xml version='1.0' encoding='UTF-8'?> > <osm version="0.5" generator="Trapi 0.3 mat"> > <bounds minlat="-37.8054439493427" minlon="144.876708984375" > maxlat="-37.7012073647414" maxlon="145.074462890625" > origin="http://www.openstreetmap.org/api/0.5"/> _______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
