Re: [Geoserver-users] GetCapabilities Filter by Layer

2013-10-07 Thread Rodrigo Nascimento Hernandez

Hello Milo,

As I understand (and I may be wrong considering Im new to geoserver and 
"stuff"), the GetCapabilities directive is meant to retrieve the 
capabilities of the WMS server as a whole. It means you cannot retrieve 
individual layer information using it. It infact returns all the info 
about the WMS Server: datums; version and all the layers its offered by 
the service. This way it doesn't really matter if you specify a layer 
direction in the URL, it will just display the same information regardless.


Please someone else corrects me if I said something wrong.

Salute,

Rodrigo



Em 07/10/2013 10:44, Milo van der Linden escreveu:

Hi all,

I am investigating possibilities of virtual-services as described on 
http://docs.geoserver.org/latest/en/user/services/virtual-services.html#filtering-by-layer


Im a testing on a local instance running in Jetty

The request filters perfectly for WFS:
http://145.45.11.10:9090/geoserver/topp/states/wfs?request=GetCapabilities

But returns all layers on:

http://145.45.11.10:9090/geoserver/topp/states/wms?request=GetCapabilities

Am I doing something wrong or is this a bug? My geoserver 
is:2.4.0 Revision 6ca656addbb3fa3b47cc409b6d035f90e04c11f9


Kind regards,

Milo van der Linden


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk


___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
Rodrigo Nascimento Hernandez MinasAmbiente Eng. LTDA 
http://www.minasambiente.com.br (31) 2551-5452 (31) 9188-4986
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GetCapabilities Filter by Layer

2013-10-07 Thread Milo van der Linden
Hi all,

I am investigating possibilities of virtual-services as described on
http://docs.geoserver.org/latest/en/user/services/virtual-services.html#filtering-by-layer

Im a testing on a local instance running in Jetty

The request filters perfectly for WFS:
http://145.45.11.10:9090/geoserver/topp/states/wfs?request=GetCapabilities

But returns all layers on:

http://145.45.11.10:9090/geoserver/topp/states/wms?request=GetCapabilities

Am I doing something wrong or is this a bug? My geoserver is:2.4.0 Revision
6ca656addbb3fa3b47cc409b6d035f90e04c11f9

Kind regards,

Milo van der Linden
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Georaster store gives "Unspecified image's size" error

2013-10-07 Thread Christian Mueller
Have you read this

http://docs.geotools.org/latest/userguide/library/coverage/oracle.html

Christian


On Mon, Oct 7, 2013 at 2:26 PM, Imran Rajjad  wrote:

>
> Well I have imported the raster data already and did mapping as per
> instructions..however I did leave out the DDL utility part because I
> thought it might not be necessary  I have attached my XMlL file..
>
>
> On Mon, Oct 7, 2013 at 5:17 PM, Daniele Romagnoli <
> daniele.romagn...@geo-solutions.it> wrote:
>
>> Hi Imran,
>> Are you configuring your data as an ImageMosaic-JDBC store?
>> In that case, I will suggest to take a look to the related documentation
>> which provides some information on how to configure some XML auxiliary
>> files needed to properly setup everything:
>>
>> http://docs.geoserver.org/stable/en/user/tutorials/imagemosaic-jdbc/imagemosaic-jdbc_tutorial.html
>>
>> I think you need anyway to define some custom tables and use some mapping
>> convention to let the ImageMosaic-JDBC properly works with your data.
>> Maybe Christian may add some more info on that.
>>
>> Cheers,
>> Daniele
>>
>>
>>
>> ==
>> Our support, Your Success! Visit http://opensdi.geo-solutions.it for
>> more information.
>> ==
>> Ing. Daniele Romagnoli
>> Senior Software Engineer
>>
>> GeoSolutions S.A.S.
>> Via Poggio alle Viti 1187
>> 55054  Massarosa (LU)
>> Italy
>> phone: +39 0584 962313
>> fax:  +39 0584 1660272
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>>
>> ---
>>
>>
>> On Mon, Oct 7, 2013 at 1:40 PM, Imran Rajjad  wrote:
>>
>>> Dear list,
>>>
>>> I have imported some imagery into Oracle 11gR2 using Oracle`s MapBuilder
>>> utility that allows you to import certain formats of Raster data. However
>>> upon creating the store I get the following stack trace...
>>> 2013-10-07 16:25:09,386 INFO [geoserver.web] - Getting list of coverages
>>> for saved store file:coverages/world_jdbc/world_jdbc.xml
>>> java.lang.RuntimeException: Could not list layers for this store, an
>>> error occurred retrieving them: Unspecified image's size.
>>> at
>>> org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:123)
>>> at
>>> org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:56)
>>> at
>>> org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:236)
>>> at
>>> org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.updateMatched(GeoServerTablePanel.java:550)
>>> at
>>> org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.(GeoServerTablePanel.java:543)
>>> at
>>> org.geoserver.web.wicket.GeoServerTablePanel.(GeoServerTablePanel.java:217)
>>> at
>>> org.geoserver.web.wicket.GeoServerTablePanel.(GeoServerTablePanel.java:96)
>>> at
>>> org.geoserver.web.data.layer.NewLayerPage$1.(NewLayerPage.java:100)
>>> at
>>> org.geoserver.web.data.layer.NewLayerPage.(NewLayerPage.java:100)
>>> at
>>> org.geoserver.web.data.store.CoverageStoreNewPage.onSave(CoverageStoreNewPage.java:71)
>>> at
>>> org.geoserver.web.data.store.AbstractCoverageStorePage$1.onSubmit(AbstractCoverageStorePage.java:115)
>>> at
>>> org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:68)
>>> at
>>> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143)
>>> at
>>> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
>>> at
>>> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300)
>>> at
>>> org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
>>> at
>>> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
>>> at
>>> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
>>> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
>>> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
>>> at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>>> at
>>> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
>>> at
>>> org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
>>> at
>>> org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
>>> at
>>> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
>>> at
>>> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
>>> at
>>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:92

Re: [Geoserver-users] Georaster store gives "Unspecified image's size" error

2013-10-07 Thread Imran Rajjad
Well I have imported the raster data already and did mapping as per
instructions..however I did leave out the DDL utility part because I
thought it might not be necessary  I have attached my XMlL file..


On Mon, Oct 7, 2013 at 5:17 PM, Daniele Romagnoli <
daniele.romagn...@geo-solutions.it> wrote:

> Hi Imran,
> Are you configuring your data as an ImageMosaic-JDBC store?
> In that case, I will suggest to take a look to the related documentation
> which provides some information on how to configure some XML auxiliary
> files needed to properly setup everything:
>
> http://docs.geoserver.org/stable/en/user/tutorials/imagemosaic-jdbc/imagemosaic-jdbc_tutorial.html
>
> I think you need anyway to define some custom tables and use some mapping
> convention to let the ImageMosaic-JDBC properly works with your data.
> Maybe Christian may add some more info on that.
>
> Cheers,
> Daniele
>
>
>
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
> Ing. Daniele Romagnoli
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:  +39 0584 1660272
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> ---
>
>
> On Mon, Oct 7, 2013 at 1:40 PM, Imran Rajjad  wrote:
>
>> Dear list,
>>
>> I have imported some imagery into Oracle 11gR2 using Oracle`s MapBuilder
>> utility that allows you to import certain formats of Raster data. However
>> upon creating the store I get the following stack trace...
>> 2013-10-07 16:25:09,386 INFO [geoserver.web] - Getting list of coverages
>> for saved store file:coverages/world_jdbc/world_jdbc.xml
>> java.lang.RuntimeException: Could not list layers for this store, an
>> error occurred retrieving them: Unspecified image's size.
>> at
>> org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:123)
>> at
>> org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:56)
>> at
>> org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:236)
>> at
>> org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.updateMatched(GeoServerTablePanel.java:550)
>> at
>> org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.(GeoServerTablePanel.java:543)
>> at
>> org.geoserver.web.wicket.GeoServerTablePanel.(GeoServerTablePanel.java:217)
>> at
>> org.geoserver.web.wicket.GeoServerTablePanel.(GeoServerTablePanel.java:96)
>> at
>> org.geoserver.web.data.layer.NewLayerPage$1.(NewLayerPage.java:100)
>> at
>> org.geoserver.web.data.layer.NewLayerPage.(NewLayerPage.java:100)
>> at
>> org.geoserver.web.data.store.CoverageStoreNewPage.onSave(CoverageStoreNewPage.java:71)
>> at
>> org.geoserver.web.data.store.AbstractCoverageStorePage$1.onSubmit(AbstractCoverageStorePage.java:115)
>> at
>> org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:68)
>> at
>> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143)
>> at
>> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
>> at
>> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300)
>> at
>> org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
>> at
>> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
>> at
>> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
>> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
>> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
>> at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>> at
>> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
>> at
>> org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
>> at
>> org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
>> at
>> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
>> at
>> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
>> at
>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
>> at
>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
>> at
>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
>> at
>> org.springframework.web.servlet.FrameworkServlet.doPo

Re: [Geoserver-users] Georaster store gives "Unspecified image's size" error

2013-10-07 Thread Daniele Romagnoli
Hi Imran,
Are you configuring your data as an ImageMosaic-JDBC store?
In that case, I will suggest to take a look to the related documentation
which provides some information on how to configure some XML auxiliary
files needed to properly setup everything:
http://docs.geoserver.org/stable/en/user/tutorials/imagemosaic-jdbc/imagemosaic-jdbc_tutorial.html

I think you need anyway to define some custom tables and use some mapping
convention to let the ImageMosaic-JDBC properly works with your data.
Maybe Christian may add some more info on that.

Cheers,
Daniele



==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:  +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---


On Mon, Oct 7, 2013 at 1:40 PM, Imran Rajjad  wrote:

> Dear list,
>
> I have imported some imagery into Oracle 11gR2 using Oracle`s MapBuilder
> utility that allows you to import certain formats of Raster data. However
> upon creating the store I get the following stack trace...
> 2013-10-07 16:25:09,386 INFO [geoserver.web] - Getting list of coverages
> for saved store file:coverages/world_jdbc/world_jdbc.xml
> java.lang.RuntimeException: Could not list layers for this store, an error
> occurred retrieving them: Unspecified image's size.
> at
> org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:123)
> at
> org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:56)
> at
> org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:236)
> at
> org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.updateMatched(GeoServerTablePanel.java:550)
> at
> org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.(GeoServerTablePanel.java:543)
> at
> org.geoserver.web.wicket.GeoServerTablePanel.(GeoServerTablePanel.java:217)
> at
> org.geoserver.web.wicket.GeoServerTablePanel.(GeoServerTablePanel.java:96)
> at
> org.geoserver.web.data.layer.NewLayerPage$1.(NewLayerPage.java:100)
> at
> org.geoserver.web.data.layer.NewLayerPage.(NewLayerPage.java:100)
> at
> org.geoserver.web.data.store.CoverageStoreNewPage.onSave(CoverageStoreNewPage.java:71)
> at
> org.geoserver.web.data.store.AbstractCoverageStorePage$1.onSubmit(AbstractCoverageStorePage.java:115)
> at
> org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:68)
> at
> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143)
> at
> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
> at
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300)
> at
> org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
> at
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
> at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
> at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
> at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
> at
> org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
> at
> org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
> at
> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
> at
> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
> at
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
> at
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
> at
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
> at
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
> at
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
> at
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
> at
> weblogic.servlet.internal.StubSecur

[Geoserver-users] Georaster store gives "Unspecified image's size" error

2013-10-07 Thread Imran Rajjad
Dear list,

I have imported some imagery into Oracle 11gR2 using Oracle`s MapBuilder
utility that allows you to import certain formats of Raster data. However
upon creating the store I get the following stack trace...
2013-10-07 16:25:09,386 INFO [geoserver.web] - Getting list of coverages
for saved store file:coverages/world_jdbc/world_jdbc.xml
java.lang.RuntimeException: Could not list layers for this store, an error
occurred retrieving them: Unspecified image's size.
at
org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:123)
at
org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:56)
at
org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:236)
at
org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.updateMatched(GeoServerTablePanel.java:550)
at
org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.(GeoServerTablePanel.java:543)
at
org.geoserver.web.wicket.GeoServerTablePanel.(GeoServerTablePanel.java:217)
at
org.geoserver.web.wicket.GeoServerTablePanel.(GeoServerTablePanel.java:96)
at
org.geoserver.web.data.layer.NewLayerPage$1.(NewLayerPage.java:100)
at
org.geoserver.web.data.layer.NewLayerPage.(NewLayerPage.java:100)
at
org.geoserver.web.data.store.CoverageStoreNewPage.onSave(CoverageStoreNewPage.java:71)
at
org.geoserver.web.data.store.AbstractCoverageStorePage$1.onSubmit(AbstractCoverageStorePage.java:115)
at
org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:68)
at
org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143)
at
org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
at
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300)
at
org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
at
org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at
org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:352)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27)
at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
at
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at
org.springframework.security.web.FilterC

[Geoserver-users] Advertised = True

2013-10-07 Thread Jonathan Moules
Hi List,
Just a curiousity - why are.
  true
  false

Both declared in both the featuretype.xml file and the layer.xml file for
each layer? Shouldn't it just be declared in one fo them? Changing the
featureType advertised did nothing which left me scratching my head for a
while.

Thanks,
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.
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] I need help with an ArcSDE direct Connect in Geoserver 2.4.0

2013-10-07 Thread Jonathan Moules
Hi Peter,
The information is here:
http://docs.geoserver.org/stable/en/user/introduction/gettinginvolved.html#bug-tracking

I'm afraid I don't know anything about schema names or the like so can't
help you there. Maybe someone else can?

Regards,

Jonathan



On 7 October 2013 01:45, von Minden, Peter A (DPIPWE) <
peter.vonmin...@dpipwe.tas.gov.au> wrote:

>  By the way, where do you sign up to be able to add geoserver bugs? The
> log-in I use for the geoserver mailing list doesn't carry over to the jira
> issue tracker.
>
>
>
> Cheers
>
>
>
> Pete
>
>
>
> *From:* Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk]
> *Sent:* Friday, 4 October 2013 8:20 PM
>
> *To:* von Minden, Peter A (DPIPWE)
> *Cc:* geoserver-users@lists.sourceforge.net; Andrea Aime
> *Subject:* Re: [Geoserver-users] I need help with an ArcSDE direct
> Connect in Geoserver 2.4.0
>
>
>
> Hi Pete,
>
> I logged two ArcSDE related bugs, but I don't think either is necessarily
> the same as yours.
>
> http://jira.codehaus.org/browse/GEOS-6066
>
> http://jira.codehaus.org/browse/GEOS-6067
>
>
>
> So it may be worth reporting yours as well.
>
> Regards,
>
> Jonathan
>
>
>
>
>
> On 4 October 2013 04:45, von Minden, Peter A (DPIPWE) <
> peter.vonmin...@dpipwe.tas.gov.au> wrote:
>
> Thanks for having a crack at this one for me Jonathan. I think I have run
> out of options in trying to get a direct connect to ArcSDE. DId you end up
> logging a bug for this?
>
>
>
> Cheers
>
>
>
> Pete
>
>
>
> *From:* Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk]
> *Sent:* Tuesday, 1 October 2013 9:10 PM
> *To:* von Minden, Peter A (DPIPWE)
> *Cc:* geoserver-users@lists.sourceforge.net; Andrea Aime
>
>
> *Subject:* Re: [Geoserver-users] I need help with an ArcSDE direct
> Connect in Geoserver 2.4.0
>
>
>
> So, after more extensive testing, the only thing I can say is, I'm
> confused. I don't think that wall of connections was actually from the
> direct connect but was an issue from the regular ArcSDE connection I'd
> created.
>
>
>
> 
>
> So far I've had the following happen:
>
>
>
> a) When I have what I think are the right credentials (as in original
> screenshot), I don't get any error or feedback at all when I press save.
>
>
>
> b) But if I make it "wrong" information (add a typo), then I get an error
> that appears to be the same as yours Peter:
>
>
>
> Error creating data store, check the parameters. Error message: Can't
> create connection to sde:oracle11g:co_gislive for Session #20[SDE error
> -66][Error desc=SPECIFIED PARAMETER VALUE IS INVALID.][Extended desc= ]
>
>
>
> Either way, it completely fails to actually connect as best I can tell.
> But the two different failure modes suggests that maybe your credentials
> are wrong.
>
> Best I can manage I'm afraid. I've never gotten on with ArcSDE. :-)
>
> Regards,
>
> Jonathan
>
> On 1 October 2013 11:38, Jonathan Moules <
> jonathanmou...@warwickshire.gov.uk> wrote:
>
> Hi Pete,
>
> Well I didn't have the ArcSDE plugin installed, but it was on my todo
> list, so did it anyway.
>
> ArcSDE 9.3.1
>
> GeoServer 2.4.0
>
>
>
> The machine in question already has and ArcGIS install that
> direct-connects installed on it.
>
>
>
> I can get it to do a regular ArcSDE connection just fine, however the
> direct connect isn't working. I enter my credentials, press "Save" and
> nothing happens. I get the little "working" icon for a fraction of a second.
>
> The logs are almost empty - no error:
>
>
>
> 2013-10-01 10:26:06,354 TRACE [org.geotools.arcsde.ArcSDEDataStoreFactory]
> - com.esri.sde.sdk.client.SeConnection is in place.
>
> 2013-10-01 10:26:06,354 TRACE [org.geotools.arcsde.ArcSDEDataStoreFactory]
> - com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
>
> 2013-10-01 10:26:06,354 TRACE [org.geotools.arcsde.ArcSDEDataStoreFactory]
> - com.esri.sde.sdk.client.SeConnection is in place.
>
> 2013-10-01 10:26:06,354 TRACE [org.geotools.arcsde.ArcSDEDataStoreFactory]
> - com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
>
> 2013-10-01 10:26:06,354 TRACE [org.geotools.arcsde.ArcSDEDataStoreFactory]
> - com.esri.sde.sdk.client.SeConnection is in place.
>
> 2013-10-01 10:26:06,354 TRACE [org.geotools.arcsde.ArcSDEDataStoreFactory]
> - com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
>
> 2013-10-01 10:26:06,354 TRACE [org.geotools.arcsde.ArcSDEDataStoreFactory]
> - com.esri.sde.sdk.client.SeConnection is in place.
>
> 2013-10-01 10:26:06,354 TRACE [org.geotools.arcsde.ArcSDEDataStoreFactory]
> - com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
>
> 2013-10-01 10:26:06,355 DEBUG [org.geotools.arcsde.session] - populating
> ArcSDE connection pool
>
> 2013-10-01 10:26:06,355 DEBUG [org.geotools.arcsde.session] - Created
> ArcSDE connection pool for ArcSDEConnectionConfig[server=none,
> port=sde:oracle11g:co_gislive, database=none, user=OSMM, minConnections=2,
> maxConnections=6, timeout=500]
>
> 2013-10-01 10:26:06,355 DEBUG [org.geotools.arcsde.session] - Creating
> connection for session #7(t

Re: [Geoserver-users] Avoiding invalidation of GeoWebCache tiles

2013-10-07 Thread Andrea Aime
On Mon, Oct 7, 2013 at 3:05 AM, Chris Berkhout wrote:

> Hi all,
>
> I'd like to update data and styles in a certain instance of GeoServer
> without the GeoWebCache tiles we've seeded being invalidated.
>
> I just want to keep serving the old tiles until I decide to manually
> reseed.
>
> Is there a configuration option, or another method, for turning off the
> auto-invalidate functionality?
>

I don't believe there is a way, when GWC is integrated in GeoServer it gets
notified of changes to the styles
immediately, and there is no way to stop it.

What's the use case for stopping this behavior though? The moment you do a
change in the styles
the tile cache is effectively stale, it must be dropped...

I can think of optimizations in case the style has scale dependencies, and
see if we can compare the
old and new styles and only drop the zoom levels that were actually
affected.

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

---
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Bold fonts in styles folder rendered wrong

2013-10-07 Thread Matthias Uden
Hi Andrea,

thanks for your explanation, it does make sense to me that this is not a 
bug but rather a limitation in the Java environment.
I'd say it's fine as long as you know about this behaviour and use the 
workaround instead. I just wanted to let you and the ML know, maybe 
there will be a solution for this in some future release..

Cheers,
Matthias

Am 30.09.2013 12:15, schrieb Andrea Aime:
> On Thu, Sep 26, 2013 at 10:53 AM, Matthias Uden  > wrote:
>
> Hi all,
>
> it seems that there is a problem with rendering bold and/or italic
> fonts correctly which are *not* installed on the system but only put
> into the %GEOSERVER_DATA_DIR/styles folder.
>
> The GS loads the font and renders it. However, if the font-weight is
> specified as 'bold' or the font-style as 'italic' in the SLD, the
> display is not quite correct. It is, however, correct for the
> 'normal' font-style/weight.
>
>
> As far as I remember when we load font from the data dir the ability to
> turn then bold/italic is lost, you basically
> have to refer directly to the ttf file name having the styling you
> desire, eg.., Gudea-Bold.ttf.
> However, not sure how you'd get a bold/italic effect, unless you also
> have a file like that.
>
> It may be a limitation in our implementation, but as far as I can see
> Java itself does not allow to load more
> than a single TFF file when creating a font:
> http://docs.oracle.com/javase/6/docs/api/java/awt/Font.html#createFont%28int,%20java.io.File%29
>
> 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
>
> ---
>
>
> --
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
>
>
>
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Avoiding invalidation of GeoWebCache tiles

2013-10-07 Thread cmaul
Chris, 

there are a few things you can do using the geowebcache.xml:

in the 
 tag

usual tags such as name/title/mimeFormats/gridsets/ 

http://my_geowebcache_server/  

You cannot leave the wmsURL tag out BUT .. 


O.k. that is a bit harsh, I admit

but also:
0   

or scale level-specific -2

 and 
false



In geoserver I don't know what happens if you set the cache to 0.
But you could also (again a rather radical means) disable the database.

In the web.xml:

GWC_METASTORE_DISABLED
TRUE
  
 
You might do the seceond one as well as your cache will stay the same size. 
  
GWC_DISKQUOTA_DISABLED
TRUE
  
No database hence no clue when to expire. They work in geoserver too as you
get the message:
"Disk Quota has been disabled through the GWC_DISKQUOTA_DISABLED=true
environment variable/servlet context parameter/JVM argument, so this
configuration page is not operational."

Again this is also a rather radical measure.


Cheers

Christian



-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Avoiding-invalidation-of-GeoWebCache-tiles-tp5082109p5082115.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users