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
Från: geowolf [via OSGeo.org] [mailto:[email protected]]
Skickat: den 2 mars 2013 18:24
Till: Andersson, Marcus (P&T Flyginformation)
Ämne: Re: Disable getCapabilities
On Fri, Mar 1, 2013 at 11:49 AM, fat_mac <[hidden
email]</user/SendEmail.jtp?type=node&node=5037993&i=0>> wrote:
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://www.geo-solutions.it
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]</user/SendEmail.jtp?type=node&node=5037993&i=1>
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<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3789545&code=bWFyY3VzLmFuZGVyc3NvbkBsZnYuc2V8Mzc4OTU0NXwtMTUzMDQxNDAzMg==>.
NAML<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/SV-Disable-getCapabilities-tp5038109.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users