[Tilesathome] Two new ROMA...

Dirk-Lüder Kreie osm-list at deelkar.net
Wed Dec 3 08:42:08 GMT 2008


Milenko schrieb:
> Replying to myself here...
> 
> There seems to be a bug in the maxinstances function in the ROMA map.fcgi.  Setting $maxinstances higher than 9 will result in only the first digit being considered.  So if $maxinstances is 10, it will effectively be 1 - if $maxinstances=20, then 2 - etc.
> 
> Changing line 482 from "if (numinstances() gt $maxinstances) {" to "if (numinstances() > $maxinstances) {" seems to fix the problem.
> 
> -Jeremy
>   ----- Original Message ----- 
>   From: Milenko 
>   To: Justin 
>   Cc: TilesAtHome 
>   Sent: Tuesday, December 02, 2008 10:08 PM
>   Subject: Re: [Tilesathome] Two new ROMA...
> 
> 
>   Thanks for the tip - that certainly did the trick.  I ran a couple requests through and got sub-10 seconds on each request.
> 
>   That's a tip that should be documented on the wiki.  :)
> 
>   Thanks again,
> 
>   Jeremy

Could someone with insight into ROMA and SVN access put it into the OSM
svn (including the osmosis branch with the no-bbox patch)?


-- 

Dirk-Lüder "Deelkar" Kreie
Bremen - 53.0952°N 8.8652°E

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20081203/53e9f8f3/attachment.pgp>


More information about the Tilesathome mailing list