2010/10/4 Pedro Briones García <[email protected]>: > Hello again. > > > > I have a doubt about Scale denominators. > > > > According to OGC, the <MinScaleDenominator> and <MaxScaleDenominator> > elements define the range of scales for which it is appropriate to generate > a map of a Layer. This information in in getCapabilities file. If a clients > need to know, before loading a layer, if this layer can be viewed or not at > a given scale, the only way I know is to put this information in > capabilities file, isn`t it?. A lot of clients only look here to get this > information, not in SLD file of the layer. If you have this information in > capabilities you don’t’ need to look for the layer. So I don’t understand > why in Geoserver this information can’t no be put in Capabilities file. Can > somebody explain it, please?
We normally just set the min and max scale in the SLDs and don't advertise that setting in the capabilities, normally because there are multiple rules with different types of rendering at different scales. A single per layer min/max scale is not available as of today. It would be a nice addition for sure though, if you want you can add a feature request at jira.codehaus.org. If you are interested in coding it we can show you which files would need to be modified, or if you want someone to do it for your there is a list of commercial support providers at http://geoserver.org/display/GEOS/Commercial+Support > I have another question: how can I change the response of capabilties file? > For example, if I want to give information that is not possible to give with > the Web Administration Interface Tool, like a layer’s scale denominator. Is > it possible to edit some file? Nope, the document is generated on the fly by some java code inspecting the configuration. However sometimes people just download the file, hand modify it, and then publish it statically as the capabilities document. Works as long as you don't add/remove layers Cheers Andrea ----------------------------------------------------- Ing. Andrea Aime Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584962313 fax: +39 0584962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ----------------------------------------------------- ------------------------------------------------------------------------------ Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
