[OpenLayers-Users] Fetching tiles from different sources based
on zoom level
Ivan Grcic
igrcic at gmail.com
Wed Aug 12 03:42:05 EDT 2009
hi, maybe this could help:
http://n2.nabble.com/A-kind-of-MultiLayer-container-td3379027.html#a3379027
and for vectors:
http://openlayers.org/pipermail/users/2009-January/009666.html
On Tue, Aug 11, 2009 at 10:49 PM, Christopher
Schmidt<crschmidt at metacarta.com> wrote:
> On Tue, Aug 11, 2009 at 03:37:21PM -0500, Mak Kolybabi wrote:
>> For my current application, I need to simplify roads as much as possible. PostGIS provides
>> the ST_Simplify function for this, and it works wonderfully. For obvious reasons, the
>> closer I zoom into the layer, the simplifications that were fine when zoomed further out
>> gradually become unacceptable.
>>
>> Is there a way to make OpenLayers query a different (TMS) source based on the zoom level?
>> If this can be done, I'll be able to tune the ST_Simplify tolerance parameter for each
>> zoom level.
>
> Why not use scale-dependant rendering on the backend to select a different
> datasource/layer when zoomed in vs. zoomed out?
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
--
Ivan Grcic
More information about the Users
mailing list