Re: [Geoserver-users] Direct GWC integration - SRS and STYLE parameters

2011-07-01 Thread Gabriel Roldán
On Fri, 2011-07-01 at 12:38 +0200, Ivan Grcic wrote:

 Hi all,
 
 im trying to enable direct integration, but for some reason im not
 able to get it to work.
 GWC works fine on its own, by using demo interface  cache is filling
 up inside gs/data/gwc dir (using gs/gwc/service/wms url)
 
 I have enabled GWC DI in the geoserver interface, and have my request
 using following parameters:
 
 BBOX  -1265269.5079271,1193955.2141262,-1255485.5683079,1203739.1537454
 CRS   EPSG:900913
 FORMATimage/png
 HEIGHT256
 REQUEST   GetMap
 SERVICE WMS
 LAYERS mylayer
 STYLES
 TILED true
 TILESORIGIN   -20037508.34,-20037508.34
 TRANSPARENT   true
 VERSION   1.3.0
 WIDTH 256
 
 As you can see im using 900913, with default tile parameters (tile
 size and tile origin), but for some reason requests are not being
 cached.
 Am I missing something here? Any suggestions are welcomed.

Use version 1.1.1,tilesorigin is not needed, it's just a geoserver
vendor parameter, you don't need it for WMS-C.
And try the following:
Go to the GWC generated demo page for your layer, and grab the URL of
one of the tiles (like in right click/copy URL).
Then do curl -v tile url  /dev/null
curl should tell one of the returned HTTTP response headers is
geowebcache-tile-index, like in: 

$ curl -v
http://dev.opengeo.org:8080/geoserver_gss/wms?LAYERS=tasmaniaFORMAT=image%2FpngSERVICE=WMSVERSION=1.1.1REQUEST=GetMapSTYLES=EXCEPTIONS=application%2Fvnd.ogc.se_inimageSRS=EPSG%3A900913BBOX=16280475.52625,-5322463.1528125,16593561.594063,-5009377.085WIDTH=256HEIGHT=256TILED=true;
  /dev/null

 Server: Apache-Coyote/1.1
 ETag: 130e61b0195
 geowebcache-tile-index: [116, 47, 7]
 Cache-Control: no-cache
 Content-Type: image/png


If there's no geowebcache-tile-index response header then something is
going wrong. But if you enabled direct WMS integration and used a tile
URL from the gwc demo page PLUS tiled=true, the request should be picked
by the gwc wms integration. If not, tell us more.

Cheers,
Gabriel


 
 Thanks!
 
 Regards,
 Ivan
 
 On Wed, Jun 29, 2011 at 5:46 PM, Chris Holmes chol...@opengeo.org wrote:
 
 
   Also, im curious how GWC DI handles STYLES parameter, if they are
   present in the request? (and TILED=true is present and SRS and tile
   parameters are valid)
  
  
   We made improvements so it would cache all Styles, not just the default.
This was funded for GeoNode, which makes use of it.  I believe it will
   make
   a new tile set for each style that you have, which will be automatically
   truncated if you change them.
 
  Very nice addition :) I  just see that Gabriel is just doing some
  patches for GWC integration for styles parameter (when style is
  deleted trough REST api)
   I will test it and see how it goes.
 
 
  Ah right, that feature was actually on a branch until just now.  Glad it's
  in now.
 
 
  Thanks for this new features!
 
  Regards,
  Ivan
 
   Chris
  
  
   Thank you,
  
   Regards,
   Ivan
  
   --
   ---
   Ivan Grcic
   GeoSolutions S.A.S.
   Software Engineer
  
  
   Via Poggio alle Viti 1187
   55054  Massarosa (LU)
   Italy
  
   phone: +39 0584 962313
   fax:  +39 0584 962313
  
   http://www.geo-solutions.it
   http://geo-solutions.blogspot.com/
   http://twitter.com/geosolutions_it
   http://www.youtube.com/user/GeoSolutionsIT
  
   ---
  
  
  
   --
   All of the data generated in your IT infrastructure is seriously
   valuable.
   Why? It contains a definitive record of application performance,
   security
   threats, fraudulent activity, and more. Splunk takes this data and
   makes
   sense of it. IT sense. And common sense.
   http://p.sf.net/sfu/splunk-d2d-c2
   ___
   Geoserver-users mailing list
   Geoserver-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/geoserver-users
  
  
 
 
 
  --
  ---
  Ivan Grcic
  GeoSolutions S.A.S.
  Software Engineer
 
 
  Via Poggio alle Viti 1187
  55054  Massarosa (LU)
  Italy
 
  phone: +39 0584 962313
  fax:  +39 0584 962313
 
  http://www.geo-solutions.it
  http://geo-solutions.blogspot.com/
  http://twitter.com/geosolutions_it
  http://www.youtube.com/user/GeoSolutionsIT
 
  ---
 
 
 
 
 
 -- 
 ---
 Ivan Grcic
 GeoSolutions S.A.S.
 Software Engineer
 
 
 Via Poggio alle Viti 1187
 55054  Massarosa (LU)
 Italy
 
 phone: +39 0584 962313
 fax:  +39 0584 962313
 
 http://www.geo-solutions.it
 http://geo-solutions.blogspot.com/
 http://twitter.com/geosolutions_it
 http://www.youtube.com/user/GeoSolutionsIT
 
 ---
 
 

Re: [Geoserver-users] Direct GWC integration - SRS and STYLE parameters

2011-07-01 Thread Gabriel Roldán
On Fri, 2011-07-01 at 17:35 +0200, Ivan Grcic wrote:
 Thanks for the reply Gabriel.
 
 I checked headers before, and only one I can see is the presence of
 control flow header:
 
 Set-Cookie GS_FLOW_CONTROL=GS_CFLOW_-6dfc4991:130e51bf87e:-7f5a; Version=1
 
 Could it be that control flow is interfering with direct GWC
 integration? Ill try and disable control flow plugin and see how it
 goes.
hmmm.. on 2.1.0 it could be. Andrea submitted a patch to make control
flow work with GWC but it might have been after 2.1.0. Wanna try 2.1.1?

Let me know how it goes either way.

Cheers,
Gabriel
 
 Regards,
 Ivan
 
 On Fri, Jul 1, 2011 at 4:33 PM, Gabriel Roldán grol...@opengeo.org wrote:
 
  On Fri, 2011-07-01 at 12:38 +0200, Ivan Grcic wrote:
 
  Hi all,
 
  im trying to enable direct integration, but for some reason im not
  able to get it to work.
  GWC works fine on its own, by using demo interface  cache is filling
  up inside gs/data/gwc dir (using gs/gwc/service/wms url)
 
  I have enabled GWC DI in the geoserver interface, and have my request
  using following parameters:
 
  BBOX
  -1265269.5079271,1193955.2141262,-1255485.5683079,1203739.1537454
  CRS EPSG:900913
  FORMAT  image/png
  HEIGHT  256
  REQUEST GetMap
  SERVICE WMS
  LAYERS mylayer
  STYLES  
  TILED   true
  TILESORIGIN -20037508.34,-20037508.34
  TRANSPARENT true
  VERSION 1.3.0
  WIDTH   256
 
  As you can see im using 900913, with default tile parameters (tile
  size and tile origin), but for some reason requests are not being
  cached.
  Am I missing something here? Any suggestions are welcomed.
 
  Use version 1.1.1,tilesorigin is not needed, it's just a geoserver vendor 
  parameter, you don't need it for WMS-C.
  And try the following:
  Go to the GWC generated demo page for your layer, and grab the URL of one 
  of the tiles (like in right click/copy URL).
  Then do curl -v tile url  /dev/null
  curl should tell one of the returned HTTTP response headers is 
  geowebcache-tile-index, like in:
 
  $ curl -v 
  http://dev.opengeo.org:8080/geoserver_gss/wms?LAYERS=tasmaniaFORMAT=image%2FpngSERVICE=WMSVERSION=1.1.1REQUEST=GetMapSTYLES=EXCEPTIONS=application%2Fvnd.ogc.se_inimageSRS=EPSG%3A900913BBOX=16280475.52625,-5322463.1528125,16593561.594063,-5009377.085WIDTH=256HEIGHT=256TILED=true;
/dev/null
  
   Server: Apache-Coyote/1.1
   ETag: 130e61b0195
   geowebcache-tile-index: [116, 47, 7]
   Cache-Control: no-cache
   Content-Type: image/png
  
 
  If there's no geowebcache-tile-index response header then something is 
  going wrong. But if you enabled direct WMS integration and used a tile URL 
  from the gwc demo page PLUS tiled=true, the request should be picked by the 
  gwc wms integration. If not, tell us more.
 
  Cheers,
  Gabriel
 
  Thanks!
 
  Regards,
  Ivan
 
  On Wed, Jun 29, 2011 at 5:46 PM, Chris Holmes chol...@opengeo.org wrote:
  
  
Also, im curious how GWC DI handles STYLES parameter, if they are
present in the request? (and TILED=true is present and SRS and tile
parameters are valid)
   
   
We made improvements so it would cache all Styles, not just the 
default.
 This was funded for GeoNode, which makes use of it.  I believe it will
make
a new tile set for each style that you have, which will be 
automatically
truncated if you change them.
  
   Very nice addition :) I  just see that Gabriel is just doing some
   patches for GWC integration for styles parameter (when style is
   deleted trough REST api)
I will test it and see how it goes.
  
  
   Ah right, that feature was actually on a branch until just now.  Glad it's
   in now.
  
  
   Thanks for this new features!
  
   Regards,
   Ivan
  
Chris
   
   
Thank you,
   
Regards,
Ivan
   
--
---
Ivan Grcic
GeoSolutions S.A.S.
Software Engineer
   
   
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
   
phone: +39 0584 962313
fax:  +39 0584 962313
   
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://twitter.com/geosolutions_it
http://www.youtube.com/user/GeoSolutionsIT
   
---
   
   
   
--
All of the data generated in your IT infrastructure is seriously
valuable.
Why? It contains a definitive record of application performance,
security
threats, fraudulent activity, and more. Splunk takes this data and
makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Re: [Geoserver-users] Seeding the cache of a secure layer

2011-06-22 Thread Gabriel Roldán
On Wed, 2011-06-22 at 11:40 -0700, Jamie Popkin wrote:
 Hello all.
 
 I've found that it's not possible to seed the cache of a secure layer.
 Even when properly authorized. The workaround is to make they layer
 temporarily public... Seed the cache Then securing the layer when
 it's done. Obviously this isn't ideal.
 
 
 Does anyone know why this is? I'm guessing the threads used to seed a
 cache run with a different permission set Yet not sure.
 Has anyone else run into this issue? 
What geoserver version are you using? I'm not completely sure but I
guess 2.1.0 and 2.1.1 (hopefully coming out this week) will suffer the
same defect, which is fixed on trunk. Sorry if it didn't make it to the
latest stable release.

 
 
 Thanks
 Jamie
 
 
 --
 Jamie Popkin
 Little Earth
 @jamiepopkin
 http://littleearth.ca
 
 
 
 
 --
 Simplify data backup and recovery for your virtual environment with vRanger.
 Installation's a snap, and flexible recovery options mean your data is safe,
 secure and there when you need it. Data protection magic?
 Nope - It's vRanger. Get your free trial download today.
 http://p.sf.net/sfu/quest-sfdev2dev
 ___ Geoserver-users mailing list 
 Geoserver-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geowebcache

2011-06-15 Thread Gabriel Roldán
On Wed, 2011-06-15 at 09:00 -0400, Julien Trépanier wrote:
 Hi all,
 
 First of all, sorry for my bad english! :)
 
 I would like to know if its possible to regenerate only tiled who have 
 changed. For exemple, if i add some rivers on the maps, it is possible 
 to generate only tiles in the area of the new rivers ?
 
 Actually geoserver erase all tiles if i changed one layer!

guess you're using an old version of geoserver? Previous versions
actually did that. Try 2.1.0, it should truncate tiles based on the
extents of the transaction affected area.

cheers,
Gabriel
 
 Thanks in advance for always great awnsers you give to users-list,
 
 J
 
 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver, GeoWebCacheDispatcher

2011-06-15 Thread Gabriel Roldán
On Wed, 2011-06-15 at 17:21 +0200, Micka wrote:
 In my OpenLayers configuration I have :
 
   // make OL compute scale according to WMS spec
   //OpenLayers.DOTS_PER_INCH = 25.4 / 0.28;
 
 Is it the problem for :
 
 2011-06-15 16:53:16,098 ERROR [geowebcache.GeoWebCacheDispatcher] -
 Requested horizontal resolution: 0.41655126953125005 , best match:
 0.48828125 exceeds 10% threshold. Perhaps the client is configured
 with an incorrect set of scales (resolutions),  or the DPI setting is
 off compared to the one in GWC ?
 http://172.17.100.10:8080/geoserver/gwc/service/wms

 
 ??
Well I'm not sure how an error message could be more descriptive than
that.
The exact meaning is that your WMS-C client is requesting images whose
bounds don't match the GWC configured gridset nor even by a 10%
tolerance.

My impression is you're perhaps trying to make the geoserver layer
preview generated page match the geowebcache layer, and that won't work
because the geoserver's layer preview uses it's own heuristics to set up
the layer and the gwc demo page makes it match the gridset (check the
difference between [1] and [2])

your best bet is to use the same resolutions and
OpenLayers.DOTS_PER_INCH than the gwc demo page generated for you.

Hope that helps,
Gabriel.

[1]
view-source:http://demo.opengeo.org/geoserver/wms?service=WMSversion=1.1.0request=GetMaplayers=bmworldstyles=bbox=-187.272,-187.272,187.272,187.272width=512height=512srs=EPSG:4326format=application/openlayers
[2]
view-source:http://demo.opengeo.org/geoserver/gwc/demo/bmworld?gridSet=EPSG:900913format=image/png


 
 Thx,
 
 
 
 On Wed, Jun 15, 2011 at 5:00 PM, Micka mickamus...@gmail.com wrote:
 Sorry, I made a mistake :
 
 
 On Wed, Jun 15, 2011 at 4:58 PM, Micka mickamus...@gmail.com
 wrote:
 
 Hello, I finally found the problem, I forgot to put
 /gwcConfiguration  at the end of the file.
 
 But now I got :
 
 2011-06-15 16:53:16,098 ERROR
 [geowebcache.GeoWebCacheDispatcher] - Requested
 horizontal resolution: 0.41655126953125005 , best
 match: 0.48828125 exceeds 10% threshold. Perhaps the
 client is configured  with an incorrect set of scales
 (resolutions),  or the DPI setting is off compared to
 the one in GWC ?
 http://172.17.100.10:8080/geoserver/gwc/service/wms
 
 I don't understand what does it mean ?
 
 
 I described my layer with that :
 
MAINLAYER  = new OpenLayers.Layer.WMS(
  \test\,
 \http://localhost:8080/geoserver/gwc/service/wms\;,
  {
 LAYERS: 'TOTO_TEST',
 format: 'image/png',
 tiled: true
  },{
 buffer: 0,
 displayOutsideMaxExtent:
 true,
 isBaseLayer: true,
 transitionEffect:
 'resize',
 visibility:false
  } 
  );
 
 It worked before with this configuration :
 
MAINLAYER  = new OpenLayers.Layer.WMS(
 
  \test\,
 \http://localhost:8080/geoserver/wms\;,
 
 
  {
 LAYERS: 'TOTO_RDC',
 format: 'image/png',
 tiled: true
  },{
 buffer: 0,
 displayOutsideMaxExtent:
 true,
 isBaseLayer: true,
 transitionEffect:
 'resize',
 visibility:false
  } 
  );
 
 Where I am Wrong ?
 
 
 Thx for the help !
 
 
 
 
 On Tue, Jun 14, 2011 at 4:44 PM, Micka
 mickamus...@gmail.com wrote:
 Hello,
 

Re: [Geoserver-users] Problem with WFS DescribeFeatureType

2011-06-13 Thread Gabriel Roldán
You're name attribute is being assumed to be the gml:name property from
the AbstractFeature super type.

Toggle Override GML Attributes in WFS configuration. Not sure whether
it has to be checked or unchecked to achieve what you're looking for.

Cheers,
Gabriel

On Sat, 2011-06-11 at 21:38 +1200, Tony Stewart wrote:
 There seems to be a problem with DescribeFeatureType in Geoserver 2.1.
 If the shapefile has an attribute ‘name’, that attribute is not
 returned in the response. If the attribute is ‘Name’ then it is
 returned.
 
  
 
 Tony
 
 
 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___ Geoserver-users mailing list 
 Geoserver-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Measure time geoserver spent processing

2011-06-13 Thread Gabriel Roldán
On Mon, 2011-06-13 at 17:40 +0200, Andrés Maneiro wrote:
 Hello devs,
 
 I'm getting ready a bunch of data in postgis to be published by 
 geoserver. In order to make geoserver responses to webbrowser petitions 
 quicker, I'm  polishing the data with the common suspects operations:
 
 - set the projection of data in postigs with the one geoserver asks for 
 commonly
 - simplifying geometries by scale
 - ...
 
 I'd like to have a method to measure quantitatively the effect of that 
 changes in geoserver processing time[1], to decide if going further or 
 is ok as it is. Some idea?
Use JMeter http://jakarta.apache.org/jmeter/
Run it from another machine in the same LAN if you can.
easiest is to first create a proxy in jmeter that records the requests
from the browser, configure the browser to use that proxy, access the
layer preview through that browser and do what you expect a user to do,
letting jmetter record the session. You can create a thread group in
jmeter and tell its proxy to record all the requests that match a given
mime type to go to that thread group. Beware with tiled requests the
number of generated requests is gonna be large. Be sure to configure it
to use http keep alive or you'll also be measuring HTTTP connect
latency.
Add an aggregate report listener as a sibling of the thread group, save
the jmeter project file, and run it after each improvement with the
number of threads you consider necessary.
How to do all of that properly is on the jmeter documentation.

hope that helps,
Gabriel

 
 best,
 amaneiro
 
 [1] geoserver processing time: I mean the time from a petition is done 
 until geoserver starts to deliver the results to webbrowser.
 
 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Turn off WMS GetFeatureInfo

2011-06-02 Thread Gabriel Roldán
On Thu, 2011-06-02 at 12:49 +0100, Tim Martin wrote:
 Hi Gabriel
 
 I have just grabbed the nightly build and tested it using a simple shapefile
 
 It works brilliantly
cool, thanks for testing so fast.
 
 I think its on the perfect page (publishing) and it is nice and simple to 
 implement
 
 I looked at the getcapabilities and it has changed the queryable from
  1 to 0 so not sure what Andrea found yesterday?
As explained on the jira, I think he was just wondering because there
were no GFI related changes in the patch, but that's because GFI was
already asking if the layers are queryable. It just didn't need to ask
the layer directly because of the level of indirection through the WMS
facade WMS.isQueryable(Layer(Group)Info), so no GFI code needed to
change.

Cheers,
Gabriel

 
 
 Great stuff
 
 
 -Original Message-
 From: Gabriel Roldan [mailto:grol...@openplans.org] On Behalf Of Gabriel 
 Roldán
 Sent: 02 June 2011 03:57
 To: Chris Holmes
 Cc: Tim Martin; Isabel Fleischer
 Subject: Re: [Geoserver-users] Turn off WMS GetFeatureInfo
 
 Hi Tim,
 the patches for the following issues are in for 2.1.x and 2.2.x:
 http://jira.codehaus.org/browse/GEOS-4500
 http://jira.codehaus.org/browse/GEOS-4501
 
 Cheers,
 Gabriel
 On Wed, 2011-06-01 at 13:52 -0400, Chris Holmes wrote:
  Gabriel can probably get to it pretty soon.  It's been on our queue to
  apply it for OS, but he got wrapped up in some other development - we
  were waiting for 2.1.0 release so 2.1.x branch would be cleared up for
  fixes after RC status.
  
  On Wed, Jun 1, 2011 at 1:51 PM, Chris Holmes chol...@opengeo.org
  wrote:
  There's a patch for this, but it hasn't been applied yet.
   See http://jira.codehaus.org/browse/GEOS-4501  Should be in
  2.1.1 release.
  
  
  On Wed, Jun 1, 2011 at 11:47 AM, Tim Martin
  tim.mar...@ordnancesurvey.co.uk wrote:
  
  
  Hi GS Users
  
   
  
  As standard any layer you deploy is queryable - as
  seen in the getcapabilities document
  
   
  
  layer queryable=1
  
   
  
  Is there a way to turn this off in the UI?
  
   
  
  There seems to be nothing in the documentation and
  have done the obligatory google search but found no
  answer.
  
   
  
  Any ideas
  
   
  
  Thanks
  
   
  
  Tim 
  
  
  This email is only intended for the person to whom it is 
  addressed and may contain confidential information. If you have received 
  this email in error, please notify the sender and delete this email which 
  must not be copied, distributed or disclosed to any other person.
  
  Unless stated otherwise, the contents of this email are 
  personal to the writer and do not represent the official view of Ordnance 
  Survey. Nor can any contract be formed on Ordnance Survey's behalf via 
  email. We reserve the right to monitor emails and attachments without prior 
  notice.
  
  Thank you for your cooperation.
  
  Ordnance Survey
  Adanac Drive
  Southampton SO16 0AS
  Tel: 08456 050505
  http://www.ordnancesurvey.co.uk
  
  
  
  
  --
  Simplify data backup and recovery for your virtual
  environment with vRanger.
  Installation's a snap, and flexible recovery options
  mean your data is safe,
  secure and there when you need it. Data protection
  magic?
  Nope - It's vRanger. Get your free trial download
  today.
  http://p.sf.net/sfu/quest-sfdev2dev
  ___
  Geoserver-users mailing list
  Geoserver-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/geoserver-users
  
  
  
 

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your

Re: [Geoserver-users] Restrict WMS Output formats

2011-06-01 Thread Gabriel Roldán
JIRA created: http://jira.codehaus.org/browse/GEOS-4592

Cheers,
Gabriel
On Wed, 2011-06-01 at 20:59 +0200, Andrea Aime wrote:
 On Wed, Jun 1, 2011 at 7:58 PM, Chris Holmes chol...@opengeo.org wrote:
  Weirdly I don't think there is a way to do that.  Seems like a common enough
  request, but I can't personally remember anyone else asking for it.  I can't
  even think of a clean hack to accomplish it, though maybe some else can (or
  knows a way to disable it properly).
 
 We have the machinery to disable an extension in the code (we have a 
 extension
 filter concept), but it's not exposed in any way through the
 configuration of UI.
 One would have to write a extension filter that black lists some output format
 based on configuration, the longer part would be, I guess, updating
 the configuration
 to hold a list of formats not to be exposed and writing the GUI for
 it, the filter
 itself should be trivial to write.
 
 Cheers
 Andrea
 
 

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Turn off WMS GetFeatureInfo

2011-06-01 Thread Gabriel Roldán
Hi Tim,

patch reviewed and applied to both trunk and 2.1.x. Check the comment on
the issue for links to the final patch.

Cheers,
Gabriel
On Wed, 2011-06-01 at 13:51 -0400, Chris Holmes wrote:
 There's a patch for this, but it hasn't been applied yet.
  See http://jira.codehaus.org/browse/GEOS-4501  Should be in 2.1.1
 release.
 
 On Wed, Jun 1, 2011 at 11:47 AM, Tim Martin
 tim.mar...@ordnancesurvey.co.uk wrote:
 Hi GS Users
 
  
 
 As standard any layer you deploy is queryable – as seen in the
 getcapabilities document
 
  
 
 layer queryable=”1”
 
  
 
 Is there a way to turn this off in the UI?
 
  
 
 There seems to be nothing in the documentation and have done
 the obligatory google search but found no answer.
 
  
 
 Any ideas
 
  
 
 Thanks
 
  
 
 Tim 
 
 
 This email is only intended for the person to whom it is addressed 
 and may contain confidential information. If you have received this email in 
 error, please notify the sender and delete this email which must not be 
 copied, distributed or disclosed to any other person.
 
 Unless stated otherwise, the contents of this email are personal to 
 the writer and do not represent the official view of Ordnance Survey. Nor can 
 any contract be formed on Ordnance Survey's behalf via email. We reserve the 
 right to monitor emails and attachments without prior notice.
 
 Thank you for your cooperation.
 
 Ordnance Survey
 Adanac Drive
 Southampton SO16 0AS
 Tel: 08456 050505
 http://www.ordnancesurvey.co.uk
 
 
 
 --
 Simplify data backup and recovery for your virtual environment
 with vRanger.
 Installation's a snap, and flexible recovery options mean your
 data is safe,
 secure and there when you need it. Data protection magic?
 Nope - It's vRanger. Get your free trial download today.
 http://p.sf.net/sfu/quest-sfdev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users
 
 
 --
 Simplify data backup and recovery for your virtual environment with vRanger. 
 Installation's a snap, and flexible recovery options mean your data is safe,
 secure and there when you need it. Data protection magic?
 Nope - It's vRanger. Get your free trial download today. 
 http://p.sf.net/sfu/quest-sfdev2dev
 ___ Geoserver-users mailing list 
 Geoserver-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoWebCache - jpeg tiles

2011-04-17 Thread Gabriel Roldán
Fix is in as per https://github.com/GeoWebCache/geowebcache/issues/43

basically the jpeg writer doesn't like JAI cropped images if the
JAI/JAI-imageio native extension is not installed for the JVM. In that
case we use the slower BufferedImage.getSubImage.
Just that now we know whether native jai is installed or not.

Cheers,
Gabriel.
On Sun, 2011-04-17 at 21:45 +0200, Arne Kepp wrote:
 @Gabriel: I haven't checked the code, but perhaps the JAI-exception for 
 JPEG has been removed?
 
 Ancient bug in JAI, we had long discussions about it in 2008 and 2009.
 
 -Arne
 
 
 On 4/14/11 10:33 PM, Gabriel Roldán wrote:
  Hi Charles,
 
  I will try and see, but could you be more specific about the kind of
  problem you're experiencing with the creation of jpeg tiles?
 
  Cheers,
  Gabriel.
  On Thu, 2011-04-14 at 15:49 -0400, Cacciato, Charles P - GS wrote:
  Hi List,
 
  Is there a problem creating jpeg tiles with the GeoWebCache that comes
  with Geoserver2.1 RC 4.
 
  I have not made changes to the web.xml or created a GeoWebCache.xml.
  My impression was that I did not need to edit/create those files
  because I was not changing any layers or gridsets.  Plus all the other
  tile formats seem to work “out of the box”.
 
  I am observing this problem both trying to seed the layers or in the
  GeoWebCache automatic demos.
 
 
 
  Thanks,
 
  Charlie
 
 
 
  ---
 
  Charles Cacciato
 
  ITT Corporation
 
  Geospatial Systems
 
  1447 St. Paul Street
  PO Box 60488
  Rochester, NY  14606-0488
  USA 585.269.5104 (Voice)
 
  585.269.6960 (Fax)
 
  585.465.2165 (Mobile)
  charles.cacci...@itt.com
 
 
 
 
 
 
  __
  This e-mail and any files transmitted with it may be proprietary and
  are intended solely for the use of the individual or entity to whom
  they are addressed. If you have received this e-mail in error please
  notify the sender.
  Please note that any views or opinions presented in this e-mail are
  solely those of the author and do not necessarily represent those of
  ITT Corporation. The recipient should check this e-mail and any
  attachments for the presence of viruses. ITT accepts no liability for
  any damage caused by any virus transmitted by this e-mail.
  --
  Benefiting from Server Virtualization: Beyond Initial Workload
  Consolidation -- Increasing the use of server virtualization is a top
  priority.Virtualization can reduce costs, simplify management, and improve
  application availability and disaster protection. Learn more about boosting
  the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
  ___ Geoserver-users mailing 
  list Geoserver-users@lists.sourceforge.net 
  https://lists.sourceforge.net/lists/listinfo/geoserver-users
 

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Measure geoserver petitions and performance: tools techniques

2011-04-17 Thread Gabriel Roldán
Some of the developers use YourKit Java Profiler [1] to profile
GeoServer.
If you check the project's home page [2] you'll see YourKit generously
donated some licenses for open source use to us.

I suggest you try it, the evaluation license imposes no usability
limitations that I know of.

Other than that there are a number of open source or just gratis java
profilers out there.


[1] http://www.yourkit.com/java/profiler/index.jsp
[2] http://geoserver.org/display/GEOS/Welcome
On Fri, 2011-04-15 at 10:10 +0200, Andrés Maneiro wrote:
 By the way, I've found two very useful articles on performance:
 http://docs.geoserver.org/2.0.0/user/production/index.html
 http://opengeo.org/publications/geoserver-production/#gp4
 
 Nevertheless, I'd like to follow a petition from the begining to the 
 end. Thoughts are appreciated.
 
 best,
 amaneiro
 
 On 14/04/11 11:25, Andrés Maneiro wrote:
  Hello,
 
  lately I found myself going into optimization issues of a geoportal I'm
  working on.
 
  For that, I found very useful some tools provided by chrome webbrowser
  in order to trace where the bottlenecks were. Just to realize that in my
  case, geoserver was the easy part to gain performance and minimize
  latency (the time from one petition in the browser is done until it
  receives the first response from the server). The tools:
  http://code.google.com/chrome/devtools/docs/timeline.html
 
  I am interested in knowing some tools/techniques to trace petitions
  *inside* geoserver and see what processes are taking more time (if
  reprojection, or generate map, etc ...).
 
  It would be very valuable hear from your experiences.
 
  Thanks in advance,
  amaneiro
 
 --
 Benefiting from Server Virtualization: Beyond Initial Workload 
 Consolidation -- Increasing the use of server virtualization is a top
 priority.Virtualization can reduce costs, simplify management, and improve 
 application availability and disaster protection. Learn more about boosting 
 the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoWebCache - jpeg tiles

2011-04-14 Thread Gabriel Roldán
Hi Charles,

I will try and see, but could you be more specific about the kind of
problem you're experiencing with the creation of jpeg tiles?

Cheers,
Gabriel.
On Thu, 2011-04-14 at 15:49 -0400, Cacciato, Charles P - GS wrote:
 Hi List,
 
 Is there a problem creating jpeg tiles with the GeoWebCache that comes
 with Geoserver2.1 RC 4.
 
 I have not made changes to the web.xml or created a GeoWebCache.xml.
 My impression was that I did not need to edit/create those files
 because I was not changing any layers or gridsets.  Plus all the other
 tile formats seem to work “out of the box”.
 
 I am observing this problem both trying to seed the layers or in the
 GeoWebCache automatic demos.
 
  
 
 Thanks,
 
 Charlie
 
  
 
 ---
 
 Charles Cacciato
 
 ITT Corporation
 
 Geospatial Systems
 
 1447 St. Paul Street
 PO Box 60488
 Rochester, NY  14606-0488
 USA 585.269.5104 (Voice)
 
 585.269.6960 (Fax)
 
 585.465.2165 (Mobile)
 charles.cacci...@itt.com
 
  
 
 
 
 
 __
 This e-mail and any files transmitted with it may be proprietary and
 are intended solely for the use of the individual or entity to whom
 they are addressed. If you have received this e-mail in error please
 notify the sender.
 Please note that any views or opinions presented in this e-mail are
 solely those of the author and do not necessarily represent those of
 ITT Corporation. The recipient should check this e-mail and any
 attachments for the presence of viruses. ITT accepts no liability for
 any damage caused by any virus transmitted by this e-mail.
 --
 Benefiting from Server Virtualization: Beyond Initial Workload 
 Consolidation -- Increasing the use of server virtualization is a top
 priority.Virtualization can reduce costs, simplify management, and improve 
 application availability and disaster protection. Learn more about boosting 
 the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
 ___ Geoserver-users mailing list 
 Geoserver-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] KML superoverlay with Google Earth

2011-04-14 Thread Gabriel Roldán
I really don't have the answer, not an expert with the KML service, but
have you tried setting that Features Per Regionated Tile field to some
value?
From your message I get you just leave it blank, which may mean GE is
trying to load the whole dataset at once and is running out of
resources?

2c
gabriel
On Thu, 2011-04-14 at 19:53 +0400, Gis Mage wrote:
 Hello list!
 
 
 I'm trying to serve a huge dataset of buildings with elevation values
 for a large city. 
 I've got a shapefile - about 60 megabytes of polygons with z-values
 and I'm serving it with geoserver and the client application is Google
 Earth.
 So the strategy is to make the client download this dataset partially
 on demand, depending on the bbox, which the user is currently at.
 I've read all the docs about serving kml with geoserver, so I guess I
 have to configure a superoverlay strategy for my published layer. 
 So in layer page of the gui I set Default Regionating Attribute to
 id and Default Regionating Method to external sorting and I also
 leave the field Features Per Regionated Tile blank because I really
 don't know the size of the tile and how many features should be there.
 Then I start Google Earth and add a network link like this:
 http://gissrv:8080/geoserver/wms/reflect?layers=uno:allhouseformat=application/vnd.google-earth.kml+xmlmode=superoverlay
 
 
 Then nothing happens - I wait for hours, zoom in and out, GE eats
 about 1GB of RAM, but I don't see any buildings - just an indicator
 that it's loading forever.
 When I try to serve a smaller amount of data - just one clipped
 district, it loads in one piece and shows up wonderful - all the
 buildings, extruded by their z-values with attributes in popups. 
 But I need to serve the whole dataset. 
 
 
 Am I doing something wrong here? Maybe I have to configure something
 else?
 Please help me out. I've tried lot's of variants and I can't even
 figure out is superoverlay strategy working or not.
 
 
 Thanks
 --
 Benefiting from Server Virtualization: Beyond Initial Workload 
 Consolidation -- Increasing the use of server virtualization is a top
 priority.Virtualization can reduce costs, simplify management, and improve 
 application availability and disaster protection. Learn more about boosting 
 the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
 ___ Geoserver-users mailing list 
 Geoserver-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geowebcache.xml for different EPSG

2011-04-13 Thread Gabriel Roldán
On Wed, 2011-04-13 at 08:45 +0200, torsten.d...@t-systems.com wrote:
 Hi Gabriel,
 
 do I understand this correctly: The layer in geowebcache.xml must have
  a different name. So how does GWC know for which layer the EPSG is
  set?
 
 I tried that, i.e., give the layer in geowebcache.xml a different name,
  but then Geoserver does not start at all after restarting tomcat or
  trying to start it manually. Could it be a problem with the xml? If I
  don't put the geowebcache.xml in data_dir/gwc I get the following
  error from catalina:
 
 ERROR [layer.TileLayerDispatcher] - Error reading service information
  from /appl/local/tomcat/5.5.25/webapps/Geoserver/../resources: Error
  parsing file
  /appl/local/tomcat/5.5.25/webapps/Geoserver/../resources/geowebcache.xml
is that the only error you get?
Is your geowebcache.xml valid? it looks to me like the example you sent
is missing a layers element enclosing the list of wmsLayer elements?
 
 This leaves me puzzling as it looks as if Geoserver is looking for the
  geowebcache.xml in a 'resources' folder which I don't have. I thought
  it had to be put in 'gwc'. Do you know where I should put it? 
don't worry about that message. It shouldn't be logged at ERROR level,
may be just info. Put geowebcache.xml in data dir/gwc/

 
 Is the configuration of a new EPSG generally supposed to work out with
  Geoserver 2.1 RC3?
yes it is supposed to. please check the doc is valid and lets go from
there

gabriel
  I would rather like to use a more stable version
  than switching to a nightly build as everything else (apart from the
  GWC) is running quite well. If it is not possible than I will give it
  a try and switch versions.
 
 Thanks a lot, cheers
 Torsten
 
 
 --
 T-Systems International GmbH 
 Torsten Drey
 Spezialist Geo-Consulting
 GeoServices/GIS 
 Vorgebirgsstraße 49 
 D-53119 Bonn 
   
 Fon: +49 (0)228 9841 3690
 Fax: +49 (0)228 9841 3990
 E-Mail: torsten.d...@t-systems.com
 
 Internet: http://www.t-systems.com 
 
 T-Systems International GmbH
 Aufsichtsrat: René Obermann (Vorsitzender)
 Geschäftsführung: Reinhard Clemens (Vorsitzender), Dr. Ferri Abolhassan,
 Olaf Heyden, Georg Pepping, Klaus Werner
 Handelsregister: Amtsgericht Frankfurt am Main HRB 55933
 Sitz der Gesellschaft: Frankfurt am Main
 WEEE-Reg.-Nr. DE87523644
 
 Notice: This transmittal and/or attachments may be privileged or 
 confidential. If you are not the intended recipient, you are hereby notified 
 that you have received this transmittal in error; any review, dissemination, 
 or copying is strictly prohibited. If you received this transmittal in error, 
 please notify us immediately by reply and immediately delete this message and 
 all its attachments. Thank you.
 
 -Ursprüngliche Nachricht-
 Von: Gabriel Roldan [mailto:grol...@openplans.org] Im Auftrag von Gabriel 
 Roldán
 Gesendet: Dienstag, 12. April 2011 17:43
 An: Drey, Torsten
 Cc: geoserver-users@lists.sourceforge.net
 Betreff: Re: [Geoserver-users] geowebcache.xml for different EPSG
 
 make sure you name the layer in geowebcache.xml different than the one in 
 GeoServer or it won't be found.
 
 OR: try the following with a 2.2-SNAPSHOT nightly build, define only the 
 gridset in geowebcache.xml, and then go and hand edit the file data
 dir/workspaces/workspace/data store/feature type/layer.xml and
 set the following metadata property:
 
   metadata
 entry key=GWC.gridSetsEPSG:4326,EPSG:900913,EPSG:32632/entry
   /metadata
 
 Sorry it is not yet possible to set that value through the user interface 
 yet. That kind of integration is work in progress, so it'd be great if you 
 can try that and tell if it worked as expected.
 
 Cheers,
 Gabriel
 On Tue, 2011-04-12 at 12:06 +0200, torsten.d...@t-systems.com wrote:
  Hi,
  
  I would like to use the integrated GeoWebCache with Geoserver but  
  failed so far in configuring the geowebcache.xml for a different EPSG  
  than the default ones. I would need to configure the geowebcache.xml  
  in such a way that also EPSG 32632, i.e. UTM Zone 32 N is supported.
   Here is what I did so far: - I set the data_dir in WEB-INF/web.xml as  
  I use Geoserver 2.1RC3 with Tomcat - I made a gwc-dir in the data_dir  
  and put the geowebcache.xml inside it (see below) - Restartet  
  Geoserver, but the new EPSG is not showing up. Catalina.out says that  
  the geowebcache.xml could not be found. Where do I have to put it?
  
  Would be great if someone could help or point me in the right direction.
  
  Thanks
  Torsten
  
  The geowebcache.xml looks like this:
  __
  _
  ?xml version=1.0 encoding=utf-8? gwcConfiguration 
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

  xsi:noNamespaceSchemaLocation=http://geowebcache.org/schema

Re: [Geoserver-users] Date comparisons with OGC filter and CQL filter

2011-04-12 Thread Gabriel Roldán
On Wed, 2011-04-13 at 10:10 +1000, andrew walsh wrote:
 Hi Gabriel,
 
 Sending the below message again for benefit of the list is it looks like it 
 bounced off the
 geoserver-users list as it was from my gmail and said 'awaiting moderator 
 approval':-
 
 Thanks for your reply.
 I am not so familiar the geoserver Java code workings and not in a position
 to debug/compile and submit a patch. However I would be happy to raise this
 issue on JIRA for the GeoTools ArcSDE plugin. Can't remember my login details
 for Jira but I will find out when I get back to the office and raise
 a ticket.
ok, sounds good.
 
 There were 2 other issues which I raised in my initial email on April 11 for 
 which I
 have not got any opinions yet, so comments please from
 anyone out there in the Geoserver community:
 
 1) the addition of a random 1/1000 sec value being added to the DATE
 when it comes back in GML or CSV from getFeature. To me this doesn't seem
 correct. That is if you have DATE like 2000-01-01 09:00:01 in
 Oracle then it should return a ISO8601 style TIMESTAMP
 like '2000-01-01T09:00:01.000' not e.g  '2000-01-01T09:00:01.067.
 What's the view on this behaviour, is this a bug worth
 reporting as well?
 
 2) With date comparison the operators PropertyIsGreaterThan () and
 PropertyIsLessThan () work OK but PropertyIsLessThanEqualTo (=) and
 PropertyIsGreaterThanEqualTo (=) do not work, that is the
 = and = filter had no effect and returned 'True'. It would be
 much better if this worked correctly as we frequently need an inclusive
 range of date/time.
may this be related to 1), like in it doesn't work because of that
little difference?
Can you check (somehow, I know almost nothing about oracle) the Oracle
logs and see what request is coming in, and how it should actually be?

Cheers,
Gabriel
 
 Thanks and Regards,
 
 Andrew 
 

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Date comparisons with OGC filter and CQL filter

2011-04-11 Thread Gabriel Roldán

 
 I also tried to implement date comparsion using the cql_filter and the 
 'AFTER' 
 operator
 as follows but this didn't work:
 
 http://server.metoc.gov.au:8080/geoserver/wfs?request=GetFeaturetypeName=TEST:TEST.BEACH_TEMPScql_Filter=LOCATION%3D%27Bilgola%27%20AND%20OBS_DATE_TIME%20AFTER%202011-01-01T00:01:00Zversion=1.1.0outputFormat=csv
 
 This gave back 0 results and the following error msg. in the geoserver.log:
 
 2011-04-11 13:39:31,083 WARN [data.ArcSDEQuery] - Error fetching row for 
 TEST.BEACH_TEMPS[
 Filter: [[ LOCATION = Bilgola ] AND [ OBS_DATE_TIME  Sat Jan 01 00:01:00 EST 
 2011 ]]
  where clause sent: (TEST.BEACH_TEMPS.LOCATION = 'Bilgola' AND 
 TEST.BEACH_TEMPS.OBS_DATE_TIME  'Sat Jan 01 00:01:00 EST 2011')
 geometry filter:Filter.INCLUDE
 org.geotools.arcsde.ArcSdeException: [SDE error -51][Error desc=DATABASE 
 LEVEL 
 ERROR OCCURRED.][Extended desc=
 ]
 
 Looks like Oracle was not liking the SQL sent to it.
Indeed it is not, and yeah it looks like a bug in the ArcSDE GeoTools
plugin. How should the where clause look like and what type is the
column?

Gabriel.
 
 Andrew Walsh
 
 
 
 
 --
 Xperia(TM) PLAY
 It's a major breakthrough. An authentic gaming
 smartphone on the nation's most reliable network.
 And it wants your games.
 http://p.sf.net/sfu/verizon-sfdev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Date comparisons with OGC filter and CQL filter

2011-04-11 Thread Gabriel Roldán
On Mon, 2011-04-11 at 20:29 +1000, Andrew Walsh wrote:
 Hi Gabriel,
 
 Had to reply to you from my gmail account and I couldn't reply from
 my work email for next few days. So this reply may not make it
 to the geoserver-users list as its from my gmail address
 which isn't registered with the users list. Anyway your reply
 to me should capture my response to the list.
 
 To answer your question the type of column is Oracle DATE.
 A WHERE clause should compare a date to a date and look like:
 
 WHERE TEST.BEACH_TEMPS.LOCATION = 'Bilgola' AND
 TEST.BEACH_TEMPS.OBS_DATE_TIME 
 to_date('2011-01-01 00:01:00','-MM-DD HH24:MI:SS')'
 
 Problem seems that it is comparing a date to a string like
  'Sat Jan 01 00:01:00 EST 2011'.
yup. I'm not sure if the ArcSDE Java API has something that abstract out
date/time handling from the underlying RDBMS details, or I should be
checking what the underlying RDBMS is and then format the where clause
appropriately. All that assuming what's getting down to the DataStore is
properly converted to the appropriate Java type, which I'm not sure
either.
In any case, would you be so kind of opening a JIRA issue for the
GeoTools ArcSDE plugin at [1]?
That way we could keep the discussion tied to the issue. Are you in
possition of debugging and contributing a patch back? I can't say for
sure when I'll have the spare time to dedicate to it but would be glad
of reviewing a patch.

Cheers,
Gabriel
 
 Andrew
 
 On 4/11/11, Gabriel Roldán grol...@opengeo.org wrote:
 
 
  I also tried to implement date comparsion using the cql_filter and the
  'AFTER'
  operator
  as follows but this didn't work:
 
  http://server.metoc.gov.au:8080/geoserver/wfs?request=GetFeaturetypeName=TEST:TEST.BEACH_TEMPScql_Filter=LOCATION%3D%27Bilgola%27%20AND%20OBS_DATE_TIME%20AFTER%202011-01-01T00:01:00Zversion=1.1.0outputFormat=csv
 
  This gave back 0 results and the following error msg. in the
  geoserver.log:
 
  2011-04-11 13:39:31,083 WARN [data.ArcSDEQuery] - Error fetching row for
  TEST.BEACH_TEMPS[
  Filter: [[ LOCATION = Bilgola ] AND [ OBS_DATE_TIME  Sat Jan 01 00:01:00
  EST
  2011 ]]
   where clause sent: (TEST.BEACH_TEMPS.LOCATION = 'Bilgola' AND
  TEST.BEACH_TEMPS.OBS_DATE_TIME  'Sat Jan 01 00:01:00 EST 2011')
  geometry filter:Filter.INCLUDE
  org.geotools.arcsde.ArcSdeException: [SDE error -51][Error desc=DATABASE
  LEVEL
  ERROR OCCURRED.][Extended desc=
  ]
 
  Looks like Oracle was not liking the SQL sent to it.
  Indeed it is not, and yeah it looks like a bug in the ArcSDE GeoTools
  plugin. How should the where clause look like and what type is the
  column?
 
  Gabriel.
 
  Andrew Walsh
 
 
 
 
  --
  Xperia(TM) PLAY
  It's a major breakthrough. An authentic gaming
  smartphone on the nation's most reliable network.
  And it wants your games.
  http://p.sf.net/sfu/verizon-sfdev
  ___
  Geoserver-users mailing list
  Geoserver-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/geoserver-users
 
  --
  Gabriel Roldan
  grol...@opengeo.org
  Expert service straight from the developers
 
 

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geoserver is creating thousands of web sessions

2011-04-09 Thread Gabriel Roldán
On Tue, 2011-04-05 at 23:18 +0200, Andrea Aime wrote:
 On Tue, Apr 5, 2011 at 12:40 PM, Robert Holland robert.holl...@gmx.com 
 wrote:
 
   Hi all,
 
   I am using Geoserver 2.1 RC3 and it seems to be creating hundreds of web 
  sessions. The problem is that many of these sessions are related to the 
  same user. Sometimes there are thousands of sessions and it affects the 
  performance in a noticeably way. We are accessing Geoserver by using a web 
  client based on Openlayers developed by us. Somebody else is experiencing 
  similar problems?
 
   I am monitoring the number of sessions by using the Tomcat Manager 
  Application (Tomcat 6).
 
 This sounds like a serious issue. So far we've tried to do most of
 what we do without creating
 a session, knowing well it's an expensive operation. As far as I know
 the only thing that creates
 sessions by design is a interactive login the web ui itself, but the
 OGC services code should not do that.
 
 Unfortunately from time to time code creeps in that tries to access or
 use the session, thus creating
 a session per request.
 Can you tell us if you have specific plugins installed?
 Did you notice what kind of operation is creating the sessions?

I am far from an expert in the geoserver security system, but this
caught my attention. In main's applicationSecurityContext we have the
following path to security chain mapping :

/wcs/**=httpSessionContextIntegrationFilterWithASCFalse,basicProcessingFilter,anonymousProcessingFilter,owsExceptionTranslationFilter,filterInvocationInterceptor
/rest/**=httpSessionContextIntegrationFilterWithASCFalse,basicProcessingFilter,anonymousProcessingFilter,owsExceptionTranslationFilter,restFilterInvocationInterceptor
/gwc/rest/web/**=anonymousProcessingFilter,consoleExceptionTranslationFilter,filterInvocationInterceptor
/gwc/rest/**=httpSessionContextIntegrationFilterWithASCFalse,basicProcessingFilter,anonymousProcessingFilter,owsExceptionTranslationFilter,restFilterInvocationInterceptor
/**=httpSessionContextIntegrationFilterWithASCTrue,logoutFilter,authenticationProcessingFilter,securityContextHolderAwareRequestFilter,rememberMeProcessingFilter,anonymousProcessingFilter,consoleExceptionTranslationFilter,filterInvocationInterceptor

My read is that anything that's not in the above paths (usual services
and gwc/rest) maps to httpSessionContextIntegrationFilterWithASCTrue
(i.e: httpSessionContextIntegration With Auto Session Create == True)

That's ok for /web/**, but does that also mean that /gwc/service/wms is
creating a session per request?

If so, and pardon if I got it totally wrong, wouldn't it be better to
default to AutoSessionCreate == false and explicitly tell which paths
map to ASC==true? like in for /web/**, not sure what else.

Cheers,
Gabriel
 
 Cheers
 Andrea
 

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Possibly WMS bug

2011-04-05 Thread Gabriel Roldán
Well, afaict WMS 1.3 is doing the right thing, and 1.1.1 getcaps is
simply assuming layer groups are not queryable, though if you actually
issue a GetFeatureInfo against a layer group it does work.

WMS 1.3 getcaps is setting queryable to 1 only if all the layers in the
layer group are queryable, otherwise it sets it to zero.

Checking against queryable to determine if a layer is made up of a
LayerGroup seems not like a steady way of doing so, and I don't think
there's any in the getcaps doc that guarantees you it won't break some
time.

For the sake of another hack, may be you can try using a name prefix for
layer groups or so. At least that way it'd be totally under your
control?

Cheers,
Gabriel

On Tue, 2011-04-05 at 14:52 +0200, Zsolt Sandor wrote:
 Gents,
 
 I found a difference in WMS 1.3.0 and 1.1.0 using geoserver.
 
 My query was:
 
 http://localhost:8080/geoserver/wms?service=WMSversion=1.3.0request=getcapabilities
 
 and
 
 http://localhost:8080/geoserver/wms?service=WMSversion=1.1.0request=getcapabilities
 
 For layer groups using wms 1.1 geoserver sends back queryable=0
 while using wms 1.3 it sends back queryable=1.
 
 I used queryable=0 to decide, whether a group is a layer group, or not.
 
 I use the latest geoserver 2.1-RC3 on Windows.
 
 Can someone please double check it?
 
 Thanks,
 
  Zsolti
 
 --
 Xperia(TM) PLAY
 It's a major breakthrough. An authentic gaming
 smartphone on the nation's most reliable network.
 And it wants your games.
 http://p.sf.net/sfu/verizon-sfdev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoWebCache 1.2.5 released

2011-04-02 Thread Gabriel Roldán
Sorry for the cross-posting.

GeoWebCache 1.2.5 Released
-- 

We're proud to announce the release of GeoWebCache 1.2.5, available for
download at http://sourceforge.net/projects/geowebcache. 
This release comes with a number of bug fixes and improvements (check
the full list bellow), remarkably:

- Added an enabled property to the layer configuration XML schema, so
that it's possible to keep a layer from being listed in the capabilities
document or accessed through any of the provided service interfaces, but
still being able of seeding it either through the web or the REST
interfaces.
- New embedded, high performance storage mechanism for Disk Quota
statistics based on the Berkeley DB JE no-SQL database engine.
- Possibility to define a GWC_DISKQUOTA_DISABLED=true environment
variable to disable the usage of the disk quota module. Useful for load
balanced deployments for the same reasons you need to disable the
meta-store. This is a work around until clustering is supported for
the disk quota storage.
- Improved DiskQuota documentation
http://geowebcache.org/docs/current/configuration/diskquotas.html
- REST API to configure the global disk quota settings
http://geowebcache.org/docs/current/rest/diskquota.html
- Implemented a CQL_FILTER parameter extension for the Google Maps
service interface
- Fixed the computation of estimated and remaining seeding time and
number of tiles to process reported by the web interface
- Improved the stability of the system by avoiding the unnecessary load
of existing tiles into memory when re-seeding
- Seeding and truncating with parameter filters (i.e. for multiple
styles or other WMS parameters)
- Failure tolerance control for seeding:
http://geowebcache.org/docs/current/production/index.html#seeding-and-truncating-the-cache

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers
--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] SLD reprojection issue

2011-03-22 Thread Gabriel Roldán
I'm not sure why, but usual suspects are the gml being encoded in a
mixin of GML2 and GML3 formats and confusing the parser, or GeoServer
not reprojecting to native crs.


On Tue, 2011-03-22 at 10:43 +0100, Bart van den Eijnden (OSGIS) wrote:
 Hi list,
 
 does anyone have an idea why the following request (an SLD with a BBOX
 filter in EPSG:900913, probably native dataset in EPSG:4326) does not work
 (empty image whereas selection expected)? It works fine when using a
 similar BBOX filter in the native projection of the dataset (EPSG:4326).
 
 The SLD used is:
 sld:StyledLayerDescriptor xmlns:sld=http://www.opengis.net/sld;
 version=1.0.0 xsi:schemaLocation=http://www.opengis.net/sld
 http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns:ogc=http://www.opengis.net/ogc;
 xmlns:gml=http://www.opengis.net/gml;sld:NamedLayersld:Nametopp:tasmania_water_bodies/sld:Namesld:UserStylesld:Namedefault/sld:Namesld:FeatureTypeStylesld:Ruleogc:Filter
 xmlns:ogc=http://www.opengis.net/ogc;ogc:BBOXogc:PropertyNamethe_geom/ogc:PropertyNamegml:Box
 xmlns:gml=http://www.opengis.net/gml;
 srsName=EPSG:900913gml:coordinates decimal=. cs=, ts=
 16237781.240227,-5319824.9118939
 16308714.802466,-5247668.3572028/gml:coordinates/gml:Box/ogc:BBOX/ogc:Filtersld:PolygonSymbolizersld:Fillsld:CssParameter
 name=fill#FF/sld:CssParameter/sld:Fill/sld:PolygonSymbolizer/sld:Rule/sld:FeatureTypeStyle/sld:UserStyle/sld:NamedLayer/sld:StyledLayerDescriptor
 
 Full GetMap url:
 http://demo.opengeo.org/geoserver/wms?LAYERS=topp%3Atasmania_water_bodiesFORMAT=image%2FgifTRANSPARENT=TRUESERVICE=WMSVERSION=1.1.1REQUEST=GetMapSTYLES=EXCEPTIONS=application%2Fvnd.ogc.se_inimageSRS=EPSG%3A900913SLD_BODY=%3Csld%3AStyledLayerDescriptor%20xmlns%3Asld%3D%22http%3A%2F%2Fwww.opengis.net%2Fsld%22%20version%3D%221.0.0%22%20xsi%3AschemaLocation%3D%22http%3A%2F%2Fwww.opengis.net%2Fsld%20http%3A%2F%2Fschemas.opengis.net%2Fsld%2F1.0.0%2FStyledLayerDescriptor.xsd%22%20xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%20xmlns%3Agml%3D%22http%3A%2F%2Fwww.opengis.net%2Fgml%22%3E%3Csld%3ANamedLayer%3E%3Csld%3AName%3Etopp%3Atasmania_water_bodies%3C%2Fsld%3AName%3E%3Csld%3AUserStyle%3E%3Csld%3AName%3Edefault%3C%2Fsld%3AName%3E%3Csld%3AFeatureTypeStyle%3E%3Csld%3ARule%3E%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%3E%3Cogc%3ABBOX%3E%3Cogc%3APropertyName%3Ethe_geom%3C%2Fogc%3APropertyName%3E%3Cgml%3ABox%20xmlns%3Agml%3D%22http%3A%2F%2Fwww.opengis.net%2Fgml%22%20srsName%3D%22EPSG%3A900913%22%3E%3Cgml%3Acoordinates%20decimal%3D%22.%22%20cs%3D%22%2C%22%20ts%3D%22%20%22%3E16237781.240227%2C-5319824.9118939%2016308714.802466%2C-5247668.3572028%3C%2Fgml%3Acoordinates%3E%3C%2Fgml%3ABox%3E%3C%2Fogc%3ABBOX%3E%3C%2Fogc%3AFilter%3E%3Csld%3APolygonSymbolizer%3E%3Csld%3AFill%3E%3Csld%3ACssParameter%20name%3D%22fill%22%3E%23FF%3C%2Fsld%3ACssParameter%3E%3C%2Fsld%3AFill%3E%3C%2Fsld%3APolygonSymbolizer%3E%3C%2Fsld%3ARule%3E%3C%2Fsld%3AFeatureTypeStyle%3E%3C%2Fsld%3AUserStyle%3E%3C%2Fsld%3ANamedLayer%3E%3C%2Fsld%3AStyledLayerDescriptor%3EBBOX=16280475.86625,-5322462.8128125,16593561.934062,-5009376.745WIDTH=256HEIGHT=256
 
 TIA.
 
 Best regards,
 Bart
 
 
 --
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software 
 be a part of the solution? Download the Intel(R) Manageability Checker 
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ArcSDE 10 jar files location and SRS problems

2011-03-16 Thread Gabriel Roldán
On Wed, 2011-03-16 at 13:03 +0100, mig...@kadme.com wrote:
 
 Hi guys, 
 
 The needed jar files for ArcGIS10 can be found in this folder: 
 
 C:\programs Files (x86)\Arcgis\Server 10.0\java\lib 
 
 or in in your arcgis server folder if your system is not a windows 64 bit 
 version :) 
 
 I will be very happy if someone can help me with the SRS problem, since
  when I try to load a layer the SRS came as UNKNOWN and no matter if I
  changer it manually to match the wkt from Arcsde it will not work.  
If you know what projection your layer is just set the epsg code in the
layer's declared SRS field and select force declared as projection
policy.

Cheers,
Gabriel
 
 
 
 
 --
 Colocation vs. Managed Hosting
 A question and answer guide to determining the best fit
 for your organization - today and in the future.
 http://p.sf.net/sfu/internap-sfd2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [Geoserver-devel] Transparency Issue?

2011-02-08 Thread Gabriel Roldán
Moving to geoserver-users.

Are you requesting the two images separately or as a single image?
if separate images the vector one should be opaque if you tell it to.
If the two layers are overlaid in a single image then you're getting the
correct behaviour.

Gabriel
On Tue, 2011-02-08 at 19:43 +0530, Steve Way wrote:
 Hi ,
 
  
 
 Can anyone tell me if they are experiencing any issues with the
 transparency in GS-RC1?
 
  
 
 It seems that the “White” in a vector layer, still displays data from
 another layer (for example a raster) that is underneath it, regardless
 if TRANSPARENT=TRUE or FALSE.
 
  
 
 Could this be the default behaviour for GIF and PNG if the polygon
 does not have a fill associated in the corresponding SLD?
 
  
 
 Thanks,
 
 Steve
 
 
 
 
 __
 DISCLAIMER:
 
 This email may contain confidential information and is intended only
 for the use of the specific individual(s) to which it is addressed. If
 you are not the intended recipient of this email, you are hereby
 notified that any unauthorized use, dissemination or copying of this
 email or the information contained in it or attached to it is strictly
 prohibited. If you received this message in error, please immediately
 notify the sender at Infotech or mail.ad...@infotech-enterprises.com
 and delete the original message.
 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___ Geoserver-devel mailing list 
 geoserver-de...@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] SDE Rasters: Not rendering aerial photo

2011-02-08 Thread Gabriel Roldán
I see no error on the logs, which I supposed there would be. When you
say they show in open layers as a pink block you mean from GeoServer's
Layer Preview page or GWC?
Do you see any error in the logs when you make a GetMap request?

On Tue, 2011-02-08 at 12:17 -0400, Ivan Santiago wrote:
 thanks:
 1. if they're three or four band, 8 bit per band rasters they should
 display ok, so it seems there's a problem.
 
 Do these rasters need a sld (symbology)?
should not need anything else than the default raster.sld in
geoserver.

 
 2. Make sure the rasters in arcsde have pyramids and statistics built.
 Afaik you need to do that by hand with the sde_raster command.
 
 These rasters have stats and pyramids. (done by sde command line)
 
 3. If that's already ok, then set the geoserver logging level to
 GEOTOOLS_DEVELOPER, try to configure one of such layers and to access
 it, and check the data dir/logs/geoserver.log file for any error.
 Sending back the contents of the log will help to diagnose the issue.
 
 changed to Developer.  I'm sending the log as a zip file.
 
 4. And also specify which version you're running of geoserver, arcsde, and
 backend database brand and version. And which ArcSDE ESRI Java API jars
 you've put in WEB-INF/lib.
 
 GeoServer 2.1-beta1
 arcsde 9.2+ vector data store
 arscde Raster
 
What database?

Cheers,
Gabriel


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Tomcat GWC = 100% CPU

2011-02-04 Thread Gabriel Roldán
It could be the metastore hungry of RAM. But I can't tell for sure.
Try disabling the metastore adding the following to your web.xml:
context-param
  param-nameGWC_METASTORE_DISABLED/param-name
  param-valuetrue/param-value
/context-param

And how much heap memory are you running geoserver with? (like in for the -Xmx 
JVM parameter).
If running with defaults it's easy to get short of memory. If that's the case 
try -Xmx512m at least. And check if it's the metastore disabling it as 
explained above.

Gabriel


On Fri, 2011-02-04 at 18:38 +0100, Wolfgang Wasserburger wrote:
 Hello all there out,
 
  
 
 we seeded some millions of tiles with gwc and set the expiration to
 -2. Now GWC seems to serve them well, but the CPU is running with 100%
 all the time. Does somebody know, what tomcat does with all this
 power? Is this the garbage collector? Can this be limited in some way?
 Can one help it to do its job in a better way? Should special settings
 being added?
 
 Hope for any help
 
  
 
 Greetings from Vienna
 
  
 
 Wolfgang
 
  
 
  
 
 
 --
 The modern datacenter depends on network connectivity to access resources
 and provide services. The best practices for maximizing a physical server's
 connectivity to a physical network are well understood - see how these
 rules translate into the virtual world? 
 http://p.sf.net/sfu/oracle-sfdevnlfb
 ___ Geoserver-users mailing list 
 Geoserver-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Support for SDE 10

2011-01-25 Thread Gabriel Roldán
It should be already supported on latest versions (2.1-RC1). Are you
having problems with it?

Gabriel.
On Tue, 2011-01-25 at 11:07 -0400, Ivan Santiago wrote:
 Hello:
 Is there any plan to support ArcSDE v10 in Geoserver?
 
 ---
 Iván Santiago
 GIS Specialist
 Information Technologies
 Office of Management and Budget
 787.977.9200 x 1230
 Calle Cruz 254
 PO Box 9023228
 San Juan, PR 00902-3228
 -66°04'00.33,18°26'55.78(NAD83)
 
 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
 February 28th, so secure your free ArcSight Logger TODAY! 
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Support for SDE 10

2011-01-25 Thread Gabriel Roldán
Just copy the URL that opens when you click that link in the layer
preview panel and remove the maxFeatures=50 parameter from it, then 
issue it from your browser or through curl.

it should be easy anyway:
curl
http://localhost:8080/geoserver/wfs?request=GetFeaturetypeName=topp:statesoutputFormat=SHAPE-ZIP;
  states.zip

cheers,
Gabriel

On Tue, 2011-01-25 at 11:43 -0400, Ivan Santiago wrote:
 Gabriel:
 
 Do you know how can I get rid of the 50 records limitation when exporting 
 layers to shapefile or any other WFS service request? (at the layer preview 
 panel)
 
 ---
 Iván Santiago
 GIS Specialist
 Information Technologies
 Office of Management and Budget
 787.977.9200 x 1230
 Calle Cruz 254
 PO Box 9023228
 San Juan, PR 00902-3228
 -66°04’00.33”,18°26’55.78”(NAD83)
 et post malam segetem segendum est.
 «Incluso después de una mala cosecha, es preciso sembrar», Séneca.
 
 
 
 -Original Message-
 From: Gabriel Roldan [mailto:grol...@openplans.org] On Behalf Of Gabriel 
 Roldán
 Sent: Tuesday, January 25, 2011 11:35 AM
 To: Ivan Santiago
 Cc: Geoserver-users
 Subject: Re: [Geoserver-users] Support for SDE 10
 
 It should be already supported on latest versions (2.1-RC1). Are you
 having problems with it?
 
 Gabriel.
 On Tue, 2011-01-25 at 11:07 -0400, Ivan Santiago wrote:
  Hello:
  Is there any plan to support ArcSDE v10 in Geoserver?
  
  ---
  Iván Santiago
  GIS Specialist
  Information Technologies
  Office of Management and Budget
  787.977.9200 x 1230
  Calle Cruz 254
  PO Box 9023228
  San Juan, PR 00902-3228
  -66°04'00.33,18°26'55.78(NAD83)
  
  --
  Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
  Finally, a world-class log management solution at an even better price-free!
  Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
  February 28th, so secure your free ArcSight Logger TODAY! 
  http://p.sf.net/sfu/arcsight-sfd2d
  ___
  Geoserver-users mailing list
  Geoserver-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/geoserver-users
 

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] color map for a vector layer

2011-01-23 Thread Gabriel Roldán
Hello,

it looks like you want something like what the AcidMaps[1] project can
do: islolines, heatmaps, voronoi.

You may want to contact Fabio Panettieri (cc'ed) and check whether
there're plans to integrate with geoserver, or how can you use it, if
that fits your needs.

[1]http://acidmaps.xoomcode.com/


On Sun, 2011-01-23 at 12:39 +0100, Andrea Aime wrote:
 On Sat, Jan 22, 2011 at 8:49 PM, Robert Holland robert.holl...@gmx.com 
 wrote:
   Hi,
 
   I am using PointSymbolizer to make a color map from a layer that is 
  composed of a set of points (the distance between two points is 250m). It 
  works fine but I am not happy with the resulting image because it is 
  discrete (and looks like too pixeled). I would like to get an image similar 
  to those achieved with RasterSymbolizer. The point is that I cannot 
  register this layer as Raster because each point has associated a set of 
  data fields, which can be accessed with WFS.
 
   - Is it possible to get a continuous image by using SLD?
 
 Not that I know of
 
   - In other case, How could I relate data fields to the points of a raster 
  image?
 
 It seems to me what you want is 2d interpolation. There is no way to do that
 in SLD at the moment, though I'm working on an extension that could make it
 possible if someone writes an efficient on the fly interpolation algorithm, 
 see:
 http://docs.codehaus.org/display/GEOTOOLS/Rendering+transformations
 
 Now, the fastest interpolation algorithm I know of is IDW:
 http://docs.codehaus.org/display/GEOTOOLS/Rendering+transformations
 
 Nevertheless, the trivial implementations are going to be quite expensive,
 making an efficient one would require some interesting work in spatial
 indexing as well
 (to quickly find the n nearest points to a given position)
 
 Sounds like a nice research project, but it would likely require some days
 of work (e.g., it's not not something that can fit in spare time).
 
 
 Cheers
 Andrea
 

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Change WMS SLD Through OpenLayers For Cached Layers

2011-01-21 Thread Gabriel Roldán
Just chiming in to add to Joshua's excellent explanations that you
(Joshua) might be interested in the new cache disk quota
functionality[1], as you mention certain concern about the cache growing
unbounded. Fear no more! set a cache disk quota and choose your
expiration policy :).

Cheers,
Gabriel
[1]
http://docs.geoserver.org/stable/en/user/webadmin/server/geowebcache.html

PS: the writer of this message thoroughly warns you that despite de
marketing, the functionality mentioned could well be considered beta
quality... but what couldn't? (and that a couple mistakes in the
documentation above are going to get fixed asap)

On Fri, 2011-01-21 at 17:37 -0500, Joshua M. Thompson wrote:
 On Fri, Jan 21, 2011 at 4:32 PM, IT Intern itinter...@gmail.com wrote:
  GWC *can* be set up to cache multiple versions
  of a layer based on the values in the STYLES= (or any other) wms
  parameter, but that won't work if you are using truly dynamic styles;
  for example if you let the user choose arbitrarily style parameters on
  the client side and build an SLD from that.
 
  How come?  What I mean to ask is that even if the user does pick the SLD and
  it is built on the fly, wouldn't that SLD still have to be set-up in the
  same format as that read from the file?
 
 It's because GWC only knows how to do this caching by the actual WMS
 parameters. In this case the parameter is 'SLD' and its value is the
 URL to an SLD file. GWC won't actually retrieve and interpret the
 contents of that file though.
 
 If you can make your dynamic SLD always have a unique filename based
 on the file contents (perhaps using a SHA or MD5 hash of the contents
 as the filename) you could possibly make it work like you want. You
 would think this through carefully though because if you have a lot of
 varying styles being used you could start to fill your cache with
 stuff that is never used again, and if you have cache expiration set
 up it's possible that you might start pushing out things you WANT to
 save.
 
 I've generally found that caching is best for things like base maps
 that never change. Also, due to complications making labels work well
 with tiles it's usually best to not cache layers that have labels in
 them, unless you carefully place your labels. When I wrote LL-MAP we
 ended up caching the actual base maps, but the overlays with country
 borders  labels are done as a regular WMS layer. We also don't cache
 or tile user-generated maps for similar reasons (plus, those maps
 usually are usually very simple, and not worth the effort of making
 them work with the cache.)
 
 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
 February 28th, so secure your free ArcSight Logger TODAY! 
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] layer preview error in geo server

2010-12-24 Thread Gabriel Roldán
Is your layer from PostGIS?
it looks like a data error:
http://www.postgis.org/pipermail/postgis-devel/2010-February/008673.html
http://www.mail-archive.com/postgis-users@postgis.refractions.net/msg09100.html

On Fri, 2010-12-24 at 18:37 +0530, Jaishankar Madamshetty wrote:
 Hello All,
 
  
 
 On clicking the layer preview (open layers) in geo server admin page,
 I am getting the error. Please see the attached screenshot. Please can
 anybody help me on this?
 
  
 
 Thanks,
 
 Jaishankar
 
 
 
 
 __
 DISCLAIMER:
 
 This email may contain confidential information and is intended only
 for the use of the specific individual(s) to which it is addressed. If
 you are not the intended recipient of this email, you are hereby
 notified that any unauthorized use, dissemination or copying of this
 email or the information contained in it or attached to it is strictly
 prohibited. If you received this message in error, please immediately
 notify the sender at Infotech or mail.ad...@infotech-enterprises.com
 and delete the original message.
 --
 Learn how Oracle Real Application Clusters (RAC) One Node allows customers
 to consolidate database storage, standardize their database environment, and, 
 should the need arise, upgrade to a full multi-node Oracle RAC database 
 without downtime or disruption
 http://p.sf.net/sfu/oracle-sfdevnl
 ___ Geoserver-users mailing list 
 Geoserver-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Not able to get the WFS - Get Feature Request results

2010-12-23 Thread Gabriel Roldán
The srsName attribute in your geometry does not address an EPSG code at
all: srsName=http://www.opengis.net/gml/srs/epsg.xml;

use srsName=urn:x-ogc:def:crs:EPSG:4326 instead, where 4326 is the
actual EPSG code for your coordinate reference system.


On Thu, 2010-12-23 at 13:16 +0530, Dharmendra Sonawane wrote:
 
 Hi list, 
 
 Recently I have installed GeoServer-2.0.2 on Solaris server and trying
 to get the results of the WFS call, but getting following error. 
 WARN [geoserver.ows] - Unable to parse filter: ogc:Filter
 xmlns:ogc=http://ogc.org;
 xmlns:gml=http://www.opengis.net/gml;ogc:Intersectsogc:PropertyNameGEOLOC/ogc:PropertyNamegml:Point
  
 srsName=http://www.opengis.net/gml/srs/epsg.xml;gml:coordinates27.391153,-26.351936/gml:coordinates/gml:Point/ogc:Intersects/ogc:Filter
 java.lang.RuntimeException: Parsing failed for Point:
 org.opengis.referencing.NoSuchAuthorityCodeException: Illegal
 argument: code=EPSG.XML.
 at org.geotools.xml.impl.ParseExecutor.visit(ParseExecutor.java:158)
 at org.geotools.xml.impl.BindingWalker
 $BindingExecutionChain.execute(BindingWalker.java:215)
 at org.geotools.xml.impl.BindingWalker.walk(BindingWalker.java:181)
 at
 org.geotools.xml.impl.ElementHandlerImpl.endElement(ElementHandlerImpl.java:222)
 
 
 I am able to execute the WFS request in IE from my local machine and
 can get the output in GML format. 
 Please let me know what needs to get the WFS results from my Geoserver
 running on Solaris. 
 Thanks in advance, 
 
 Regards, 
 Dharmendra
 =-=-=
 Notice: The information contained in this e-mail
 message and/or attachments to it may contain 
 confidential or privileged information. If you are 
 not the intended recipient, any dissemination, use, 
 review, distribution, printing or copying of the 
 information contained in this e-mail message 
 and/or attachments to it are strictly prohibited. If 
 you have received this communication in error, 
 please notify us by reply e-mail or telephone and 
 immediately and permanently delete the message 
 and any attachments. Thank you
 
 
 --
 Learn how Oracle Real Application Clusters (RAC) One Node allows customers
 to consolidate database storage, standardize their database environment, and, 
 should the need arise, upgrade to a full multi-node Oracle RAC database 
 without downtime or disruption
 http://p.sf.net/sfu/oracle-sfdevnl
 ___ Geoserver-users mailing list 
 Geoserver-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver 2.X and ArcSDE 8.3

2010-12-08 Thread Gabriel Roldán
Hi Gianni,

what esri jars version are you using?
If you have access to them I would try using the jpe and jsde jars from
version 9.3. Note I never tried that, but have seen newer jar versions
working ok with older database versions. Of course that's not what ESRI
recommends nor I can recommend it. Just suggesting it may be worth a try
(over a non production instance).

Other than that, you're either stuck to geoserver 1.7.x OR, marvels of
open source, you can contribute a patch to the geotools arcsde module
for it to work with 8.3, or rather find a company that makes the work
for you. The geoserver documentation has a list of companied providing
commercial support.

Cheers,
Gabriel

On Tue, 2010-12-07 at 18:46 +0100, gianni.barro...@sinergis.it wrote:
 Hi, 
 I'm struggling over how to configure a datastore for arcsde 8.3 in
 geoserver 2.0.2.
 I have a geoserver 1.7.6 installation that works fine with arcsde 8.3.
 In geoserver2 I'm able to configure the datastore, but when I click on
 the publish button over a layer, I get this error:
 java.lang.NullPointerException
 at java.lang.String.init(String.java:147)
 at com.esri.sde.sdk.client.SeError.getSdeErrMsg(Unknown Source)
 at
 org.geotools.arcsde.ArcSdeException.getMessage(ArcSdeException.java:65)
 at java.lang.Throwable.getLocalizedMessage(Throwable.java:267)
 at java.lang.Throwable.toString(Throwable.java:343)
 at java.lang.String.valueOf(String.java:2826)
 
 The geoserver2 release documentation reports that arcsde 8.3 in no
 longer supported; I'm wondering if anyone else has experienced this
 kind of configuration.
 Thank's,
 
 Gianni.
 
 GIANNI BARROTTA
 
 
 Laboratorio Sviluppo SW
 SINERGIS - Sede di Catania
 
 T. +39 095 0950930658
 F. +39 095 2500838
 
 __
 
 Sinergis
 
 
 Please consider the environment before printing this e-mail!
 
 
 
 Le informazioni contenute in questo messaggio di posta elettronica
 sono riservate e confidenziali e ne e' vietata la diffusione in
 qualsiasi modo o forma. Qualora Lei non fosse la persona destinataria
 del presente messaggio, La invitiamo a non diffonderlo e ad
 eliminarlo, dandone gentilmente comunicazione al mittente. 
 The information included in this e-mail and any attachments are
 confidential and may also be privileged. If you are not the correct
 recipient, you are kindly requested to notify the sender immediately,
 to cancel it and not to disclose the contents to any other person. 
 Die Informationen in dieser E-Mail-Mitteilung sind vertraulich und
 deren Verbreitung in jeglicher Art oder Form ist untersagt. Sollten
 Sie diese Nachricht irrtmlich erhalten haben, ersuchen wir Sie, sofort
 den Absender darber zu informieren und die Mail zu lschen. 
 
 http://www.dedagroup.it 
 
 --
 What happens now with your Lotus Notes apps - do you make another costly 
 upgrade, or settle for being marooned without product support? Time to move
 off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
 use, and manage than apps on traditional platforms. Sign up for the Lotus 
 Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
 ___ Geoserver-users mailing list 
 Geoserver-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] More CPU or more RAM?

2010-11-26 Thread Gabriel Roldán
looks like it's only using ~500MB, and 1G for the OS buffers.

How're you running tomcat/jetty wrt to heap allocation? Be sure to pass
-Xmx as appropriate to the java virtual machine and follow this where
applicable:
http://docs.geoserver.org/stable/en/user/production/index.html

I would go for the 7G RAM/20 cores instance. But that's gut feeling
since I really doubt geoserver is gonna need _that much_ memory and
think it would appreciate the extra cores.


On Fri, 2010-11-26 at 14:03 -0500, Ariel Nunez wrote:
 This is what it looks after I request the layer in question:
 
 geon...@crisis:~$ free -m
total   used   free sharedbuffers 
 cached
 Mem:  1700   1559140  0139352
 -/+ buffers/cache:   1067633
 Swap:  895 31864

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] basic SLD help needed (InlineFeatures)

2010-10-06 Thread Gabriel Roldán
Your inline can't be a MultiPolygon, the multipolygon has to be a
property of the feature. I.e. there's no feature defined for your
featureMember.

It needs to be something like:
featureMemberFeatureTypepropertyNamegml:MultiPoint/gml:MultiPoint/propertyName/FeatureType/featureMember

Try the following: http://pastebin.com/aAJqEF0j (that's for a POST
request though). Beware with SLD_BODY the full content may not reach the
server due to browser limitations in the length of the query string.

Cheers,
Gabriel


On Tue, 2010-10-05 at 13:11 -0400, ashley_c_mort wrote:
 Can anyone please help me get a basic SLD that will display more than
 one point?  I am trying to prototype displaying dozens of points.
 
 I am trying to make an SLD with InlineFeatures that just displays
 several points but I can only ever get 1 point to display.  Please help!  An
 example request and actual working URL encoded link are appended.
  
 This below request's StyledLayerDescriptor will display 1 point.  If I
 try to add another gml:Point member inside my multipoint, then 0 points are
 displayed.  I have also tried just using several gml:Points (not using
 multipoint) but I can't get any points to display that way.  The only thing
 that works for me at all is a MultiPoint with one Point.
  
 Thanks so much!
 Ashley
  
 http://demo.opengeo.org/geoserver/wms?validateSchema=trueFORMAT=image/pngT
 RANSPARENT=TRUEHEIGHT=406WIDTH=810REQUEST=GetMapSRS=EPSG:4326VERSION=1.
 1.1BBOX=-120,-120,120,120SLD_BODY=
 ?xml version=1.0 encoding=UTF-8?StyledLayerDescriptor version=1.0.0
 xmlns:gml=http://www.opengis.net/gml;
 xmlns:ogc=http://www.opengis.net/ogc; xmlns=http://www.opengis.net/sld;
  UserLayer
   Namejunk/Name
   InlineFeature
FeatureCollection
 featureMember
  gml:MultiPoint srsName=EPSG:4326
   gml:pointMember
gml:Point
 gml:coordinates5,7/gml:coordinates
/gml:Point
   /gml:pointMember
  /gml:MultiPoint
 /featureMember
/FeatureCollection
   /InlineFeature
   LayerFeatureConstraints
FeatureTypeConstraint/
   /LayerFeatureConstraints
   UserStyle
FeatureTypeStyle
 Rule
  PointSymbolizer
   Graphic
Mark
 WellKnownNamecircle/WellKnownName
 Fill
  CssParameter name=fill#FF/CssParameter
 /Fill
/Mark
Size4/Size
   /Graphic
  /PointSymbolizer
 /Rule
/FeatureTypeStyle
   /UserStyle
  /UserLayer
 /StyledLayerDescriptor
  
 http://demo.opengeo.org/geoserver/wms?validateSchema=trueFORMAT=image/pngT
 RANSPARENT=TRUEHEIGHT=406WIDTH=810REQUEST=GetMapSRS=EPSG:4326VERSION=1.
 1.1BBOX=-120,-120,120,120SLD_BODY=%3C%3Fxml%20version%3D%221.0%22%20encodi
 ng%3D%22UTF-8%22%3F%3E%3CStyledLayerDescriptor%20version%3D%221.0.0%22%20xml
 ns%3Agml%3D%22http%3A%2F%2Fwww.opengis.net%2Fgml%22%20xmlns%3Aogc%3D%22http%
 3A%2F%2Fwww.opengis.net%2Fogc%22%20xmlns%3D%22http%3A%2F%2Fwww.opengis.net%2
 Fsld%22%3E%3CUserLayer%3E%3CName%3Ejunk%3C%2FName%3E%3CInlineFeature%3E%3CFe
 atureCollection%3E%3CfeatureMember%3E%3Cgml%3AMultiPoint%20srsName%3D%22EPSG
 %3A4326%22%3E%3Cgml%3ApointMember%3E%3Cgml%3APoint%3E%3Cgml%3Acoordinates%3E
 5%2C7%3C%2Fgml%3Acoordinates%3E%3C%2Fgml%3APoint%3E%3C%2Fgml%3ApointMember%3
 E%3C%2Fgml%3AMultiPoint%3E%3C%2FfeatureMember%3E%3C%2FFeatureCollection%3E%3
 C%2FInlineFeature%3E%3CLayerFeatureConstraints%3E%3CFeatureTypeConstraint%3E
 %3C%2FFeatureTypeConstraint%3E%3C%2FLayerFeatureConstraints%3E%3CUserStyle%3
 E%3CFeatureTypeStyle%3E%3CRule%3E%3CPointSymbolizer%3E%3CGraphic%3E%3CMark%3
 E%3CWellKnownName%3Ecircle%3C%2FWellKnownName%3E%3CFill%3E%3CCssParameter%20
 name%3D%22fill%22%3E%23FF%3C%2FCssParameter%3E%3C%2FFill%3E%3C%2FMark%3E
 %3CSize%3E4%3C%2FSize%3E%3C%2FGraphic%3E%3C%2FPointSymbolizer%3E%3C%2FRule%3
 E%3C%2FFeatureTypeStyle%3E%3C%2FUserStyle%3E%3C%2FUserLayer%3E%3C%2FStyledLa
 yerDescriptor%3E
 
 
 
 --
 Beautiful is writing same markup. Internet Explorer 9 supports
 standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
 Spend less time writing and  rewriting code and more time creating great
 experiences on the web. Be a part of the beta today.
 http://p.sf.net/sfu/beautyoftheweb
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Geoserver-users mailing list

Re: [Geoserver-users] ASk GeoWebcache : How the Seeding process count tiles ?

2010-09-29 Thread Gabriel Roldán
Leaving the bounds entry automatically sets the seeding bounds to the
layer bounds. Do they match your country area (ie, is it a layer
covering only your country?)

Otherwise please provide some more information so that we can reproduce
the issue. I assume you're using the geoserver integrated geowebcache.
what exactly do you mean by getting the same number of tiles?
What geoserver version?
what kind of data source? (postgis, shapefile, etc)
do you have a geowebcache.xml configuration file?
have an online version of your deployment that we can hit?
etc

Cheers,
Gabriel
On Wed, 2010-09-29 at 09:45 +0700, Bino Oetomo wrote:
 Dear All ..
 
 I'm trying to do a Seeding process .
 
 How this process count the estimated tiles ?
 I got the same numbers between :
 1. Setting EPSG to 4326 and leaving Bound empty
 2. Setting EPSG to 4326 and setting the bound to my country area
 
 Sincerely
 -bino-
 
 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ASk GeoWebcache : How the Seeding process count tiles ?

2010-09-29 Thread Gabriel Roldán
On Thu, 2010-09-30 at 10:40 +0700, Bino Oetomo wrote:
 Dear Gabriel,
 I really appreciate your very fast reply.

np, see bellow.

 Gabriel Roldán wrote:
  Leaving the bounds entry automatically sets the seeding bounds to the
  layer bounds. Do they match your country area (ie, is it a layer
  covering only your country?)
 

 Exactly

So it looks like it is allright the estimated number of tiles matches in
both runs, as they're calculated based on the layer's bounds if not
explicitly set.
Or am I misunderstanding the question?

Cheers,
Gabriel
  Otherwise please provide some more information so that we can reproduce
  the issue. I assume you're using the geoserver integrated geowebcache.

 Exactly
  what exactly do you mean by getting the same number of tiles?

 In the task list page .. there is estimated number of tile.
 I got the same number from it, wheter I leave the bound parameters empty 
 or set it up based on my layer data.
  What geoserver version?

 The About Geoserver page said it's : 2.0.2
  what kind of data source? (postgis, shapefile, etc)

 PostGis
  do you have a geowebcache.xml configuration file?

 This is a plain default install, I'm not touching it yet.
  have an online version of your deployment that we can hit?

 Unfortunately not for know  I didn't read/learn/take-care of the 
 security part yet
  etc
 

 I'm more then happy if you tell me what other information you want.
 
 
 Sincerely
 -bino-
 
 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] all_objects query

2010-09-28 Thread Gabriel Roldán
Try setting a higher value for Feature type cache size in the
geoserver global settings, something like 200 if you have 190 layers
would suffice.

found at
http://www.listware.net/201006/geoserver-users/94460-geoserver-users-feature-type-cache-size-in-global-settings.html

Hope that helps,
Gabriel

On Tue, 2010-09-28 at 16:28 -0400, Sarah Haskins wrote:
 I am in the process of executing some performance tests against an
 application using Geoserver v 2.0.2.  Geoserver is configured with 5
 Stores and 190 Layers (1 Workspace).  Within these 5 stores there is a
 total of 438 table or view objects, but only those 190 are configured
 within Geoserver.
 
 When I run my performance test, the CPU usage on the Oracle database
 that hosts all 5 stores is very high.  Some investigation of the
 database revealed that one single query was run over 4,000 times (in
 roughly the one hour the test was running) and each execution took
 almost 1.5 seconds.
 
 The query is...
 
 SELECT NULL AS table_cat, o.owner AS table_schem, o.object_name AS
 table_name, o.object_type AS table_type,
 NULL AS remarks FROM all_objects o
 WHERE o.owner LIKE :1 ESCAPE '/' AND o.object_name LIKE :2 ESCAPE '/'
 AND o.object_type IN ('xxx', 'TABLE', 'VIEW')
 ORDER BY table_type, table_schem, table_name
 
 I was wondering if perhaps I haven't configured Geoserver optimally
 for caching?  I am not sure why this query would need to be run so
 many times or if there is some way to cache the results to limit the
 number of times it needs to run.
 
 Any advice or insight is appreciated.
 
 - Sarah
 
 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ArcSDE installation error raises HTTP ERROR: 503 including geoserver logfile

2010-09-26 Thread Gabriel Roldán
Arne,

I just downloaded and installed geoserver-2.0.0 and its arcsde
extension, copied the extension jars and the jsde and jpe ones to the
libs directory, started geoserver and everything seems to be going
well. 

Could you try re-downloading the arcsde extension and performing a clean
installation?

Gabriel

On Sun, 2010-09-26 at 06:37 +, Arne wrote:
 Gabriel Roldán groldan at opengeo.org writes:
 
  
  Hi Arne,
  
  I don't think you need to download the icu jar, it should come in the
  geoserver arcsde extension zip file. Not sure that would be the cause of
  the problem though, but just in case make sure there's only one icu jar
  in WEB-INF/lib
  
  Other than that, what would really help is that you send me the contents
  for your data dir/logs/geoserver.log file, as the HTTP error alone
  doesn't give me any clue of what might be going wrong.
  
  Cheers,
  Gabriel
   Hi Gabriel,
   
   once I copy the ArcSDE files into the lib directory and start the 
 GeoServer 
   the log file writes the following:
   
   127.0.0.1 -  -  [25/Sep/2010:06:11:26 +] GET /geoserver/web/ 
 HTTP/1.1 
   503 1321
   
   With this the Geoserver gives me:
   
   HTTP ERROR: 503
   SERVICE_UNAVAILABLE
   RequestURI=/geoserver/web/
   
   Powered by jetty://
   
   Apart from downloading the ArcSDE extension from 
   http://sourceforge.net/projects/geoserver/files/GeoServer%
   20Extensions/2.0.2/geoserver-2.0.2-arcsde-plugin.zip, I took the 
 jsde_sdk.jar 
   and the jpe_sdk.jar from a ArcGIS 9.3.1 Update CD and there from the 
 ArcSDE 
   folder sde931-esri-hp.tar.gz. The last file included the icu4j_3_2.jar 
 from 
   ftp://ftp.software.ibm.com/software/globalization/icu/icu4j/3.2/
   
   These settings, even though posted on various sites as the way to 
   proceed, 
   leave me with a non-functioning GeoServer. I must be doing a mistake 
   somewhere, but I really do not have a clue.
   
   Am I right to assume, that ArcSDE does not have to be installed on the 
 machine 
   where I am running GeoServer, nor that I have to install any components. 
   I 
   only have to copy these files in the Geoserver/lib directory, isn't it?
   
   I would be very thankful for any suggestions why this is happening.
   
   Best regards, Arne
   
   
   ---
 ---
   Start uncovering the many advantages of virtual appliances
   and start using them to simplify application deployment and
   accelerate your shift to cloud computing.
   http://p.sf.net/sfu/novell-sfdev2dev
   ___
   Geoserver-users mailing list
   Geoserver-users at lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/geoserver-users
  
 
 Hi Gabriel,
 
 thanks for the hint of the icu4_3_2.jar. I suspected that as well but that is 
 not the problem. I tried removing both individually icu4j-3.4.4.jar and 
 icu4j_3_2.jar but I am getting the same error. The geoserver.log file is 
 attached at the bottom. 
 
 Have you got any idea what this could be? I truly wanna thank you for your 
 time and effort in resolving the problem.
 
 2010-09-26 09:04:29,379 ERROR [geoserver.global] - 
 --
 - GEOSERVER_DATA_DIR: C:\Program Files\GeoServer 2.0.2\data_dir
 --
 2010-09-26 09:04:29,613 WARN [support.DisposableBeanAdapter] - Invocation of 
 destroy method failed on bean with name 'geoServerLoader': 
 java.lang.NullPointerException
 2010-09-26 09:04:29,629 ERROR [context.ContextLoader] - Context 
 initialization 
 failed
 org.springframework.beans.factory.BeanCreationException: Error creating bean 
 with name 'arcsdeCoverageStorePanel' defined in URL [jar:file:/C:/Program 
 Files/GeoServer 2.0.2/lib/arcsde-2.0.2.jar!/applicationContext.xml]: 
 Initialization of bean failed; nested exception is 
 org.springframework.beans.TypeMismatchException: Failed to convert property 
 value of type [java.lang.String] to required type [java.lang.Class] for 
 property 'factoryClass'; nested exception is 
 java.lang.IllegalArgumentException: Error loading class 
 [org.geotools.arcsde.raster.gce.ArcSDERasterFormat]: problem with class file 
 or dependent class.
   at 
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.do
 CreateBean(AbstractAutowireCapableBeanFactory.java:480)
   at 
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.
 run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at 
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cr
 eateBean(AbstractAutowireCapableBeanFactory.java:380)
   at 
 org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject
 (AbstractBeanFactory.java:264)
   at 
 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingl
 eton(DefaultSingletonBeanRegistry.java

Re: [Geoserver-users] ArcSDE installation error raises

2010-09-26 Thread Gabriel Roldán
no worries, glad it was an easy fix.

Cheers,
Gabriel
On Sun, 2010-09-26 at 14:48 +, Arne wrote:
 
 
 Hi Gabriel, 
 
 I solved the problem. This is a bit embarassing but I copied the files 
 into .\GeoServer 2.0.2\lib instead of .\GeoServer 2.0.2\webapps\geoserver\WEB-
 INF\lib. After that I can start Geoserver normally and the ArcSDE extension 
 shows up.
 
 Thanks for all your help. I will probably be back with another problem 
 soon. :D :D
 Best regards, Arne 
 
 
 
 
 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ArcSDE installation error raises HTTP ERROR: 503 including logfile

2010-09-25 Thread Gabriel Roldán
Hi Arne,

I don't think you need to download the icu jar, it should come in the
geoserver arcsde extension zip file. Not sure that would be the cause of
the problem though, but just in case make sure there's only one icu jar
in WEB-INF/lib

Other than that, what would really help is that you send me the contents
for your data dir/logs/geoserver.log file, as the HTTP error alone
doesn't give me any clue of what might be going wrong.

Cheers,
Gabriel
 Hi Gabriel,
 
 once I copy the ArcSDE files into the lib directory and start the GeoServer 
 the log file writes the following:
 
 127.0.0.1 -  -  [25/Sep/2010:06:11:26 +] GET /geoserver/web/ HTTP/1.1 
 503 1321
 
 With this the Geoserver gives me:
 
 HTTP ERROR: 503
 SERVICE_UNAVAILABLE
 RequestURI=/geoserver/web/
 
 Powered by jetty://
 
 Apart from downloading the ArcSDE extension from 
 http://sourceforge.net/projects/geoserver/files/GeoServer%
 20Extensions/2.0.2/geoserver-2.0.2-arcsde-plugin.zip, I took the jsde_sdk.jar 
 and the jpe_sdk.jar from a ArcGIS 9.3.1 Update CD and there from the ArcSDE 
 folder sde931-esri-hp.tar.gz. The last file included the icu4j_3_2.jar from 
 ftp://ftp.software.ibm.com/software/globalization/icu/icu4j/3.2/
 
 These settings, even though posted on various sites as the way to proceed, 
 leave me with a non-functioning GeoServer. I must be doing a mistake 
 somewhere, but I really do not have a clue.
 
 Am I right to assume, that ArcSDE does not have to be installed on the 
 machine 
 where I am running GeoServer, nor that I have to install any components. I 
 only have to copy these files in the Geoserver/lib directory, isn't it?
 
 I would be very thankful for any suggestions why this is happening.
 
 Best regards, Arne
 
 
 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ArcSDE installation error raises HTTP ERROR: 503

2010-09-24 Thread Gabriel Roldán
can't help without some more information. Can you send us the contents
of our data dir/logs/geoserver.log file?

Cheers,
Gabriel
On Fri, 2010-09-24 at 09:01 +, Arne wrote:
 Hi all,
 
 I am trying to install the ArcSDE extension for GeoServer and copied the 
 necessary files from geoserver-2.0.2-arcsde-plugin.zip to my GeoServer lib 
 directory. I also included the necessary jpe_sdk.jar, jsde_sdk.jar, 
 icu4j_3_2.jar (ArcSDE 9.3.1 32-Bit) in that directory.
 
 When I restart Geoserver I get a HTTP ERROR: 503 error message. When I 
 remove these files GeoServer starts normally. I can pretty much rule out a 
 mismatch of operating system or SDE version. Can anyone help me out what it 
 could be or has someone had the same problem?
 
 I am very grateful for any tipps on this issue.
 
 Best regards, Arne  
 
 
 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer crashing with GWC

2010-09-23 Thread Gabriel Roldán
Hi,
There seems to be no crash at all. Is the image returned?

The warning was expected to have size 392 but was null. means that GWC
expected a given tile file to exist on disk, but when it went to fetch
it the file wasn't there. When that happens, GWC will re-create the tile
by querying the wms.
I assume that's what happening, perhaps you deleted some tiles from disk
or something like that?
If not, please tell me what's happening in more detail, does the image
get returned? do you get those warning consistently? What do you exactly
mean by crash?

Cheers,
Gabriel

On Thu, 2010-09-23 at 10:43 +0500, Sila Khan wrote:
 i m accessing geoserver layers through GWC and it gets crash when
 loading layers following thread is seen in logfiles .plz help me to
 resolve this issue

 [#|2010-09-23T09:36:10.086+0500|INFO|sun-appserver9.1|
 javax.enterprise.system.stream.out|
 _ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-1;|23 Sep 09:36:10
 ERROR [geowebcache.GeoWebCacheDispatcher] - Unable to find handler for
 service wms http://192.168.2.213:8080/geoserver/gwc/service/wms
 |#]
 
 [#|2010-09-23T09:42:56.868+0500|INFO|sun-appserver9.1|
 javax.enterprise.system.stream.out|
 _ThreadID=17;_ThreadName=httpSSLWorkerThread-8080-4;|23 Sep 09:42:56
 WARN [conveyor.ConveyorTile] - Blob for [357, 175, 8] was expected to
 have size 392 but was null.
 
 thanks
 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 ___ Geoserver-users mailing list 
 Geoserver-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer crashing with GWC

2010-09-23 Thread Gabriel Roldán
ok, spoke too soon, didn't see the 'Unable to find handler for service
wms' error.

What geoserver version are you using? servlet container?
if geoserver 2.1.x, is the gwc-wms-1.2-SNAPSHOT.jar in the classpath?
(i.e., inside geoserver's WEB-INF/lib)

Cheers,
Gabriel

On Thu, 2010-09-23 at 08:29 -0300, Gabriel Roldán wrote:
 Hi,
 There seems to be no crash at all. Is the image returned?
 
 The warning was expected to have size 392 but was null. means that GWC
 expected a given tile file to exist on disk, but when it went to fetch
 it the file wasn't there. When that happens, GWC will re-create the tile
 by querying the wms.
 I assume that's what happening, perhaps you deleted some tiles from disk
 or something like that?
 If not, please tell me what's happening in more detail, does the image
 get returned? do you get those warning consistently? What do you exactly
 mean by crash?
 
 Cheers,
 Gabriel
 
 On Thu, 2010-09-23 at 10:43 +0500, Sila Khan wrote:
  i m accessing geoserver layers through GWC and it gets crash when
  loading layers following thread is seen in logfiles .plz help me to
  resolve this issue
 
  [#|2010-09-23T09:36:10.086+0500|INFO|sun-appserver9.1|
  javax.enterprise.system.stream.out|
  _ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-1;|23 Sep 09:36:10
  ERROR [geowebcache.GeoWebCacheDispatcher] - Unable to find handler for
  service wms http://192.168.2.213:8080/geoserver/gwc/service/wms
  |#]
  
  [#|2010-09-23T09:42:56.868+0500|INFO|sun-appserver9.1|
  javax.enterprise.system.stream.out|
  _ThreadID=17;_ThreadName=httpSSLWorkerThread-8080-4;|23 Sep 09:42:56
  WARN [conveyor.ConveyorTile] - Blob for [357, 175, 8] was expected to
  have size 392 but was null.
  
  thanks
  --
  Start uncovering the many advantages of virtual appliances
  and start using them to simplify application deployment and
  accelerate your shift to cloud computing.
  http://p.sf.net/sfu/novell-sfdev2dev
  ___ Geoserver-users mailing 
  list Geoserver-users@lists.sourceforge.net 
  https://lists.sourceforge.net/lists/listinfo/geoserver-users
 

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Formatting the FeaturInfo

2010-09-23 Thread Gabriel Roldán
On Wed, 2010-09-15 at 22:15 -0700, M. Rizwan Khan wrote:
 Hi All,
 
 With reference to the tutorial at
 http://docs.geoserver.org/stable/en/user/tutorials/GetFeatureInfo/index.html#tutorials-getfeatureinfo
 
 I managed to get the FeatureInfo in bullet form, but wanted to know whether
 we can have different templates for different layers? if so, how? 
put the layer specific template in data
dir/workspaces/ws/datastore/featuretype

 Another problem i have is that when a user clicks on a feature the
 FeatureInfo should display only few attribute but when asked for all
 attributes all the attributes should be displayed. 
 So I suppose we should have two set of templates for this, which should be
 switched at run-time (according to users wish).
I don't think that's possible right now. In the future we could add a
format option so the request can specify the template name.
Meanwhile, when you need to full set of attributes you could ask for the
GML output and parse it in the browser?
 
 Regards,
 M. Rizwan Khan

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Web Map Server using GeoServer requirement?

2010-09-23 Thread Gabriel Roldán
I'm not sure how to dimension that for you, guess that depends on your
expected load...
GeoServer can scale quite well and will make good use of your system
resources. If using a database postgis is preferred, if using shapefiles
(then don't use WFS-T) linux is preferred as an OS (as it will make good
use of the filesystem memory cache).

May be you can take a look at the production deployment hints and come
back with any further doubt you might still have?
http://docs.geoserver.org/stable/en/user/production/index.html

Cheers,
Gabriel

On Mon, 2010-09-20 at 19:36 -0700, gisit wrote:
 Hi, I want to know what is the good requirement (software and hardware) for
 Web Map Server using Geoserver. Could you help me? Thanks

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Seeding GWC from the demo page doesn't seem to work

2010-09-21 Thread Gabriel Roldán
Hi Ian,

On Tue, 2010-09-21 at 15:12 -0400, Ian Turton wrote:
 I'm using a 2.0.x nightly build on a Fedora 13 server and tomcat and
 I'm experimenting with GWC. All seems fine in the actual client -
 tiles are cached and served fast but I can't seed the layers - when I
 click on the seed this layer link (e.g.
 http://ian01.geog.psu.edu/geoserver/gwc/rest/seed/geovista:paroads)
 all I get is a 404 message from tomcat saying the requested resource
 is not available.
 
 Do I need to install the RESTconfig module to make this work?
no, you don't, GWC does it's own rest thing.
Are you trying to seed via the REST API or using the web form?
If the former, what's the request sent?
Anything on the logs?

Cheers,
Gabriel
 
 Ian
 

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Seeding GWC from the demo page doesn't seem to work

2010-09-21 Thread Gabriel Roldán
ok. Any chance you can try a geoserver 2.1 nightly? those use a much
newer version of GWC afaik. If that works I can try to upgrade gwc for
2.0.x, though not sure if I can commit to a short time line.

As I'm working on trunk/trunk, that would be easier for me to caught/fix
any problem too.

Cheers,
Gabriel

PS: nightlies here http://gridlock.opengeo.org/geoserver/trunk/


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users