[Geoserver-users] Running multiple instances of Geoserver in Tomcat 7.0
Afternoon After numerous unsuccessful searches I am looking for a tutorial or guide on how to install multiple instances of Geoserver using Tomcat 7.0. I have tried renaming the geoserver.war to geoserver_alpha.war and geoserver_beta.war and restarted Tomcat. Both appear in the list of applications from within Tomcat Manager, but only alpha actually works. I am sure I need to edit some config files but have been unable to find a tutorial that helps me out. Andy -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Running-multiple-instances-of-Geoserver-in-Tomcat-7-0-tp6702948p6702948.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Error when adding ImageMosaic store on GS trunk: No ImageIO reader s availaible.
Hi list! When adding ImageMosaic store and yping a path to the folder with 4 geotiff files, gui throws an error: Could not list layers for this store, an error occurred retrieving them: Unable to acquire a reader for this coverage with format: ImageMosaic Verbose log is turned on, so looking through the log I find messages about each of the file: 011-08-19 15:50:30,094 INFO [imagemosaic.catalogbuilder] - Skipped file /hilltest/srtm_53_08_hshd.tif:No ImageIO readers availaible. What does this error message mean? The full log is here - http://dl.dropbox.com/u/7488735/imagemosaicerrorlog.txt The folder of files is under the root folder and chmodded 777, all the files inside it are chmodded 777 too. When I add a shapefile and a properties file for theese tiffs to this folder, (that were generated with GS2.1.1 in another environment (RedHat, NativeJAI ImageIO)) and fill in the path to the shapefile, the store is created with no problem. I'm using GS: Version 2.2-SNAPSHOT Subversion Revision 16252 Build Date 18-Aug-2011 03:32 GeoTools Version 8-SNAPSHOT (rev 37857) Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode) Tomcat 7 on Mac OS 10.7. Native JAI is true. Native JAI ImageIO is false. P.S. The patch to ImageMosaic .jar regarding GEOT-3786 Filter.INCLUDE issue seems to work OK - Granules do not disappear when shown together. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Can I add a group layer to a workspace?
Hi list! Is it possible to add a group layer to a workspace? I can manually edit xml's inside my data dir if needed. I just want to know if this can be done at all. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Error when adding ImageMosaic store on GS trunk: No ImageIO reader s availaible.
this should help: http://geo-solutions.blogspot.com/2010/05/fix-geotools-and-geoserver-not-able-to.html Regards, Simone Giannecchini --- Ing. Simone Giannecchini GeoSolutions S.A.S. Founder Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/simonegiannecchini http://twitter.com/simogeo --- On Fri, Aug 19, 2011 at 2:16 PM, Gis Mage gism...@gmail.com wrote: Hi list! When adding ImageMosaic store and yping a path to the folder with 4 geotiff files, gui throws an error: Could not list layers for this store, an error occurred retrieving them: Unable to acquire a reader for this coverage with format: ImageMosaic Verbose log is turned on, so looking through the log I find messages about each of the file: 011-08-19 15:50:30,094 INFO [imagemosaic.catalogbuilder] - Skipped file /hilltest/srtm_53_08_hshd.tif:No ImageIO reader s availaible. What does this error message mean? The full log is here - http://dl.dropbox.com/u/7488735/imagemosaicerrorlog.txt The folder of files is under the root folder and chmodded 777, all the files inside it are chmodded 777 too. When I add a shapefile and a properties file for theese tiffs to this folder, (that were generated with GS2.1.1 in another environment (RedHat, NativeJAI ImageIO)) and fill in the path to the shapefile, the store is created with no problem. I'm using GS: Version 2.2-SNAPSHOT Subversion Revision 16252 Build Date 18-Aug-2011 03:32 GeoTools Version 8-SNAPSHOT (rev 37857) Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode) Tomcat 7 on Mac OS 10.7. Native JAI is true. Native JAI ImageIO is false. P.S. The patch to ImageMosaic .jar regarding GEOT-3786 Filter.INCLUDE issue seems to work OK - Granules do not disappear when shown together. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Running multiple instances of Geoserver in Tomcat 7.0
different perspective, why not having multiple separate tomcat instances? It makes things more manageable in most cases and you can run the, using a single tomcat binary installation. Regards, Simone Giannecchini --- Ing. Simone Giannecchini GeoSolutions S.A.S. Founder Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/simonegiannecchini http://twitter.com/simogeo --- On Fri, Aug 19, 2011 at 2:14 PM, AndyC andyclark...@gmail.com wrote: Afternoon After numerous unsuccessful searches I am looking for a tutorial or guide on how to install multiple instances of Geoserver using Tomcat 7.0. I have tried renaming the geoserver.war to geoserver_alpha.war and geoserver_beta.war and restarted Tomcat. Both appear in the list of applications from within Tomcat Manager, but only alpha actually works. I am sure I need to edit some config files but have been unable to find a tutorial that helps me out. Andy -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Running-multiple-instances-of-Geoserver-in-Tomcat-7-0-tp6702948p6702948.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] 502 Proxy error on large responses
I know this is not directly geoserver related but I am hoping someone has run into this. I am using apache httpd as a reverse proxy in front of geoserver and everything normally works fine except for one request which fails with a i have tried increasing the Timeout and ProxyTimeout but I still get this error pretty quickly. If i run the query direct I get a valid looking response although it might be bigger than the usual. Has anyone run into this before? Or know how to get apache to handle large responses when acting as a reverse proxy? Thanks, charles htmlhead title502 Proxy Error/title /headbody h1Proxy Error/h1 pThe proxy server received an invalid response from an upstream server.br / The proxy server could not handle the request ema href=/geoserver/owsGETnbsp;/geoserver/ows/a/em.p Reason: strongError reading from remote server/strong/p/p /body/html -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Can I add a group layer to a workspace?
On Fri, Aug 19, 2011 at 2:35 PM, Gis Mage gism...@gmail.com wrote: Hi list! Is it possible to add a group layer to a workspace? I can manually edit xml's inside my data dir if needed. I just want to know if this can be done at all. Nope, layer groups cannot be linked to a workspace Cheers Andrea -- --- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead 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://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf --- -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Can I add a group layer to a workspace?
Although I do think this could be useful. I think having layer groups and styles be contained within a workspace would be the last step to actually having per workspace/virtual services. Well that and service configuration per workspace as well. On Fri, Aug 19, 2011 at 7:59 AM, Andrea Aime andrea.a...@geo-solutions.itwrote: On Fri, Aug 19, 2011 at 2:35 PM, Gis Mage gism...@gmail.com wrote: Hi list! Is it possible to add a group layer to a workspace? I can manually edit xml's inside my data dir if needed. I just want to know if this can be done at all. Nope, layer groups cannot be linked to a workspace Cheers Andrea -- --- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead 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://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf --- -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Can I add a group layer to a workspace?
On Fri, Aug 19, 2011 at 4:05 PM, Justin Deoliveira jdeol...@opengeo.org wrote: Although I do think this could be useful. I think having layer groups and styles be contained within a workspace would be the last step to actually having per workspace/virtual services. Well that and service configuration per workspace as well. Yep, I fully agree it would be an improvement :-) Cheers Andrea -- --- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead 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://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf --- -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Can I add a group layer to a workspace?
Totally useful, because I've got a 20+mb GetCaps document, which is really insane to use on the client. I can't do anything about it now, because my basemap is a layer group, and everything else sits inside workspaces. So a client app has to get root getcaps anyways. The only solution I have is to move the basemap layers and layer group to another GeoServer instance. Thats uncool, but no other variants. 2011/8/19 Andrea Aime andrea.a...@geo-solutions.it: On Fri, Aug 19, 2011 at 4:05 PM, Justin Deoliveira jdeol...@opengeo.org wrote: Although I do think this could be useful. I think having layer groups and styles be contained within a workspace would be the last step to actually having per workspace/virtual services. Well that and service configuration per workspace as well. Yep, I fully agree it would be an improvement :-) Cheers Andrea -- --- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead 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://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf --- -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Error when adding ImageMosaic store on GS trunk: No ImageIO reader s availaible.
Nope, this is not my case. When I add a GeoTiff store, everything loads ok. It should be something wrong with mosaic readers. 2011/8/19 Simone Giannecchini simone.giannecch...@geo-solutions.it: this should help: http://geo-solutions.blogspot.com/2010/05/fix-geotools-and-geoserver-not-able-to.html Regards, Simone Giannecchini --- Ing. Simone Giannecchini GeoSolutions S.A.S. Founder Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/simonegiannecchini http://twitter.com/simogeo --- On Fri, Aug 19, 2011 at 2:16 PM, Gis Mage gism...@gmail.com wrote: Hi list! When adding ImageMosaic store and yping a path to the folder with 4 geotiff files, gui throws an error: Could not list layers for this store, an error occurred retrieving them: Unable to acquire a reader for this coverage with format: ImageMosaic Verbose log is turned on, so looking through the log I find messages about each of the file: 011-08-19 15:50:30,094 INFO [imagemosaic.catalogbuilder] - Skipped file /hilltest/srtm_53_08_hshd.tif:No ImageIO reader s availaible. What does this error message mean? The full log is here - http://dl.dropbox.com/u/7488735/imagemosaicerrorlog.txt The folder of files is under the root folder and chmodded 777, all the files inside it are chmodded 777 too. When I add a shapefile and a properties file for theese tiffs to this folder, (that were generated with GS2.1.1 in another environment (RedHat, NativeJAI ImageIO)) and fill in the path to the shapefile, the store is created with no problem. I'm using GS: Version 2.2-SNAPSHOT Subversion Revision 16252 Build Date 18-Aug-2011 03:32 GeoTools Version 8-SNAPSHOT (rev 37857) Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode) Tomcat 7 on Mac OS 10.7. Native JAI is true. Native JAI ImageIO is false. P.S. The patch to ImageMosaic .jar regarding GEOT-3786 Filter.INCLUDE issue seems to work OK - Granules do not disappear when shown together. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Error when adding ImageMosaic store on GS trunk: No ImageIO reader s availaible.
On Fri, Aug 19, 2011 at 5:54 PM, Gis Mage gism...@gmail.com wrote: Nope, this is not my case. When I add a GeoTiff store, everything loads ok. It should be something wrong with mosaic readers. You're jumping to conclusions too quickly, the code paths to grab a jai tiff reader used by the mosaic and the geotiff module are different, the fact that one works tells us nothing about the other Cheers Andrea -- --- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead 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://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf --- -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Dynamic symbolizer - the area patterning with .svg symbols doesn´t work
Hi, I´ve tried 4 days now (GS 2.1, 2.1.1 and OpenGeo GS 2.1-SNAPSHOT), but Dynamic symbolizer just want work for me. I made a new column in PostGIS which I called YMark500 and I used the PostGIS SQL DEFAULT command. to write the name of one .svg file: from pgAdminIII: YMark500 character varying DEFAULT 'YMark500_Lst_RI_Naturvard_Panda_URC_LimeGron_TEXT_ans110621.svg'::character varying, for each of the 2597 features in that table. I can se the .svg filenames in the table. I uploaded the .svg file to my homepage (www.gisassistans.se http://www.gisassistans.se/ ) and the SLD is: ogc:Filter ogc:PropertyIsBetween ogc:PropertyNameyta_ha_ans/ogc:PropertyName ogc:LowerBoundary ogc:Literal4.7/ogc:Literal /ogc:LowerBoundary ogc:UpperBoundary ogc:Literal5000/ogc:Literal /ogc:UpperBoundary /ogc:PropertyIsBetween /ogc:Filter sld:MinScaleDenominator3000.0/sld:MinScaleDenominator sld:MaxScaleDenominator6000.0/sld:MaxScaleDenominator PolygonSymbolizer Fill GraphicFill Graphic ExternalGraphic OnlineResource xlink:type=simple xlink:href=http://www.gisassistans.se/SVG/${YMark500} / Formatimage/svg+xml/Format /ExternalGraphic Size ogc:Literal200/ogc:Literal /Size /Graphic /GraphicFill /Fill I also tried with /${YMark500} which PostGIS use to like. With: OnlineResource xlink:type=simple xlink:href='YMark500_Lst_RI_Naturvard_Panda_URC_LimeGron_TEXT_ans110621.svg ' / it works. Hopefully someone finds out what I have done wrong :-) . Regards Anders Söderman Stockholm Sweden -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] SLD related error when previewing layers
Hi Andrea ogc:PropertyIsEqualTo ogc:LiteralALL_LABEL_CLASSES_ENABLED/ogc:Literal ogc:LiteralALL_LABEL_CLASSES_ENABLED/ogc:Literal /ogc:PropertyIsEqualTo ogc:And ogc:Not ogc:And ogc:PropertyIsEqualTo ogc:LiteralALL_LABEL_CLASSES_ENABLED/ogc:Literal ogc:LiteralALL_LABEL_CLASSES_ENABLED/ogc:Literal /ogc:PropertyIsEqualTo that do not make sense... A = A is always true, those comparisons are useless extras Cheers Andrea They look useless from the point of boolean algebra -true ;-) But of course there is a good reason AtlasStyler writes that stuff into the XML code. See it like that: These fixed never or always true conditions represent toggles in the GUI. E.g. if you disable the complete labeling tab at once, AtlasStyler will disable the block with always false filters and not hrow your settings away. So when you decide later that you did actually like the labels, all settings like font, size, etc. are still there. This concept is AtlasStyler has been using such filters since version 1.0, so I am sure that the problem is not related. Remember: 1. Every SLD saved with AtlasStyler is validated.. So the SLD is valid. 2. The user Haavard created the style graphically with AtlasStyler.. During that process the style has been successfully rendered with Geotools. For faster rendering and cleaner code, AtlasStyler should really get a button export optimized SLD which would throw away all that stuff and generate cleaner SLD. (but with the disadvantage that AtlasStyler will not be able to restore full GUI state after loading that). I wanted to write such a button since months/ years.. never found the time... @haavard Send a nice mail with your SLD, a data sample, version numbers to the AtlasStyler mailling[1] list and I will try reproduce why it renders in AtlasStyler (= Geotools) and not in Geoserver (=Geotools). Greetings, Steve [1] http://lists.wald.intevation.org/mailman/listinfo/atlas-framework-users -- wikisquare Softwareentwicklung Stefan Tzeggai Straßburger Weg 26 53113 Bonn email tzeg...@wikisquare.de webpage wikisquare.de skype alfonx phone 0228 24 000 528 mobile 0176 40 38 9559 reclaim your net - http://tor.eff.org enforce privacy - http://www.pgpi.org pgp key id: 51B576FD - http://pgp.mit.edu Please note that according to the German law on data retention, information on every electronic information exchange with me is retained for a period of six months. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] SLD related error when previewing layers
Hi Andrea ogc:PropertyIsEqualTo ogc:LiteralALL_LABEL_CLASSES_ENABLED/ogc:Literal ogc:LiteralALL_LABEL_CLASSES_ENABLED/ogc:Literal /ogc:PropertyIsEqualTo ogc:And ogc:Not ogc:And ogc:PropertyIsEqualTo ogc:LiteralALL_LABEL_CLASSES_ENABLED/ogc:Literal ogc:LiteralALL_LABEL_CLASSES_ENABLED/ogc:Literal /ogc:PropertyIsEqualTo that do not make sense... A = A is always true, those comparisons are useless extras Cheers Andrea They look useless from the point of boolean algebra -true ;-) But of course there is a good reason AtlasStyler writes that stuff into the XML code. See it like that: These fixed never or always true conditions represent toggles in the GUI. E.g. if you disable the complete labeling tab at once, AtlasStyler will disable the block with always false filters and not hrow your settings away. So when you decide later that you did actually like the labels, all settings like font, size, etc. are still there. This concept is AtlasStyler has been using such filters since version 1.0, so I am sure that the problem is not related. Remember: 1. Every SLD saved with AtlasStyler is validated.. So the SLD is valid. 2. The user created the style graphically with AtlasStyler.. During that process the style has been successfully rendered with Geotools. For faster rendering and cleaner code, AtlasStyler should really get a button export optimized SLD which would throw away all that stuff and generate cleaner SLD. (but with the disadvantage that AtlasStyler will not be able to restore full GUI state after loading that). I wanted to write such a button since months/ years.. never found the time... @haavard Send a nice mail your sample SLD, data sample, version numbers and to the AtlasStyler mailling list and I will try understand why it renders in AtlasStyler (= Geotools) and not in Geoserver (=Geotools). Greetings, Steve -- wikisquare Softwareentwicklung Stefan Tzeggai Straßburger Weg 26 53113 Bonn email tzeg...@wikisquare.de webpage wikisquare.de skype alfonx phone 0228 24 000 528 mobile 0176 40 38 9559 reclaim your net - http://tor.eff.org enforce privacy - http://www.pgpi.org pgp key id: 51B576FD - http://pgp.mit.edu Please note that according to the German law on data retention, information on every electronic information exchange with me is retained for a period of six months. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Problem with RESTful creation of layers based on Postgis tables
Hi - I am using Geoserver 2.1.1. have a several hundreds layers in around 10 stores. I created them all by creating PostGis tables from shape files and then running a cURL command line like this: curl -u admin:passwd -XPOST -H 'Content-type: text/xml' -d 'featureTypenameairport/name/featureType' http://localhost:8080/geoserver/rest/workspaces/UCB/datastores/sanmateocounty/featuretypes Today I had to add a few more layers. I created a batch file, ran it and it failed. I saw immediately that I had changed the admin password but had the old one in my batch lines. I changed it and ran the batch file again. But now I get 'Trying to create new feature type inside the store, but no attributes were specified' I have restarted the server, but no dice. Below is the log. Is there any way to get the RESTful interface working again? Garey Mills 19 Aug 12:35:00 ERROR [geoserver.rest] - Trying to create new feature type inside the store, but no attributes were s pecified 19 Aug 12:35:00 ERROR [geoserver.rest] - org.geoserver.rest.RestletException at org.geoserver.catalog.rest.FeatureTypeResource.buildFeatureType(FeatureTypeResource.java:174) at org.geoserver.catalog.rest.FeatureTypeResource.handleObjectPost(FeatureTypeResource.java:124) at org.geoserver.rest.ReflectiveResource.handlePost(ReflectiveResource.java:122) at org.restlet.Finder.handle(Finder.java:296) at org.geoserver.rest.BeanDelegatingRestlet.handle(BeanDelegatingRestlet.java:37) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:134) at org.restlet.Router.handle(Router.java:444) at org.geoserver.rest.RESTDispatcher$1.handle(RESTDispatcher.java:204) at com.noelios.restlet.ext.servlet.ServletConverter.service(ServletConverter.java:129) at org.geoserver.rest.RESTDispatcher.handleRequestInternal(RESTDispatcher.java:86) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.j ava:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74) at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at
Re: [Geoserver-users] Dynamic symbolizer - the area patterning with .svg symbols doesn´t work
On Fri, Aug 19, 2011 at 6:56 PM, Anders Söderman anders.soder...@gisassistans.se wrote: Hi, I´ve tried 4 days now (GS 2.1, 2.1.1 and OpenGeo GS 2.1-SNAPSHOT), but Dynamic symbolizer just want work for me. I made a new column in PostGIS which I called YMark500 and I used the PostGIS SQL DEFAULT command. I have no idea, the default indeed fills the column with the values. Maybe it's a server network issue? Sometimes a machine inside of a network cannot access the public name of the same server. For example at home I have a public dns, but the provider set me up so that the pcs inside my local network cannot access that domain name. I believe that also happens in some DMZ setups If that does not help please attach the full sld, the data and the wms request that makes it fail to a bug report on jira.codehaus.org so that a developer can try to reproduce the issue on a local machine Cheers Andrea -- --- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead 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://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf --- -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Problem with RESTful creation of layers based on Postgis tables
On Fri, Aug 19, 2011 at 9:44 PM, Garey Mills gmi...@library.berkeley.edu wrote: Hi - I am using Geoserver 2.1.1. have a several hundreds layers in around 10 stores. I created them all by creating PostGis tables from shape files and then running a cURL command line like this: curl -u admin:passwd -XPOST -H 'Content-type: text/xml' -d 'featureTypenameairport/name/featureType' http://localhost:8080/geoserver/rest/workspaces/UCB/datastores/sanmateocounty/featuretypes Today I had to add a few more layers. I created a batch file, ran it and it failed. I saw immediately that I had changed the admin password but had the old one in my batch lines. I changed it and ran the batch file again. But now I get 'Trying to create new feature type inside the store, but no attributes were specified' I have restarted the server, but no dice. Below is the log. Is there any way to get the RESTful interface working again? When POSTing to a feature type resource the are two possible actions: - configuration of a existing table - if the table does not exists, it's possible to create it, but in this case the list of attributes has to be provided The stack trace shows you're falling in the second case, that is, the table that you're trying to configure is not known to GeoServer. There could be various motivations, for example: - the table is in a schema other than the one configured in the store - the table is not readable by the user that you use to connect - the name of the table is using the wrong case (GeoServer uses quotes around the name to have all table and attribute names case be mantained, as all OGC services are case sensitive) Cheers Andrea -- --- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead 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://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf --- -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Problem with RESTful creation of layers based on Postgis tables
Andrea - Thank you. Turns out that shp2pgsql lowercases all tablenames. Changing the case of the features in the REST cmds did the trick. Garey On 8/19/2011 12:59 PM, Andrea Aime wrote: On Fri, Aug 19, 2011 at 9:44 PM, Garey Mills gmi...@library.berkeley.edu wrote: Hi - I am using Geoserver 2.1.1. have a several hundreds layers in around 10 stores. I created them all by creating PostGis tables from shape files and then running a cURL command line like this: curl -u admin:passwd -XPOST -H 'Content-type: text/xml' -d 'featureTypenameairport/name/featureType' http://localhost:8080/geoserver/rest/workspaces/UCB/datastores/sanmateocounty/featuretypes Today I had to add a few more layers. I created a batch file, ran it and it failed. I saw immediately that I had changed the admin password but had the old one in my batch lines. I changed it and ran the batch file again. But now I get 'Trying to create new feature type inside the store, but no attributes were specified' I have restarted the server, but no dice. Below is the log. Is there any way to get the RESTful interface working again? When POSTing to a feature type resource the are two possible actions: - configuration of a existing table - if the table does not exists, it's possible to create it, but in this case the list of attributes has to be provided The stack trace shows you're falling in the second case, that is, the table that you're trying to configure is not known to GeoServer. There could be various motivations, for example: - the table is in a schema other than the one configured in the store - the table is not readable by the user that you use to connect - the name of the table is using the wrong case (GeoServer uses quotes around the name to have all table and attribute names case be mantained, as all OGC services are case sensitive) Cheers Andrea -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users