From: Andrea A. <aa...@op...> - 2009-01-30 16:04:49
|
Rubio Iglesias José Miguel wrote: > Firstly, when I make a GetFeatureInfo request, it appears an attribute > “FID” that does not exist in our Oracle DB. Could it be possible to hide > this information? Use the templates or custom code as others have said, no matter what a Feature will always have an identifier, based on a primary key or just made up to make the WFS standard happy, there's no way to actually remove, but as others said you can make up a template that just does not display the FID. > Another question regarding GetFeatureInfo is related to the name of the > Featuretype. Could I change the name of the Featuretype instead of using > the one from the DB view? In the Admin Tool there is a field called > “Alias”, I am not sure if this is related with this issue, but it does > not work anyway. (2) Alias is really a misnomer, when you set it, it's really the new name of the layer, not an alternate way to call the layer. that is, it makes the native name disappear completely and takes its place. > The last question is related to the configuration of priorities when the > different layers are drawn. In one layer we have the house numbers and > in other one we have the street names. I have designed the corresponding > SLD so at certain scales both layers are shown, and always appear a lot > of house numbers and few street names. I have changed the font size of > the labels but it only improved a little. Is there a way to reverse this > situation? What I do not want is to get names and numbers overlapped, > but I think street names are more important than house numbers and I > would prefer to show those when there was a lot of information. Could it > be related to the order in the WMS? Or to some vendor option of text > symbolizer element in SLD? There are two ways to achieve this: - flip the order so that strees get drawn before house numbers. Labels are drawn in the order the layer they come from appear, so lower layers always get their label drawn, the others fight with the space left free by them - use the Priority SLD option to change the order in which the labels are drawn, see the documentation here: http://geoserver.org/display/GEOSDOC/LabelingOptions Cheers Andrea |