[Tilesathome] Another error

Frederik Ramm frederik at remote.org
Fri Sep 14 09:49:50 BST 2007


Hi,

>> Looks like the mergeOsm function fails if either of the files is  
>> empty.
>
> Thanks for the hint. Kleptog and I have modified that mergeOsm  
> function to cope better with that case. That's what one gets if he  
> uses regexes on xml data... ... ...

Extra speed you mean ;-)

I had modified the mergeOsm function a few days ago. Before, it  
dropped all <osm> tags from input and prepended its out put with  
stuff from a fixed file (stub.osm or so). I wanted it to re-use the  
header from the first input file, in order to make it automatically  
0.5 compliant (if input is 0.4, outputs 0.4, if input is 0.5, outputs  
0.5). Seems like I have introduced that error there.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00.09' E008°23.33'






More information about the Tilesathome mailing list