Hi,
Now when I’m investigating the strange behaving layers it seems like the metadata tag and attribute “advertised” in the featuretype.xml file is unchanged (still “true”) whilst the layer.xml says advertised = false. They are obviously not synchronized. This may explain why it works for WMS GetCapabilities but not for WFS, since in WFS the featuretype.xml is explicitly used for vectordata.
I hope this is not the case in the 2.2.x series since I plan to upgrade in near future…!!
// Marcus
···
Hi all,
Just a question or problem that is related to this topic:I’m using the 2.1.4 with approx 150 layers. I have used the “Advertized”
flag and also the “Enabled”. No matter what I specify some layers still pops
up in the GetCapabilities request for WFS.It works better for WMS, there actually layers that are specified as not
advertized are hidden.
Hum, I’ve just tried out on the 2.2.x branch (latest release from there, 2.2.5)
and it seems to work as expected, I uncheck advertised from topp:states,
get the WFS 1.0, 1.1 and 2.0 capabilities documents and the topp:states
feature type is not there anymore
How are you checking if the layer is available or not? If you are using
a desktop client, there is a chance the tool is caching the capabilities
document.
Cheers
Andrea
–
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://twitter.com/geosolutions_it
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.n6.nabble.com/Disable-getCapabilities-tp3789545p5037993.html
To unsubscribe from Disable getCapabilities, click here.
NAML