Hello,
I'm Jose Miguel Rubio from IGN (National Geographical Institute) from Spain and we are now thinking of GeoServer as a solution to improve our WMS of the CartoCiudad project (national and seamless database of addresses of Spain). Unfortunately I am not an expert in GeoServer and I have some questions that actually I cannot get solved by myself but I am sure you could help me.
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?
I have read that a solution to hide attributes is to create a view in our DB, but I do not know if GeoServer admits views without ID (actually the primary key of the table). We are not interested to show neither ID nor FID in GetFeatureInfo responses. (1)
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)
Here is an image of an Openlayers client using GeoServer with our data:
1
2
[cid:image001.gif@anonymised.com][cid:image002.gif@anonymised.com][cid:image003.jpg@anonymised.com]
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?
I attach an example very illustrative: you can see a lot of house numbers but the street names are not shown; only when you are at a big scale they begin to appear.
[cid:image004.jpg@anonymised.com]
Thank you very much.
Best regards,
José Miguel Rubio
-------------------------------------------------------------------------------
José Miguel Rubio Iglesias
Subdirección General de Aplicaciones Geográficas
Instituto Geográfico Nacional
C/General Ibáñez de Ibero, 3 28003 MADRID
Despacho: A 0002 Teléfono: 91 597 97 51
E-mail: jmrubio@anonymised.com<mailto:jmrubio@anonymised.com>