[Geoserver-users] Disable getCapabilities

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://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]
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

On Mon, Mar 4, 2013 at 12:00 AM, fat_mac <marcus.andersson@anonymised.com60…> wrote:

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…!!

I’d advise you to try out as soon as possible, since the 2.2.x series has basically reached its end of life now.
There is no new planned release coming out, but I believe some still want to make a 2.2.6, I just don’t
know if and when it will come out.

This approach of always using one of the latest releases in a development series seems safe
on the outside, since other people have tested it before you, but it’s a double edged sword,
if you are hit by something nobody else reported you’ll have no chance of seeing it fixed.

For those of you that always try to upgrade late in the game, a suggestion: always give
the early releases of a new series a shot, that’s when there is most attention about bug
fixing.
In a time like this the developer attention is on the 2.3.x series, while the activity on 2.2.x
is closing to a halt, so that’s 2.3.x that you should try out in order to make sure it will
be ready when you want to use it, even if your policy is to run on the latest releases of
the previous stable series.

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