On Tue, Jan 15, 2013 at 10:32 AM, Chris Haste <[email protected]> wrote:
> Hello List,****
>
> ** **
>
> Is it possible to pass the current view scale as a parameter to the SQL of
> an SQL View Layer?
>
Nope, there is no way to do so.
There is a bit of a conceptual problem, in that the "scale" makes sense
only for WMS,
but the layer has to make sense for WFS and WPS as well.. that said, one
could just add
a default value for those.
For SLD enviroment variables we already have the automatic injection of the
current
OGC scale denominator as "wms_scale_denominator", I guess the same could
be done for SQL views.
The class to be modified would be GetMap, in the wms module.
Patches/pull requests welcomed.
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users