Re: [Geoserver-users] geoserver, gwc and 900913

2013-09-10 Thread John Callahan
Part of my question may be academic but, like many technical things, it
becomes practical when getting into the details.  I currently have 20 - 30
GB used by geowebcache for SRS 900913 (total for about 12 raster layers).
 When a request comes in using 3857, it will not use the 900913 cache.  To
use cache for 3857, I would need to duplicate the cache for each layer.  It
comes down to which is used more often and if I want to support caches for
both.

I agree that I can alter the default SRS for geowebcache anytime.  I would
think 3875 should be the default and we should move away from 900913,
unless everyone is still using 900913 much more than 3857.

- John


John Callahan
Research Scientist
Delaware Geological Survey
University of Delaware
http://www.dgs.udel.edu
john.calla...@udel.edu



On Wed, Sep 11, 2013 at 1:36 AM, cmaul wrote:

> John,
>
> a truly academic question. Yes - in theory. However, the widespread use of
> 900913 is a result of the Cinderella treatment of Google by the spatial
> fraternity and the past confusion with EPSG:3587 and EPSG:3857.
>
> What geowebcache uses as a default is entirely up to you because in the
> geowebcache-core-context.xml is the following tag:
>
>  
>
> 
>
>  
>   
>
> Question 3: No why, they are the same projections.
>
> Cheers
>
> Christian
>
>
>
> -
> 
>
> Dr Christian Maul
> Project Manager
>
> Information Services Branch
> Department of Sustainability and Environment
> Level13, Marland House, 570 Bourke Street
> Melbourne 3000
>
> PO Box 500, East Melbourne Vic 3002
>
>
> Telephone:+61-3-8636 2325
> Telefax:  +61-3-8636 2813
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/geoserver-gwc-and-900913-tp5077103p5077185.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] "nice" priority for tile seeding (geowebcache part)

2013-09-10 Thread cmaul
Hi Jens,

I think you cannot. What about a separate geowebcache instance that tiles
while your geoserver serves up the tiles. Then you can do these things on a
process level.

Cheers

Christian



-


Dr Christian Maul
Project Manager

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

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/nice-priority-for-tile-seeding-geowebcache-part-tp5076467p5077186.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geoserver, gwc and 900913

2013-09-10 Thread cmaul
John,

a truly academic question. Yes - in theory. However, the widespread use of
900913 is a result of the Cinderella treatment of Google by the spatial
fraternity and the past confusion with EPSG:3587 and EPSG:3857.

What geowebcache uses as a default is entirely up to you because in the
geowebcache-core-context.xml is the following tag:

 



 
  

Question 3: No why, they are the same projections.

Cheers

Christian



-


Dr Christian Maul
Project Manager

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

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/geoserver-gwc-and-900913-tp5077103p5077185.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Filter 2.0

2013-09-10 Thread Ben Caradoc-Davies
Nhan,

GeoServer is by default permissive when it comes to namespaces.

Please paste the entire request GET URL into an email so we can see it. 
Or the query part (after "?") at least if you do not want to disclose 
the host.

Also, note that the schemaLocation in your request is wrong: the WFS 2 
namespace should be followed by the WFS 2.0 schema URL, not GML 3.2:

xsi:schemaLocation="http://www.opengis.net/wfs/2.0 
http://schemas.opengis.net/gml/3.2.1/gml.xsd";

Like this (stolen from a WFS 2.0 response):

xsi:schemaLocation="http://www.opengis.net/gml/3.2 
http://schemas.opengis.net/gml/3.2.1/gml.xsd 
http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd";

Kind regards,
Ben.

On 10/09/13 19:50, Nhan Vo wrote:
> Hi list,
>
> I've tried the following filter in the Demo request page and it works
> (even though some elements do not have namespace prefix):
>
> 
>service="WFS"
>   version="2.0.0"
>   xmlns:wfs="http://www.opengis.net/wfs/2.0";
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xmlns:gml="http://www.opengis.net/gml/3.2";
>   xmlns:fes="http://www.opengis.net/fes/2.0";
>   xsi:schemaLocation="
> http://www.opengis.net/wfs/2.0
> http://schemas.opengis.net/gml/3.2.1/gml.xsd";>
>   
>   
>   
>   
> ns1:geometry
>srsName='urn:x-ogc:def:crs:EPSG:4326'>
>   
>   
>   54.6 8.3 54.7 8.4 54.7
> 8.5 54.6 8.3
>   
>   
>   
>   
>   
>   
>
> 
>
> But when I copy the portion:
>   
>   
> ns1:geometry
>srsName='urn:x-ogc:def:crs:EPSG:4326'>
>   
>   
>   54.6 8.3 54.7 8.4 54.7
> 8.5 54.6 8.3
>   
>   
>   
>   
>   
> and use it (after encoded) in a request URL after &FILTER=, it does not
> work, and I receive the error message:
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> Index: 0, Size: 0
>
> I've done the same thing in URLs with other filter 2.0 elements like
> PropertyIsLike and PropertyIsEqualTo and they work for me. Could someone
> give me a hint? Thanks!
>
>
> --
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

-- 
Ben Caradoc-Davies 
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Harvesting data from a php Webservice.

2013-09-10 Thread beldar15
Hi, I'm trying to feed Geoserver with the date contained in a Postgresql data
base. I've been reading about how to do this, and I find about the
"Harvesting", so now I know is possible to do what I wanted to do. But I
haven't seen any example or method to do this. 

Anyone can give me some direction about it? How I have to sen the data to
Geoserver? How the format have to be?

I have a well formed and working GetFeatures document, created with the data
from the data base (I've tested it with openlayers and works very well). So,
this would help me in this process?

Thanks!



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Harvesting-data-from-a-php-Webservice-tp5077097.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] KML output, extruding height with polygons

2013-09-10 Thread karsten
Hi ,
 
we where not able to make progress on this since last week. We are using
GeoServer version 2.3.1 on Ubuntu.
Is there anyone who successfully had GeoServer output polygons that extruded
successfully in Google earth that can share any insight ?
Maybe I can rephrase the question to try to find out why we receive a point
and a polygon in the KML (as a Multigeometry) output from GeoServer while
the features are 'POLYGON' features in PostGIS - see below. Its seems to us
that that the point 'consumes' the height value form the template (154)
whereas the polygon features that follow all get a default 0. The hope is if
we can get rid of the point in the KML output that the extrusion will
work... 
BTW the point does not show up visually in GE ...

Cheers
Karsten


  _  

From: karsten [mailto:kars...@terragis.net] 
Sent: Wednesday, September 04, 2013 03:16 PM
To: 'geoserver-users@lists.sourceforge.net'
Cc: 'Luis F Borrero'
Subject: KML output, extruding height with polygons


Hi,
 
we are pretty new to Geoserver and KML output for GE. We have been working
on using kml output of postgis based layers to dynamicayyl cerate kml via
Geoserver and to extrude height values to view features e.g. building in 3D.
So far this sucessfully worked for us with a heigth.ftl template and  point
layers , but it doesnt seem to work as well with polygons. These polygons in
this link to a kmz file output by Geoserver
http://www.terragis.net/docs/other/test_height.kmz won't extrude. 

If you open and zoom-in enough so the data is presented as kml entities and
right click, you will notice inside the properties that the "altitude" tab
is set to "various heights (min=0 and max=max value)"  instead of using the
unique Absolute Height of "max value" ( see screen shot
http://www.terragis.net/docs/other/test_height.png). Hence they stick to the
ground. If you manually change that value to force the later, you will
notice  that the polygon renders properly. So the problem is probably with
the writing of the file when created in geoserver. 
 
While researching this we also realized that the kml output does produce a
MultiGeometry and has actually a point (the center point of the polygon and
does correctly add the height value, below 154 to it) , plus the polygons
bit with the polygon feature the z values all default to 0 - see below .
However we are not sure why a point  is created at all (as the layer is
polygons only and guess that if we could suppress the point form being
created that the polygons heights would show up correctly ?


Anybody has found a similar problem and/or can venture a solution?


I have also set it up in this page http://dr-i-ve.com/samples-for-geogroup/
as the first file on the upper left ( 3D Buildings 2002) , and I have set
two other files that render properly z values (height) for reference.

Luis and Karsten
 
 
---


-122.3315613282126,47.62726284173768,154





-122.33179025,47.6276434701,0 -122.33174006,47.62760903,0
-122.33169852,47.6276373,0 -122.33120259,47.62764013,0
-122.33120192,47.62761704,0 -122.33115272,47.62761676,0
-122.33113577,47.62759119,0 -122.33111383,47.6275570001,0
-122.3310926,47.62751601,0 -122.33107405,47.6274725401,0
-122.33105908,47.62742717,0 -122.33104675,47.62737868,0
-122.33103897,47.62733013,0 -122.33103796,47.6272950399,0
-122.33087857,47.62729575,0 -122..3308763,47.62721695,0
-122.33088906,47.62721741,0 -122.33088952,47.62720139,0
-122.3308203,47.62720213,0 -122.33081998,47.62696679,0
-122.33093383,47..62696591,0 -122.33093528,47.62695296,0
-122.33105642,47.6269526,0 -122.33105498,47.62696554,0
-122.33129907,47.62696418,0 -122.33129875,47.6269531,0
-122.33132425,47.62695276,0 -122.33132503,47.6269484401,0
-122.33143164,47.62694889,0 -122.33143122,47.62696613,0
-122.33191168,47.62696289,0 -122..33191136,47.6269832101,0
-122.3319615,47.6269844101,0 -122.33202638,47.6269915601,0
-122.33208041,47.6270013099,0 -122.33213642,47.62701659,0
-122.33220642,47.62704337,0 -122.33224275,47.62706373,0
-122.33235145,47.62713712,0 -122.3323286,47.62715034,0
-122.3323759,47.62717928,0 -122.33230481,47.6272254799,0
-122.33235638,47.62726082,0 -122.33179025,47..6276434701,0 





--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] geoserver, gwc and 900913

2013-09-10 Thread John Callahan
I've been starting to use GeoServer caching (geowebcache) more often and
have a question regarding the caching for the web mercator or Google
projection.

The "official" EPSG code for the web mercator projection is EPSG:3857.
 GeoServer does support this by default.   However, geowebcache uses 900913
as a default gridset.  Perhaps that should be 3857?

As well, the default definition for 3857 in GeoServer is missing the datum
transformation parameters. Adding something like the following should work.

 TOWGS84[0,0,0,0,0,0,0],

(In PROJ.4 format, "+nadgrids=@null" could also be added to not use any
grid shift fileand apply a zero shift.)

It was also mentioned in the article
http://alastaira.wordpress.com/2011/01/23/the-google-maps-bing-maps-spherical-mercator-projection/(good
summary), that the prpjection name should be changed to:

PROJECTION["Mercator"]

Apparently, 3857 is not in spatialreference.org but these two are very
close.
http://spatialreference.org/ref/sr-org/6864/
http://spatialreference.org/ref/sr-org/7483/


So, with all that said, my questions are:

1) Should GeoWebCache use 3857 rather than 900913 as the default web
mercator gridset?
2) Should the definitions of 3857 and/or 900913 be changed in GeoServer?
 or maybe entries can be added to override these reference systems
in \geoserver_data\user_projections?
3) Would anyone recommend building cache tile sets for both 3857 and 900913
(since clients may be use either one)?


Thanks for your help/.

- John


John Callahan
Research Scientist
Delaware Geological Survey
University of Delaware
http://www.dgs.udel.edu
john.calla...@udel.edu
--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] PropertyIsBetween throws NPE after upgrading to GeoServer 2.3.5

2013-09-10 Thread Roel De Nijs
When an SLD (containing a rule with a PropertyIsBetween filter) is applied on
a layer using GeoServer 2.1.1 the layer is rendered nicely. If this SLD is
applied on the same layer using GeoServer 2.3.5 the layer is not rendered
and the following error is logged:
Caused by: java.lang.NullPointerException
at
org.geotools.filter.IsBetweenImpl.evaluateInternal(IsBetweenImpl.java:114)
at org.geotools.filter.IsBetweenImpl.evaluate(IsBetweenImpl.java:74)
at org.geotools.filter.NotImpl.evaluate(NotImpl.java:61)
at org.geotools.filter.AndImpl.evaluate(AndImpl.java:57)

The rule in the SLD:



pipe_type
A




service_condition_score

1


6






Is the Between filter implementation made stricter with regard to null
values? Do I have to add a PropertyIsNull operator? 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/PropertyIsBetween-throws-NPE-after-upgrading-to-GeoServer-2-3-5-tp5077090.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Why does GetFeature return feature 5 times?

2013-09-10 Thread Roel De Nijs
geowolf wrote
> You'll have to be more specific to have any chance to get an answer. Are
> you using app-schema in your feature type?
> Can you provide a detailed description of how that feature type is setup?

No, we are not using app-schema plugin. All our layers (feature types) are
based on tables (or views) from a Microsoft SQL Server JNDI data source.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Why-does-GetFeature-return-feature-5-times-tp5077054p5077088.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Filter 2.0

2013-09-10 Thread Nhan Vo

  
  
Hi Andrea,
  
  Thanks for the reply! Yes I've added &version=2.0.0, and as I
  said it works for other elements like PropertyIsLike and
  PropertyIsEqualTo, but for this spatial filter it does not work. 
  
  Here's the stack trace from geoserver log:
  
  2013-09-10 14:36:26,428 ERROR [geoserver.ows] - 
  java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      at java.util.ArrayList.RangeCheck(ArrayList.java:547)
      at java.util.ArrayList.get(ArrayList.java:322)
      at org.geotools.xml.EMFUtils.set(EMFUtils.java:333)
      at
org.geoserver.wfs.kvp.GetFeatureKvpRequestReader.querySet(GetFeatureKvpRequestReader.java:474)
      at
org.geoserver.wfs.kvp.GetFeatureKvpRequestReader.read(GetFeatureKvpRequestReader.java:209)
      at
org.geoserver.wfs.kvp.v2_0.GetFeatureKvpRequestReader.read(GetFeatureKvpRequestReader.java:39)
      at
  org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1412)
      at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:622)
      at
  org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:263)
      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:617)
      at
  javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27)
      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
      at
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
      at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
      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:72)
      at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
      at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
      at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
      at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
      at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
      at
org.springframework.security.web.FilterChainProxy$VirtualFilterCha

Re: [Geoserver-users] Freemarker template stopped support of TemplateSequenceModel - GEOS-5400

2013-09-10 Thread Niels Charlier
On 09/09/13 05:17, Andrew Walsh wrote:
> Hi Niels and Andrea,
>
> Thanks Neils so much for resolving this ticket and Andrea for his input.
> ( See https://jira.codehaus.org/browse/GEOS-5400 )
> The freemarker template is an important feature for us and others like the 
> AODN.
>
> In fact I was holding off on this fix be done before we would upgrade
> our Geoserver.
>
> Is there a recent Geoserver build available that I could download and
> test the fix.
>
> Andrew

Andrew,

Tomorrow you should find the latest 2.4.x build with the fix on 
http://gridlock.opengeo.org/geoserver/2.4.x/

Kind Regards
Niels

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Filter 2.0

2013-09-10 Thread Andrea Aime
On Tue, Sep 10, 2013 at 1:50 PM, Nhan Vo  wrote:

> I've done the same thing in URLs with other filter 2.0 elements like
> PropertyIsLike and PropertyIsEqualTo and they work for me. Could someone
> give me a hint? Thanks!
>

Making a guess here, did you remember to add &version=2.0 in your request
URL?

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

---
--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Why does GetFeature return feature 5 times?

2013-09-10 Thread Andrea Aime
On Tue, Sep 10, 2013 at 1:46 PM, Roel De Nijs wrote:

>  When I execute the GetFeature request [1] against a geoserver 2.1.1
> instance I get a gml-string with just 1 feature in the feature-collection
> (as expected). When I execute the same request against a geoserver 2.3.5
> instance the feature collection contains this feature 5 times for some
> reason.
>
>
>
> [1]
> geoserver/wfs?OUTPUTFORMAT=GML2&PROPERTYNAME=uid,GeoNode,node_type,owner,system_type&REQUEST=GetFeature&TYPENAME=JAGIS:Knopen&VERSION=1.1.0&CQL_FILTER="uid"
> IN ('0CAD0CF7A2E8437FA019F45BF79B344F')
>
>
You'll have to be more specific to have any chance to get an answer. Are
you using app-schema in your feature type?
Can you provide a detailed description of how that feature type is setup?

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

---
--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Filter 2.0

2013-09-10 Thread Nhan Vo
Hi list,

I've tried the following filter in the Demo request page and it works 
(even though some elements do not have namespace prefix):


http://www.opengis.net/wfs/2.0";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xmlns:gml="http://www.opengis.net/gml/3.2";
 xmlns:fes="http://www.opengis.net/fes/2.0";
 xsi:schemaLocation="
http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/gml/3.2.1/gml.xsd";>
 
 
 
 
ns1:geometry
 
 
 
 54.6 8.3 54.7 8.4 54.7 
8.5 54.6 8.3
 
 
 
 
 
 
  


But when I copy the portion:
 
 
ns1:geometry
 
 
 
 54.6 8.3 54.7 8.4 54.7 
8.5 54.6 8.3
 
 
 
 
 
and use it (after encoded) in a request URL after &FILTER=, it does not 
work, and I receive the error message:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
Index: 0, Size: 0

I've done the same thing in URLs with other filter 2.0 elements like 
PropertyIsLike and PropertyIsEqualTo and they work for me. Could someone 
give me a hint? Thanks!


--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Why does GetFeature return feature 5 times?

2013-09-10 Thread Roel De Nijs
When I execute the GetFeature request [1] against a geoserver 2.1.1 instance I 
get a gml-string with just 1 feature in the feature-collection (as expected). 
When I execute the same request against a geoserver 2.3.5 instance the feature 
collection contains this feature 5 times for some reason.

[1] 
geoserver/wfs?OUTPUTFORMAT=GML2&PROPERTYNAME=uid,GeoNode,node_type,owner,system_type&REQUEST=GetFeature&TYPENAME=JAGIS:Knopen&VERSION=1.1.0&CQL_FILTER="uid"
 IN ('0CAD0CF7A2E8437FA019F45BF79B344F')



Volg Aquafin op Facebook | 
Twitter | 
YouTube | 
LinkedIN

Disclaimer: zie www.aquafin.be   P Denk aan het milieu. 
Druk deze mail niet onnodig af.
--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&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 Mosaic JDBC - not working

2013-09-10 Thread Christian Mueller
Hi Frederik

During the last weekend I fixed a problem
https://jira.codehaus.org/browse/GEOT-4561

Maybe this will fix your issue too.

You can test with a nightly build or I can send you a jar file.

Christian


On Wed, Sep 4, 2013 at 11:41 AM, Christian Mueller <
christian.muel...@os-solutions.at> wrote:

> Hmmm, No idea how create an account, I did this a long time ago.
>
> Can you open a new thread on the user list asking how to get a JIRA
> account. I can remember some people having the same problem but I forgot
> the solution.
>
>
> On Wed, Sep 4, 2013 at 10:59 AM, Frederik Haefker wrote:
>
>> Thanks a lot for your effort and help!!!
>>
>> Do you have any idea why I can't create an account at
>> http://jira.codehaus.org/**browse/GEOS/To
>>  create a new issue?
>> It is recommended in the error message of geoserver:
>>
>> "Here's an error report you can include in a JIRA bug report about this
>> issue:"
>>
>> Best Regards
>> Frederik
>>
>> On Wed, 4 Sep 2013 10:51:39 +0200
>>  Christian Mueller 
>> >
>> wrote:
>>
>>> About the geoserver error
>>>
>>> No chance without a debug session, I cannot see anything from the log
>>> files.
>>>
>>> Have a look at the supported formats
>>> http://www.oracle.com/**technetwork/java/iio-141084.**html
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Sep 4, 2013 at 10:05 AM, Frederik Haefker >> >wrote:
>>>
>>>  Good Morning,

 I just tried following idea:
 first I converted the geotiff to png

  gdal_translate -co WORLDFILE=YES -of png 1.tif 2.png
>
>
 Then I followed the instruction of the tutorial.
 I didn't get the error message when I published the layer.

 The layer can be loaded to the main map and uses the correct style
 information.
 However I see gaps inside the raster and a huge black boarder. This must
 have happened during the transformation from geotiff to png. It is
 visible
 in a desktop image viewer too.

 So, how to translate geotiff into png probably?
 And still, png is not a good solution for raster data ... what to do
 about
 the geoserver error?




 On Tue, 03 Sep 2013 17:07:33 +0200
  "Frederik Haefker"  wrote:

  Hi Christian,
>
> I have full control of the geoserver (sudo etc.). So I think I can
> start
> a debug session. Sadly I don't know what to do :) (sorry)
>
> In my last message I sent you a file called error-log.txt which
> included
> a copy of the full error message. Maybe we can find a hint there?
>
> I can send you the scripts (which one do you need?). However I can't
> send
> any data itself (due to restriction of my working group).
>
> Thanks again
>
> Best Regards
> Frederik
>
>
>
> On Tue, 3 Sep 2013 17:00:55 +0200
>  Christian Mueller 
> http://solutions.at>
> 
> >>
> wrote:
>
>  Hi Frederik
>>
>> This is strange. In the file geoserver_aftererror.log I see
>>
>> 2013-09-03 13:35:57,116 INFO [org.geotools.gce.imagemosaic.jdbc]
>> -
>> Using 8
>> CPU(s)
>> 2013-09-03 13:35:57,129 INFO [org.geotools.gce.imagemosaic.jdbc]
>> -
>>
>> Getting
>> 1 Tiles needs 13 millisecs
>> 2013-09-03 13:35:57,134 INFO [org.geotools.gce.imagemosaic.jdbc]
>> -
>>
>> Getting
>> and decoding  1 Tiles needs 18 millisecs
>> 2013-09-03 13:35:57,160 INFO [org.geotools.gce.imagemosaic.jdbc]
>> -
>>
>> Mosaic
>> Reader needs : 48 millisecs
>>
>> The imagemosaic JDBC module finished its job and returns an image to
>> GeoServer. Unfortunately, I cannot see the exception causing this
>> error.
>>
>> Without the the data I cannot debug. (Do you have the possibility to
>> start
>> a debug session).
>>
>> If not, I would need your configuration xml files, the image and all
>> the
>> scripts for importing the image data into postgres.
>>
>> Cheers
>> Christian
>>
>>
>
>>>
>>> --
>>> DI Christian Mueller MSc (GIS), MSc (IT-Security)
>>> OSS Open Source Solutions GmbH
>>>
>>
>
>
> --
> DI Christian Mueller MSc (GIS), MSc (IT-Security)
> OSS Open Source Solutions GmbH
>
>


-- 
DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH
--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.n