[Geoserver-users] ScaleSelector Widget undefined

2010-09-07 Thread Robert Buckley
Hi,

Has anyone successfully implemented the scale selector?

I am testing it in my app (   
http://www.rbuckley.com:8080/geoserver/www/zgb_energie/test.html  ) and cannot 
make the fakescalevalue determine the values in the combo. It looks like it is 
taking the number of zoom levels instead, but cannot define them.

Could anyone offer any insight?

yours,

Robert



--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver : JBOSS or Tomcat

2010-09-07 Thread Kumaran Narayanaswamy
Hello,

 

Can anyone advise  out of JBOSS and  Tomcat  server's, which is best for
production launch of Geoserver WebGIS Application in terms of reliability,
scalability, load balancing etc?

 

Regards

Kumaran

 

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Bugs when trying to add a coverage using REST

2010-09-07 Thread Jon Britton
Hi,

I'm using REST to add a coverage to Geoserver (2.0.1) and then make it
available as a WMS layer.  When the layer is created it is given a default
style (raster) and works just fine.  Just to be certain, I also set it's
default style using REST and in doing so discovered the first bug - changing
the defaultStyle also disabled the layer!

My second problem arises when GeoServer is restarted - the new layers
defaultStyle is missing (XML is shown below).  This means I can't make any
Getcapabilities requests because GeoServer throws an exception!

Are these known bugs?

Thanks,

Jon

XML before restart:

layer
  name18jjzzrnxewnh/name
  typeRASTER/type
  defaultStyle
nameraster/name
atom:link xmlns:atom=http://www.w3.org/2005/Atom; rel=alternate
href=http://localhost:8080/geoserver/rest/styles/raster.xml;
type=application/xml/
  /defaultStyle
  resource class=coverage
name18jjzzrnxewnh/name
atom:link xmlns:atom=http://www.w3.org/2005/Atom; rel=alternate
href=
http://localhost:8080/geoserver/rest/workspaces/temp/coveragestores/18jjzzrnxewnh/coverages/18jjzzrnxewnh.xml;
type=application/xml/
  /resource
  enabledtrue/enabled
  attribution
logoWidth0/logoWidth
logoHeight0/logoHeight
  /attribution
/layer

XML after restart:

layer
  name18jjzzrnxewnh/name
  typeRASTER/type
  resource class=coverage
name18jjzzrnxewnh/name
atom:link xmlns:atom=http://www.w3.org/2005/Atom; rel=alternate
href=
http://localhost:8080/geoserver/rest/workspaces/temp/coveragestores/18jjzzrnxewnh/coverages/18jjzzrnxewnh.xml;
type=application/xml/
  /resource
  enabledtrue/enabled
  attribution
logoWidth0/logoWidth
logoHeight0/logoHeight
  /attribution
/layer
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver : Server Requirements

2010-09-07 Thread Kumaran Narayanaswamy
Hello,

 

Can anyone please let me know the minimum server requirements for hosting a
GeoServer based WebGIS Application. We are planning to host it on a Virtual
Private server with the following configuration

 

. 512 MB Dedicated RAM

. 50 GB RAID protected storage

. Linux Cent OS4

 

Database going to be used is PostgreSQL/PostGIS and we are planning to
deploy the application in either Tomcat or JBOSS Server. The application
does not have any Raster data and we have 4-5 vector layers which are also
not heavy. Can anyone advise if the above configuration is enough or will
this be a bottleneck for performance of the application? Please advise.
Thanks.

 

Regards

Kumaran

 

 

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver : JBOSS or Tomcat

2010-09-07 Thread Ben Caradoc-Davies
Tomcat is widely used and well understood, so will likely have better 
support from developers and the community. (Problems and improvements 
will be more likely to be documented.)

We usually recommend Tomcat.

Selection of your servlet container is only one consideration. Have a 
look at the Running in a Production Environment section of the manual:
http://docs.geoserver.org/latest/en/user/production/index.html

Please also see the presentation GeoServer in Production by Andrea 
Aime, from FOSS4G 2009:
http://2009.foss4g.org/presentations/#presentation_163
http://download.osgeo.org/osgeo/foss4g/2009/SPREP/3Fri/Parkside%20Auditorium/1300/fri%20paud%201400%20aime.odp
http://blip.tv/file/2796322/

Andrea's examples are for Tomcat, but should also be applicable to other 
containers. I am sure there are production deployments in JBoss.

Kind regards,
Ben.


On 07/09/10 17:02, Kumaran Narayanaswamy wrote:
 Hello,

 Can anyone advise  out of JBOSS and  Tomcat  server’s, which is best for 
 production launch of Geoserver WebGIS Application in terms of reliability, 
 scalability, load balancing etc?

 Regards
 Kumaran




-- 
Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver : Server Requirements

2010-09-07 Thread Ben Caradoc-Davies
In my view this should be sufficient for light use and small datasets 
with a single GeoServer instance. GeoServer is pretty efficient. It is 
not possible to say for sure without knowing the size of your datasets 
and the number of concurrent requests you hope to support.

For Java web applications, RAM is a major issue. CPU can also be an 
issue if you have response-time requirements. Increasing the RAM of a 
virtual server is typically a straightforward procedure. The advantage 
of virtual servers is that you can provision a modest server and 
increase resources as required. There are other bottlenecks, such as the 
database.

For our production deployments with many GeoServer servlets configured 
for app-schema (the biggest bloatware GeoServer has to offer), we use 
around 2GB RAM and run tomcat6 with (for example) -Xmx1024m 
-XX:MaxPermSize=512m. But this is an extreme case.

Kind regards,
Ben.

On 08/09/10 09:12, Kumaran Narayanaswamy wrote:
 Hello,

 Can anyone please let me know the minimum server requirements for hosting a 
 GeoServer based WebGIS Application. We are planning to host it on a Virtual 
 Private server with the following configuration


 · 512 MB Dedicated RAM

 · 50 GB RAID protected storage

 · Linux Cent OS4

 Database going to be used is PostgreSQL/PostGIS and we are planning to deploy 
 the application in either Tomcat or JBOSS Server. The application does not 
 have any Raster data and we have 4-5 vector layers which are also not heavy. 
 Can anyone advise if the above configuration is enough or will this be a 
 bottleneck for performance of the application? Please advise. Thanks.

 Regards
 Kumaran





-- 
Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoServer 2.1beta1: unable to configure a new SQL view

2010-09-07 Thread Sonya . Downie
Hi All,

I have installed GeoServer 2.1-beta1 onto my local PC to try out the new 
SQL views.

When I go to add new ArcSDE layers, at the bottom of the page I have the 
option to create new feature type, but there is nothing to allow me to 
configure a new SQL view.

Is there something I missed when installing, or is this option only 
available to some databases?

Cheers,

Sonya
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver : Server Requirements

2010-09-07 Thread Kumaran Narayanaswamy
Ben - The spatial data is very small but we do have lot of attribute data
(weather,live stock etc.) which might run to around 100 mb. 

 

Regards

Kumaran

 



From: Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
Subject: Re: [Geoserver-users] Geoserver : Server Requirements
To: Kumaran Narayanaswamy kumaran.narayanasw...@kcubeconsulting.com
Cc: geoserver-users@lists.sourceforge.net
geoserver-users@lists.sourceforge.net
Date: Wednesday, September 8, 2010, 7:24 AM

In my view this should be sufficient for light use and small datasets with a
single GeoServer instance. GeoServer is pretty efficient. It is not possible
to say for sure without knowing the size of your datasets and the number of
concurrent requests you hope to support.

For Java web applications, RAM is a major issue. CPU can also be an issue if
you have response-time requirements. Increasing the RAM of a virtual server
is typically a straightforward procedure. The advantage of virtual servers
is that you can provision a modest server and increase resources as
required. There are other bottlenecks, such as the database.

For our production deployments with many GeoServer servlets configured for
app-schema (the biggest bloatware GeoServer has to offer), we use around 2GB
RAM and run tomcat6 with (for example) -Xmx1024m -XX:MaxPermSize=512m. But
this is an extreme case.

Kind regards,
Ben.

On 08/09/10 09:12, Kumaran Narayanaswamy wrote:
 Hello,
 
 Can anyone please let me know the minimum server requirements for hosting
a GeoServer based WebGIS Application. We are planning to host it on a
Virtual Private server with the following configuration
 
 
 . 512 MB Dedicated RAM
 
 . 50 GB RAID protected storage
 
 . Linux Cent OS4
 
 Database going to be used is PostgreSQL/PostGIS and we are planning to
deploy the application in either Tomcat or JBOSS Server. The application
does not have any Raster data and we have 4-5 vector layers which are also
not heavy. Can anyone advise if the above configuration is enough or will
this be a bottleneck for performance of the application? Please advise.
Thanks.
 
 Regards
 Kumaran
 
 
 


-- Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

 

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer 2.1beta1: unable to configure a new SQL view

2010-09-07 Thread farouk alhassan

Hi
I am also trying to do the same thing but could not find any of the links 
mentioned in the article.

I'm using this document as a guide

http://gridlock.openplans.org/geoserver/trunk/doc/en/user/data/sqlview.html

Let me know if you make any progress on it.

Regards

Farouk A

--- On Wed, 8/9/10, sonya.dow...@dpipwe.tas.gov.au 
sonya.dow...@dpipwe.tas.gov.au wrote:

From: sonya.dow...@dpipwe.tas.gov.au sonya.dow...@dpipwe.tas.gov.au
Subject: [Geoserver-users] GeoServer 2.1beta1: unable to configure a new SQL 
view
To: geoserver-users@lists.sourceforge.net
Date: Wednesday, 8 September, 2010, 3:16



Hi All,



I have installed GeoServer 2.1-beta1
onto my local PC to try out the new SQL views.



When I go to add new ArcSDE layers,
at the bottom of the page I have the option to create new feature type,
but there is nothing to allow me to configure a new SQL view.



Is there something I missed when installing,
or is this option only available to some databases?



Cheers,



Sonya


-Inline Attachment Follows-

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
-Inline Attachment Follows-

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



  --
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] interesting CSS styler issue

2010-09-07 Thread Ian Turton
I'm not sure if this is a bug, a feature or that I don't fully
understand what is going on. If I create a style like:

/* @title Residential Road*/
[...@scale  10] [highway='residential'],
[...@scale  10] [highway='unclassified'] {
  stroke: grey, white;
  stroke-width: 3px, 1px;
  stroke-z-index: 0, 6;
}

The unclassified roads are not drawn but if I do

/* @title Residential Road*/
[...@scale  10] [highway='residential'],
[highway='unclassified'] [...@scale  10] {
  stroke: grey, white;
  stroke-width: 3px, 1px;
  stroke-z-index: 0, 6;
}

then they are drawn.

Any ideas?

Ian


-- 
Ian Turton

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users