Hi,
It is also possible to manipulate the "featuretype.xml" file. For example, open
the schema file of top:states from
\geoserver-2.5-RC1\data_dir\workspaces\topp\states_shapefile\states\featuretype.xml
Cut some attribute elements, save the file, restart Geoserver - do
http://localhost:8080/geoserver/wfs?service=wfs&version=1.0.0&request=describefeaturetype&typename=topp:states
and see what you get.
-Jukka Rahkonen-
Jonathan Moules wrote:
Hi Carlo,
That had occurred to me but for some reason I never bothered testing it (I
assumed it didn't do columns).
That seems to have worked fine; many thanks!
Jonathan
On 19 February 2014 12:32, carlo cancellieri
<carlo.cancelli...@geo-solutions.it<mailto:carlo.cancelli...@geo-solutions.it>>
wrote:
Jonathan,
you could create an SQL view directly into geoserver:
http://docs.geoserver.org/stable/en/user/data/database/sqlview.html
Cheers,
Carlo
2014-02-19 12:42 GMT+01:00 Jonathan Moules
<jonathanmou...@warwickshire.gov.uk<mailto:jonathanmou...@warwickshire.gov.uk>>:
Hi List,
I want to publish a layer but don't want all of the columns in the database
to be visible in the WMS/WFS etc. Is there an easy way to "hide" columns with
GeoServer?
(I know I can re-load the data or create a View in the database, but those are
both high maintenance).
Cheers,
Jonathan
This transmission is intended for the named addressee(s) only and may contain
sensitive or protectively marked material up to RESTRICTED and should be
handled accordingly. Unless you are the named addressee (or authorised to
receive it for the addressee) you may not copy or use it, or disclose it to
anyone else. If you have received this transmission in error please notify the
sender immediately. All email traffic sent to or from us, including without
limitation all GCSX traffic, may be subject to recording and/or monitoring in
accordance with relevant legislation.
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Dott. Carlo Cancellieri
@cancellieric
Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313<tel:%2B39%200584%20962313>
fax: +39 0584 1660272<tel:%2B39%200584%201660272>
http://www.geo-solutions.it<http://www.geo-solutions.it/>
http://twitter.com/geosolutions_it
-------------------------------------------------------
This transmission is intended for the named addressee(s) only and may contain
sensitive or protectively marked material up to RESTRICTED and should be
handled accordingly. Unless you are the named addressee (or authorised to
receive it for the addressee) you may not copy or use it, or disclose it to
anyone else. If you have received this transmission in error please notify the
sender immediately. All email traffic sent to or from us, including without
limitation all GCSX traffic, may be subject to recording and/or monitoring in
accordance with relevant legislation.
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users