Hi Jonathan

Changing the url we use in MapInfo back to 1.1.1 lets me connect and see the 
filtered list.

Using 1.3.0 results in an xml error, can't connect at all.

And chopping the url off at the /wms results in us seeing everything (which is 
what I used when the 1.3.0 url wouldn't work.

I don't think that hiding all the layers in a Layer Group results in the Layer 
Group being hidden, as several of mine are set to that and I can still see 
them. Also I have added my database/workspace name into the url so I can only 
see those layers, and that hasn't filtered out Layer Groups which use a 
different workspace/database either.

Sandra

Sandra Kennish

From: Jonathan Moules [mailto:[email protected]]
Sent: 05 August 2013 12:24
To: Sandra Kennish
Cc: [email protected]
Subject: Re: [Geoserver-users] Advertised option in Layer Edit

Hi Sandra,
 (I think we lost the list there for a bit).

So what was the solution? Changing back to 1.1.1? Do the not-advertised layers 
still appear in the 1.3.0 GetCapabilities then?
If so it may be worth reporting this as a bug (see - 
http://docs.geoserver.org/latest/en/user/introduction/gettinginvolved.html#bug-tracking
 ). Be sure to include copies of the GetCapabilities for both versions.

-----

Now to find a way of getting rid of my Layer Groups so they don't show...
I did look into that as part of testing your issue, but couldn't see an 
explicit option. However LayerGroups do inherit at least some stuff from their 
component layers, so if /all/ layers in a layer group are set to not-advertised 
I'd hope/expect the layerGroup would then be notAdvertisied. Just guessing 
there though.

Kind Regards,

Jonathan

On 5 August 2013 12:13, Sandra Kennish 
<[email protected]<mailto:[email protected]>> wrote:
Hi Jonathan

Ok I think I've sussed it:
I can definitely see the hidden layers in MapInfo (v12) and load them, using 
just 
http://example.com/geoserver/wms/<http://example.com/geoserver/wms/northyorkmoors>,

1.3 doesn't work at all 
http://example.com/geoserver/wms?service=wms&version=1.3.0&request=GetCapabilities
But changing 1.3 to 1.1  in the url works and removes my hidden layers.

The SRS I would love to change, however it's a shared server and I have to get 
permission to change anything, but if we are to use the server to host any WMS 
it does need sorting.

Now to find a way of getting rid of my Layer Groups so they don't show...

Thanks for your help - much appreciated.

Sandra Kennish

From: Jonathan Moules 
[mailto:[email protected]<mailto:[email protected]>]
Sent: 05 August 2013 11:40
To: Sandra Kennish
Subject: Re: [Geoserver-users] Advertised option in Layer Edit

Hi Sandra,
The "ows" one is "preferred" as I understand it. It can be used for both WMS 
and WFS for one thing.

However, whether I use:
http://example.com/geoserver/ows?service=wms&version=1.3.0&request=GetCapabilities
or
http://example.com/geoserver/wms?service=wms&version=1.3.0&request=GetCapabilities
or
http://example.com/geoserver/wfs?service=wms&version=1.3.0&request=GetCapabilities
 (strictly speaking this is wrong for obvious reason ;-) )

in all cases if a layer is advertised=false then it won't be included in the 
resultant file.

---

The error you're getting looks like an Internet Explorer thing. It doesn't like 
XML much. Try a different browser on the 1.1.1 getCapabilties. Or saving the 
file to your computer and looking at it in notepad or the like. That should 
hopefully get you the complete file.

----
Another thing - You should probably limit your list of SRS's. In the admin 
page, click "WMS". On this page there's an option called "limited SRS list" - 
add the coordinate systems that you're likely to use. Probably just 27700 and 
4326 - the one's listed in your email are for central Europe and the North York 
Moors aren't /that/ big. :-)
It's a small optimisation, but it might make the file easier for IE to parse 
given that's where it's failing.

Regards,
Jonathan


On 5 August 2013 11:26, Sandra Kennish 
<[email protected]<mailto:[email protected]>> wrote:
Hi Jonathan

Thanks for your reply.

If I view it from the admin, the url ends like this 
geoserver/ows?service=wms&version=1.3.0&request=GetCapabilities
Then the layers aren't visible here.

The url that I've always used has wms instead of ows and its that shows all the 
layers, however that xml page has an error at the bottom

Cannot view XML input using XSL style sheet. Please correct the error and then 
click the Refresh button, or try again later.
________________________________
The following tags were not closed: WMS_Capabilities, Capability, Layer, CRS. 
Error processing resource 'http://
nt:-2em">   <CRS>EPSG:32626</CRS>
  <CRS>EPSG:32627</CRS>
  <CRS>EPSG:32628</CRS>
  <CRS>EPSG:32629</CRS>
  <CRS>EPSG:32630</CRS>

SSShould I be using the ows one?

Sandra

From: Jonathan Moules 
[mailto:[email protected]<mailto:[email protected]>]
Sent: 05 August 2013 11:16
To: Sandra Kennish
Cc: 
[email protected]<mailto:[email protected]>
Subject: Re: [Geoserver-users] Advertised option in Layer Edit

Hi Sandra,
   It works fine for me (2.3.4). A layer that isn't set to "advertised" doesn't 
show up in either the WMS 1.1.1 or 1.3.0 GetCapabilities.

If you open the GetCapabiltities documents directly (use the links on the 
GeoServer Admin page), are the layers listed there?

I'm not sure why you'd get this behaviour.

Jonathan

On 5 August 2013 11:03, Sandra Kennish 
<[email protected]<mailto:[email protected]>> wrote:
Hello

I'm new to Geoserver, however I've used the Advertised tick box to hide layers 
from corporate software WMS connections. I unticked it for anything I didn't 
want to be visible in MapInfo WMS, or any other WMS and this worked until 
recently.
However since an upgrade to 2.3.3 they are all showing again, but the 
Advertised option is still unticked. Does anyone know has this functionality 
been discontinued, it still works in 2.3.0

Thanks for any help

Sandra





CONFIDENTIALITY: The contents of this message are the views of the author, not 
necessarily the views of the North York Moors National Park Authority. This is 
a private message intended for the named addressee(s) only. Its contents may be 
confidential.

If you have received this message in error please reply to say so and then 
delete the message. Any use, copying, disclosure or distribution by anyone 
other than the addressee is forbidden.

www.northyorkmoors.org.uk<http://www.northyorkmoors.org.uk>

Scanned by MailDefender - managed email security from intY - 
www.maildefender.net<http://www.maildefender.net>

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


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.
Scanned by MailDefender - managed email security from intY - 
www.maildefender.net<http://www.maildefender.net>


CONFIDENTIALITY: The contents of this message are the views of the author, not 
necessarily the views of the North York Moors National Park Authority. This is 
a private message intended for the named addressee(s) only. Its contents may be 
confidential.

If you have received this message in error please reply to say so and then 
delete the message. Any use, copying, disclosure or distribution by anyone 
other than the addressee is forbidden.

www.northyorkmoors.org.uk<http://www.northyorkmoors.org.uk>

Scanned by MailDefender - managed email security from intY - 
www.maildefender.net<http://www.maildefender.net>


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.
Scanned by MailDefender - managed email security from intY - 
www.maildefender.net<http://www.maildefender.net>


CONFIDENTIALITY: The contents of this message are the views of the author, not 
necessarily the views of the North York Moors National Park Authority. This is 
a private message intended for the named addressee(s) only. Its contents may be 
confidential.

If you have received this message in error please reply to say so and then 
delete the message. Any use, copying, disclosure or distribution by anyone 
other than the addressee is forbidden.

www.northyorkmoors.org.uk<http://www.northyorkmoors.org.uk>

Scanned by MailDefender - managed email security from intY - 
www.maildefender.net<http://www.maildefender.net>


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.
Scanned by MailDefender - managed email security from intY - 
www.maildefender.net<http://www.maildefender.net>

[http://www.northyorkmoors.org.uk/images/60th-strapline.jpg]

CONFIDENTIALITY: The contents of this message are the views of the author, not 
necessarily the views of the North York Moors National Park Authority. This is 
a private message intended for the named addressee(s) only. Its contents may be 
confidential.

If you have received this message in error please reply to say so and then 
delete the message. Any use, copying, disclosure or distribution by anyone 
other than the addressee is forbidden.

www.northyorkmoors.org.uk<http://www.northyorkmoors.org.uk>



Scanned by MailDefender - managed email security from intY - 
www.maildefender.net
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to