Re: [Geoserver-users] gml:TimePeriod, app-schema and PostgreSQL
Hi Florence. > Try this mapping : > Extract from > http://docs.geoserver.org/trunk/en/user/data/app-schema/mapping-file.html: > > targetAttributeNode is required wherever a property type contains an abstract > element and app-schema cannot determine the type of the enclosed attribute. > This mapping must come before the mapping for the enclosed elements. thank you so much for your help! It works like a charm ;-) Best regards and greetings from Barcelona (FOSS4G), Matthias -- 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
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
Re: [Geoserver-users] GeoServer 2.1beta1: unable to configure a new SQL view
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 wrote: From: 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
Re: [Geoserver-users] Geoserver : Server Requirements
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 Subject: Re: [Geoserver-users] Geoserver : Server Requirements To: "Kumaran Narayanaswamy" Cc: "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 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 : JBOSS or Tomcat
Ben - Thanks a lot for sharing this information. We will go through the links that you have shared. Regards Kumaran --- On Wed, 9/8/10, Ben Caradoc-Davies wrote: From: Ben Caradoc-Davies Subject: Re: [Geoserver-users] Geoserver : JBOSS or Tomcat To: "Kumaran Narayanaswamy" Cc: "geoserver-users@lists.sourceforge.net" Date: Wednesday, September 8, 2010, 7:10 AM 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 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
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
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 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 : JBOSS or Tomcat
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 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 : Server Requirements
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
[Geoserver-users] Geoserver 2.1beta1: crash when building legend if rule has no title
So I'm playing around with 2.1beta1 (mostly for the virtual service support, which I *love*) and I noticed a minor bug. If you issue a GetLegendGraphic request against a layer and the SLD has a rule with no , geoserver will throw a null pointer exception. The culprit seems to be this code in DefaultRasterLegendProducer.java: //What's the label on this rule? We prefer to use //the 'title' if it's available, but fall-back to 'name' labels[i] = rule.getDescription().getTitle().toString(); if (labels[i] == null) labels[i] = rule.getName(); if (labels[i] == null) labels[i] = ""; As you can see if the title tag doesn't exist it will try to call the method on a null pointer and die. I noticed this because I generally don't put titles on my label rules; otherwise they generate useless empty legend entries, which I don't want. -- 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] Rotate labels with values from dbase
Hi I want to rotate streetnames with a rotation values from a database The sld cookbook only mentions a rotationvalue that is hardcoded I found the same isue here; http://old.nabble.com/Attribute-based-label-positioning--td28739119.html#a28740602 can anyone tell me if this is resolved cheers Thiemo Peet -- 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
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: 18jjzzrnxewnh RASTER raster http://www.w3.org/2005/Atom"; rel="alternate" href="http://localhost:8080/geoserver/rest/styles/raster.xml"; type="application/xml"/> 18jjzzrnxewnh http://www.w3.org/2005/Atom"; rel="alternate" href=" http://localhost:8080/geoserver/rest/workspaces/temp/coveragestores/18jjzzrnxewnh/coverages/18jjzzrnxewnh.xml"; type="application/xml"/> true 0 0 XML after restart: 18jjzzrnxewnh RASTER 18jjzzrnxewnh http://www.w3.org/2005/Atom"; rel="alternate" href=" http://localhost:8080/geoserver/rest/workspaces/temp/coveragestores/18jjzzrnxewnh/coverages/18jjzzrnxewnh.xml"; type="application/xml"/> true 0 0 -- 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
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] ScaleSelector Widget "undefined"
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