Re: [Geoserver-users] Tile Caching - Tile Layers Error

2015-09-21 Thread Russell Hore
Hi Victor,

I see a ray of hope.

Can you elaborate a bit more.

I think I know which layer is causing it. If I go to the Layer Preview admin 
page and search for 'lg_’ I get the error.
If I search for ‘lg_1' I can see one matching layer group. Using this technique 
I narrowed it down to a layer group called 'lg_all_os'

I can see a file /data/layergroups/lg_all_os.xml

There is an empty directory /data/gwc/lg_all_os/

In /data/gwc-layers there are 8 files starting LayerGroupInfo* and i know I 
have 8 layer groups.

I just can’t see how these files/directories ti together.

Russ

> On 21 Sep 2015, at 09:43, Kirk, Victor  wrote:
> 
> I've seen this quite often, finding and removing the gwc config for the layer 
> does the trick, find it by grepping for the id in the gwc layer directory .  
> From: Russell Hore [r...@russ-hore.co.uk]
> Sent: 20 September 2015 08:56
> To: Phaneuf, Krystal
> Cc: geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] Tile Caching - Tile Layers Error
> 
> I have a similar problem, can not view the layer groups page, and have failed 
> to solve it.
> 
> This is the line similar to the one I get
> 
>> Caused by: java.lang.IllegalStateException: Could not locate a layer or 
>> layer group with id LayerInfoImpl--7633d77f:14f6aeb998e:-7fee within 
>> GeoServer configuration, the GWC configuration seems to be out of synch
> 
> Looks like I will be doing a clean installation soon :(
> 
> Russ
> 


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


Re: [Geoserver-users] Tile Caching - Tile Layers Error

2015-09-20 Thread Russell Hore
I have a similar problem, can not view the layer groups page, and have failed 
to solve it.

This is the line similar to the one I get

> Caused by: java.lang.IllegalStateException: Could not locate a layer or layer 
> group with id LayerInfoImpl--7633d77f:14f6aeb998e:-7fee within GeoServer 
> configuration, the GWC configuration seems to be out of synch


Looks like I will be doing a clean installation soon :(

Russ

> On 18 Sep 2015, at 17:33, Phaneuf, Krystal  wrote:
> 
> Environment:
> Windows 2008 R2 Server, Apache Tomcat 6.0
> Affects Version/s:2.7.2
>  
> When going to the Tile Layers page this error occurs.  Anyone else ever 
> experience this or have any suggestions.  Appreciate any help.  Thanks!
> org.apache.wicket.WicketRuntimeException: Error attaching this container for 
> rendering: [MarkupContainer [Component id = 1]]
> at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1765)
> at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
> at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
> at org.apache.wicket.Component.beforeRender(Component.java:1105)
> at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
> at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
> at 
> org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:151)
> at 
> org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:121)
> at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
> at org.apache.wicket.Component.beforeRender(Component.java:1105)
> at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
> at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
> at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
> at org.apache.wicket.Component.beforeRender(Component.java:1105)
> at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
> at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
> at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
> at org.apache.wicket.Component.beforeRender(Component.java:1105)
> at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
> at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
> at org.apache.wicket.Page.onBeforeRender(Page.java:1531)
> at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
> at org.apache.wicket.Component.beforeRender(Component.java:1105)
> at org.apache.wicket.Component.prepareForRender(Component.java:2292)
> at org.apache.wicket.Page.prepareForRender(Page.java:1521)
> at org.apache.wicket.Component.prepareForRender(Component.java:2329)
> at org.apache.wicket.Page.renderPage(Page.java:892)
> at 
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:261)
> at 
> org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
> at 
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
> 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.doGet(WicketServlet.java:138)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 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.doGet(FrameworkServlet.java:778)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
> at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
> at 
> org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
> at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> at 
> org.geoserver.filters.SpringDelegatingFilter$Cha

Re: [Geoserver-users] Can not view layer group page i admin interface

2015-08-11 Thread Russell Hore
I have now tied it down to one particular layergroup.

The layer group file is as follows. is there a away to check all the layers it 
‘uses’ are correct/viable?

I am assuming one of the layers is missing/corrupt.
Is there a way to convert the "LayerInfoImpl-3748eb9:145fe7d5f4c:-7b98” bit to 
a layer name so I know where to look?

Russ


  LayerGroupInfoImpl-282d75b9:145fb755c94:-8000
  lg_all_os
  SINGLE
  All OS Raster layers
  

  LayerInfoImpl-3748eb9:145fe7d5f4c:-7b98


  LayerInfoImpl-6c995b43:1429e7dc2b3:-7fcb


  LayerInfoImpl-3748eb9:145fe7d5f4c:-7fc0


  LayerInfoImpl-36fbe69c:145efe85c63:-5705


  LayerGroupInfoImpl--50971344:142eaecac8f:1afa

  
  

  <id>StyleInfoImpl-54d9e6f7:142c451928c:3ea</id>


  <id>StyleInfoImpl-54d9e6f7:142c451928c:35cc</id>


  <id>StyleInfoImpl--4bc4ee8f:142c3ed9d56:-70e3</id>


  <id>StyleInfoImpl--4bc4ee8f:142c3ed9d56:-70e2</id>


  
  
-139554.52234597853
805578.7494653241
-14572.7924365027
1322557.5275064965
    EPSG:27700
  




> On 5 Aug 2015, at 21:20, Russell Hore  wrote:
> 
> I am still getting this error. All I can tell at the moment is it is 
> something to do with layer groups.
> 
> If I click on the Layer Preview link in the admin panel and then navigate to 
> a page that has a layer group I get the following error in geoserver.log
> 
> 2015-08-05 21:15:17,720 TRACE [org.geoserver.ows.OWSHandlerMapping] - No 
> handler mapping found for [/web/]
> 2015-08-05 21:15:17,720 TRACE [org.geoserver.ows.OWSHandlerMapping] - No 
> handler mapping found for [/web/]
> 2015-08-05 21:15:17,735 TRACE [org.geoserver.ows.OWSHandlerMapping] - No 
> handler mapping found for [/web/]
> 2015-08-05 21:15:17,735 TRACE [org.geoserver.ows.OWSHandlerMapping] - No 
> handler mapping found for [/web/]
> 2015-08-05 21:15:17,736 DEBUG [org.geoserver] - Thread 8397 locking in mode 
> READ
> 2015-08-05 21:15:17,736 DEBUG [org.geoserver] - Thread 8397 got the lock in 
> mode READ
> 2015-08-05 21:15:17,762 ERROR [org.apache.wicket.RequestCycle] - Error 
> attaching this container for rendering: [MarkupContainer [Component id = 
> listContainer]]
> org.apache.wicket.WicketRuntimeException: Error attaching this container for 
> rendering: [MarkupContainer [Component id = listContainer]]
>   at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1765)
>   at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
>   at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
>   at org.apache.wicket.Component.beforeRender(Component.java:1105)
>   at org.apache.wicket.Component.prepareForRender(Component.java:2292)
>   at org.apache.wicket.Component.prepareForRender(Component.java:2329)
>   at 
> org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:830)
>   at 
> org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:682)
>   at 
> org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:592)
>   at 
> org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
>   at 
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
>   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.doGet(WicketServlet.java:138)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>   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.doGet(FrameworkServlet.java:778)
>   at java

Re: [Geoserver-users] Can not view layer group page i admin interface

2015-08-05 Thread Russell Hore
 
org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:121)
at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
at org.apache.wicket.Component.beforeRender(Component.java:1105)
at 
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
... 106 more
2015-08-05 21:15:17,776 DEBUG [org.geoserver] - Thread 8397 releasing the lock 
in mode READ
2015-08-05 21:15:17,776 DEBUG 
[org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1] - 
SecurityContextHolder now cleared, as request processing completed
2015-08-05 21:15:17,777 DEBUG [org.geoserver.filters] - Compressing output for 
mimetype: text/xml;charset=UTF-8
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No 
handler mapping found for [/web/]
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No 
handler mapping found for [/web/]
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No 
handler mapping found for [/web/]
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No 
handler mapping found for [/web/]
2015-08-05 21:15:17,803 DEBUG [org.geoserver] - Thread 8397 locking in mode READ
2015-08-05 21:15:17,803 DEBUG [org.geoserver] - Thread 8397 got the lock in 
mode READ
2015-08-05 21:15:17,807 DEBUG [org.geoserver.web] - cannot convert url: 
jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/blueprint/screen.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,808 DEBUG [org.geoserver.web] - cannot convert url: 
jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/blueprint/print.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,809 DEBUG [org.geoserver.web] - cannot convert url: 
jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/geoserver.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,810 DEBUG [org.geoserver.web] - cannot convert url: 
jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/blueprint/ie.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,811 DEBUG [org.geoserver.web] - cannot convert url: 
jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/js/jquery-1.2.6.min.js
 to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,811 DEBUG [org.geoserver.web] - cannot convert url: 
jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/js/jquery.inline-info.js
 to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,823 DEBUG [org.geoserver] - Thread 8397 releasing the lock 
in mode READ
2015-08-05 21:15:17,823 DEBUG [org.geoserver.filters] - Compressing output for 
mimetype: text/html;charset=UTF-8
2015-08-05 21:15:17,824 DEBUG 
[org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1] - 
SecurityContextHolder now cleared, as request processing completed

 


> On 8 Jul 2015, at 06:55, Russell Hore  wrote:
> 
> Running on Linux, GeoServer 2.7.1.1.
> 
> When I try to look at the Layer Groups page this has just started happening;
> I did delete some layer groups a few weeks ago but didn’t notice the error 
> then. Since then I have upgraded from 2.6.4 to 2.7.11
> 


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


[Geoserver-users] Can not view layer group page i admin interface

2015-07-07 Thread Russell Hore
Running on Linux, GeoServer 2.7.1.1.

When I try to look at the Layer Groups page this has just started happening;
I did delete some layer groups a few weeks ago but didn’t notice the error 
then. Since then I have upgraded from 2.6.4 to 2.7.11

org.apache.wicket.WicketRuntimeException: Can't instantiate page using 
constructor public org.geoserver.web.data.layergroup.LayerGroupPage() at 
org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
 at 
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:57)
 at 
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
 at 
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
 at 
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
 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.doGet(WicketServlet.java:138) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 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.doGet(FrameworkServlet.java:778)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
 at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71) 
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
 at 
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at 
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
 at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
 at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
 at 
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
 at 
org

Re: [Geoserver-users] Feedback on GeoServer 2.7-beta?

2015-02-05 Thread Russell Hore
I added;

 
   ENABLE_OL3
   false
 

to web.xml and the Transition Effect drop down returned, albeit OL2 style.

If it is missing from OL3 then no problem.

Russ

> On 5 Feb 2015, at 05:28, Jody Garnett  wrote:
> 
> GeoServer 2.7 switches to OL3 by default, do you want to check if turning on 
> OL2 restores the transition effect drop down? Like perhaps that is an OL2 
> only feature ...
> 
> From the blog post:
> 
> Finally, the map preview has been switched to OpenLayers 3, although the 
> nostalgic can get back the OL2 based one by adding the “-DENABLE_OL3=false” 
> parameter to the JVM startup options. Thanks to Bart for helping add this to 
> GeoServer.
> 
> So if you add -DENABLE_OL3=false you should be able to compare the 2 
> implementations. 
> 
> --
> Jody Garnett
> 
> On 3 February 2015 at 13:59, Russell Hore  wrote:
> May be something I have missed but when I do a layer preview I can not see 
> the “Transition Effect” drop down.
> 
> MacOS, Oracle Corporation: 1.7.0_67 (Java HotSpot(TM) 64-Bit Server VM)
> 
> I am not running it under Tomcat (just for testing).
> 
> 
> 
> Russ
> 
>> On 3 Feb 2015, at 18:40, Ben Caradoc-Davies  wrote:
>> 
>> Dear GeoServer users,
>> 
>> we are still looking for more feedback on new features and old in 
>> GeoServer 2.7-beta. It is likely that 2.7 will be very similar to the 
>> beta, so please let us know if there is anything that works or does not 
>> work for you.
>> 
>> Has anyone tried these:
>> 
>> - Colour composition and blending
>> - WPS limits
>> 
>> New features are described (with great pictures!) in the GeoServer 
>> 2.7-beta release announcement:
>> http://blog.geoserver.org/2015/01/22/geoserver-2-7-beta-released/
>> 
>> All feedback welcome.
>> 
>> Kind regards,
>> 
>> -- 
>> Ben Caradoc-Davies 
>> Software Engineer
>> Transient Software <http://transient.nz>
>> New Zealand
>> 
>> --
>> Dive into the World of Parallel Programming. The Go Parallel Website,
>> sponsored by Intel and developed in partnership with Slashdot Media, is your
>> hub for all things parallel software development, from weekly thought
>> leadership blogs to news, videos, case studies, tutorials and more. Take a
>> look and join the conversation now. http://goparallel.sourceforge.net/
>> ___
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> 
> --
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> 


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Feedback on GeoServer 2.7-beta?

2015-02-03 Thread Russell Hore
May be something I have missed but when I do a layer preview I can not see the 
“Transition Effect” drop down.

MacOS, Oracle Corporation: 1.7.0_67 (Java HotSpot(TM) 64-Bit Server VM)

I am not running it under Tomcat (just for testing).



Russ

> On 3 Feb 2015, at 18:40, Ben Caradoc-Davies  wrote:
> 
> Dear GeoServer users,
> 
> we are still looking for more feedback on new features and old in 
> GeoServer 2.7-beta. It is likely that 2.7 will be very similar to the 
> beta, so please let us know if there is anything that works or does not 
> work for you.
> 
> Has anyone tried these:
> 
> - Colour composition and blending
> - WPS limits
> 
> New features are described (with great pictures!) in the GeoServer 
> 2.7-beta release announcement:
> http://blog.geoserver.org/2015/01/22/geoserver-2-7-beta-released/
> 
> All feedback welcome.
> 
> Kind regards,
> 
> -- 
> Ben Caradoc-Davies 
> Software Engineer
> Transient Software 
> New Zealand
> 
> --
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too sensitive

2014-10-09 Thread Russell Hore
This is my code;

control = new OpenLayers.Control.GetFeature({
protocol: OpenLayers.Protocol.WFS.fromWMSLayer(theLayer),
box: false,
hover: false,
maxFeatures: 20,
multipleKey: "shiftKey",
toggleKey: "ctrlKey",
clickTolerance:30
});
control.events.register("featureselected",   this, function(e) { 
selected.addFeatures([e.feature]); displayInfo(e); });
control.events.register("featureunselected", this, function(e) { 
selected.removeFeatures([e.feature]);});
control.events.register("hoverfeature",  this, function(e) { 
hover.addFeatures([e.feature]);  displayInfo(e); });
control.events.register("outfeature",this, function(e) { 
hover.removeFeatures([e.feature]);   });
map.addControl(control);
control.activate();

Note the clickTolerance line

Russ

On 9 Oct 2014, at 16:02, Ismail, Mark  wrote:

> Hi
>  
> Thanks for the replies
>  
> Ive tried
>  
> vendorParams: { buffer:100 },
> tolerance: 100,
>  
> in the openlayers wmsgetfeatureinfo request but no change, the points are 
> still very difficult to click even with these extreme settings
>  
> From the open layers docs tolerance doesn’t seem to be a supported parameter 
> anymore though
>  
> Mark Ismail
> Principal IT Officer
> Tel: 0151 443 3021
> Knowsley Council  ê  Westmorland Road  ê Huyton ê L36 9GL
>  
> Save time – use the IT Service Desk Self Serve Application
>  
> From: Jerome A. Wendell [mailto:jawend...@suddenlink.net] 
> Sent: 09 October 2014 14:32
> To: Ismail, Mark; 'geoserver mailing, list'
> Subject: RE: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too 
> sensitive
>  
> Mark,
>  
> You might take a look at the clickTolerance setting as described at the link 
> below:
>  
> http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/Control/GetFeature-js.html#OpenLayers.Control.GetFeature.clickTolerance
>  
> Hope this helps.
>  
> Jerome Wendell
>  
>  
> From: Ismail, Mark [mailto:mark.ism...@knowsley.gov.uk] 
> Sent: Thursday, October 09, 2014 9:06 AM
> To: geoserver mailing, list (geoserver-users@lists.sourceforge.net)
> Subject: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too 
> sensitive
>  
> I am using openlayers 2 and issuing a WMSGetFeatureInfo request to geoserver
>  
> It works fine but It is far to sensitive to where you click – if you don’t 
> get right in the centre of a point or icon it finds nothing, it can take 2 or 
> 3 attempts to get a response even if clicking carefully and zoomed in
>  
> Is there any way to make that click “less sensitive” so it will pick up the 
> closest point  to the mouse click ?
>  
> I know this isn’t strictly a geoserver issue but I’ve found nothing useful on 
> the openlayers forums
>  
> Mark Ismail
> Principal IT Officer
> Tel: 0151 443 3021
> Knowsley Council  ê  Westmorland Road  ê Huyton ê L36 9GL
>  
> Save time – use the IT Service Desk Self Serve Application
>  
> This e-mail and any attachments are confidential. It may contain privileged 
> information and is intended for the named recipient(s) only. It must not be 
> distributed without consent. If you are not one of the intended recipients, 
> please notify the sender immediately and do not disclose, distribute, or 
> retain this email or any part of it and do not take any action based on it.
> 
> Unless expressly stated, opinions in this email are those of the individual 
> sender, and not of Knowsley MBC. Legally binding obligations can only be 
> created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
> officers or representatives.
> 
> Knowsley MBC excludes any liability whatsoever for any offence caused, any 
> direct or consequential loss arising from the use, or reliance on, this 
> e-mail or its contents. We believe but do not warrant that this e-mail and 
> any attachments are virus free. You must therefore take full responsibility 
> for virus checking and no responsibility is accepted for loss or damage 
> arising from viruses or changes made to this message after it was sent. 
> Knowsley MBC reserves the right to monitor and/or record all e-mail 
> communications through its network in accordance with relevant legislation.
> This e-mail and any attachments are confidential. It may contain privileged 
> information and is intended for the named recipient(s) only. It must not be 
> distributed without consent. If you are not one of the intended recipients, 
> please notify the sender immediately and do not disclose, distribute, or 
> retain this email or any part of it and do not take any action based on it.
> 
> Unless expressly stated, opinions in this email are those of the individual 
> sender, and not of Knowsley MBC. Legally binding obligations can only be 
> created for, or be entered into on behalf

Re: [Geoserver-users] [Release] - SLD's for Ordnance Survey data

2014-08-21 Thread Russell Hore
Of course that should have read “…OS shp files…"

Russ

On 21 Aug 2014, at 17:01, Russell Hore  wrote:

> One thing to watch out for if you are importing the OS sip files into 
> Postgresql is maintain the case of the fields.
> 
> All(?) of the SLD use uppercase for attribute names e.g. CODE, ROADNUM, etc.
> 
> Use the -k switch on shp2pgsql tool.
> 
> Russ (Once bitten, etc.)
> 
> On 21 Aug 2014, at 16:39, McDonaldR  wrote:
> 
>> How’s that for timing!
>>  
>> I’ve just spent the last couple of days getting Geoserver SLDs prepped for 
>> OS MasterMap, VML, VMD, Meridian and Strategi using the OS SLDs as a 
>> starter.  They are on Github too at 
>> https://github.com/mixedbredie/Geoserver-OS-SLDs (more to come).  I’ll be 
>> interested to see how you handle the changeover between layers.
>>  
>> Cheers
>>  
>> Ross
>>  
>> From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
>> Sent: 21 August 2014 15:18
>> To: geoserver-users@lists.sourceforge.net
>> Subject: [Geoserver-users] [Release] - SLD's for Ordnance Survey data
>>  
>> Hi All
>> Something that may be of interest to some on this list: I've released a 
>> number of our corporate assets to GitHub.
>>  
>> The SLD's have a few of the more advanced filters in them so may be of 
>> interest even to those who don't wish to load Ordnance Survey data, but 
>> instead use them as an implementation reference (Use them with a good 
>> Desktop search and "find within" for instance).
>>  
>>  
>> * SLD files for our Ordnance Survey styling, including four different 
>> MasterMap stylings, and two complete view stacks (1:250 to 1:10,000,000).
>> https://github.com/warwickshire/SLDs
>>  
>>  
>> * FME Workspaces - mostly for loading OS Data, but there's also a fairly 
>> decent data quality checker in there to.
>> https://github.com/warwickshire/FME-Workspaces
>>  
>>  
>> * General Python scripts, one of which converts a WMS GetCapabilities 
>> document to a KML file (I've posted this to the list before).
>> https://github.com/warwickshire/GIS-Python-scripts
>>  
>>  
>> Hope someone finds these useful.
>>  
>> Cheers,
>> Jonathan
>> 
>> This transmission is intended for the named addressee(s) only and may 
>> contain confidential, sensitive or personal information 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.
>>  
>> This message is strictly confidential. If you have received this in error, 
>> please inform the sender and remove it from your system. If received in 
>> error you may not copy, print, forward or use it or any attachment in any 
>> way. This message is not capable of creating a legal contract or a binding 
>> representation and does not represent the views of Angus Council. Emails may 
>> be monitored for security and network management reasons.  Messages 
>> containing inappropriate content may be intercepted. Angus Council does not 
>> accept any liability for any harm that may be caused to the recipient system 
>> or data on it by this message or any attachment.
>> --
>> Slashdot TV.  
>> Video for Nerds.  Stuff that matters.
>> http://tv.slashdot.org/___
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> --
> Slashdot TV.  
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [Release] - SLD's for Ordnance Survey data

2014-08-21 Thread Russell Hore
One thing to watch out for if you are importing the OS sip files into 
Postgresql is maintain the case of the fields.

All(?) of the SLD use uppercase for attribute names e.g. CODE, ROADNUM, etc.

Use the -k switch on shp2pgsql tool.

Russ (Once bitten, etc.)

On 21 Aug 2014, at 16:39, McDonaldR  wrote:

> How’s that for timing!
>  
> I’ve just spent the last couple of days getting Geoserver SLDs prepped for OS 
> MasterMap, VML, VMD, Meridian and Strategi using the OS SLDs as a starter.  
> They are on Github too at https://github.com/mixedbredie/Geoserver-OS-SLDs 
> (more to come).  I’ll be interested to see how you handle the changeover 
> between layers.
>  
> Cheers
>  
> Ross
>  
> From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
> Sent: 21 August 2014 15:18
> To: geoserver-users@lists.sourceforge.net
> Subject: [Geoserver-users] [Release] - SLD's for Ordnance Survey data
>  
> Hi All
> Something that may be of interest to some on this list: I've released a 
> number of our corporate assets to GitHub.
>  
> The SLD's have a few of the more advanced filters in them so may be of 
> interest even to those who don't wish to load Ordnance Survey data, but 
> instead use them as an implementation reference (Use them with a good Desktop 
> search and "find within" for instance).
>  
>  
> * SLD files for our Ordnance Survey styling, including four different 
> MasterMap stylings, and two complete view stacks (1:250 to 1:10,000,000).
> https://github.com/warwickshire/SLDs
>  
>  
> * FME Workspaces - mostly for loading OS Data, but there's also a fairly 
> decent data quality checker in there to.
> https://github.com/warwickshire/FME-Workspaces
>  
>  
> * General Python scripts, one of which converts a WMS GetCapabilities 
> document to a KML file (I've posted this to the list before).
> https://github.com/warwickshire/GIS-Python-scripts
>  
>  
> Hope someone finds these useful.
>  
> Cheers,
> Jonathan
> 
> This transmission is intended for the named addressee(s) only and may contain 
> confidential, sensitive or personal information 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.
>  
> This message is strictly confidential. If you have received this in error, 
> please inform the sender and remove it from your system. If received in error 
> you may not copy, print, forward or use it or any attachment in any way. This 
> message is not capable of creating a legal contract or a binding 
> representation and does not represent the views of Angus Council. Emails may 
> be monitored for security and network management reasons.  Messages 
> containing inappropriate content may be intercepted. Angus Council does not 
> accept any liability for any harm that may be caused to the recipient system 
> or data on it by this message or any attachment.
> --
> Slashdot TV.  
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Best GeoServer Features

2014-08-08 Thread Russell Hore
1. Very simple to set up
2. No
3. Not yet. GS does everything I need to do without extra extensions a.t.m. :)
4. The short time it took to install GS and display my data
5. None at the moment.

Russ

On 6 Aug 2014, at 21:29, Jody Garnett  wrote:

> Andrea and myself have a talk lined up for FOSS4G ... covering the "best" 
> features of GeoServer in a "feature frenzy" 30 second sound bite format. This 
> is to counteract our "State of GeoServer" talks - where we only get a look at 
> what is new. 
> 
> To help please answer the following questions:
> 
> 1. What makes GeoServer great for you?
> 2. What feature do you always enable?
> 3. Is there an extension which totally made a project possible for your or a 
> customer?
> 4. What surprised you when you first installed GeoServer?
> 5. What community module do you wish was part of GeoServer 2.6?
> --
> Jody Garnett
> --
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls. 
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Odd behaviour on Data security screen

2014-06-08 Thread Russell Hore
I just noticed some odd behaviour on the Data security screen.

1) Open the screen
2) Double click ROLE_AUTHENTICATED to move it to the right hand list box
3) Save
4) Go back in
5) Double click ROLE_AUTHENTICATED  (ROLE_AUTHENTICATED moves back to left had 
list box as expected)
6) Click the check box “Grant access to any role”  (ROLE_AUTHENTICATED moves 
back to right hand list box)
7) Save
8) Go back in and ROLE_AUTHENTICATED is in the left hand list box.

Build Information
Version 2.5.1
Git Revision d0961aa9d87ccaca185b89b339d053ae91a6fa35
Build Date 18-May-2014 12:03
GeoTools Version 11.1 (rev d0db3a062cbcf1e6751db061d5b347e0af228ce6)
GeoWebCache Version 1.5.2 (rev 1.5.x/aac4b4f7ad149a4d36df3997e21709501ce56186)

Russ--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS base layers dont appear in Mapinfo12

2014-05-27 Thread Russell Hore
I assume you mean ‘a white screen’ in some sort of application that is using 
your GeoServer.

It may be you need to set the vector layer transparency to true.

Russ

On 27 May 2014, at 16:07, Ismail, Mark  wrote:

> Hi
>  
> I have been trying to add WMS layers to Mapinfo pro 12
>  
> I have added a few overlays such as bus stops and they appear fine, but as 
> soon as I add a base layer such as mastermap or vectormap I get a white screen
>  
> Any ideas ?
>  
> Mark Ismail
> Principal IT Officer
> Tel: 0151 443 3021
> Knowsley Council  ê  Westmorland Road  ê Huyton ê L36 9GL
>  
> Save time – use the IT Service Desk Self Serve Application
>  
> This e-mail and any attachments are confidential. It may contain privileged 
> information and is intended for the named recipient(s) only. It must not be 
> distributed without consent. If you are not one of the intended recipients, 
> please notify the sender immediately and do not disclose, distribute, or 
> retain this email or any part of it and do not take any action based on it.
> 
> Unless expressly stated, opinions in this email are those of the individual 
> sender, and not of Knowsley MBC. Legally binding obligations can only be 
> created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
> officers or representatives.
> 
> Knowsley MBC excludes any liability whatsoever for any offence caused, any 
> direct or consequential loss arising from the use, or reliance on, this 
> e-mail or its contents. We believe but do not warrant that this e-mail and 
> any attachments are virus free. You must therefore take full responsibility 
> for virus checking and no responsibility is accepted for loss or damage 
> arising from viruses or changes made to this message after it was sent. 
> Knowsley MBC reserves the right to monitor and/or record all e-mail 
> communications through its network in accordance with relevant legislation.
> --
> The best possible search technologies are now affordable for all companies.
> Download your FREE open source Enterprise Search Engine today!
> Our experts will assist you in its installation for $59/mo, no commitment.
> Test it for FREE on our Cloud platform anytime!
> http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Problem with geoserver.org

2014-05-13 Thread Russell Hore
Is there a problem with geoserver.org ?

I am getting;

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.

Reason: Error reading from remote server


--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path

2014-05-12 Thread Russell Hore
They way I have created my pyramid with this data is as follows (and if 
somebody can improve it, please tell me)

Take the OS *.tif files and copy them into a directory for each OS Grid e.g. 
SD, SO, SH etc
Add the relevant world files to each directory.
Create a 'prj' file for each tif file. It is always the same so I create a 
pro.prj file and with a bit of scripting, find all the *.tif files and copy 
prj.prj to the same name, changing the extension to pro, so I end up with three 
files for each tif (sh67.tif, sh67.prj, sh67.tfw)

Now I run this script (quick, dirty, no comments and no apologies for that)

echo -n Working on 
pwd
mkdir out
for file in `ls *tif`
do
echo -n Working on  $file
gdal_translate -of GTiff -co "TILED=YES" -co "COMPRESS=DEFLATE" -co 
"BLOCKXSIZE=512" -co "BLOCKYSIZE=512" -a_srs "EPSG:27700" $file out/$file
done
mv out/* .
rm -fr out
for file in `ls *tif`
do
echo -n Working on $file
gdaladdo -clean $file
gdaladdo -r average $file 1 2 4 8 16 32 64 128
done 

(As I understand it that creates GeoTIFFs from all the tifs and adds overviews.)

I then create the pyramid with;

#!/bin/bash
export thedir=`pwd`
export thedir=`basename $thedir`
echo $thedir
mkdir pyramid
ls *tif > ../tiles$thedir.txt
gdal_retile.py -v -levels 9 -ps 2048 2048 -co 'TILED=YES' -co 'BLOCKXSIZE=256' 
-co 'BLOCKYSIZE=256' -s_srs EPSG:27700 -targetDir pyramid --optfile 
../tiles$thedir.txt

Not sure pif that helps?

Russ

On 12 May 2014, at 13:15, Tom Chadwin  wrote:

> Yes. Apologies for my ignorance. I've now added an epsg:27700 .prj file to
> the folder, and the layer now creates fine.
> 
> However, previewing it in tile layers has the same effect: broken graphics,
> and the same GeoServer and Tomcat errors.
> 
> To make that clear, I can now recreate this problem with two different pairs
> of TIF/TFWs, representing the same coverage, one from a 2009 edition, one
> from 2012.
> 
> Any ideas?
> 
> Thanks
> 
> Tom
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Error-rendering-coverage-on-the-fast-path-tp5138864p5139757.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
> 
> --
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path

2014-05-12 Thread Russell Hore
I get;

  TIFFTAG_DATETIME=2013:11:07 16:33:56
  TIFFTAG_IMAGEDESCRIPTION=1:5 TILE SD88

  TIFFTAG_DATETIME=2013:11:07 16:33:55
  TIFFTAG_IMAGEDESCRIPTION=1:5 TILE SD86

This is PSMA data.

Russ

On 12 May 2014, at 10:02, Tom Chadwin  wrote:

>> sd86 and sd88
> 
> GDALinfo indicates that it is a 2009 cut:
> 
>  TIFFTAG_IMAGEDESCRIPTION=1:5 TILE SD86
>  TIFFTAG_DATETIME=2011:01:18 16:23:57
> 
>  TIFFTAG_IMAGEDESCRIPTION=1:5 TILE SD88
>  TIFFTAG_DATETIME=2011:01:18 16:24:00
> 
>> I'll also double check GDALinfo on those two tiles.
> 
> Identical output, apart from filename, timestamp, and coordinate data.
> 
> Can anyone recreate this?
> 
> Thanks
> 
> Tom
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Error-rendering-coverage-on-the-fast-path-tp5138864p5139734.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
> 
> --
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Handling of a detected security flaw

2014-05-09 Thread Russell Hore
For css read xss (Spell checker)

Russ

On 9 May 2014, at 16:30, Russell Hore  wrote:

> I just tried that on my 2.5 box and got a popup with css in it.
> 
> Build Information
> Version 2.5
> Git Revision 8cf3edcf5f61db010f7ad3fcb4613e7c0eabeaff
> Build Date 18-Mar-2014 16:08
> GeoTools Version 11.0 (rev fb9a2d3f88315d076523788cb8196ec89bb253f9)
> GeoWebCache Version 1.5.1 (rev 1.5.x/64246c20a4ada1c954b17d23b9447408d1c5432f)
> 
> 
> Russ
> 
> On 9 May 2014, at 16:17, Isakson Mats  wrote:
> 
>> http://demo.opengeo.org/geoserver/ows?SERVICE=WFS&request=";>http://www.w3.org/1999/xhtml%27><"&VERSION=1.0
> 

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Handling of a detected security flaw

2014-05-09 Thread Russell Hore
I just tried that on my 2.5 box and got a popup with css in it.

Build Information
Version 2.5
Git Revision 8cf3edcf5f61db010f7ad3fcb4613e7c0eabeaff
Build Date 18-Mar-2014 16:08
GeoTools Version 11.0 (rev fb9a2d3f88315d076523788cb8196ec89bb253f9)
GeoWebCache Version 1.5.1 (rev 1.5.x/64246c20a4ada1c954b17d23b9447408d1c5432f)


Russ

On 9 May 2014, at 16:17, Isakson Mats  wrote:

> http://demo.opengeo.org/geoserver/ows?SERVICE=WFS&request=";>http://www.w3.org/1999/xhtml%27><"&VERSION=1.0

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] bounding box

2014-05-07 Thread Russell Hore
Go to the layer in the Administration interface.

"Under Bounding Box” click on ‘Compute from Data’ (and ‘Compute from native 
bounds’ ?). See if the coords change.

Save the layer

Russ

On 6 May 2014, at 19:26, Jonatan Malaver  wrote:

> Hello,
>  
>I have a PostGIS store in Geoserver 2.4, where the computed native 
> bounding box x,y and lat/long are incorrect. When I try to preview the layer, 
> the layer is cut on the map. Could anyone help me resolve this problem? The 
> postgis table was recently updated (more geometry added). I’m having problems 
> with the new geometry added to the table. I have tried deleting the layer and 
> adding it again and problem persists.
>  
> Thanks,
>  
> Jon
> --
> Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
> • 3 signs your SCM is hindering your productivity
> • Requirements for releasing software faster
> • Expert tips and advice for migrating your SCM now
> http://p.sf.net/sfu/perforce___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] can you use the SLD provided UK Ordnance survey with geoserver?

2014-03-28 Thread Russell Hore
Correct.

Russ

On 28 Mar 2014, at 09:58, Ismail, Mark  wrote:

> I can try changing the SLD but just so I am clear
>  
> The sld is looking for a field in my database called os_cat ?
>  
> Eg :
>  
>   
>  
>  Unclassified - 1:35 to 1:3,496
>
>  
>os_cat
>fillUnclassified
>  
>
>35
>3496
>
>  
>#99
>  
>
>  
>   
>  
> Because I don’t have a field called that
>  
> Mark Ismail
> Principal IT Officer
> Tel: 0151 443 3021
> Knowsley Council  ê  Westmorland Road  ê Huyton ê L36 9GL
>  
> Save time – use the IT Service Desk Self Serve Application
>  
> From: Russell Hore [mailto:r...@russ-hore.co.uk] 
> Sent: 28 March 2014 09:53
> To: Ismail, Mark
> Cc: Jody Garnett; geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] can you use the SLD provided UK Ordnance 
> survey with geoserver?
>  
> If you can I would change the database but I understand that is harder than 
> changing the SLD.
>  
> So change the fields in the SLD to uppercase and try it. BUT if you reload 
> the style at a later date it will stop working again. Hence, might be better 
> to make the database match the SLD rather than the other way round.
>  
> Russ
>  
> On 28 Mar 2014, at 09:46, Ismail, Mark  wrote:
> 
> 
> I am loading the data direct from an Oracle database – created by a piece of 
> software from PBBI called geostore
>  
> All the database fields are in upper case though – is there any way to fix it 
> ?  I cant really change the database, maybe I can change the sld ?
>  
> I did notice there was a folder called osmmsymbolsfull of svg files that came 
> with the download from os  which didn’t get copied to geoserver
>  
> Is that significant
>  
> Mark Ismail
> Principal IT Officer
> Tel: 0151 443 3021
> Knowsley Council  ê  Westmorland Road  ê Huyton ê L36 9GL
>  
> Save time – use the IT Service Desk Self Serve Application
>  
> From: Russell Hore [mailto:r...@russ-hore.co.uk] 
> Sent: 28 March 2014 09:37
> To: Ismail, Mark
> Cc: Jody Garnett; geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] can you use the SLD provided UK Ordnance 
> survey with geoserver?
>  
> Are you loading the data from Postgres? If so I suspect it is the field names 
> in the database are upper case and the SLD is expecting lower case. (I have 
> been there myself)
>  
> Russ
>  
> On 28 Mar 2014, at 09:28, Ismail, Mark  wrote:
> 
> 
> 
> I tried what you suggested and it did submit but  its not very happy
>  
> 
>  "http://localhost:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";>
>  The requested 
> Style can not be used with this layer. The style specifies an attribute of 
> os_cat and the layer is: Geostore:TOPOGRAPHICAREA 
> 
>  
> I am new to this and haven’t a clue what that means – can anyone suggest why 
> it isn’t happy ?
>  
> Mark Ismail
> Principal IT Officer
> Tel: 0151 443 3021
> Knowsley Council  ê  Westmorland Road  ê Huyton ê L36 9GL
>  
> Save time – use the IT Service Desk Self Serve Application
>  
> From: Jody Garnett [mailto:jody.garn...@gmail.com] 
> Sent: 28 March 2014 00:54
> To: Ismail, Mark
> Cc: geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] can you use the SLD provided UK Ordnance 
> survey with geoserver?
>  
> That does look like the filename is incorrect. I have not seen TopoArea.sld 
> so I do not know if it compatible.  Try copying and pasting the content into 
> a new style and see how you go?
> 
> Jody Garnett
>  
> 
> On Fri, Mar 28, 2014 at 2:56 AM, Ismail, Mark  
> wrote:
> I have tried to upload the sld provided by uk ordnance survey but although 
> they validate I get the following error when I click submit
>  
> org.apache.wicket.WicketRuntimeException: java.io.FileNotFoundException: 
> C:\GeoServer25\data_dir\styles\C:\GeoServer25\data_dir\styles\TopoArea.sld 
> (The filename, directory name, or volume label syntax is incorrect
>  
> Mark
> This e-mail and any attachments are confidential. It may contain privileged 
> information and is intended for the named recipient(s) only. It must not be 
> distributed without consent. If you are not one of the intended recipients, 
> please notify the sender immediately and do not disclose, distribute, or 
> retain this email or any part of it and do not take any action based on it.
> 
> Unless expressly stated, opinions in this email are those of the individual 
> sender, and not of Knowsley MBC. Legally binding obligations can only be 
> c

Re: [Geoserver-users] can you use the SLD provided UK Ordnance survey with geoserver?

2014-03-28 Thread Russell Hore
If you can I would change the database but I understand that is harder than 
changing the SLD.

So change the fields in the SLD to uppercase and try it. BUT if you reload the 
style at a later date it will stop working again. Hence, might be better to 
make the database match the SLD rather than the other way round.

Russ

On 28 Mar 2014, at 09:46, Ismail, Mark  wrote:

> I am loading the data direct from an Oracle database – created by a piece of 
> software from PBBI called geostore
>  
> All the database fields are in upper case though – is there any way to fix it 
> ?  I cant really change the database, maybe I can change the sld ?
>  
> I did notice there was a folder called osmmsymbolsfull of svg files that came 
> with the download from os  which didn’t get copied to geoserver
>  
> Is that significant
>  
> Mark Ismail
> Principal IT Officer
> Tel: 0151 443 3021
> Knowsley Council  ê  Westmorland Road  ê Huyton ê L36 9GL
>  
> Save time – use the IT Service Desk Self Serve Application
>  
> From: Russell Hore [mailto:r...@russ-hore.co.uk] 
> Sent: 28 March 2014 09:37
> To: Ismail, Mark
> Cc: Jody Garnett; geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] can you use the SLD provided UK Ordnance 
> survey with geoserver?
>  
> Are you loading the data from Postgres? If so I suspect it is the field names 
> in the database are upper case and the SLD is expecting lower case. (I have 
> been there myself)
>  
> Russ
>  
> On 28 Mar 2014, at 09:28, Ismail, Mark  wrote:
> 
> 
> I tried what you suggested and it did submit but  its not very happy
>  
> 
>  "http://localhost:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";>
>  The requested 
> Style can not be used with this layer. The style specifies an attribute of 
> os_cat and the layer is: Geostore:TOPOGRAPHICAREA 
> 
>  
> I am new to this and haven’t a clue what that means – can anyone suggest why 
> it isn’t happy ?
>  
> Mark Ismail
> Principal IT Officer
> Tel: 0151 443 3021
> Knowsley Council  ê  Westmorland Road  ê Huyton ê L36 9GL
>  
> Save time – use the IT Service Desk Self Serve Application
>  
> From: Jody Garnett [mailto:jody.garn...@gmail.com] 
> Sent: 28 March 2014 00:54
> To: Ismail, Mark
> Cc: geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] can you use the SLD provided UK Ordnance 
> survey with geoserver?
>  
> That does look like the filename is incorrect. I have not seen TopoArea.sld 
> so I do not know if it compatible.  Try copying and pasting the content into 
> a new style and see how you go?
> 
> Jody Garnett
>  
> 
> On Fri, Mar 28, 2014 at 2:56 AM, Ismail, Mark  
> wrote:
> I have tried to upload the sld provided by uk ordnance survey but although 
> they validate I get the following error when I click submit
>  
> org.apache.wicket.WicketRuntimeException: java.io.FileNotFoundException: 
> C:\GeoServer25\data_dir\styles\C:\GeoServer25\data_dir\styles\TopoArea.sld 
> (The filename, directory name, or volume label syntax is incorrect
>  
> Mark
> This e-mail and any attachments are confidential. It may contain privileged 
> information and is intended for the named recipient(s) only. It must not be 
> distributed without consent. If you are not one of the intended recipients, 
> please notify the sender immediately and do not disclose, distribute, or 
> retain this email or any part of it and do not take any action based on it.
> 
> Unless expressly stated, opinions in this email are those of the individual 
> sender, and not of Knowsley MBC. Legally binding obligations can only be 
> created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
> officers or representatives.
> 
> Knowsley MBC excludes any liability whatsoever for any offence caused, any 
> direct or consequential loss arising from the use, or reliance on, this 
> e-mail or its contents. We believe but do not warrant that this e-mail and 
> any attachments are virus free. You must therefore take full responsibility 
> for virus checking and no responsibility is accepted for loss or damage 
> arising from viruses or changes made to this message after it was sent. 
> Knowsley MBC reserves the right to monitor and/or record all e-mail 
> communications through its network in accordance with relevant legislation.
> 
> --
> 
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
>  
> This e-mail and any attachments are confidential. It may contain privileged 
&g

Re: [Geoserver-users] can you use the SLD provided UK Ordnance survey with geoserver?

2014-03-28 Thread Russell Hore
Are you loading the data from Postgres? If so I suspect it is the field names 
in the database are upper case and the SLD is expecting lower case. (I have 
been there myself)

Russ

On 28 Mar 2014, at 09:28, Ismail, Mark  wrote:

> I tried what you suggested and it did submit but  its not very happy
>  
> 
>  "http://localhost:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";>
>  The requested 
> Style can not be used with this layer. The style specifies an attribute of 
> os_cat and the layer is: Geostore:TOPOGRAPHICAREA 
> 
>  
> I am new to this and haven’t a clue what that means – can anyone suggest why 
> it isn’t happy ?
>  
> Mark Ismail
> Principal IT Officer
> Tel: 0151 443 3021
> Knowsley Council  ê  Westmorland Road  ê Huyton ê L36 9GL
>  
> Save time – use the IT Service Desk Self Serve Application
>  
> From: Jody Garnett [mailto:jody.garn...@gmail.com] 
> Sent: 28 March 2014 00:54
> To: Ismail, Mark
> Cc: geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] can you use the SLD provided UK Ordnance 
> survey with geoserver?
>  
> That does look like the filename is incorrect. I have not seen TopoArea.sld 
> so I do not know if it compatible.  Try copying and pasting the content into 
> a new style and see how you go?
> 
> Jody Garnett
>  
> 
> On Fri, Mar 28, 2014 at 2:56 AM, Ismail, Mark  
> wrote:
> I have tried to upload the sld provided by uk ordnance survey but although 
> they validate I get the following error when I click submit
>  
> org.apache.wicket.WicketRuntimeException: java.io.FileNotFoundException: 
> C:\GeoServer25\data_dir\styles\C:\GeoServer25\data_dir\styles\TopoArea.sld 
> (The filename, directory name, or volume label syntax is incorrect
>  
> Mark
> This e-mail and any attachments are confidential. It may contain privileged 
> information and is intended for the named recipient(s) only. It must not be 
> distributed without consent. If you are not one of the intended recipients, 
> please notify the sender immediately and do not disclose, distribute, or 
> retain this email or any part of it and do not take any action based on it.
> 
> Unless expressly stated, opinions in this email are those of the individual 
> sender, and not of Knowsley MBC. Legally binding obligations can only be 
> created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
> officers or representatives.
> 
> Knowsley MBC excludes any liability whatsoever for any offence caused, any 
> direct or consequential loss arising from the use, or reliance on, this 
> e-mail or its contents. We believe but do not warrant that this e-mail and 
> any attachments are virus free. You must therefore take full responsibility 
> for virus checking and no responsibility is accepted for loss or damage 
> arising from viruses or changes made to this message after it was sent. 
> Knowsley MBC reserves the right to monitor and/or record all e-mail 
> communications through its network in accordance with relevant legislation.
> 
> --
> 
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
>  
> This e-mail and any attachments are confidential. It may contain privileged 
> information and is intended for the named recipient(s) only. It must not be 
> distributed without consent. If you are not one of the intended recipients, 
> please notify the sender immediately and do not disclose, distribute, or 
> retain this email or any part of it and do not take any action based on it.
> 
> Unless expressly stated, opinions in this email are those of the individual 
> sender, and not of Knowsley MBC. Legally binding obligations can only be 
> created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
> officers or representatives.
> 
> Knowsley MBC excludes any liability whatsoever for any offence caused, any 
> direct or consequential loss arising from the use, or reliance on, this 
> e-mail or its contents. We believe but do not warrant that this e-mail and 
> any attachments are virus free. You must therefore take full responsibility 
> for virus checking and no responsibility is accepted for loss or damage 
> arising from viruses or changes made to this message after it was sent. 
> Knowsley MBC reserves the right to monitor and/or record all e-mail 
> communications through its network in accordance with relevant legislation.
> --
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
___
Geoserver-users mailing list
Geoserver-user

Re: [Geoserver-users] can you use the SLD provided UK Ordnance survey with geoserver?

2014-03-28 Thread Russell Hore
I just downloaded the SLDs from the OS and loaded the style called "OS 
MasterMap Topography (full colour style) - Topo Area.sld”.

It loaded, validated and submitted without problem. What version of GS are you 
using, though I don’t think that will be the problem?

I am running on Linux not Windows but that can’t make a difference.

Do you load them via the GS web admin pages i.e. Browse | Upload etc

Russ
 
On 28 Mar 2014, at 09:14, Ismail, Mark  wrote:

> Russ
>  
> Can you give me an example of one that you have used successfully from OS so 
> I can test it ?
>  
> Mark Ismail
> Principal IT Officer
> Tel: 0151 443 3021
> Knowsley Council  ê  Westmorland Road  ê Huyton ê L36 9GL
>  
> Save time – use the IT Service Desk Self Serve Application
>  
> From: Russell Hore [mailto:r...@russ-hore.co.uk] 
> Sent: 28 March 2014 08:52
> To: Jody Garnett
> Cc: Ismail, Mark; geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] can you use the SLD provided UK Ordnance 
> survey with geoserver?
>  
> Looks like the path to the file is wrong as it includes C:` twice
>  
> I suspect GS is appending your path to the GEOSERVER_DATA_DIR folder, which 
> looks like it is C:\GeoServer25\data_dir\styles\
>  
> I have used other SLDs from the OS with no problem, but I have not tried this 
> one in particular.
>  
> Russ
>  
> On 28 Mar 2014, at 00:55, Jody Garnett  wrote:
> 
> 
> That does look like the filename is incorrect. I have not seen TopoArea.sld 
> so I do not know if it compatible.  Try copying and pasting the content into 
> a new style and see how you go?
> 
> Jody Garnett
>  
> 
> On Fri, Mar 28, 2014 at 2:56 AM, Ismail, Mark  
> wrote:
> 
> I have tried to upload the sld provided by uk ordnance survey but although 
> they validate I get the following error when I click submit
>  
> org.apache.wicket.WicketRuntimeException: java.io.FileNotFoundException: 
> C:\GeoServer25\data_dir\styles\C:\GeoServer25\data_dir\styles\TopoArea.sld 
> (The filename, directory name, or volume label syntax is incorrect
>  
> Mark
> This e-mail and any attachments are confidential. It may contain privileged 
> information and is intended for the named recipient(s) only. It must not be 
> distributed without consent. If you are not one of the intended recipients, 
> please notify the sender immediately and do not disclose, distribute, or 
> retain this email or any part of it and do not take any action based on it.
> 
> Unless expressly stated, opinions in this email are those of the individual 
> sender, and not of Knowsley MBC. Legally binding obligations can only be 
> created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
> officers or representatives.
> 
> Knowsley MBC excludes any liability whatsoever for any offence caused, any 
> direct or consequential loss arising from the use, or reliance on, this 
> e-mail or its contents. We believe but do not warrant that this e-mail and 
> any attachments are virus free. You must therefore take full responsibility 
> for virus checking and no responsibility is accepted for loss or damage 
> arising from viruses or changes made to this message after it was sent. 
> Knowsley MBC reserves the right to monitor and/or record all e-mail 
> communications through its network in accordance with relevant legislation.
> 
> --
> 
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
>  
> --
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>  
> This e-mail and any attachments are confidential. It may contain privileged 
> information and is intended for the named recipient(s) only. It must not be 
> distributed without consent. If you are not one of the intended recipients, 
> please notify the sender immediately and do not disclose, distribute, or 
> retain this email or any part of it and do not take any action based on it.
> 
> Unless expressly stated, opinions in this email are those of the individual 
> sender, and not of Knowsley MBC. Legally binding obligations can only be 
> created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
> officers or representatives.
> 
> Knowsley MBC excludes any liability whatsoever for any offence caused, any 
> direct or consequential loss arising from the use, or reliance on, this 
>

Re: [Geoserver-users] can you use the SLD provided UK Ordnance survey with geoserver?

2014-03-28 Thread Russell Hore
Looks like the path to the file is wrong as it includes C:` twice

I suspect GS is appending your path to the GEOSERVER_DATA_DIR folder, which 
looks like it is C:\GeoServer25\data_dir\styles\

I have used other SLDs from the OS with no problem, but I have not tried this 
one in particular.

Russ

On 28 Mar 2014, at 00:55, Jody Garnett  wrote:

> That does look like the filename is incorrect. I have not seen TopoArea.sld 
> so I do not know if it compatible.  Try copying and pasting the content into 
> a new style and see how you go?
> 
> Jody Garnett
> 
> 
> On Fri, Mar 28, 2014 at 2:56 AM, Ismail, Mark  
> wrote:
> I have tried to upload the sld provided by uk ordnance survey but although 
> they validate I get the following error when I click submit
> 
>  
> 
> org.apache.wicket.WicketRuntimeException: java.io.FileNotFoundException: 
> C:\GeoServer25\data_dir\styles\C:\GeoServer25\data_dir\styles\TopoArea.sld 
> (The filename, directory name, or volume label syntax is incorrect
> 
>  
> 
> Mark
> 
> This e-mail and any attachments are confidential. It may contain privileged 
> information and is intended for the named recipient(s) only. It must not be 
> distributed without consent. If you are not one of the intended recipients, 
> please notify the sender immediately and do not disclose, distribute, or 
> retain this email or any part of it and do not take any action based on it.
> 
> Unless expressly stated, opinions in this email are those of the individual 
> sender, and not of Knowsley MBC. Legally binding obligations can only be 
> created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
> officers or representatives.
> 
> Knowsley MBC excludes any liability whatsoever for any offence caused, any 
> direct or consequential loss arising from the use, or reliance on, this 
> e-mail or its contents. We believe but do not warrant that this e-mail and 
> any attachments are virus free. You must therefore take full responsibility 
> for virus checking and no responsibility is accepted for loss or damage 
> arising from viruses or changes made to this message after it was sent. 
> Knowsley MBC reserves the right to monitor and/or record all e-mail 
> communications through its network in accordance with relevant legislation.
> 
> --
> 
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> 
> --
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

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


Re: [Geoserver-users] upload image mosaic

2014-03-10 Thread Russell Hore
I have often seen this if GeoServer does not have write permissions on the 
folder the file is on.

So if you created the folder under the GeoServer data dir as root (Under Linux) 
and the sever is running under Tomcat it may not be able to write to the 
directory.

Russ

On 10 Mar 2014, at 10:27, carlo cancellieri 
 wrote:

> Marco,
> I'm trying to upload a tif file as a Mosaic image. 
> 
> As far as I know the mosaic can be sent via the rest interface as zip file.
> If you are using the GUI you have to select a folder which should be 
> reachable by the geoserver (no file will be uploaded to the geoserver 
> datadir).
>  
> When I try to upload the file the following error get listed:
> 
> "Could not list layers for this store, an error occurred retrieving them: 
> Argument "value" should not be null".
> 
> Further the command Browse doesn't appear so I have to type the directory. 
> 
> I suggest to start passing the directory which contains the geotiff (it it is 
> local to geoserver) and check the result.
> If you are still getting the above error, please try adding some more info to 
> the mail, such as:
> 1. logs
> 2. gdalinfo on the image
> 3. other details on steps to reproduce
> 
> Cheers,
> Carlo
>  
> 
> any suggestion?
> 
> regards,
> 
> Marco
> 
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> 
> 
> 
> -- 
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
> information.
> ==
> 
> Dott. Carlo Cancellieri
> @cancellieric
> 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
> 
> ---
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Posting questions on StackOverflow

2014-03-04 Thread Russell Hore
Why? You have a host of experts here?

Russ

On 4 Mar 2014, at 18:26, Nji, Klaus  wrote:

> Should we start encouraging folks to post all GeoServer questions onto 
> StackOverflow instead of this mailing list?
>  
> I suspect there are advantages doing so.
>  
> Klaus Nji
> Software Engineering
> Honeywell Global Tracking
> 400 Maple Groove,
> Ottawa, ON, K2V 1B8
> 613-591-6040 x1005
>  
> --
> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works. 
> Faster operations. Version large binaries.  Built-in WAN optimization and the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ImagePyramid. Tiles sometimes drawn and sometimes missing

2013-12-15 Thread Russell Hore
Sorry it has taken so long to reply.

It turned out it was my Antivirus software. Kaspersky 2013 on a Mac. Switched 
it off and all works fine, updated to the latest version and it all works fine 
with it switched on.

Thanks for your help.

Russ

On 1 Sep 2013, at 22:46, Simone Giannecchini 
 wrote:

> Ciao Russell,
> did you try setting the parameter I suggested?
> 
> That said, you have to check if the other images in the same mosaic have a 
> similar color model. 
> It might be worth to isolate 2/3 samples to reproduce the issue in case we 
> don't manage to find a fix.
> 
> 
> 
> Regards,
> Simone Giannecchini
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
> information.
> ==
> 
> Ing. Simone Giannecchini
> @simogeo
> Founder/Director
> 
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob:   +39  333 8128928
> 
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> 
> ---
> 
> 
> On Sat, Aug 31, 2013 at 2:53 PM, Russell Hore  wrote:
> Looking in geoserver.log the error seems to occur on file so00_1_5.tif
> 
> gdalinfo on that file gives the following;
> 
> Driver: GTiff/GeoTIFF
> Files: so00_1_5.tif
> Size is 1808, 2048
> Coordinate System is:
> PROJCS["OSGB 1936 / British National Grid",
> GEOGCS["OSGB 1936",
> DATUM["OSGB_1936",
> SPHEROID["Airy 1830",6377563.396,299.324964644,
> AUTHORITY["EPSG","7001"]],
> TOWGS84[446.448,-125.157,542.06,0.15,0.247,0.842,-20.489],
> AUTHORITY["EPSG","6277"]],
> PRIMEM["Greenwich",0],
> UNIT["degree",0.0174532925199433],
> AUTHORITY["EPSG","4277"]],
> PROJECTION["Transverse_Mercator"],
> PARAMETER["latitude_of_origin",49],
> PARAMETER["central_meridian",-2],
> PARAMETER["scale_factor",0.9996012717],
> PARAMETER["false_easting",40],
> PARAMETER["false_northing",-10],
> UNIT["metre",1,
> AUTHORITY["EPSG","9001"]],
> AUTHORITY["EPSG","27700"]]
> Origin = (381920.000,30.000)
> Pixel Size = (10.000,-10.000)
> Metadata:
>   AREA_OR_POINT=Area
> Image Structure Metadata:
>   INTERLEAVE=BAND
> Corner Coordinates:
> Upper Left  (  381920.000,  30.000) (  2d16' 1.04"W, 52d35'49.69"N)
> Lower Left  (  381920.000,  279520.000) (  2d15'57.03"W, 52d24'46.81"N)
> Upper Right (  40.000,  30.000) (  2d 0' 0.00"W, 52d35'50.77"N)
> Lower Right (  40.000,  279520.000) (  2d 0' 0.00"W, 52d24'47.89"N)
> Center  (  390960.000,  289760.000) (  2d 7'59.52"W, 52d30'19.06"N)
> Band 1 Block=512x512 Type=Byte, ColorInterp=Palette
>   Color Table (RGB with 256 entries)
> 0: 89,72,73,255
> 1: 122,104,105,255
> 2: 153,136,137,255
> 3: 230,89,104,255
> 4: 218,9,56,255
> ….
> 
> Russ
> 
> On 30 Aug 2013, at 18:43, Simone Giannecchini 
>  wrote:
> 
>> Ciao Russel,
>> please, read below...
>> 
>> Regards,
>> Simone Giannecchini
>> ==
>> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
>> information.
>> ==
>> 
>> Ing. Simone Giannecchini
>> @simogeo
>> Founder/Director
>> 
>> GeoSolutions S.A.S.
>> Via Poggio alle Viti 1187
>> 55054  Massarosa (LU)
>> Italy
>> phone: +39 0584 962313
>> fax: +39 0584 1660272
>> mob:   +39  333 8128928
>> 
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>> 
>> ---
>> 
>> 
>> On Fri, Aug 30, 2013 at 6:02 PM, Russell Hore  wrote:
>> Hi Simone,
>> 
>> For information, gdalinfo on one of the original images, before I create the 
>> pyramid gives the following lines, and lots more, but I see the 'Palette' on 
>> the end
>> 
>> Band 1 Block=512x512 Type=Byte, ColorInterp=Palette
>> 
>>   Overviews: 4000x4000, 2000x2000, 1000x1000, 500x500, 250x250, 125x125, 
>> 63x63, 32x32
>>   Color Table (RGB with 256 entries)
>> 
>> 
>> 1) There is no mosaic.properties but the pyramid.properties is
>> 
>&g

Re: [Geoserver-users] ImagePyramid. Tiles sometimes drawn and sometimes missing

2013-08-31 Thread Russell Hore
Looking in geoserver.log the error seems to occur on file so00_1_5.tif

gdalinfo on that file gives the following;

Driver: GTiff/GeoTIFF
Files: so00_1_5.tif
Size is 1808, 2048
Coordinate System is:
PROJCS["OSGB 1936 / British National Grid",
GEOGCS["OSGB 1936",
DATUM["OSGB_1936",
SPHEROID["Airy 1830",6377563.396,299.324964644,
AUTHORITY["EPSG","7001"]],
TOWGS84[446.448,-125.157,542.06,0.15,0.247,0.842,-20.489],
AUTHORITY["EPSG","6277"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4277"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",49],
PARAMETER["central_meridian",-2],
PARAMETER["scale_factor",0.9996012717],
PARAMETER["false_easting",40],
PARAMETER["false_northing",-10],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AUTHORITY["EPSG","27700"]]
Origin = (381920.000,30.000)
Pixel Size = (10.000,-10.000)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (  381920.000,  30.000) (  2d16' 1.04"W, 52d35'49.69"N)
Lower Left  (  381920.000,  279520.000) (  2d15'57.03"W, 52d24'46.81"N)
Upper Right (  40.000,  30.000) (  2d 0' 0.00"W, 52d35'50.77"N)
Lower Right (  40.000,  279520.000) (  2d 0' 0.00"W, 52d24'47.89"N)
Center  (  390960.000,  289760.000) (  2d 7'59.52"W, 52d30'19.06"N)
Band 1 Block=512x512 Type=Byte, ColorInterp=Palette
  Color Table (RGB with 256 entries)
0: 89,72,73,255
1: 122,104,105,255
2: 153,136,137,255
3: 230,89,104,255
4: 218,9,56,255
….

Russ

On 30 Aug 2013, at 18:43, Simone Giannecchini 
 wrote:

> Ciao Russel,
> please, read below...
> 
> Regards,
> Simone Giannecchini
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
> information.
> ==
> 
> Ing. Simone Giannecchini
> @simogeo
> Founder/Director
> 
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob:   +39  333 8128928
> 
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> 
> ---
> 
> 
> On Fri, Aug 30, 2013 at 6:02 PM, Russell Hore  wrote:
> Hi Simone,
> 
> For information, gdalinfo on one of the original images, before I create the 
> pyramid gives the following lines, and lots more, but I see the 'Palette' on 
> the end
> 
> Band 1 Block=512x512 Type=Byte, ColorInterp=Palette
> 
>   Overviews: 4000x4000, 2000x2000, 1000x1000, 500x500, 250x250, 125x125, 
> 63x63, 32x32
>   Color Table (RGB with 256 entries)
> 
> 
> 1) There is no mosaic.properties but the pyramid.properties is
> 
> #Automatically generated
> #Thu Aug 29 07:48:00 BST 2013
> Name=pyramid
> Levels=2.5,2.5 5.0,5.0 10.0,10.0 20.0,20.0 40.0,40.0 80.0,80.0 160.0,160.0 
> 320.0,320.0 640.0,640.0 1280.0,1280.0 
> LevelsNum=10
> Envelope2D=30.0,20.0 40.0,30.0
> LevelsDirs=0 1 2 3 4 5 6 7 8 9 
> 
> 
> There is inside each subdirectory. I would need to one for the level that 
> fails.
> 
>  
> 2) On one of the 'pyramid' images I get;
> 
> Band 1 Block=512x512 Type=Byte, ColorInterp=Palette
>   Color Table (RGB with 256 entries)
> 
> 3)
> The log is over 3600 lines long.
> I have put it on my server at http://russ-hore.co.uk/geoserver.log
> 
> 
> Yeah, it looks like we are mixing somehow paletted images with RGB images. 
> You might want to try this quickly. Find the mosaic properties file doe the 
> level that fails and make sure
> there is a line that says.
> ExpandToRGB=true
> 
> (check this link for more info 
> http://docs.geoserver.org/latest/en/user/tutorials/image_mosaic_plugin/imagemosaic.html#configuration-file)
> 
> You might want to check that all your images are coherent that is, we are not 
> mixing paletted imagery with RGB imagery. The parameter above would force 
> paletted imagery
> to be expanded to RGB prior to mosaicking and might fix the issue right away.
> 
>  
> Thanks for looking into this
> 
> Russ
> 
> On 30 Aug 2013, at 16:41, Simone Giannecchini 
>  wrote:
> 
>> Ciao Russell,
>> the suggestion from Andrea might be correct, although I see you do addo with 
>> average interpolation (hence I 

Re: [Geoserver-users] ImagePyramid. Tiles sometimes drawn and sometimes missing

2013-08-30 Thread Russell Hore
Hi Simone,

For information, gdalinfo on one of the original images, before I create the 
pyramid gives the following lines, and lots more, but I see the 'Palette' on 
the end

Band 1 Block=512x512 Type=Byte, ColorInterp=Palette

  Overviews: 4000x4000, 2000x2000, 1000x1000, 500x500, 250x250, 125x125, 63x63, 
32x32
  Color Table (RGB with 256 entries)


1) There is no mosaic.properties but the pyramid.properties is

#Automatically generated
#Thu Aug 29 07:48:00 BST 2013
Name=pyramid
Levels=2.5,2.5 5.0,5.0 10.0,10.0 20.0,20.0 40.0,40.0 80.0,80.0 160.0,160.0 
320.0,320.0 640.0,640.0 1280.0,1280.0 
LevelsNum=10
Envelope2D=30.0,20.0 40.0,30.0
LevelsDirs=0 1 2 3 4 5 6 7 8 9 

2) On one of the 'pyramid' images I get;

Band 1 Block=512x512 Type=Byte, ColorInterp=Palette
  Color Table (RGB with 256 entries)

3)
The log is over 3600 lines long.
I have put it on my server at http://russ-hore.co.uk/geoserver.log

Thanks for looking into this

Russ

On 30 Aug 2013, at 16:41, Simone Giannecchini 
 wrote:

> Ciao Russell,
> the suggestion from Andrea might be correct, although I see you do addo with 
> average interpolation (hence I don't think you have paletted images).
> 
> It would be help out to have the following:
> 
> -1- the mosaic.properties for the incriminated level
> -2- the output of the gdalinfo on one of the files for this level
> -3- a longer portion of the log that shows exactly from where this error is 
> thrown.
> 
> 
> Regards,
> Simone Giannecchini
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
> information.
> ==
> 
> Ing. Simone Giannecchini
> @simogeo
> Founder/Director
> 
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob:   +39  333 8128928
> 
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> 
> ---
> 
> 
> On Thu, Aug 29, 2013 at 8:54 AM, Russell Hore  wrote:
> I have a set of 100 tiles (UK Ordnance Survey data).
> 
> I have created an image pyramid, created a store and added a layer.
> 
> When I view it, via GeoServer preview, it all looks fine until I stat to zoom 
> in. At a certain zoom level (The scale reads 1:87k) some of the tiles get 
> drawn as white.
> So tiles are there at 1:174k, not there at 1:87k and back again at 1:44k
> 
> When I look in the logs (catalina.out) I see the many lines with a line 
> saying;
> 
> ...
> Caused by: java.lang.IllegalArgumentException: All source images must have 
> the same number of bands.
> …
> 
> The source images all seem to have the same number of bands (1) and I do the 
> following to create the pyramid
> 
> #!/bin/bash
> echo -n Working on
> pwd
> mkdir out
> for file in `ls *tif`
> do
> echo -n Working on  $file
> gdal_translate -of GTiff -co "TILED=YES" -co "COMPRESS=DEFLATE" -co 
> "BLOCKXSIZE=512" -co "BLOCKYSIZE=512" -a_srs "EPSG:27700" $file out/$file
> done
> mv out/* .
> rm -fr out
> for file in `ls *tif`
> do
> echo -n Working on $file
> gdaladdo -clean $file
> gdaladdo -r average $file 1 2 4 8 16 32 64 128
> done
> 
> Followed by
> 
> #!/bin/bash
> export thedir=`pwd`
> export thedir=`basename $thedir`
> echo $thedir
> mkdir pyramid
> ls *tif > ../tiles$thedir.txt
> gdal_retile.py -v -levels 9 -ps 2048 2048 -co 'TILED=YES' -co 
> 'BLOCKXSIZE=512' -co 'BLOCKYSIZE=512' -s_srs EPSG:27700 -targetDir pyramid 
> --optfile ../tiles$thedir.txt
> 
> I can post more of the log if required.
> I am hazarding a guess it is something to do with the version of Java. Do I 
> need to go back to 1.6.*
> 
> GeoServer 2.3.5
> Tomcat 7.0.35
> OpenSuse x64
> JVM Version   Oracle Corporation: 1.7.0_40 (OpenJDK 64-Bit Server VM) 
> Native JAItrue
> Native JAI ImageIOtrue
> 
> 
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> 

--
Learn the latest-

[Geoserver-users] ImagePyramid. Tiles sometimes drawn and sometimes missing

2013-08-28 Thread Russell Hore
I have a set of 100 tiles (UK Ordnance Survey data).

I have created an image pyramid, created a store and added a layer.

When I view it, via GeoServer preview, it all looks fine until I stat to zoom 
in. At a certain zoom level (The scale reads 1:87k) some of the tiles get drawn 
as white.
So tiles are there at 1:174k, not there at 1:87k and back again at 1:44k

When I look in the logs (catalina.out) I see the many lines with a line saying;

...
Caused by: java.lang.IllegalArgumentException: All source images must have the 
same number of bands.
…

The source images all seem to have the same number of bands (1) and I do the 
following to create the pyramid

#!/bin/bash
echo -n Working on
pwd
mkdir out
for file in `ls *tif`
do
echo -n Working on  $file
gdal_translate -of GTiff -co "TILED=YES" -co "COMPRESS=DEFLATE" -co 
"BLOCKXSIZE=512" -co "BLOCKYSIZE=512" -a_srs "EPSG:27700" $file out/$file
done
mv out/* .
rm -fr out
for file in `ls *tif`
do
echo -n Working on $file
gdaladdo -clean $file
gdaladdo -r average $file 1 2 4 8 16 32 64 128
done

Followed by

#!/bin/bash
export thedir=`pwd`
export thedir=`basename $thedir`
echo $thedir
mkdir pyramid
ls *tif > ../tiles$thedir.txt
gdal_retile.py -v -levels 9 -ps 2048 2048 -co 'TILED=YES' -co 'BLOCKXSIZE=512' 
-co 'BLOCKYSIZE=512' -s_srs EPSG:27700 -targetDir pyramid --optfile 
../tiles$thedir.txt

I can post more of the log if required.
I am hazarding a guess it is something to do with the version of Java. Do I 
need to go back to 1.6.*

GeoServer 2.3.5
Tomcat 7.0.35
OpenSuse x64
JVM Version Oracle Corporation: 1.7.0_40 (OpenJDK 64-Bit Server VM) 
Native JAI  true
Native JAI ImageIO  true

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Java Advanced Imaging

2013-08-20 Thread Russell Hore
The links on the GeoServer page here 
http://docs.geoserver.org/stable/en/user/production/java.html work

JAI : http://download.java.net/media/jai/builds/release/1_1_3/
ImageIO : http://download.java.net/media/jai-imageio/builds/release/1.1/ 

Russ

On 20 Aug 2013, at 11:38, "Stephen V. Mather"  
wrote:

> Hi All,
> 
> Building a new server, and ran into broken links for JAI and JAI Image I/O 
> Tools.
> 
> 1) Is JAI still necessary as a separate download?
> 2) Is JAI still available?
> 
> Relevant Page:
> http://docs.geoserver.org/stable/en/user/webadmin/server/JAI.html?highlight=jai
> 
> Broken links on above page:
> 
> https://jai-imageio.dev.java.net/
> http://java.sun.com/javase/technologies/desktop/media/jai/
> 
> I did find these pages:
> https://java.net/projects/jai/
> https://java.net/projects/jai-imageio
> 
> But can't figure out where to download a binary.
> 
> Thanks,
> Best,
> Steve
> 
> 
> Stephen V. Mather
> GIS Manager
> (216) 635-3243 (Work) 
> clevelandmetroparks.com
> 
> 
> 
> 
> 
> --
> Introducing Performance Central, a new site from SourceForge and 
> AppDynamics. Performance Central is your source for news, insights, 
> analysis and resources for efficient Application Performance Management. 
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Warning on gdalretile.py

2013-08-08 Thread Russell Hore
When I do a gdal_retile.py on some Ordnance Survey Raster images i get the 
warning;

gdal_retile.py -v -levels 9 -ps 2048 2048 -co 'TILED=YES' -co 'BLOCKXSIZE=256' 
-co 'BLOCKYSIZE=256' -s_srs EPSG:27700 -targetDir pyramid --optfile 
../tiles$thedir.txt

The script I run is

#!/bin/bash
export thedir=`pwd`
export thedir=`basename $thedir`
echo $thedir
mkdir pyramid
ls *tif > ../tiles$thedir.txt
gdal_retile.py -v -levels 9 -ps 2048 2048 -co 'TILED=YES' -co 'BLOCKXSIZE=256' 
-co 'BLOCKYSIZE=256' -s_srs EPSG:27700 -targetDir pyramid --optfile 
../tiles$thedir.txt

I think I have a recent gdal.

gdalinfo --version tell me GDAL 1.10.0, released 2013/04/24

Warning 1: TIFFFetchNormalTag:Incompatible type for "RichTIFFIPTC"; tag ignored

What am I missing?

Russ--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Image Pyramid problems

2013-08-06 Thread Russell Hore
I have had the similar error message, (Using Tomcat under Linux), when the 
permissions on the directories are not 'open' enough.

Russ
 
On 6 Aug 2013, at 10:07, Andrea Aime  wrote:

> On Tue, Aug 6, 2013 at 10:40 AM, Ian Turton  wrote:
> I'm running GeoServer 2.3.4 under JBoss (not my choice) and I'm seeing an 
> issue creatign an image pyramid - the log file says: 
> 
> 09:31:49,822 INFO  [org.geotools.gce.imagepyramid] (http--172.30.2.1-8080-1) 
> Checking file:/app
> s/data/
> existstrue
> isFilefalse
> canRead:true
> canWritetrue
> canExecutetrue
> isHidden:false
> lastModified1375775551000
> 
> 09:31:49,827 INFO  [org.geotools.gce.imagepyramid] (http--172.30.2.1-8080-1) 
> Checking file:/app
> s/data/250k/
> existsfalse
> isFilefalse
> canRead:false
> canWritefalse
> canExecutefalse
> isHidden:false
> lastModified0
> 
> 09:31:49,832 INFO  [org.geotools.gce.imagepyramid] (http--172.30.2.1-8080-1) 
> Unable to build mosaic for the directory:/apps/data/250k/0
> 09:31:49,833 INFO  [org.geotools.gce.imagepyramid] (http--172.30.2.1-8080-1) 
> Unable to build mosaic for the directory:/apps/data/250k/4
> 09:31:49,833 INFO  [org.geotools.gce.imagepyramid] (http--172.30.2.1-8080-1) 
> Unable to build mosaic for the directory:/apps/data/250k/1
> 09:31:49,834 INFO  [org.geotools.gce.imagepyramid] (http--172.30.2.1-8080-1) 
> Unable to build mosaic for the directory:/apps/data/250k/3
> 09:31:49,841 INFO  [org.geotools.gce.imagepyramid] (http--172.30.2.1-8080-1) 
> Unable to build mosaic for the directory:/apps/data/250k/2
> 09:31:49,842 INFO  [org.geoserver.web] (http--172.30.2.1-8080-1) Getting list 
> of coverages for saved store /apps/data/250k: java.lang.RuntimeException: 
> Could not list layers for this store, an error occurred retrieving them: This 
> plugin accepts only File, URL and String pointing to a file
> at 
> org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:123)
>  [web-core-2.3.4.jar:2.3.4]
> 
> Which root directory did you give to the pyramid store? It's normal that it's 
> checking the root directory for files, as gdal_retile puts tiles there too,
> but I'd be surprised if it's checking the parent of the folder you gave it.
> 
> That said, the true errors are reported for the directories that should 
> contain the data, it seems it's not able to generate a mosaic there, not sure
> why. You can try to put the logging level to "geotools developer logging" and 
> see if anything more interesting pops up
> 
> 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
> 
> ---
> --
> 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=48897031&iu=/4140/ostg.clktrk___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
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=48897031&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] installer for MACOSX broken?

2013-05-16 Thread Russell Hore
You nee to temporarily turn off the security setting to "Allow application 
downloaded from"; Anywhere.

Install GeoServer and then set the security setting back

Russ

On 16 May 2013, at 15:55, Pierluigi Santin Fintel 
 wrote:

> Hi
> I downloaded the mac installer of the last version of geoserver. After 
> installation, if i try to launch application, the OS complains that the app 
> is corrupted.
> I tried installing some older versions.. 2.5.3  but the result is the same?
> 
> Is something known ?
> 
> The workaround could be install tomcat on Mac OSX and geoserver as a common 
> war file?
> --
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Startup script - Possible error(?)

2013-02-12 Thread Russell Hore
Maybe I am missing something but at the bottom of the startup.sh script I see 
the following


# if not told otherwise pump up the permgen
if [ -z "$JAVA_OPS" ]; then
  set JAVA_OPS=-XX:MaxPermSize=128m
fi

cd "$GEOSERVER_HOME"

echo "GEOSERVER DATA DIR is $GEOSERVER_DATA_DIR"
#added headless to true by default, if this messes anyone up let the list
#know and we can change it back, but it seems like it won't hurt -ch
exec "$_RUNJAVA" $JAVA_OPTS -DGEOSERVER_DATA_DIR="$GEOSERVER_DATA_DIR" 
-Djava.awt.headless=true -DSTOP.PORT=8079 -DSTOP.KEY=geoserver -jar start.jar

Should this bit

if [ -z "$JAVA_OPS" ]; then
  set JAVA_OPS=-XX:MaxPermSize=128m
fi

be

if [ -z "$JAVA_OPTS" ]; then
  set JAVA_OPTS=-XX:MaxPermSize=128m
fi


Russ--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How to make the map as a global map

2013-02-07 Thread Russell Hore
I think this is an OpenLayers question but in your OpenLayers.Layer() call you 
need to add the option 'wrapDateLine'

Russ

On 7 Feb 2013, at 08:54, 杨华杰  wrote:

> Currently I deployed Asia map in my geoserver, I drag all the way to east 
> direction, I found I couldn't drag to east anymore after some drag.
> 
> Earth is a ball, it should allow me to drag , drag and drag to east. 
> 
> 
> Hope I explain myself clear. 
> 
> 
> Happy Chinese New Year !!!
> 
> Regards,
> Hua Jie
> --
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013 
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] 2.3-beta1 starts from command line but not Finder

2013-01-30 Thread Russell Hore
I must be missing something obvious but I just downloaded 2.3-beta1 for Mac. 
Installed ok but if I double click on the finder I get a message saying 
"“GeoServer.app” is damaged and can’t be opened. You should move it to the 
Trash."

If I drop to the command line I can start it and it seems to work OK, I can log 
onto the control panel etc.

Java is "Apple Inc.: 1.6.0_37 (Java HotSpot(TM) Client VM)"

Anybody any clues what I am missing?

PS I like to nested layer groups, which will make my life a little easier.

Thanks



--
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_jan
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Started to get an error on WMS GetCapabilities 1.3.0 but not 1.1.0

2013-01-18 Thread Russell Hore
Sorted it out.

Seems like there were some layers for which I had deleted the data source from 
postgres.

Russ

On 18 Jan 2013, at 14:56, Russell Hore  wrote:

> I had a working GeoServer insulation (2.2.0 on Linux, Sun Microsystems Inc.: 
> 1.6.0_26 (Java HotSpot(TM) 64-Bit Server VM)) and I can still preview layers 
> but if from the admin console I click on Service Capabilities 1.3.0 I get the 
> following error.
> 
> I have changed the real server name to  below
> 
> XML Parsing Error: not well-formed
> Location: 
> http:///geoserver/ows?service=wms&version=1.3.0&request=GetCapabilities
> Line Number 6742, Column 243: xmlns:xlink="http://www.w3.org/1999/xlink"; xlink:type="simple" 
> xlink:href="http:///geoserver/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20  version="1.0" encoding="UTF-8"?> xmlns="http://www.opengis.net/ogc"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:schemaLocation="http://www.opengis.net/ogc 
> http:///geoserver/schemas/wms/1.3.0/exceptions_1_3_0.xsd">   
> 
> --^
> 
>  If I click on Service Capabilities 1.1.0 I get no error but I suspect line 
> 6742 in this file is not the same as what it should be in a 1.3.0 file.
> 
> Any clues where I should start looking?
> 
> Russ
> 
> --
> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
> much more. Get web development skills now with LearnDevNow -
> 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122812___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Started to get an error on WMS GetCapabilities 1.3.0 but not 1.1.0

2013-01-18 Thread Russell Hore
I had a working GeoServer insulation (2.2.0 on Linux, Sun Microsystems Inc.: 
1.6.0_26 (Java HotSpot(TM) 64-Bit Server VM)) and I can still preview layers 
but if from the admin console I click on Service Capabilities 1.3.0 I get the 
following error.

I have changed the real server name to  below

XML Parsing Error: not well-formed
Location: 
http:///geoserver/ows?service=wms&version=1.3.0&request=GetCapabilities
Line Number 6742, Column 243:http://www.w3.org/1999/xlink"; xlink:type="simple" 
xlink:href="http:///geoserver/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20http://www.opengis.net/ogc"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://www.opengis.net/ogc 
http:///geoserver/schemas/wms/1.3.0/exceptions_1_3_0.xsd">   

--^

 If I click on Service Capabilities 1.1.0 I get no error but I suspect line 
6742 in this file is not the same as what it should be in a 1.3.0 file.

Any clues where I should start looking?

Russ

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Rasters, Tiles, and FME

2013-01-02 Thread Russell Hore
This might not be exactly what you want but my workflow (Under Linux) is

1) Take the raw TIF images
2) Add a .PRJ file for each image
3) Add the World file for each
4) Run gdal_translate for each file
for file in `ls *tif`
do
gdal_translate -of GTiff -co "TILED=YES" -co "COMPRESS=DEFLATE" -co 
"BLOCKXSIZE=512" -co "BLOCKYSIZE=512" -a_srs "EPSG:27700" $file out/$file
done
5) Ran a gdaladdo for each file in 'out'
for file in `ls *tif`
do
gdaladdo -r average $file 1 2 4 8 16 32 64 128
done

6) Added them to Geoserver (2.2 RC1) using ImageMosaic

Russ

On 31 Dec 2012, at 10:44, Jonathan Moules  
wrote:

> *Bump* Anyone?
> This seems like the sort of thing that'd be well documented, but my google-fu 
> seems to have failed me.
> The closest I can get is a presentation about using the ImagePyramid plugin ( 
> http://www.slideshare.net/geosolutions/creating-a-pyramid-with-gdal-reltile-for-serving-with-geoserver
>  and 
> http://geo-solutions.blogspot.ru/2009/11/preparing-pyramid-for-geoserver-with.html
>  )
> Cheers,
> Jonathan
> 
> 
> On 27 December 2012 13:20, Jonathan Moules 
>  wrote:
> Hi list,
> Following this up, I've decided to go the GeoTIFF/BigTiff route with inner 
> tiling and overviews based on Andrea's document.
> But unfortunately there doesn't seem to be any documentation on the GeoServer 
> pages about this stuff. I've never used GDAL before and generally avoid the 
> command line (there's a reason we're trying for GeoServer not MapServer ;-) ) 
> so am not sure where to start.
> 
> My source input is hundreds/thousands of LZW compressed GeoTIFF tiles. These 
> need to be mosaiced together (I can do that in FME easily enough).
> But then what? Do I compress them at this point? Or inner tiling? Or 
> Overview? Does it matter what order these things are done?
> And what settings should I use? For instance Andrea's document gives a 
> "blocksize" of 512, but Jukka's comments were on the order of 10,000 and the 
> default is 256.
> 
> Is there a tutorial out there on this I've failed to find?
> Thanks,
> Jonathan
> 
> 
> On 21 December 2012 14:45, Jonathan Moules 
>  wrote:
> Thanks Andrea, this looks like a very useful document although it is looking 
> like I'm not going to be able to do this with FME from what I can see.
> Cheers,
> Jonathan
> 
> 
> 
> 
> On 20 December 2012 21:06, Andrea Aime  wrote:
> On Thu, Dec 20, 2012 at 12:16 PM, Jonathan Moules 
>  wrote:
> Hi Jukka,
> Thanks for the information.
> 
> Relating to the TIFF's, I'd still prefer to use one single tool (specifically 
> FME) for tile/image creation. FME can create pyramids, but not as part of a 
> GeoTIFF. So I can create separate TIFF files and tile them if necessary too 
> (either internal tiling or regular tiling), but how do I get these into 
> GeoServer?
> 
> Is there a resource out there which describes the different Raster serving 
> extensions and the advantages/disadvantages of each?
> 
> Here: 
> http://demo.geo-solutions.it/share/foss4g2011/gs_steroids_sgiannec_foss4g2011.pdf
> 
> 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
> 
> ---
> 
> 
> 
> 
> 
> 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.
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122412___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn m

Re: [Geoserver-users] Question about updating LayerInfo objects via the rest api

2012-11-21 Thread Russell Hore
Could you post the answer so we all know for the future.

Russ

On 21 Nov 2012, at 00:02, Ivan Willig  wrote:

> Never mind.. solved it. 
> 
> 
> On Tue, Nov 20, 2012 at 4:59 PM, Ivan Willig  wrote:
> Hi list, 
> 
> I am trying to use the geoserver rest api to update an layerobject info. I am 
> using GeoServer 2.2.1 on OpenJDK 1.7. 
> 
> I get this xstream exception, https://gist.github.com/4121489
> 
> To reproduce this error please use this gist https://gist.github.com/4121471 
> and the following curl command on the default GeoServer data dir. 
> 
> curl -v -H "Content-Type: application/json" -X PUT --data "@states.json" -u 
> admin:geoserver http://localhost:8080/geoserver/rest/layers/states
> 
> I figure that either I am doing something wrong or there is an issue in the 
> xstream json converter. 
> 
> Thanks. 
> 
> -- 
> Ivan Willig
> OpenGeo - http://opengeo.org
> 
> 
> 
> 
> 
> -- 
> Ivan Willig
> OpenGeo - http://opengeo.org
> 
> 
> --
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Security and GeoServer LayerGroups

2012-11-02 Thread Russell Hore
Thanks Andrea. Saved me wasting time.

Looks like we will have to protect our server via network config.

Russ

On 2 Nov 2012, at 13:21, Andrea Aime  wrote:

> On Thu, Nov 1, 2012 at 6:17 PM, Russell Hore  wrote:
>> I finally have an instance of GeoServer up and running on the web, many 
>> thanks to all here who have helped.
>> 
>> I now need to make sure only authorised people can access certain layers.
>> I have unchecked the Advertise flag so the layers are not visible but I 
>> understand from other posts that I can not do this for Layer Groups.
>> 
>> Can anybody give some pointers to how to achieve this with the security 
>> model.
>> Geoserver Security is a whole new ballpark for me and whilst I start reading 
>> all the docs, am I wasting my time trying to hide Layer Groups?
> 
> Wasting time if you are trying to hide a group layer by configuration,
> there is no such a flag, it would have to be developed
> adding the relevant code to configuration, rest config, GUI and
> security subsystem.
> 
> 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
> 
> ---


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Security and GeoServer LayerGroups

2012-11-01 Thread Russell Hore
I finally have an instance of GeoServer up and running on the web, many thanks 
to all here who have helped.

I now need to make sure only authorised people can access certain layers.
I have unchecked the Advertise flag so the layers are not visible but I 
understand from other posts that I can not do this for Layer Groups.

Can anybody give some pointers to how to achieve this with the security model.
Geoserver Security is a whole new ballpark for me and whilst I start reading 
all the docs, am I wasting my time trying to hide Layer Groups?

Russ
--
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_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Publishing a shapefile on localhost

2012-08-13 Thread Russell Hore
I use the following URL for my SHP file data

file:data/EA_Data/DetailedRiverNetwork
i.e. not HTTP but FILE

But I just hit the browse button to locate it.

Russ

On 13 Aug 2012, at 15:22, David Winslow  wrote:

> I can't diagnose your problem from the description you gave, but I think that 
> using 'localhost' in your workspace URIs is a red herring[1].  GeoServer does 
> not actually make requests to the workspace URIS and as long as they are 
> unique their values don't really affect GeoServer's operation.
> 
> Perhaps a good next step would be for you to post a screen capture of the 
> erroneous page?  Are there any errors in GeoServer's log files?
> 
> --
> David Winslow
> OpenGeo - http://opengeo.org/ 
> 
> [1] http://en.wikipedia.org/wiki/Red_herring
> 
> On Mon, Aug 13, 2012 at 6:41 AM, Michal Zimmermann  wrote:
> Hi,
> I need to add stores (shapefiles) to geoserver running on localhost:8080. In 
> data_dir/data I have directories containing shapefiles. I add them as 
> workspaces with Namespace URI set to 
> http://localhost:8080/geoserver/data/*name_of_the_dir*/. When I try to add 
> new store, the URL field in Connection Parameters doesn't open though and I 
> can't choose which shapefile I want to add. I suppose the only error might be 
> in http://localhost:8080/geoserver/data/*name_of_the_dir*/. I tried many 
> different variations of this path, none of them worked for me.
> So the question is rather simple (hope the answer too): How do I add a store 
> to a workspace when working in localhost? Thanks for any help.
> PS: The geoserver I'm working on is meant to run offline, thus I can't enter 
> web URLs in Namespace URI.
> 
> -- 
> Michal Zimmermann (zimmi) 
> WWW: http://www.zimmi.cz
> 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer 2.2-RC2 "GeoServer.app is damaged…" on Mac

2012-08-07 Thread Russell Hore
Just downloaded this for Mac and it seems to install fine but when I try and 
start it I get a popup saying;

“GeoServer.app” is damaged and can’t be opened. You should move it to the Trash"

Deleted the App and installed 2.1.4 again and I now get the same problem?

Any ideas?

Russ

On 7 Aug 2012, at 07:56, victor@csiro.au wrote:

> The GeoServer team is happy to announce the release of  GeoServer 2.2-RC2, 
> now available for download here. We would like to encourage you to download 
> and try out some of our new features and let us know if there are any bugs to 
> be fixed.
> This release includes plenty of bug fixes and new improvements such as:
> 
> · Have rest endpoint display a note when no rest extensions are 
> installed
> · Rearrange GWC UI components for higher consistency
> · Support EPSG:102113 as an alias for web mercator
> · Write GWC specific HTTP response headers when using direct WMS 
> integration
> · Control the meta tile output format cache so that external apps can 
> drop it on demand
> · Made it possible to configure embedded gwc tile layers through the 
> REST API
> · Made GWC “direct WMS integration” work with virtual services
>  
> For more information, please refer to the changelog for this release.
> A big thank you to all the users, contributors, and sponsors that have helped 
> to make this release possible by providing feedback and support to the 
> GeoServer community.
> 
>  
>  
>  
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] What to do if gdal_merge make too large a file

2012-08-03 Thread Russell Hore
Thanks for all your help again,

I now have

Driver: GTiff/GeoTIFF
Files: sh98.tif
Size is 4000, 4000
Coordinate System is:
PROJCS["OSGB 1936 / British National Grid",
GEOGCS["OSGB 1936",
DATUM["OSGB_1936",
SPHEROID["Airy 1830",6377563.396,299.324964643,
AUTHORITY["EPSG","7001"]],
AUTHORITY["EPSG","6277"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4277"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",49],
PARAMETER["central_meridian",-2],
PARAMETER["scale_factor",0.9996012717],
PARAMETER["false_easting",40],
PARAMETER["false_northing",-10],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AUTHORITY["EPSG","27700"]]
Origin = (29.000,39.000)
Pixel Size = (2.500,-2.500)
Metadata:
  TIFFTAG_IMAGEDESCRIPTION=1:25000 TILE SH98
  TIFFTAG_DATETIME=2006:09:12 16:00:12
  TIFFTAG_COPYRIGHT=ORDNANCE SURVEY CROWN COPYRIGHT 2005
  TIFFTAG_XRESOLUTION=254
  TIFFTAG_YRESOLUTION=254
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
  AREA_OR_POINT=Area
Image Structure Metadata:
  COMPRESSION=DEFLATE
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (  29.000,  39.000) (  3d39'16.05"W, 53d23'42.34"N)
Lower Left  (  29.000,  38.000) (  3d39'3.53"W, 53d18'18.85"N)
Upper Right (  30.000,  39.000) (  3d30'14.80"W, 53d23'49.50"N)
Lower Right (  30.000,  38.000) (  3d30'3.42"W, 53d18'25.98"N)
Center  (  295000.000,  385000.000) (  3d34'39.45"W, 53d21'4.25"N)
Band 1 Block=512x512 Type=Byte, ColorInterp=Palette
  Overviews: 4000x4000, 2000x2000, 1000x1000, 500x500, 250x250, 125x125, 63x63, 
32x32
  Color Table (RGB with 256 entries)
0: 89,72,73,255
...

The while process I followed was
1) Took the raw TIF images
2) Added a .PRJ file for each image
3) Added the World file for each
4) Ran gdal_translate for each file
for file in `ls *tif`
do
gdal_translate -of GTiff -co "TILED=YES" -co "COMPRESS=DEFLATE" -co 
"BLOCKXSIZE=512" -co "BLOCKYSIZE=512" -a_srs "EPSG:27700" $file out/$file
done
5) Ran a gdaladdo for each file in 'out'
for file in `ls *tif`
do
gdaladdo -r nearest $file 1 2 4 8 16 32 64 128
done

6) Added them to Geoserver (2.2 RC1) using ImageMosaic

Anything I have missed?

Russ
On 3 Aug 2012, at 09:24, Simone Giannecchini 
 wrote:

> Ciao Russel,
> one thing, if you check the block size it is still not optimal as it
> is 4000x2 which means that your geotiff are saved on disk in stripes
> as large as the image itself but only 2 pixel tall.
> This is bad for performance as you'll end up reading much more data
> than needed for many requests.
> I would suggest to retile your geotiff images (with deflate
> compression) using a tile size (block size) of 256 or 512 pixels.
> 
> Regards,
> Simone Giannecchini
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for
> more information.
> ==
> 
> Ing. Simone Giannecchini
> @simogeo
> Founder/Director
> 
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:   +39 0584 962313
> mob:   +39  333 8128928
> 
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> 
> ---

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] What to do if gdal_merge make too large a file

2012-08-02 Thread Russell Hore
Thanks Simone,

The tif files now show

Driver: GTiff/GeoTIFF
Files: sy88.tif
Size is 4000, 4000
Coordinate System is:
PROJCS["OSGB 1936 / British National Grid",
GEOGCS["OSGB 1936",
DATUM["OSGB_1936",
SPHEROID["Airy 1830",6377563.396,299.324964643,
AUTHORITY["EPSG","7001"]],
AUTHORITY["EPSG","6277"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4277"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",49],
PARAMETER["central_meridian",-2],
PARAMETER["scale_factor",0.9996012717],
PARAMETER["false_easting",40],
PARAMETER["false_northing",-10],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AUTHORITY["EPSG","27700"]]
Origin = (38.000,9.000)
Pixel Size = (2.500,-2.500)
Metadata:
  TIFFTAG_IMAGEDESCRIPTION=1:25000 TILE SY88
  TIFFTAG_DATETIME=2006:09:12 16:39:46
  TIFFTAG_COPYRIGHT=ORDNANCE SURVEY CROWN COPYRIGHT 2005
  TIFFTAG_XRESOLUTION=254
  TIFFTAG_YRESOLUTION=254
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
  AREA_OR_POINT=Area
Image Structure Metadata:
  COMPRESSION=DEFLATE
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (  38.000,   9.000) (  2d16'59.81"W, 50d42'31.38"N)
Lower Left  (  38.000,   8.000) (  2d16'57.87"W, 50d37'7.60"N)
Upper Right (  39.000,   9.000) (  2d 8'29.91"W, 50d42'32.31"N)
Lower Right (  39.000,   8.000) (  2d 8'28.94"W, 50d37'8.53"N)
Center  (  385000.000,   85000.000) (  2d12'44.13"W, 50d39'50.03"N)
Band 1 Block=4000x2 Type=Byte, ColorInterp=Palette
  Overviews: 4000x4000, 2000x2000, 1000x1000, 500x500, 250x250, 125x125, 63x63, 
32x32
  Color Table (RGB with 256 entries)

Seems to work fairly quickly. I should be putting it on the physical server 
soon.

Thanks for your help

Russ
On 2 Aug 2012, at 14:41, Simone Giannecchini 
 wrote:

> Ciao Russell,
> as Andrea suggested, I would check the gs on steroids presentation,
> especially slide 10 to 19.
> 
> Long story short, with gdal_transalte you can, in one step,
> - add inner tiling
> - fix CRS
> - fix georeferencing
> - compress
> 
> Then you need to run the gdaladdo command to add overviews.
> Make sure you use the nearest algorithm as your data has a palette.
> 
> If you want to merge your tiles into larger chunks, after the
> gdal_translate step, you can do a gdal_merge and create larger
> bigtiff.
> Anyway, the last step is always to add overviews to your files to
> speed things up.
> 
> Long story short, read the presentation carefully make some tests and
> then if you still have questions come back  to us.
> 
> Regards,
> Simone Giannecchini
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for
> more information.
> ==
> 
> Ing. Simone Giannecchini
> @simogeo
> Founder/Director
> 
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:   +39 0584 962313
> mob:   +39  333 8128928
> 
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> 
> ---
> 
> 
> On Tue, Jul 31, 2012 at 12:35 PM, Russell Hore  wrote:
>> After my gdal_translate it looks like
>> 
>> Driver: GTiff/GeoTIFF
>> Files: sh67.tif
>> Size is 4000, 4000
>> Coordinate System is:
>> PROJCS["OSGB 1936 / British National Grid",
>>GEOGCS["OSGB 1936",
>>DATUM["OSGB_1936",
>>SPHEROID["Airy 1830",6377563.396,299.324964644,
>>AUTHORITY["EPSG","7001"]],
>>AUTHORITY["EPSG","6277"]],
>>PRIMEM["Greenwich",0],
>>UNIT["degree",0.0174532925199433],
>>AUTHORITY["EPSG","4277"]],
>>PROJECTION["Transverse_Mercator"],
>>PARAMETER["latitude_of_origin",49],
>>PARAMETER["central_meridian",-2],
>>PARAMETER["scale_factor",0.9996012717],
>>PARAMETER["false_easting",40],
>>PARAMETER["false_northing",-10],
>>UNIT["metre",1,
>>AUTHORITY["EPSG","9001"]],
>>AUTHORITY["EPSG","27700"]]
>> Origin = (26.000,38.0

Re: [Geoserver-users] What to do if gdal_merge make too large a file

2012-07-31 Thread Russell Hore
After my gdal_translate it looks like

Driver: GTiff/GeoTIFF
Files: sh67.tif
Size is 4000, 4000
Coordinate System is:
PROJCS["OSGB 1936 / British National Grid",
GEOGCS["OSGB 1936",
DATUM["OSGB_1936",
SPHEROID["Airy 1830",6377563.396,299.324964644,
AUTHORITY["EPSG","7001"]],
AUTHORITY["EPSG","6277"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4277"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",49],
PARAMETER["central_meridian",-2],
PARAMETER["scale_factor",0.9996012717],
PARAMETER["false_easting",40],
PARAMETER["false_northing",-10],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AUTHORITY["EPSG","27700"]]
Origin = (26.000,38.000)
Pixel Size = (2.500,-2.500)
Metadata:
  AREA_OR_POINT=Area
  TIFFTAG_COPYRIGHT=ORDNANCE SURVEY CROWN COPYRIGHT 2006
  TIFFTAG_DATETIME=2006:09:12 19:00:55
  TIFFTAG_IMAGEDESCRIPTION=1:25000 TILE SH67
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
  TIFFTAG_XRESOLUTION=254
  TIFFTAG_YRESOLUTION=254
Image Structure Metadata:
  COMPRESSION=DEFLATE
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (  26.000,  38.000) 
Lower Left  (  26.000,  37.000) 
Upper Right (  27.000,  38.000) 
Lower Right (  27.000,  37.000) 
Center  (  265000.000,  375000.000) 
Band 1 Block=4000x2 Type=Byte, ColorInterp=Palette
  Color Table (RGB with 256 entries)
…
…

Russ


On 31 Jul 2012, at 11:29, Andrea Aime  wrote:

> On Tue, Jul 31, 2012 at 9:56 AM, Russell Hore  wrote:
> OK
> 
> The Ordnance Survey (OS) have released huge amounts of data over the past few 
> years. 1:250k, 1:10k etc.
> 
> The first dataset I want to publish is called StreetView.
> 
> It contains 21k tiles. These are not GeoTIFFs (but not a problem, I have the 
> world files and can convert them)
> Each tile is between 1 and 5 Mb.
> 
> gdalinfo gives
> MacPro:data russ$ gdalinfo sj/sj55ne.tif
> Driver: GTiff/GeoTIFF
> Files: sj55ne.tif
> Size is 5000, 5000
> Coordinate System is `'
> Metadata:
>   TIFFTAG_COPYRIGHT=ORDNANCE SURVEY CROWN COPYRIGHT 2009
>   TIFFTAG_DATETIME=2009:09:11 04:41:38
>   TIFFTAG_IMAGEDESCRIPTION=OS Street View SJ55NE
>   TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
>   TIFFTAG_XRESOLUTION=254
>   TIFFTAG_YRESOLUTION=254
> Image Structure Metadata:
>   COMPRESSION=LZW
>   INTERLEAVE=BAND
> Corner Coordinates:
> Upper Left  (0.0,0.0)
> Lower Left  (0.0, 5000.0)
> Upper Right ( 5000.0,0.0)
> Lower Right ( 5000.0, 5000.0)
> Center  ( 2500.0, 2500.0)
> Band 1 Block=5000x1 Type=Byte, ColorInterp=Palette
>   Color Table (RGB with 256 entries)
> 
> Ugh, no CRS, no overviews, no inner tiling... Have a look at this 
> presentation and then
> try to fix your data:
> http://demo.geo-solutions.it/share/foss4g2011/gs_steroids_sgiannec_foss4g2011.pdf
>  
> 
> I had finally got my head round creating a large TIFF then allowing GS to 
> 'cookie cut and then tried the ImageMosaic and it saved lots of time.
> But I need this to perform well and don't know which will be more 'performant'
> 
> It really boils down to which scale you want to show that data. If your worst 
> request just needs to put togheter a few tiles
> then the large number of tiles is not an issue, but if you want to keep on 
> displaying your data as you zoom out you need
> to reduce the number of files, otherwise in order to show the whole mosaic in 
> a single image GS will have to open 21K files,
> which btw won't work due to the max number of open file limit imposed by the 
> operating system.
> 
> In such case you might want to look at gdalmerge to fuse togheter bunch of 
> tiles, or look at the pyramid plugin
> 
> 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 962313
> mob:   +39  339 8844549
> 
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> 
> ---
> 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] What to do if gdal_merge make too large a file

2012-07-31 Thread Russell Hore
OK

The Ordnance Survey (OS) have released huge amounts of data over the past few 
years. 1:250k, 1:10k etc.

The first dataset I want to publish is called StreetView.

It contains 21k tiles. These are not GeoTIFFs (but not a problem, I have the 
world files and can convert them)
Each tile is between 1 and 5 Mb.

gdalinfo gives
MacPro:data russ$ gdalinfo sj/sj55ne.tif
Driver: GTiff/GeoTIFF
Files: sj55ne.tif
Size is 5000, 5000
Coordinate System is `'
Metadata:
  TIFFTAG_COPYRIGHT=ORDNANCE SURVEY CROWN COPYRIGHT 2009
  TIFFTAG_DATETIME=2009:09:11 04:41:38
  TIFFTAG_IMAGEDESCRIPTION=OS Street View SJ55NE
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
  TIFFTAG_XRESOLUTION=254
  TIFFTAG_YRESOLUTION=254
Image Structure Metadata:
  COMPRESSION=LZW
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (0.0,0.0)
Lower Left  (0.0, 5000.0)
Upper Right ( 5000.0,0.0)
Lower Right ( 5000.0, 5000.0)
Center  ( 2500.0, 2500.0)
Band 1 Block=5000x1 Type=Byte, ColorInterp=Palette
  Color Table (RGB with 256 entries)

The data is broken down into 100km squares and depending on the 
Easting/Northing gets a two letter code (the 'SJ' bit in the filename)
Each square may contain an average of 250 tiles (It depends on if it is by the 
coast or not)

I am currently running GS 2.1.4 in a Linux VM on my Mac Pro but it will go on a 
real server in the future, probably with GS2.2+

The server will be running Linux (Not sure which but a Debian variant)

I had finally got my head round creating a large TIFF then allowing GS to 
'cookie cut and then tried the ImageMosaic and it saved lots of time.
But I need this to perform well and don't know which will be more 'performant'

Thanks for your time

Russ

On 30 Jul 2012, at 16:08, Simone Giannecchini 
 wrote:

> Well, it depends :)
> 
> Really, with the latest change we have prepared for tiff I would go
> for a small number of very large bigtiff files. It is easier to
> handle, you open a small number of file on the server
> and can be used to serve data at all resolutions if you have a small
> number of files (like < 16/32) since you can add embedded overviews.
> 
> If your data is high res and you want to to show it only at small
> scales, then you can even use a mosaic with a relative large number of
> files since you will never open too many of them.
> 
> Summarising:
> -1- we need to know more about what you are doing, or actually about
> the data (#files, size of individual files, etc..)
> -2- I believe some tests on your infrastructure would help (this type
> of performances depepnd a lot on the the HW set up and the underlying
> file system).
> 
> Regards,
> Simone Giannecchini
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for
> more information.
> ==
> 
> Ing. Simone Giannecchini
> @simogeo
> Founder/Director
> 
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:   +39 0584 962313
> mob:   +39  333 8128928
> 
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> 
> ---
> 
> 
> On Mon, Jul 30, 2012 at 4:53 PM, Russell Hore  wrote:
>> Thanks for the excellent pointer Simone and Edward.
>> 
>> Which would perform better, or os that s difficult question and the answer 
>> is " It depends"
>> 
>> Russ
>> 
>> On 30 Jul 2012, at 15:46, Simone Giannecchini 
>>  wrote:
>> 
>>> Ciao a tutti,
>>> one thing, depending on the GeoServer version you use there is support
>>> for BigTiff (actually when 2.1.5 will be out this support will also be
>>> much better).
>>> 
>>> Regards,
>>> Simone Giannecchini
>>> ==
>>> Our support, Your Success! Visit http://opensdi.geo-solutions.it for
>>> more information.
>>> ==
>>> 
>>> Ing. Simone Giannecchini
>>> @simogeo
>>> Founder/Director
>>> 
>>> GeoSolutions S.A.S.
>>> Via Poggio alle Viti 1187
>>> 55054  Massarosa (LU)
>>> Italy
>>> phone: +39 0584 962313
>>> fax:   +39 0584 962313
>>> mob:   +39 333 8128928
>>> 
>>> http://www.geo-solutions.it
>>> http://twitter.com/geosolutions_it
>>> 
>>> ---
>>> 
>>> 
>>> On Mon, Jul 30, 2012 at 3:43 PM, Edward Mac Gillavry
>>>  wrote:
>>>> Hi there,
>>>> 
>>>> Check out the ImageMosaic plugin
>>>> http://docs.geoserver.org/latest/en/user/tutorials/image_mosaic_plugin/imagemosaic.html.
>>>> No need to create one sing

[Geoserver-users] What to do if gdal_merge make too large a file

2012-07-30 Thread Russell Hore
I am using gdal_merge to merge sections of the OS tile sod the UK into large 
tiff files ready for GeoServer.

(For those that know the OS' StreetView data I am taking al the SH tiles and 
making one large SH tile.)

Some of them are failing. I suspect that it is due to the size of the resulting 
TIF file being over 4Gb

I have heard of 'big' geoTIFFS but would e better approach be to split the 
failing areas into four smaller areas (SHNW, SHNE, SHSW, SHSE)?



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver

2012-07-20 Thread Russell Hore
Welcome to the group.

What sort of error are you getting?

As a first guess I would assume it is a firewall problem. You need to open up 
access to port 8080

Russ

On 17 Jul 2012, at 20:36, Matt Kun wrote:

> Hello,
>  
> I am new to geoserver and just installed on my linux server.
>  
> I am having a hard time to access to the geoserver on my linux server from my 
> window pc.
>  
> Please kindly advise.
>  
> Thanks,
>  
> Matt Kun
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Unable to access geoserver

2012-05-31 Thread Russell Hore
Are you trying to browse to it from the local machine or over the network?

Have you started the server?

Russ

On 31 May 2012, at 19:08, Smaran Harihar wrote:

> Hi,
> 
> I installed geoserver on ubuntu 11.04 and everything was installed fine but I 
> am still not able to access Geoserver using the 8080 port.
> 
> I type in the url for the server with 8080/geoserver/web and only output I am 
> getting is Page not found.
> 
> -- 
> Thanks & Regards
> Smaran Harihar
> 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users