Re: [Geoserver-users] Suspected memory leak when using Oracle OCI drivers
Please create a ticket, with whatever details you have. There is no real developer community priority a preferred datastore. Comes down to what volunteers are willing to work on (or what customers are willing to pay for). In this case having a bug report to point to is a good way to start the conversation. So you are thinking the memory link is in the native code - and thus not something that shows up in a memory profiler? -- Jody Jody Garnett On Mon, Apr 7, 2014 at 11:11 PM, daniel.soneira daniel.sone...@joyn-it.atwrote: Hello GeoServer community, I've spent quite some time (all of last week) investigating a performance problem regarding our mapping application built on top of GeoServer / OpenLayers. The memory consumption grew as time went by and never recovered / declined anymore to the point where the operating system began to swap which resulted in a really poor performance. The log entry 'rendering takes 60 sec, aborting..' came up in shorter intervals and at some point the server just didn't respond anymore. To find the reason for that I've used different servers (Tomcat / WebLogic) and even different JVMs (HotSpot / JRockit). A heap dump didn't really show anything extraordinary, but looking at some other data the native memory part was suspicious. As it turns out the culprit seems to be the OCI drivers (or their usage). The problem can be observed by using the built-in Layer Preview feature (just moving around the map - panning / zooming in and out is sufficient). As soon as I switch to Thin-Driver the application performs better and the memory stays within some sensible boundaries (after some initial climbing). Since the usage of OCI is mandatory for our customer the Thin-Driver option is unfortunately not possible. I guess Oracle is not the preferred database in the GeoServer community and OCI is even less used to access it but has anyone some experience in dealing with such a situation nontheless? Should I create a ticket for that? Thanks for any input in advance, Daniel == Datasource settings (OCI): Connection timeout: 20 validate connections: true max connections: 10 Primary key metadata table: geo_pk_metadata Loose bbox: true Expose primary keys: true Max open prepared statements: 100 fetch size: 1000 Estimated extends: true min connections: 1 == Environment: GeoServer: 2.5 final App-Server / Servlet container: WebLogic 10.3.2 (it behaves the same on Tomcat 6) OS: Red Hat Enterprise Linux Server release 5.4 (Tikanga) Database: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production JVM: Java(TM) SE Runtime Environment (build 1.6.0_14-b08) BEA JRockit(R) (build R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-ia32, compiled mode) Java settings: -Xmx1024m -Xms1024m -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Suspected-memory-leak-when-using-Oracle-OCI-drivers-tp5133570.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Error with gwc when using curl seedrequest with bounds
Hello, Unfortunately that didn't work either. I am using Geoserver 2.1.3 The full error given is ... Accept: */* Content-type: text/xml Content-Length: 372 * upload completely sent off: 372 out of 372 bytes HTTP/1.1 500 Internal Server Error Transfer-Encoding: chunked * Server Jetty(6.1.8) is not blacklisted Server: Jetty(6.1.8) Cannot construct org.geowebcache.grid.BoundingBox as it does not have a no-args constructor : Cannot construct org.geowebcache.grid.BoundingBox as it does not have a no-args constructor Debugging information message : Cannot construct org.geowebcache.grid.BoundingBox as it does not have a no-args constructor cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException cause-message : Cannot construct org.geowebcache.grid.BoundingBox as it does not have a no-args constructor class : org.geowebcache.seed.SeedRequest required-type : org.geowebcache.grid.BoundingBox ---* Connection #0 to host localhost left intact Hope someone could help me. Thanks in advance. Stephanos -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Error-with-gwc-when-using-curl-seedrequest-with-bounds-tp5130377p5133754.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Suspected memory leak when using Oracle OCI drivers
On Mon, Apr 7, 2014 at 3:11 PM, daniel.soneira daniel.sone...@joyn-it.atwrote: Hello GeoServer community, I've spent quite some time (all of last week) investigating a performance problem regarding our mapping application built on top of GeoServer / OpenLayers. The memory consumption grew as time went by and never recovered / declined anymore to the point where the operating system began to swap which resulted in a really poor performance. The log entry 'rendering takes 60 sec, aborting..' came up in shorter intervals and at some point the server just didn't respond anymore. To find the reason for that I've used different servers (Tomcat / WebLogic) and even different JVMs (HotSpot / JRockit). A heap dump didn't really show anything extraordinary, but looking at some other data the native memory part was suspicious. As it turns out the culprit seems to be the OCI drivers (or their usage). The problem can be observed by using the built-in Layer Preview feature (just moving around the map - panning / zooming in and out is sufficient). As soon as I switch to Thin-Driver the application performs better and the memory stays within some sensible boundaries (after some initial climbing). Since the usage of OCI is mandatory for our customer the Thin-Driver option is unfortunately not possible. I guess Oracle is not the preferred database in the GeoServer community and OCI is even less used to access it but has anyone some experience in dealing with such a situation nontheless? You might want to have a look at this discussion: http://osgeo-org.1560.x6.nabble.com/Jave-heap-space-exception-on-GetFeatureInfo-request-tp5105467p5105726.html Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Tell me about tiled=yes and tiled=true
On Thu, Apr 3, 2014 at 11:46 AM, Rahkonen Jukka (Tike) jukka.rahko...@mmmtike.fi wrote: Hi, I was reading this two years old discussion https://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg08781.html There seems to be a GeoServer WMS vendor parameter tiled=yes and then there is a GeoWebCache WMS vendor parameter tiled=true http://docs.geoserver.org/stable/en/user/services/wms/vendor.html#tiled Can anybody tell clearly what is the difference? What happens with combinations GS + tiled=true and GWC + tiled=yes? And what is the role of tilesorigin in this play? As far as I know the parameters have an effect only on GeoServer, if you're hitting GWC own WMS the requests will be tiled anyways. For GeoServer tiled=true tells GeoServer to build a 3x3 metatile in memory, and cache the 9 resulting tiles in memory for a short time, under the assumptions the nearby tiles will be fetched very soon. Since GeoServer does not have a reference tile grid to use, the tilesorigin parameter was used to give it and origin point for the tile grid. When using the GWC direct integration, that tries to server map requests aligning to the GWC cached grid directly, without having GS paint the request, the integration will also trigger only if tiled=true is present in the request Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Error with gwc when using curl seedrequest with bounds
On Tue, Apr 8, 2014 at 9:39 AM, stephanos_ch stephanos...@yahoo.gr wrote: Hello, Unfortunately that didn't work either. I am using Geoserver 2.1.3 The full error given is ... Accept: */* Content-type: text/xml Content-Length: 372 * upload completely sent off: 372 out of 372 bytes HTTP/1.1 500 Internal Server Error Transfer-Encoding: chunked * Server Jetty(6.1.8) is not blacklisted Server: Jetty(6.1.8) Cannot construct org.geowebcache.grid.BoundingBox as it does not have a no-args constructor : Cannot construct org.geowebcache.grid.BoundingBox as it does not have a no-args constructor Ah, I've already seen this one, it happens when an old XStream library is told to deserialize a XML when running on Java 7. You have two choices: * upgrade GeoServer to a more recent version, a recent 2.4.x series * downgrade java to version 6 Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] weird beahaviour with geometry accuracy
Hi, 2 identical configured geoserver (2.4.3) instances return different accuracy of geometry when reprojecting from native EPSG:31256 to EPSG:4326. Both seperate geoserver instances have identical GEOSERVER_DATA_DIR and Geoserver binaries through RPM-deployment So I don't know why output is different. Also numberOfDeciamls is not implemented for JSON output in WFS-1.1.0 url-syntax: geoserver/ows?service=WFSrequest=GetFeatureversion=1.1.0typeName=vienna:myFeatureTypsrsName=EPSG:4326maxFeatures=1outputFormat=json Geoserver A returns: 16.338768648508466,48.17213508918381 Geoserver B returns: 16.33876864850847 ,48.17213508918381 Does anyone have a clue what could cause this behaviour? Cheers Rudi -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] weird beahaviour with geometry accuracy
On Tue, Apr 8, 2014 at 10:39 AM, Hochmeister Rudolf rudolf.hochmeis...@wien.gv.at wrote: Hi, 2 identical configured geoserver (2.4.3) instances return different accuracy of geometry when reprojecting from native EPSG:31256 to EPSG:4326. Both seperate geoserver instances have identical GEOSERVER_DATA_DIR and Geoserver binaries through RPM-deployment So I don't know why output is different. Also numberOfDeciamls is not implemented for JSON output in WFS-1.1.0 url-syntax: geoserver/ows?service=WFSrequest=GetFeatureversion=1.1.0typeName=vienna:myFeatureTypsrsName=EPSG:4326maxFeatures=1outputFormat=json Geoserver A returns: 16.338768648508466,48.17213508918381 Geoserver B returns: 16.33876864850847 ,48.17213508918381 Does anyone have a clue what could cause this behaviour? No idea... but the difference is roughly 0.4 nanometers (making the rough assumption that one degree = 110km) ... does it matter? :-) Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Direct browser to log in to GeoServer
I am embedding GeoServer's web UI in an IFrame and want to automatically log the user in. Is it possible to include the login credentials in a query like this http//:host:port/geoserver/login?username=usrpassword=pass? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Direct-browser-to-log-in-to-GeoServer-tp5133820.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Tell me about tiled=yes and tiled=true
TLDR: tiled=true gives permission for GeoServer to return an error if GetMap request does not line up with defined tile set. From http://wiki.osgeo.org/wiki/WMS_Tiling_Client_Recommendation If a request is made with tiled=true, a tiling WMS server may respond with HTTP 404 or 500 to indicate that a request fails to meet the recommendations given here. Jody Garnett On Thu, Apr 3, 2014 at 8:46 PM, Rahkonen Jukka (Tike) jukka.rahko...@mmmtike.fi wrote: Hi, I was reading this two years old discussion https://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg08781.html There seems to be a GeoServer WMS vendor parameter tiled=yes and then there is a GeoWebCache WMS vendor parameter tiled=true http://docs.geoserver.org/stable/en/user/services/wms/vendor.html#tiled Can anybody tell clearly what is the difference? What happens with combinations GS + tiled=true and GWC + tiled=yes? And what is the role of tilesorigin in this play? -Jukka Rahkonen- -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured
Thank you Mauro - looks like it works now. Sincerely, Paulius Litvinas GIS consultant line map S. Žukausko str. 17, LT-08234 Vilnius, Lithuania telephone Tel. + 370 5 278 8456 Mob. +370 656 10 089 mail_and_earth mailto:paul...@infoera.lt paul...@infoera.lt http://www.infoera.lt/ www.infoera.lt info_era_autodesk From: Mauro Bartolomeoli [mailto:maurobartolome...@gmail.com] Sent: Monday, April 07, 2014 10:08 AM To: mhln25 Cc: GeoServer Mailing List List Subject: Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured Hi, as I answered to Paulius, it's not enough to use the latest jar, you also have to: 1) update geoserver web.xml to include the mapfish-print Spring application context: to use the new jar you also need to make a change in geoserver WEB-INF/lib/web.xml to load the mapfish spring application context. Locate this section in the file: context-param param-namecontextConfigLocation/param-name param-valueclasspath*:/applicationContext.xml classpath*:/applicationSecurityContext.xml/param-value /context-param and add classpath*:/mapfish-spring-application-context.xml so that it looks like: context-param param-namecontextConfigLocation/param-name param-valueclasspath*:/applicationContext.xml classpath*:/applicationSecurityContext.xml classpath*:/mapfish-spring-application-context.xml/param-value /context-param then restart Geoserver. 2) if you have basic authentication in your app, forward it to Geoserver adding this to your config.yaml: headers: ['Cookie', 'Referer', 'Authorization'] 3) if you don't use basic authentication, follow Thomas advice and add something like the following to your config.yaml: Security: - !basicAuth Matcher: !dnsMatch host: geoserver port: 8080 username: printer password: password preemptive: true This should work with geoserver 2.4.x or geoserver 2.5. Mauro 2014-04-07 7:36 GMT+02:00 mhln25 mhl...@gmail.com: Hi maurao, Thanks for the prompt reply. However, regret for the delayed reply from our end.. But we tried the jar file you had shared. But still we are still facing the same problem. Which GeoServer version and the corresponding jar file we should use for bringing map print functionality for secured GS layers? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Reg-Map-not-printed-in-mapfish-print- WMS-layer-is-Secured-tp5106623p5133494.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users image001.jpgimage002.pngimage003.pngimage004.pngimage005.png-- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Tell me about tiled=yes and tiled=true
On Tue, Apr 8, 2014 at 4:02 PM, Jody Garnett jody.garn...@gmail.com wrote: TLDR: tiled=true gives permission for GeoServer to return an error if GetMap request does not line up with defined tile set. From http://wiki.osgeo.org/wiki/WMS_Tiling_Client_Recommendation If a request is made with tiled=true, a tiling WMS server may respond with HTTP 404 or 500 to indicate that a request fails to meet the recommendations given here. GeoServer will not do that, if tiles origin is not provided it will simply assume it cannot do metatling, and treat it as a simple request. In fact tiled/tilesorigin are meant for clients that are just using simple WMS, but insist on making tiled requests, as opposed to clients that are WMS-C aware (use GWC directly for those) Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] DescribeFeatureType exeption for request
I have locked geoserver with following rules: *.*.r=NO_ONE *.*.w=NO_ONE And for one layer in workspace added read and write rules for users: admin and user1. workspace.layerA.r=READ,ADMIN,GROUP_ADMIN workspace.layerA.w=WRITE,ADMIN,GROUP_ADMIN From geoexplorer with user admin I can log in, add this layer and modify it. But if I log in with user1 – I can add it, but edit button is inactive. After some investigation find out that for user1 for DescribeFeatureType request (http://geoserver:8080/geoserver/wfs? http://geoserver:8080/geoserver/wfs?SERVICE=WFSVERSION=1.1.0REQUEST=Desc ribeFeatureTypeTYPENAME=workspace%253layerA SERVICE=WFSVERSION=1.1.0REQUEST=DescribeFeatureTypeTYPENAME=workspace%3l ayerA) The following exeption appears: ows:ExceptionReport xmlns:ows=http://www.opengis.net/ows; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=1.0.0 xsi:schemaLocation=http://www.opengis.net/ows http://geoserver:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd; ows:Exception exceptionCode=NoApplicableCode ows:ExceptionTextCould not find type: layerA. Strict WFS protocol conformance is being applied. Make sure the type name is correctly qualified/ows:ExceptionText /ows:Exception /ows:ExceptionReport With admin no exception. If I change the lock rule from *.*.r = NO_ONE to *.*.r=* I can edit that layer with user1. So the question would be why request for DescribeFeatureType does not responds correctly if user can read that layer? Am I missing something? Geoserver 2.4.5 java 1.6 x32 on Windows server 2008 x64 Thanks for any help Pagarbiai, Paulius Litvinas GIS konsultantas line map S. Žukausko g. 17, LT-08234 Vilnius, Lietuva telephone Tel. + 370 5 278 8456 Mob. +370 656 10 089 mail_and_earth mailto:paul...@infoera.lt paul...@infoera.lt http://www.infoera.lt www.infoera.lt info_era_autodesk image001.jpgimage002.pngimage003.pngimage004.pngimage005.png-- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Tell me about tiled=yes and tiled=true
Hi, I can see from the logs that there are some OpenLayers applications reading our integrated GWC (../geoserver/gwc/service/wms?...) by using WMS-C protocol and having tiled=true while some other applications use parameter as tiled=yes. I can also see that developers have copied the base URL and applications may send request including either tiled=yes or tiled=true also to non-cached WMS (.../geoserver/wms?) Are tiled=yes and tiled=true just synonyms or should we try to reach the developers and tell them to use always just one of the alternatives? Situation has probably been like this for a long time so I think that using tiled=yes or tiled=true does not make any difference but I would like to know it for sure. -Jukka Rahkonen- Lähettäjä: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] Puolesta Andrea Aime Lähetetty: 8. huhtikuuta 2014 17:20 Vastaanottaja: Jody Garnett Kopio: Rahkonen Jukka (Tike); Geoserver-users@lists.sourceforge.net Aihe: Re: [Geoserver-users] Tell me about tiled=yes and tiled=true On Tue, Apr 8, 2014 at 4:02 PM, Jody Garnett jody.garn...@gmail.commailto:jody.garn...@gmail.com wrote: TLDR: tiled=true gives permission for GeoServer to return an error if GetMap request does not line up with defined tile set. From http://wiki.osgeo.org/wiki/WMS_Tiling_Client_Recommendation If a request is made with tiled=true, a tiling WMS server may respond with HTTP 404 or 500 to indicate that a request fails to meet the recommendations given here. GeoServer will not do that, if tiles origin is not provided it will simply assume it cannot do metatling, and treat it as a simple request. In fact tiled/tilesorigin are meant for clients that are just using simple WMS, but insist on making tiled requests, as opposed to clients that are WMS-C aware (use GWC directly for those) Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Suspected memory leak when using Oracle OCI drivers
Well, at least the native memory is growing and growing, that's why I think that is the case. I was able to increase the (native) memory footprint by ca. 200 MB in just 5 minutes: screenshot #1 (15:32): http://i59.tinypic.com/2rzeulg.png screenshot #2 (15:37): http://i61.tinypic.com/xlgle9.png The major part of the memory is categorized as Other http://i59.tinypic.com/2a77p0w.png The biggest jumps definitely occured when clicking on features (which then sends a GetFeatureInfo request). As a sidenote the data is projected (from EPSG:4326 to EPSG:3416). This is the URL that I've used for testing: http://as11g:7003/geoserver/wms/reflect?layers=vzg:austria,vzg:strecken,vzg:strklassen,vzg:bstsrs=EPSG:3416format=application/openlayers austria is a shapefile-layer, all the other ones are served from the OCI DB datasource. A java heap dump is not going to cut it in that case, I guess. Of course I can provide one if that helps. I am by no means an expert analyzing memory leaks, fortunately I haven't had to deal with something like that, until now that is. The screenshots are from Mission Control, which is bundled with JRockit btw. Regards, Daniel On 08.04.2014 09:19, Jody Garnett wrote: Please create a ticket, with whatever details you have. There is no real developer community priority a preferred datastore. Comes down to what volunteers are willing to work on (or what customers are willing to pay for). In this case having a bug report to point to is a good way to start the conversation. So you are thinking the memory link is in the native code - and thus not something that shows up in a memory profiler? -- Jody Jody Garnett On Mon, Apr 7, 2014 at 11:11 PM, daniel.soneira daniel.sone...@joyn-it.at mailto:daniel.sone...@joyn-it.at wrote: Hello GeoServer community, I've spent quite some time (all of last week) investigating a performance problem regarding our mapping application built on top of GeoServer / OpenLayers. The memory consumption grew as time went by and never recovered / declined anymore to the point where the operating system began to swap which resulted in a really poor performance. The log entry 'rendering takes 60 sec, aborting..' came up in shorter intervals and at some point the server just didn't respond anymore. To find the reason for that I've used different servers (Tomcat / WebLogic) and even different JVMs (HotSpot / JRockit). A heap dump didn't really show anything extraordinary, but looking at some other data the native memory part was suspicious. As it turns out the culprit seems to be the OCI drivers (or their usage). The problem can be observed by using the built-in Layer Preview feature (just moving around the map - panning / zooming in and out is sufficient). As soon as I switch to Thin-Driver the application performs better and the memory stays within some sensible boundaries (after some initial climbing). Since the usage of OCI is mandatory for our customer the Thin-Driver option is unfortunately not possible. I guess Oracle is not the preferred database in the GeoServer community and OCI is even less used to access it but has anyone some experience in dealing with such a situation nontheless? Should I create a ticket for that? Thanks for any input in advance, Daniel == Datasource settings (OCI): Connection timeout: 20 validate connections: true max connections: 10 Primary key metadata table: geo_pk_metadata Loose bbox: true Expose primary keys: true Max open prepared statements: 100 fetch size: 1000 Estimated extends: true min connections: 1 == Environment: GeoServer: 2.5 final App-Server / Servlet container: WebLogic 10.3.2 (it behaves the same on Tomcat 6) OS: Red Hat Enterprise Linux Server release 5.4 (Tikanga) Database: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production JVM: Java(TM) SE Runtime Environment (build 1.6.0_14-b08) BEA JRockit(R) (build R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-ia32, compiled mode) Java settings: -Xmx1024m -Xms1024m -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Suspected-memory-leak-when-using-Oracle-OCI-drivers-tp5133570.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration
[Geoserver-users] Print Community Module - is it different than the Mapfish print server?
Hello again, I finally decided to try the community module after several years using the Mapfish print server war in Tomcat. Seems to almost work, but not quite. Is it different than the Mapfish version? Basically, I try this URL with a basic spec and the community module: (try it yourself) http://204.62.18.181/geoserver/pdf/print.pdf?spec={layout: 'Letter landscape',title: 'A simple example',srs: 'EPSG:900913',units: 'meters','forwardHeaders':[],outputFilename: 'OKMaps_Print.PDF',outputFormat: 'pdf',layers: [{type: 'WMS',format: 'image/png',layers: ['ogi:okcounties'],baseURL: ' http://204.62.18.181/geoserver/wms',customParams: { TRANSPARENT: true }}],pages: [{center: [-10964969.841611, 4230671.17964707],scale: 400,dpi: 190,mapTitle: 'OKMaps',comment: '',data: [{ id: 1, name: 'blah', icon: 'icon_pan' },{ id: 2, name: 'blip', icon: 'icon_zoomin' }]}]} and get not much of a map. Then I try it in the latest from ( https://github.com/geosolutions-it/mapfish-print) : http://204.62.18.181/print-servlet-2.0-SNAPSHOT_GS/pdf/print.pdf?spec={layout: 'Letter landscape',title: 'A simple example',srs: 'EPSG:900913',units: 'meters','forwardHeaders':[],outputFilename: 'OKMaps_Print.PDF',outputFormat: 'pdf',layers: [{type: 'WMS',format: 'image/png',layers: ['ogi:okcounties'],baseURL: ' http://204.62.18.181/geoserver/wms',customParams: { TRANSPARENT: true }}],pages: [{center: [-10964969.841611, 4230671.17964707],scale: 400,dpi: 190,mapTitle: 'OKMaps',comment: '',data: [{ id: 1, name: 'blah', icon: 'icon_pan' },{ id: 2, name: 'blip', icon: 'icon_zoomin' }]}]} Exact same spec, exact same config.yaml, different results. Here is the yaml: #=== # allowed DPIs #=== dpis: - 254 - 190 - 127 - 56 #=== # allowed Formats #=== # '*' means any formats formats: ['*'] #=== # the allowed scales #=== scales: - 25000 - 5 - 10 - 20 - 50 - 100 - 200 - 400 - 800 - 1600 - 3200 - 6400 #=== # the list of allowed hosts #=== hosts: - !localMatch dummy: true - !ipMatch ip: www.camptocamp.org - !dnsMatch host: labs.metacarta.com port: 80 - !dnsMatch host: demo.mapfish.org port: 80 # the default fileName for the files downloaded from the servlet outputFilename: MapFish_PrintOut layouts: #=== Letter portrait: #=== mainPage: rotation: true pageSize: letter header: height: 50 items: - !text font: Helvetica fontSize: 30 align: right text: '${mapTitle}' items: - !map spacingAfter: 30 width: 440 height: 483 - !text text: '${comment}' spacingAfter: 30 footer: height: 30 items: - !columns items: - !text backgroundColor: #FF align: left text: OKMaps Map Print - !text align: right text: 'Page ${pageNum}' #=== Letter landscape: #=== mainPage: rotation: true landscape: true pageSize: letter header: height: 50 items: - !image maxWidth: 100 align: right url: http://ogi.state.ok.us/OGI/images/okmaps_logo_90px.png - !image maxWidth: 15 align: right url: http://ogi.state.ok.us/OGI/images/north_arrow.png items: - !map spacingAfter: 30 width: 583 height: 440 align: left - !scalebar maxSize: 150 type: line units: ft align: left - !legends maxIconWidth: 8 maxIconHeight: 8 footer: height: 30 items: - !columns items: - !text backgroundColor: #FF align: left text: OKMaps Map Print #=== A4 portrait:
Re: [Geoserver-users] Print Community Module - is it different than the Mapfish print server?
Hi Roger, 2014-04-08 17:33 GMT+02:00 Roger Bedell sylvanasc...@gmail.com: Hello again, I finally decided to try the community module after several years using the Mapfish print server war in Tomcat. Seems to almost work, but not quite. Is it different than the Mapfish version? Yes and no. It's simply using an old (1.2) version of MapFish. The good news is that we are working to upgrade to the latest stable mapfish print-lib (2.0.0) and promote the module to an official Geoserver extension. The difference you are experiencing is probably due to a config.yaml that is not compatible with the old version. Mauro -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Dott. Mauro Bartolomeoli @mauro_bart Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] How to fit geo layers in this html
Hi. I have one question. I have this html. I want to add those geo server layers in my html: Here starts the HTML: !DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01 Transitional//ENquot; quot;http://www.w3.org/TR/html4/loose.dtdquot; html head meta http-equiv=content-type content=text/html; charset=utf-8 titleLatitude and Longitude of a Point/title link href=/d.css type=text/css rel=stylesheet /head body onload=xz() center div id=h /div div id=h0/div div id=o div id=header style=background-color:#CC;text-align:center; Услуги с кадастрални данни /div div id=content div class=lb0 form onsubmit=showAddress(this.address.value); return false; centerЗа да се покажат координатите на точката strongClick/strong на картата или въвеждане в strongSearch box/strong на данни/center div style=margin:10px 0 5px 0;text-align:center;font-size:1.1em;strongПокажи:/strong input type=text style=width:300px;font-size:1.1em; name=address value=Въведи улица, град, ЕКАТТЕ onfocus=if (this.value == '123 Street, City State/Country'){this.value='';} input type=submit style=font-size:100% value= Търси /div /form /div /p Географска дължина и ширина на точка div id=wrapper style=margin:5pxdiv id=map style=width: 800px; height: 450px/div/div br centerinput type=button value=Изтрий id=reset onclick=reset()nbsp;nbsp;nbsp;nbsp; input type=button value=Центрирай маркер id=reset1 onclick=reset1()/center hr Географска дължина и ширина на точка Ширина: input size=15 type=text id=latbox name=lat value= Дължина: input size=15 type=text id=lonbox name=lon value= brhr strongГрадуси/strongstrongMинути/strong strongСекунди/strong Ширина: input size=5 type=text id=latboxm name=latm value= input size=6 type=text id=latboxmd name=latmd value=input size=8 type=text id=latboxms name=latms value= Дължина:input size=5 type=text id=lonboxm name=lonm value= input size=6 type=text id=lonboxmd name=lonmd value=input size=8 type=text id=lonboxms name=lonms value= div id=b copy; ИСК 2014 /div /body /html -- View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-fit-geo-layers-in-this-html-tp5133879.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Print Community Module - is it different than the Mapfish print server?
Thanks Mauro, That explains it. I need some 2.0 functionality (I think), so I'll wait. I'm a little confused, will the enhancements mentioned here: http://www.geo-solutions.it/blog/developers-corner-improving-printing-for-geoserver-part-2/ be part of the extension? Regards, Roger On Tue, Apr 8, 2014 at 5:46 PM, Mauro Bartolomeoli mauro.bartolome...@geo-solutions.it wrote: Hi Roger, 2014-04-08 17:33 GMT+02:00 Roger Bedell sylvanasc...@gmail.com: Hello again, I finally decided to try the community module after several years using the Mapfish print server war in Tomcat. Seems to almost work, but not quite. Is it different than the Mapfish version? Yes and no. It's simply using an old (1.2) version of MapFish. The good news is that we are working to upgrade to the latest stable mapfish print-lib (2.0.0) and promote the module to an official Geoserver extension. The difference you are experiencing is probably due to a config.yaml that is not compatible with the old version. Mauro -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Dott. Mauro Bartolomeoli @mauro_bart Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Line shapefile publishes as polygon
I have a shapefile that is line features which I am trying to publish in GeoServer (2.4). When I publish it, two strange things occur- I get the message that it cannot determine the projection, even though there is a .prj file for it. That's no problem since I can select that manually. The real problem is that GeoServer publishes the shapefile as polygon features. In addition, I cannot see it on screen or style it, but it is still listed as a valid layer. How do I correct this? -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Line shapefile publishes as polygon
Bob, Do you define the projection and the styling for the layer in the web administration interface when you published the layer? Jerome Wendell From: Bistrais, Bob [mailto:bob.bistr...@maine.gov] Sent: Tuesday, April 08, 2014 12:29 PM To: geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] Line shapefile publishes as polygon I have a shapefile that is line features which I am trying to publish in GeoServer (2.4). When I publish it, two strange things occur- I get the message that it cannot determine the projection, even though there is a .prj file for it. That's no problem since I can select that manually. The real problem is that GeoServer publishes the shapefile as polygon features. In addition, I cannot see it on screen or style it, but it is still listed as a valid layer. How do I correct this? -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Line shapefile publishes as polygon
I selected EPSG:4326 for projection, and went with default styling during publishing. From: Jerome A. Wendell [mailto:jawend...@suddenlink.net] Sent: Tuesday, April 08, 2014 2:06 PM To: Bistrais, Bob; geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] Line shapefile publishes as polygon Bob, Do you define the projection and the styling for the layer in the web administration interface when you published the layer? Jerome Wendell From: Bistrais, Bob [mailto:bob.bistr...@maine.gov] Sent: Tuesday, April 08, 2014 12:29 PM To: geoserver-users@lists.sourceforge.netmailto:geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] Line shapefile publishes as polygon I have a shapefile that is line features which I am trying to publish in GeoServer (2.4). When I publish it, two strange things occur- I get the message that it cannot determine the projection, even though there is a .prj file for it. That's no problem since I can select that manually. The real problem is that GeoServer publishes the shapefile as polygon features. In addition, I cannot see it on screen or style it, but it is still listed as a valid layer. How do I correct this? -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Line shapefile publishes as polygon
Bob, Can you preview the layer in Layer Preview? Are you sure the shapefile contains line features and not polygons? Jerome Wendell From: Bistrais, Bob [mailto:bob.bistr...@maine.gov] Sent: Tuesday, April 08, 2014 2:18 PM To: jawend...@suddenlink.net; geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] Line shapefile publishes as polygon I selected EPSG:4326 for projection, and went with default styling during publishing. From: Jerome A. Wendell [mailto:jawend...@suddenlink.net] Sent: Tuesday, April 08, 2014 2:06 PM To: Bistrais, Bob; geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] Line shapefile publishes as polygon Bob, Do you define the projection and the styling for the layer in the web administration interface when you published the layer? Jerome Wendell From: Bistrais, Bob [mailto:bob.bistr...@maine.gov] Sent: Tuesday, April 08, 2014 12:29 PM To: geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] Line shapefile publishes as polygon I have a shapefile that is line features which I am trying to publish in GeoServer (2.4). When I publish it, two strange things occur- I get the message that it cannot determine the projection, even though there is a .prj file for it. That's no problem since I can select that manually. The real problem is that GeoServer publishes the shapefile as polygon features. In addition, I cannot see it on screen or style it, but it is still listed as a valid layer. How do I correct this? -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Line shapefile publishes as polygon
I cannot preview it in Layer Preview- neither with OpenLayers nor any other client. I know for a fact that the input shapefile is line, not poly, unless something or somebody built polys out of it (highly unlikely). For the record, the Edit Layers shows feature type as MultiPolygon. From: Jerome A. Wendell [mailto:jawend...@suddenlink.net] Sent: Tuesday, April 08, 2014 2:32 PM To: Bistrais, Bob; geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] Line shapefile publishes as polygon Bob, Can you preview the layer in Layer Preview? Are you sure the shapefile contains line features and not polygons? Jerome Wendell From: Bistrais, Bob [mailto:bob.bistr...@maine.gov] Sent: Tuesday, April 08, 2014 2:18 PM To: jawend...@suddenlink.netmailto:jawend...@suddenlink.net; geoserver-users@lists.sourceforge.netmailto:geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] Line shapefile publishes as polygon I selected EPSG:4326 for projection, and went with default styling during publishing. From: Jerome A. Wendell [mailto:jawend...@suddenlink.net] Sent: Tuesday, April 08, 2014 2:06 PM To: Bistrais, Bob; geoserver-users@lists.sourceforge.netmailto:geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] Line shapefile publishes as polygon Bob, Do you define the projection and the styling for the layer in the web administration interface when you published the layer? Jerome Wendell From: Bistrais, Bob [mailto:bob.bistr...@maine.gov] Sent: Tuesday, April 08, 2014 12:29 PM To: geoserver-users@lists.sourceforge.netmailto:geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] Line shapefile publishes as polygon I have a shapefile that is line features which I am trying to publish in GeoServer (2.4). When I publish it, two strange things occur- I get the message that it cannot determine the projection, even though there is a .prj file for it. That's no problem since I can select that manually. The real problem is that GeoServer publishes the shapefile as polygon features. In addition, I cannot see it on screen or style it, but it is still listed as a valid layer. How do I correct this? -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Line shapefile publishes as polygon
Can you load the shp file into QGIS for example? Russ --- On 8 Apr 2014, at 19:38, Bistrais, Bob bob.bistr...@maine.gov wrote: I cannot preview it in Layer Preview- neither with OpenLayers nor any other client. I know for a fact that the input shapefile is line, not poly, unless something or somebody built polys out of it (highly unlikely). For the record, the Edit Layers shows feature type as MultiPolygon. From: Jerome A. Wendell [mailto:jawend...@suddenlink.net] Sent: Tuesday, April 08, 2014 2:32 PM To: Bistrais, Bob; geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] Line shapefile publishes as polygon Bob, Can you preview the layer in “Layer Preview”? Are you sure the shapefile contains line features and not polygons? Jerome Wendell From: Bistrais, Bob [mailto:bob.bistr...@maine.gov] Sent: Tuesday, April 08, 2014 2:18 PM To: jawend...@suddenlink.net; geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] Line shapefile publishes as polygon I selected EPSG:4326 for projection, and went with default styling during publishing. From: Jerome A. Wendell [mailto:jawend...@suddenlink.net] Sent: Tuesday, April 08, 2014 2:06 PM To: Bistrais, Bob; geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] Line shapefile publishes as polygon Bob, Do you define the projection and the styling for the layer in the web administration interface when you published the layer? Jerome Wendell From: Bistrais, Bob [mailto:bob.bistr...@maine.gov] Sent: Tuesday, April 08, 2014 12:29 PM To: geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] Line shapefile publishes as polygon I have a shapefile that is line features which I am trying to publish in GeoServer (2.4). When I publish it, two strange things occur- I get the message that it cannot determine the projection, even though there is a .prj file for it. That’s no problem since I can select that manually. The real problem is that GeoServer publishes the shapefile as polygon features. In addition, I cannot see it on screen or style it, but it is still listed as a valid layer. How do I correct this? -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Line shapefile publishes as polygon
If the feature type is MultiPolygon, then it doesn’t seem like the shapefile contains just lines. Jerome From: Russ Hore [mailto:r...@russ-hore.co.uk] Sent: Tuesday, April 08, 2014 2:44 PM To: Bistrais, Bob Cc: jawend...@suddenlink.net; geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Line shapefile publishes as polygon Can you load the shp file into QGIS for example? Russ --- On 8 Apr 2014, at 19:38, Bistrais, Bob bob.bistr...@maine.gov wrote: I cannot preview it in Layer Preview- neither with OpenLayers nor any other client. I know for a fact that the input shapefile is line, not poly, unless something or somebody built polys out of it (highly unlikely). For the record, the Edit Layers shows feature type as MultiPolygon. From: Jerome A. Wendell [mailto:jawend...@suddenlink.net] Sent: Tuesday, April 08, 2014 2:32 PM To: Bistrais, Bob; geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] Line shapefile publishes as polygon Bob, Can you preview the layer in “Layer Preview”? Are you sure the shapefile contains line features and not polygons? Jerome Wendell From: Bistrais, Bob [mailto:bob.bistr...@maine.gov] Sent: Tuesday, April 08, 2014 2:18 PM To: jawend...@suddenlink.net; geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] Line shapefile publishes as polygon I selected EPSG:4326 for projection, and went with default styling during publishing. From: Jerome A. Wendell [mailto:jawend...@suddenlink.net] Sent: Tuesday, April 08, 2014 2:06 PM To: Bistrais, Bob; geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] Line shapefile publishes as polygon Bob, Do you define the projection and the styling for the layer in the web administration interface when you published the layer? Jerome Wendell From: Bistrais, Bob [mailto:bob.bistr...@maine.gov] Sent: Tuesday, April 08, 2014 12:29 PM To: geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] Line shapefile publishes as polygon I have a shapefile that is line features which I am trying to publish in GeoServer (2.4). When I publish it, two strange things occur- I get the message that it cannot determine the projection, even though there is a .prj file for it. That’s no problem since I can select that manually. The real problem is that GeoServer publishes the shapefile as polygon features. In addition, I cannot see it on screen or style it, but it is still listed as a valid layer. How do I correct this? -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Line shapefile publishes as polygon
I can load the original shapefile in QGIS and Arc, and it is a line dataset. On the GeoServer installation, I have limited access to the server, and had the Administrator upload that shapefile for me. I had previously published it as a line layer, only in the past couple days did we find it was trying to publish as polygon. I am using this shapefile and GeoServer installation to train others on using GeoServer, so the others have been trying to publish their own layers in their own workspaces. Some were able to publish it correctly as lines, only in the past few days did we find it thinking it was poly. From: Russ Hore [mailto:r...@russ-hore.co.uk] Sent: Tuesday, April 08, 2014 2:44 PM To: Bistrais, Bob Cc: jawend...@suddenlink.net; geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Line shapefile publishes as polygon Can you load the shp file into QGIS for example? Russ --- On 8 Apr 2014, at 19:38, Bistrais, Bob bob.bistr...@maine.govmailto:bob.bistr...@maine.gov wrote: I cannot preview it in Layer Preview- neither with OpenLayers nor any other client. I know for a fact that the input shapefile is line, not poly, unless something or somebody built polys out of it (highly unlikely). For the record, the Edit Layers shows feature type as MultiPolygon. From: Jerome A. Wendell [mailto:jawend...@suddenlink.net] Sent: Tuesday, April 08, 2014 2:32 PM To: Bistrais, Bob; geoserver-users@lists.sourceforge.netmailto:geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] Line shapefile publishes as polygon Bob, Can you preview the layer in “Layer Preview”? Are you sure the shapefile contains line features and not polygons? Jerome Wendell From: Bistrais, Bob [mailto:bob.bistr...@maine.gov] Sent: Tuesday, April 08, 2014 2:18 PM To: jawend...@suddenlink.netmailto:jawend...@suddenlink.net; geoserver-users@lists.sourceforge.netmailto:geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] Line shapefile publishes as polygon I selected EPSG:4326 for projection, and went with default styling during publishing. From: Jerome A. Wendell [mailto:jawend...@suddenlink.net] Sent: Tuesday, April 08, 2014 2:06 PM To: Bistrais, Bob; geoserver-users@lists.sourceforge.netmailto:geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] Line shapefile publishes as polygon Bob, Do you define the projection and the styling for the layer in the web administration interface when you published the layer? Jerome Wendell From: Bistrais, Bob [mailto:bob.bistr...@maine.gov] Sent: Tuesday, April 08, 2014 12:29 PM To: geoserver-users@lists.sourceforge.netmailto:geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] Line shapefile publishes as polygon I have a shapefile that is line features which I am trying to publish in GeoServer (2.4). When I publish it, two strange things occur- I get the message that it cannot determine the projection, even though there is a .prj file for it. That’s no problem since I can select that manually. The real problem is that GeoServer publishes the shapefile as polygon features. In addition, I cannot see it on screen or style it, but it is still listed as a valid layer. How do I correct this? -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.netmailto:Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Very basic question - Geowebcache Geoserver
I have got my GeoServer configured with some vector data sets in several postGIS DBs I have configured GeoServer layers can see these via the view Layers page I can't seem to figure out how to configure Geowebcache to reference the Layers in Geoserver Note I have Geowebcache and Geoserver deployed to separate WebApp servers Hope someone can share a geowebcache.xml and the equivalent GeoServer Layer configurations Have read through both sets of online User manuals scanned many sites/posts-but can't seem to get my head around it Any help greatly appreciated -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Issue with GeoWebCache when GeoServer style is tied to a workspace. GS 2.5B
I just ran into this myself, and can confirm the behavior. GWC presumably uses the global WMS endpoint to generate tiles. Since workspace styles aren't visibly in the global endpoints, rendering fails due to not finding the workspace style. GWC throws the following: 08 Apr 11:18:11 ERROR [seed.MTSeeder] - Problem communicating with GeoServer org.geowebcache.GeoWebCacheException: Problem communicating with GeoServer at org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:522) at org.geoserver.gwc.layer.GeoServerTileLayer.seedTile(GeoServerTileLayer.java:711) at org.geowebcache.seed.SeedTask.doActionInternal(SeedTask.java:136) at org.geowebcache.seed.GWCTask.doAction(GWCTask.java:76) at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:36) at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:25) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IllegalStateException: Expected: RenderedImageMap, got null at org.geoserver.gwc.layer.GeoServerTileLayer.dispatchGetMap(GeoServerTileLayer.java:575) at org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:517) ... 9 more and previously in the logs, the underlying GetMap exception: 08 Apr 11:18:11 ERROR [geoserver.ows] - org.geoserver.platform.ServiceException: No such style: the_style at org.geoserver.wms.map.GetMapKvpRequestReader.parseStyles(GetMapKvpRequestReader.java:1386) at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:318) at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:80) at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1412) at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:622) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:263) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.geoserver.gwc.GWC.dispatchOwsRequest(GWC.java:1162) at org.geoserver.gwc.layer.GeoServerTileLayer.dispatchGetMap(GeoServerTileLayer.java:572) at org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:517) at org.geoserver.gwc.layer.GeoServerTileLayer.seedTile(GeoServerTileLayer.java:711) at org.geowebcache.seed.SeedTask.doActionInternal(SeedTask.java:136) at org.geowebcache.seed.GWCTask.doAction(GWCTask.java:76) at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:36) at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:25) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) GeoServer specs: Bug submitted to GWC GitHub repo here: https://github.com/GeoWebCache/geowebcache/issues/232 Thanks, Shane On Mon, Feb 10, 2014 at 7:59 AM, Rahkonen Jukka (Tike) jukka.rahko...@mmmtike.fi wrote: Hi, Perhaps it is the same issue as here http://thread.gmane.org/gmane.comp.gis.geoserver.devel/24109 Try if your landrecords namespace endpoint works with the namespace tied style. -Jukka Rahkonen- Mark Volz wrote: Hello, I may have run into a possible bug in GS 2.5. Could someone confirm this for me. Here is what I noticed: I created a style named parcelstyle and added it to my landrecords workspace. Next, I created a parcel layer in the landrecords workspace, and added the parcelstyle style to the layer as the default. The GeoServer demo worked fine. The GeoWebCache demo did not. GWC complained it could not communicate with GeoServer. I removed the parcelstyle style from my layer and replaced it with the generic polygon style. The polygon style worked in both GeoServer and GeoWebCache. After some testing I added parcelstyle back to GeoServer, I did not tie the style to a workspace. When parcelstyle was not attached to a workspace both the GeoServer and GeoWebCache demos worked fine. Resolution / Possible bug: GeoServer may not create tiles for GeoWebCache when the reference style is tied to a workspace. Environment: Layer: The parcel layer is from a shapefile. OS: Windows Java: 7 Thanks Mark Volz, GISP GIS Specialist -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper.
Re: [Geoserver-users] Very basic question - Geowebcache Geoserver
On Tue, Apr 8, 2014 at 8:53 PM, Stefan sma...@hotmail.co.uk wrote: I have got my GeoServer configured with some vector data sets in several postGIS DBs I have configured GeoServer layers can see these via the view Layers page I can't seem to figure out how to configure Geowebcache to reference the Layers in Geoserver Note I have Geowebcache and Geoserver deployed to separate WebApp servers Hope someone can share a geowebcache.xml and the equivalent GeoServer Layer configurations GeoServer ships with GeoWebCache integrated into it, no need to deploy it as a separate applications. Unless you changed the default, all your layers are also already published as tile caches too Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Line shapefile publishes as polygon
On Tue, Apr 8, 2014 at 8:52 PM, Bistrais, Bob bob.bistr...@maine.govwrote: I can load the original shapefile in QGIS and Arc, and it is a line dataset. On the GeoServer installation, I have limited access to the server, and had the Administrator upload that shapefile for me. I had previously published it as a line layer, only in the past couple days did we find it was trying to publish as polygon. I am using this shapefile and GeoServer installation to train others on using GeoServer, so the others have been trying to publish their own layers in their own workspaces. Some were able to publish it correctly as lines, only in the past few days did we find it thinking it was poly. GeoServer reads the shape type from the shapefile header, I never heard of cases in which the type was misread (but there might be a first for everything, of course). If you want to show it as lines just go to into the publish tab and select the line style instead of the polygon one. If you can share the shapefile in question, maybe someone can have a second look at it Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Line shapefile publishes as polygon
I did try to change the style to line, but still can't see it. I can share the original shapefile now, but it would make more sense to examine the one on the server. I'll ask that server's administrator to send it to me and will forward it. From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea Aime Sent: Tuesday, April 08, 2014 3:02 PM To: Bistrais, Bob Cc: Russ Hore; geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Line shapefile publishes as polygon On Tue, Apr 8, 2014 at 8:52 PM, Bistrais, Bob bob.bistr...@maine.govmailto:bob.bistr...@maine.gov wrote: I can load the original shapefile in QGIS and Arc, and it is a line dataset. On the GeoServer installation, I have limited access to the server, and had the Administrator upload that shapefile for me. I had previously published it as a line layer, only in the past couple days did we find it was trying to publish as polygon. I am using this shapefile and GeoServer installation to train others on using GeoServer, so the others have been trying to publish their own layers in their own workspaces. Some were able to publish it correctly as lines, only in the past few days did we find it thinking it was poly. GeoServer reads the shape type from the shapefile header, I never heard of cases in which the type was misread (but there might be a first for everything, of course). If you want to show it as lines just go to into the publish tab and select the line style instead of the polygon one. If you can share the shapefile in question, maybe someone can have a second look at it Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Very basic question - Geowebcache Geoserver
Andrea Thanks for your quick reply, yes I knew that was available ??Doesn't the integrated Geowebcache show the tiled layers by retrieving the GeoServer GetCapabilities - So there isn't a specific geowebcache.xml I can look at I need to build as separate servers to investigate some service configuration scaling options that we are thinking about So I need to figure out what should be in my geowebcache.xml From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea Aime Sent: 08 April 2014 20:00 To: Stefan Cc: GeoServer Mailing List List Subject: Re: [Geoserver-users] Very basic question - Geowebcache Geoserver On Tue, Apr 8, 2014 at 8:53 PM, Stefan sma...@hotmail.co.uk wrote: I have got my GeoServer configured with some vector data sets in several postGIS DBs I have configured GeoServer layers can see these via the view Layers page I can't seem to figure out how to configure Geowebcache to reference the Layers in Geoserver Note I have Geowebcache and Geoserver deployed to separate WebApp servers Hope someone can share a geowebcache.xml and the equivalent GeoServer Layer configurations GeoServer ships with GeoWebCache integrated into it, no need to deploy it as a separate applications. Unless you changed the default, all your layers are also already published as tile caches too Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geoserver Not Opening
Hi Pardhu, What does the jetty console say? Have you tried http://localhost:8082/geoserver/welcome.do ? The osgeo live 7.9 uses that, I don't know if 7.0 is different. Il 02/apr/2014 12:41 PARDHU D dpardhu...@yahoo.in ha scritto: Hello to all, I have installed osgeo live 7.0 in my laptop. I can able to start geoserver, While opening this link http://localhost:8082/geoserver/web/ HTTP ERROR: 404 NOT_FOUND RequestURI=/geoserver/web/ *Powered by jetty:// http://jetty.mortbay.org/* *I am getting the above error. Can any please help in this regard.* Sorry for double posting. Thanks in advance. Regard, D Pardhu. -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] MapWindow Open Source GIS Users and Developers Conference
This year (May 29-31 2014) the 5th Hungarian GIS Conference Exhibition organized by the University of Debrecen includes the 4th MapWindow Open Source GIS Users and Developers Conference. Please have a look at the conference website: http://geogis.detek.unideb.hu/TKonferencia/2014/ Like our previous MapWindow conferences we are encouraging other OSGeo communities to join and give an oral presentation or poster presentation. At this moment we still have a few presentation slots open for Open Source GIS related presentations. Don't be shy and show off your project or product! Allowed languages are Hungarian and English (preferred). I hope to see you in Debrecen. Sorry for sending this through this list, but it's the last week before the deadline and we really would like some additional Open Source GIS related presentations. Thanks, Paul *Paul Meems * Release manager, configuration manager and forum moderator of MapWindow GIS. www.mapwindow.org Owner of MapWindow.nl - Support for Dutch speaking users. www.mapwindow.nl *Join us at the MapWindow GIS Conference 2014 http://geogis.detek.unideb.hu/TKonferencia/2014/, in Debrecen Hungary* -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Line shapefile publishes as polygon
I looked at the shapefile- it is corrupted. It has no features, and the schema from a polygon shapefile. I don't know how it was corrupted, but I will have it replaced tomorrow morning, and I expect it should work. Will report back tomorrow. From: Bistrais, Bob [mailto:bob.bistr...@maine.gov] Sent: Tuesday, April 08, 2014 3:07 PM To: Andrea Aime Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Line shapefile publishes as polygon I did try to change the style to line, but still can't see it. I can share the original shapefile now, but it would make more sense to examine the one on the server. I'll ask that server's administrator to send it to me and will forward it. From: andrea.a...@gmail.commailto:andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea Aime Sent: Tuesday, April 08, 2014 3:02 PM To: Bistrais, Bob Cc: Russ Hore; geoserver-users@lists.sourceforge.netmailto:geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Line shapefile publishes as polygon On Tue, Apr 8, 2014 at 8:52 PM, Bistrais, Bob bob.bistr...@maine.govmailto:bob.bistr...@maine.gov wrote: I can load the original shapefile in QGIS and Arc, and it is a line dataset. On the GeoServer installation, I have limited access to the server, and had the Administrator upload that shapefile for me. I had previously published it as a line layer, only in the past couple days did we find it was trying to publish as polygon. I am using this shapefile and GeoServer installation to train others on using GeoServer, so the others have been trying to publish their own layers in their own workspaces. Some were able to publish it correctly as lines, only in the past few days did we find it thinking it was poly. GeoServer reads the shape type from the shapefile header, I never heard of cases in which the type was misread (but there might be a first for everything, of course). If you want to show it as lines just go to into the publish tab and select the line style instead of the polygon one. If you can share the shapefile in question, maybe someone can have a second look at it Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Very basic question - Geowebcache Geoserver
Hi, You can use geowebcache in addition to integrated layers. Edit file /webapps/geoserver/WEB-INF/web.xml Add section like context-param param-nameGEOWEBCACHE_CACHE_DIR/param-name param-value/users/geoserver/data/gwc/param-value /context-param Now write geowebcache.xml, save it into the GEOWEBCACHE_CACHE_DIR and restart the server. Work at least for me. After doing this the integrated GWC has the layers from Geoserver plus layers defined in geowebcache.xml. -Jukka Rahkonen- Stefan wrote: Andrea Thanks for your quick reply, yes I knew that was available ??Doesn't the integrated Geowebcache show the tiled layers by retrieving the GeoServer GetCapabilities - So there isn't a specific geowebcache.xml I can look at I need to build as separate servers to investigate some service configuration scaling options that we are thinking about So I need to figure out what should be in my geowebcache.xml From: andrea.a...@gmail.commailto:andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea Aime Sent: 08 April 2014 20:00 To: Stefan Cc: GeoServer Mailing List List Subject: Re: [Geoserver-users] Very basic question - Geowebcache Geoserver On Tue, Apr 8, 2014 at 8:53 PM, Stefan sma...@hotmail.co.ukmailto:sma...@hotmail.co.uk wrote: I have got my GeoServer configured with some vector data sets in several postGIS DBs I have configured GeoServer layers can see these via the view Layers page I can't seem to figure out how to configure Geowebcache to reference the Layers in Geoserver Note I have Geowebcache and Geoserver deployed to separate WebApp servers Hope someone can share a geowebcache.xml and the equivalent GeoServer Layer configurations GeoServer ships with GeoWebCache integrated into it, no need to deploy it as a separate applications. Unless you changed the default, all your layers are also already published as tile caches too Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] ScaleCoverage WPS as Transformation in SLD
Hello, all. I am trying to invoke the gs:ScaleCoverage WPS as a Transformation on a coverage from within an SLD. This works with all of the inputs (xScale, yScale, etc.) EXCEPT for interpolation. No matter what value I provide for interpolation, I get an error: Caused by: java.security.InvalidParameterException: Could not convert the value BILINEAR into the expected type class javax.media.jai.Interpolation for parameter interpolation at org.geotools.process.function.ProcessFunction.evaluateInputs(ProcessFunction.java:203) at org.geotools.process.function.ProcessFunction.evaluate(ProcessFunction.java:108) at org.geotools.renderer.lite.StreamingRenderer.applyRenderingTransformation(StreamingRenderer.java:2230) at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:2015) at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:829) at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:491) ... 106 more Even though BILINEAR is stated as an acceptable value for this parameter. The excerpt from my SLD is below: Transformation ogc:Function name=gs:ScaleCoverage ogc:Function name=parameter ogc:Literalcoverage/ogc:Literal /ogc:Function ogc:Function name=parameter ogc:LiteralxScale/ogc:Literal ogc:Literal3/ogc:Literal /ogc:Function ogc:Function name=parameter ogc:LiteralyScale/ogc:Literal ogc:Literal3/ogc:Literal /ogc:Function ogc:Function name=parameter ogc:LiteralxTranslate/ogc:Literal ogc:Literal0/ogc:Literal /ogc:Function ogc:Function name=parameter ogc:LiteralyTranslate/ogc:Literal ogc:Literal0/ogc:Literal /ogc:Function ogc:Function name=parameter ogc:Literalinterpolation/ogc:Literal ogc:LiteralBILINEAR/ogc:Literal /ogc:Function /ogc:Function /Transformation Any help and direction is appreciated ! Thanks, Mike Grogan -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] WMS Raster Interpolation - Data vs Rendered Image
I have a question related to interpolation of raster data in a WMS. In an oversampling situation, where I am zoomed in past the native resolution of my data, what exactly is interpolated? The rendered image or the source data? For instance, I have a single banded geotiff that contains gridded data values (not RGB colors) to which I apply a ColorMap within an SLD. When interpolation (bilinear, cubic, etc.) is applied, is the interpolation applied to the full-color RGB output image after styling is applied or to the source data from the single banded geotiff before the ColorMap is applied? I am thinking it is applied to the full-color RGB after applying the ColorMap, because the only real outcome I see is more of a blurring, which I expect if now all 3 RGB bands are being interpolated and then added back together. This is because I am now interpolating colors, not data, right? If the underlying data were being interpolated first, and then the ColorMap applied, wouldn't I expect more of a smoothing, rather than blurring, outcome to the interpolation? It is this smoothing of the single band source data, rather than interpolation of expanded RGB output after the map is applied, that I am after when I am oversampling ... or zoomed in past the native resolution of my gridded data. Is there a way to accomplish this in GeoServer? Are there major holes in my assumptions above and/or am I just not thinking about this clearly? Thanks again, Mike Grogan -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] combining conditionals in app-schema mapping files
Hi, Could anyone please tell me if it's possible to combine boolean expressions inside of if_then_else expressions? For example ClientProperty nametest/name valueif_then_else(isNull(A) and isNull(B), 'foo', 'bar')/value /ClientProperty is not accepted, and neither is ClientProperty nametest/name valueif_then_else(isNull(A), if_then_else(isNull(B), 'foo', 'bar'), 'bar')/value /ClientProperty Otherwise, we can do the and operation in the database. Kind Regards, Lazar -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users