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
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to