i'll try it, thanks a lot
Juanjo
________________________________
De: Stephen V. Mather [mailto:[email protected]]
Enviado el: martes, 22 de enero de 2013 14:22
Para: Alonso Gamo Juan José; geoserver-users
Asunto: RE: field domain
Hi Juanjo,
This seems like a job for SQL Views:
http://docs.geoserver.org/stable/en/user/data/database/sqlview.html
Best,
Steve
[http://sig.cmparks.net/cmp-ms-90x122.png]Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.com<http://www.clemetparks.com>
________________________________
From: Alonso Gamo Juan José [[email protected]]
Sent: Tuesday, January 22, 2013 8:05 AM
To: geoserver-users
Subject: [Geoserver-users] field domain
Hello,
I'm new to Geoserver and WMS.
Does anybody know if is possible to translate coded values, to its text
descriptions when using GetFeatureInfo?
Example:
Table:
id name type
1 name1 A
2 name2 C
3 name3 C
4 name4 B
Domain of "type" field: mydomain (A, B, C, D)
Coded value Text Description
A Very high
B High
C Low
D Very low
For example want to show "Very high" instead of "A" for feature id=1 when user
clicks on that feature.
Thanks a lot
juanjo
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users