[OpenLayers-Users] TMS Layer - requesting wrong zoom level ?

tim robertson timrobertson100 at gmail.com
Fri Jun 26 12:09:32 EDT 2009


Hi all,

I really can't spot where my error is with this service - would
someone please sanity check this for me?

Any help is sincerely appreciated!

Many thanks,

Tim




On Thu, Jun 25, 2009 at 11:07 PM, tim
robertson<timrobertson100 at gmail.com> wrote:
> Hi All,
>
> I am setting up my first TMS service, but for some reason can't get
> openlayers to request the correct tiles.
>
> A demo is on:
>  http://tools.gbif.org/geoBalance/passer4326/openlayers/
>
> It seems to request:
>  http://tools.gbif.org/geoBalance/passer4326/1.0.0/passerDomesticus/1/0/0.png
>  http://tools.gbif.org/geoBalance/passer4326/1.0.0/passerDomesticus/1/1/0.png
>
> But I *think* it should request:
>  http://tools.gbif.org/geoBalance/passer4326/1.0.0/passerDomesticus/0/0/0.png
>  http://tools.gbif.org/geoBalance/passer4326/1.0.0/passerDomesticus/0/1/0.png
> At this zoom level...
>
> Could someone please advise me what I am doing wrong?
> http://tools.gbif.org/geoBalance/passer4326 is the root of the TMS
> definitions, and I pretty much copied the basic layer in
> http://labs.metacarta.com/wms-c/Basic.py/
>
> Also, is there anyway to say to openlayers to use a default tile if
> none found (e.g. blank transparent tile)?
>
> Many thanks for any pointers,
>
> Tim
>



More information about the Users mailing list