Re: [Geoserver-users] JPEG2000 crashed GeoServer
Hi, what do you mean by crashing?. Does the JVM stop working and you have to restart the web container? Or does the geoserver simply reports an error when unable to deal with your .jp2 file? Can you please paste the full logs/trace related to that problem? Please, let us know. Cheers, Daniele == GeoServer training in Milan, 6th 7th June 2013! Visit http://geoserver.geo-solutions.it for more information. == Ing. Daniele Romagnoli 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 --- On Mon, Jun 10, 2013 at 9:51 PM, GeoGEOrge awml...@yahoo.com wrote: I am using: Ubuntu 12.10 32-bit GeoServer 2.3.2 geoserver-2.3.2-gdal-plugin.zip gdal-data.zip gdal192-Ubuntu12-gcc4.6.3-i386.tar.gz I added to geoserver startup: export GDAL_DATA export LD_LIBRARY_PATH geoserver lists the new store types including: JP2MrSID - JP2K (MrSID) Coverage Format when I add one of my .jp2 files as a store, geoserver crashes: org.apache.wicket.RequestListenerInterface ... 'std::length_error' -- View this message in context: http://osgeo-org.1560.x6.nabble.com/JPEG2000-crashed-GeoServer-tp5059217.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] MrSID store creation not completing
Hi Gavin, please read below... == GeoServer training in Milan, 6th 7th June 2013! Visit http://geoserver.geo-solutions.it for more information. == Ing. Daniele Romagnoli 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 --- On Mon, Jun 10, 2013 at 1:53 PM, Gavin Fleming ga...@afrispatial.co.zawrote: Hi Daniele Ubuntu server 10.04 LTS Geoserver 2.2.4 Tomcat 6 From http://geoserver.org/display/GEOS/GeoServer+2.2.4: GDAL extension: geoserver-2.2.4-gdal-plugin.zip -- extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/ From http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.6/ : GDAL native libs: gdal192-Ubuntu11-gcc4.5.2-x86_64.tar.gz -- extracted to /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/ /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo --version /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo: error while loading shared libraries: libltidsdk.so: cannot open shared object file: No such file or directory I'm wondering whether that gcc version build is supported on your 10.04... Can you try a ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo and check the output? (I've also tried the previous one, gdal1.7.3-linux64-base-gcc43.tar.gz. That doesn't work either, but didn't give the libltidsdk.so error.) It requires a different gdal-bindings jar (the one made for 1.7.3 version) whilst you are trying to use 1.9.2-bindings against 1.7.3 native libs. ImageIO-Ext version: from imageio-ext-1.1.6-jars.zip -- extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/ gdal-data.zip -- extracted to /usr/local/gdal_data /etc/environment: LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/ GDAL_DATA=/usr/local/gdal_data System GDAL: GDAL 1.10dev (compiled from source to add mrsid and ecw). cli gdal utilies work fine with mrsids. e.g. gdal_retile.py built a pyramid from mrsids no problem. thanks in advance Gavin Please, let us know. Cheers, Daniele On 10/06/2013 10:03, Daniele Romagnoli wrote: Hi Gavin, can you please provide us some more details on your system? Which OS are you using? Which Set of GDAL extensions, ImageIO-EXT version and GDAL native libs are you using? Please, let us know. Cheers, Daniele == GeoServer training in Milan, 6th 7th June 2013! Visit http://geoserver.geo-solutions.it for more information. == Ing. Daniele Romagnoli 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 --- On Sat, Jun 8, 2013 at 2:59 PM, Gavin Fleming ga...@afrispatial.co.zawrote: Hi I can see all the GDAL raster types and can complete the form for creation of a MrSID or ECW store. However, when I Save, the screen doesn't revert to the Publish screen, yet no errors are returned. I have to click Cancel. Nevertheless, the store does appear in the list of stores, yet I cannot create a layer from it. Even on verbose, there's nothing obvious in the logs. Geoserver 2.2.4 Any known issues with this version of Geoserver? I'd appreciate any tips. I really need to get this working so I can use the MrSIDs as level 0 of an Image pyramid layer and geotiffs generated by gdal_retile as the pyramid layers, thus avoiding having to generate a massive level 0 of geotiffs. -- thanks in advance Gavin -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- regards Gavin Gavin Fleminghttp://afrispatial.co.za t: 0218620670 c: 0845965680 f: 0866164820 -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ?
Hi I just changed my test environment from Jetty-based to Tomcat7. Everything works, but how can I tell to Tomcat7, where is my data??? I have set GEOSERVER_DATA_DIR environment variable right but Tomcat7 does not care whatever I set and restart Tomcat7 Data diretory always stays the same: /var/lib/tomcat7/webapps/geoserver/data I work with Ubuntu Linux 12.04. Can anyone help, I am new with Tomcat7. Thanks, Oiva -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ?
Hi, Try to edit webapps/geoserver/WEB-INF/web.xml and restart. There is a commented example about giving GEOSERVER_DATA_DIR as context-param. -Jukka Rahkonen- Hakala Oiva wrote: Hi I just changed my test environment from Jetty-based to Tomcat7. Everything works, but how can I tell to Tomcat7, where is my data??? I have set GEOSERVER_DATA_DIR environment variable right but Tomcat7 does not care whatever I set and restart Tomcat7 Data diretory always stays the same: /var/lib/tomcat7/webapps/geoserver/data I work with Ubuntu Linux 12.04. Can anyone help, I am new with Tomcat7. Thanks, Oiva -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] How to group values in SLD
Hello. First of all, excuse my poor English. I have the following problem. I need to represent a lot of polygons (hundreds) in GeoServer with SLD_BODY option. The request is very long, so it is a problem in the client environment, because the request is cut and it doesn't execute. I need to make it smaller. I have hundred of polygons, but all polygons are painted with a color from five available, so instead of define a rule for each polygon, I would like to group all the polygons with the same symbol to reduce the length of the request. Is it possible to use something similar to IN operator to group values to represent? How can I obtain somethin similar to: PropertyIsEqualTo PropertyNameID/PropertyName Literal1,2,3,4,7,34,65,98,322,.../Literal /PropertyIsEqualTo Thanks in advance Best regards Un saludo Pedro Briones García Jefe de Grupo de Actuaciones y Proyectos Gerencia de SIG y Consultoría Grupo Tragsa (Grupo SEPI) Julián Camarillo, 6B · Planta 2ªB 28037 Madrid Tel.: +34 91 322 64 89 Fax: +34 91 322 64 48 p...@tragsa.es www.tragsa.eshttp://www.tragsa.es En beneficio del medio ambiente, imprime este e-mail sólo si realmente es necesario. ** El consumo de papel es perjudicial para el medio ambiente. Por favor, tengalo en cuenta antes de imprimir este mensaje. AVISO LEGAL: Este mensaje y sus anexos pueden contener informacion confidencial o legalmente protegida. Esta dirigido unicamente a la persona o entidad indicada como destinatarios del mensaje. Si este mensaje le hubiera llegado por error, por favor eliminelo sin revisarlo ni reenviarlo y notifiquelo inmediatamente al remitente. **-- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] App-Schema Publish Layer Exception
Hi Ben, Thanks for your assistance - I tried using lowercase identifiers as described in Attempt 1, and using OCQL'test'/OCQL as described in Attempt 2, but unfortunately I'm still not getting the townName data coming through in the WFS response. Can you confirm that my GML Application Schema (below) has the townName correctly configured please? Is there anything else that I should verify that may be relevant to getting the townName mapping working? Many thanks, Ryan = = = GML Application Schema = = = ?xml version=1.0 encoding=UTF-8? xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:gml=http://www.opengis.net/gml/3.2; xmlns:town=http://www.envitia.com/schemas/1.0; targetNamespace=http://www.envitia.com/schemas/1.0; elementFormDefault=qualified xsd:import namespace=http://www.opengis.net/gml/3.2; schemaLocation=http://schemas.opengis.net/gml/3.2.1/gml.xsd/ xsd:element name=TownSurvey type=town:TownSurveyType substitutionGroup=gml:AbstractFeature/ xsd:complexType name=TownSurveyType xsd:complexContent xsd:extension base=gml:AbstractFeatureType xsd:sequence xsd:element name=townName type=xsd:string/ /xsd:sequence /xsd:extension /xsd:complexContent /xsd:complexType /xsd:schema = = = -Original Message- From: Ben Caradoc-Davies [mailto:ben.caradoc-dav...@csiro.au] Sent: 11 June 2013 03:02 To: Ryan Moody Cc: geoserver-users@lists.sourceforge.net; Ian Turton; Neil Kirk Subject: Re: [Geoserver-users] App-Schema Publish Layer Exception On 10/06/13 19:38, Ryan Moody wrote: This is progress, but I noticed that only the ID was being mapped - the town name was not being mapped. Referring back to extracts of my latest mapping file and my GML Application Schema, I have entries for townName as shown below. I have confirmed that TOWN is a character column in my PostGIS database, and I have tried various combinations of AttributeMappings that unfortunately haven't worked. [...] = = = Mapping File (Attempt 1) = = = AttributeMapping targetAttributetown:townName/targetAttribute sourceExpressionOCQLTOWN/OCQL/sourceExpression /AttributeMapping Almost right. PostGIS identifiers should be lowercase; unless you really, really defined your table with 'create table TOWN ...' in PostGIS (and I have seen this particular insanity), names are stored in lowercase. You should be able to make this work by changing it to: sourceExpressionOCQLtown/OCQL/sourceExpression See: http://docs.geoserver.org/latest/en/user/data/app-schema/mapping-file.html#database-identifiers = = = Mapping File (Attempt 2) = = = AttributeMapping targetAttributetown:townName/targetAttribute sourceExpressiontest/sourceExpression /AttributeMapping Invalid as you have no OCQL enclosing your literal; a validating XML editor should warn you about this. The nonvalidating parser that reads the mapping file see you have no OCQL and ignores the extraneous content. Furthermore, CQL literal strings are delimited with single (') not double () quotes. You should be able to make this work by changing it to: sourceExpressionOCQL'test'/OCQL/sourceExpression (Attempt 3 is a variation on this. I prefer 2 as it has namespace prefixes and omits redundant information.) Kind regards, -- Ben Caradoc-Davies ben.caradoc-dav...@csiro.au Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] How to group values in SLD
Pedro, Check out whether transformation functions may be helpful in your case: http://docs.geoserver.org/latest/en/user/styling/sld-tipstricks/transformation-func.html These functions typically allow you to define your visualisation rules more concisely. Kind regards, Edward Date: Mon, 10 Jun 2013 16:41:48 -0700 From: christian.m...@dse.vic.gov.au To: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] How to group values in SLD Hello Pedro, not unfortunately not to my knowledge. You need to do it like this: ogc:Filter ogc:Or ogc:PropertyIsEqualTo ogc:PropertyNameID/ogc:PropertyName ogc:Literal1/ogc:Literal /ogc:PropertyIsEqualTo ogc:PropertyIsEqualTo ogc:PropertyNameID/ogc:PropertyName ogc:Literal2/ogc:Literal /ogc:PropertyIsEqualTo ogc:PropertyIsEqualTo ogc:PropertyNameID/ogc:PropertyName ogc:Literal3/ogc:Literal /ogc:PropertyIsEqualTo /ogc:Or /ogc:Filter Cheers Christian - Dr Christian Maul Project Manager Information Services Branch Department of Sustainability and Environment Level13, Marland House, 570 Bourke Street Melbourne 3000 PO Box 500, East Melbourne Vic 3002 Telephone:+61-3-8636 2325 Telefax: +61-3-8636 2813 -- View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-group-values-in-SLD-tp5059193p5059251.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] MrSID store creation not completing
Hi Daniele ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo linux-vdso.so.1 = (0x7fff1def9000) libgdal.so.1 = /usr/local/lib/libgdal.so.1 (0x7f70f3c67000) libNCSEcw.so.0 = /usr/local/lib/libNCSEcw.so.0 (0x7f70f3929000) libNCSEcwC.so.0 = /usr/local/lib/libNCSEcwC.so.0 (0x7f70f3724000) libNCSCnet.so.0 = /usr/local/lib/libNCSCnet.so.0 (0x7f70f350e000) libNCSUtil.so.0 = /usr/local/lib/libNCSUtil.so.0 (0x7f70f32e8000) librt.so.1 = /lib/librt.so.1 (0x7f70f30df000) libdl.so.2 = /lib/libdl.so.2 (0x7f70f2edb000) libltidsdk.so = not found libpthread.so.0 = /lib/libpthread.so.0 (0x7f70f2cbd000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x7f70f29a9000) libm.so.6 = /lib/libm.so.6 (0x7f70f2726000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x7f70f250e000) libc.so.6 = /lib/libc.so.6 (0x7f70f2188000) libsqlite3.so.0 = /usr/lib/libsqlite3.so.0 (0x7f70f1efb000) libexpat.so.1 = /lib/libexpat.so.1 (0x7f70f1cd1000) libpq.so.5 = /usr/lib/libpq.so.5 (0x7f70f1aa4000) libz.so.1 = /lib/libz.so.1 (0x7f70f188d000) libpcre.so.3 = /lib/libpcre.so.3 (0x7f70f165e000) /lib64/ld-linux-x86-64.so.2 (0x7f70f4c1e000) libssl.so.0.9.8 = /lib/libssl.so.0.9.8 (0x7f70f140a000) libcrypto.so.0.9.8 = /lib/libcrypto.so.0.9.8 (0x7f70f1078000) libkrb5.so.3 = /usr/lib/libkrb5.so.3 (0x7f70f0db4000) libcom_err.so.2 = /lib/libcom_err.so.2 (0x7f70f0bb) libgssapi_krb5.so.2 = /usr/lib/libgssapi_krb5.so.2 (0x7f70f097b000) libldap_r-2.4.so.2 = /usr/lib/libldap_r-2.4.so.2 (0x7f70f072f000) libk5crypto.so.3 = /usr/lib/libk5crypto.so.3 (0x7f70f0508000) libkrb5support.so.0 = /usr/lib/libkrb5support.so.0 (0x7f70f030) libkeyutils.so.1 = /lib/libkeyutils.so.1 (0x7f70f00fd000) libresolv.so.2 = /lib/libresolv.so.2 (0x7f70efee4000) liblber-2.4.so.2 = /usr/lib/liblber-2.4.so.2 (0x7f70efcd5000) libsasl2.so.2 = /usr/lib/libsasl2.so.2 (0x7f70efabb000) libgnutls.so.26 = /usr/lib/libgnutls.so.26 (0x7f70ef819000) libtasn1.so.3 = /usr/lib/libtasn1.so.3 (0x7f70ef607000) libgcrypt.so.11 = /lib/libgcrypt.so.11 (0x7f70ef38f000) libgpg-error.so.0 = /lib/libgpg-error.so.0 (0x7f70ef18b000) On 11/06/2013 09:34, Daniele Romagnoli wrote: Hi Gavin, please read below... == GeoServer training in Milan, 6th 7th June 2013! Visit http://geoserver.geo-solutions.it for more information. == Ing. Daniele Romagnoli 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 --- On Mon, Jun 10, 2013 at 1:53 PM, Gavin Fleming ga...@afrispatial.co.za mailto:ga...@afrispatial.co.za wrote: Hi Daniele Ubuntu server 10.04 LTS Geoserver 2.2.4 Tomcat 6 From http://geoserver.org/display/GEOS/GeoServer+2.2.4: GDAL extension: geoserver-2.2.4-gdal-plugin.zip -- extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/ From http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.6/: GDAL native libs: gdal192-Ubuntu11-gcc4.5.2-x86_64.tar.gz -- extracted to /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/ /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo --version /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo: error while loading shared libraries: libltidsdk.so: cannot open shared object file: No such file or directory I'm wondering whether that gcc version build is supported on your 10.04... Can you try a ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo and check the output? (I've also tried the previous one, gdal1.7.3-linux64-base-gcc43.tar.gz. That doesn't work either, but didn't give the libltidsdk.so error.) It requires a different gdal-bindings jar (the one made for 1.7.3 version) whilst you are trying to use 1.9.2-bindings against 1.7.3 native libs. ImageIO-Ext version: from imageio-ext-1.1.6-jars.zip -- extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/ gdal-data.zip -- extracted to /usr/local/gdal_data /etc/environment: LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/ GDAL_DATA=/usr/local/gdal_data System GDAL: GDAL 1.10dev (compiled from source to add mrsid and ecw). cli gdal utilies work fine with mrsids. e.g. gdal_retile.py built a pyramid from mrsids no problem. thanks in advance Gavin Please, let us know. Cheers, Daniele On 10/06/2013 10:03, Daniele Romagnoli wrote: Hi Gavin, can you please provide us some more details
Re: [Geoserver-users] MrSID store creation not completing
Hi Gavin, It seems you have multiple GDAL libs and third party libs available on your system (some of them are on /usr/local/lib). Do you get this output even when forcing the LD_LIBRARY_PATH to refer to the folder where you have extracted the 1.9.2 downloaded ones? Daniele == GeoServer training in Milan, 6th 7th June 2013! Visit http://geoserver.geo-solutions.it for more information. == Ing. Daniele Romagnoli 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 --- On Tue, Jun 11, 2013 at 11:03 AM, Gavin Fleming ga...@afrispatial.co.zawrote: Hi Daniele ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo linux-vdso.so.1 = (0x7fff1def9000) libgdal.so.1 = /usr/local/lib/libgdal.so.1 (0x7f70f3c67000) libNCSEcw.so.0 = /usr/local/lib/libNCSEcw.so.0 (0x7f70f3929000) libNCSEcwC.so.0 = /usr/local/lib/libNCSEcwC.so.0 (0x7f70f3724000) libNCSCnet.so.0 = /usr/local/lib/libNCSCnet.so.0 (0x7f70f350e000) libNCSUtil.so.0 = /usr/local/lib/libNCSUtil.so.0 (0x7f70f32e8000) librt.so.1 = /lib/librt.so.1 (0x7f70f30df000) libdl.so.2 = /lib/libdl.so.2 (0x7f70f2edb000) libltidsdk.so = not found libpthread.so.0 = /lib/libpthread.so.0 (0x7f70f2cbd000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x7f70f29a9000) libm.so.6 = /lib/libm.so.6 (0x7f70f2726000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x7f70f250e000) libc.so.6 = /lib/libc.so.6 (0x7f70f2188000) libsqlite3.so.0 = /usr/lib/libsqlite3.so.0 (0x7f70f1efb000) libexpat.so.1 = /lib/libexpat.so.1 (0x7f70f1cd1000) libpq.so.5 = /usr/lib/libpq.so.5 (0x7f70f1aa4000) libz.so.1 = /lib/libz.so.1 (0x7f70f188d000) libpcre.so.3 = /lib/libpcre.so.3 (0x7f70f165e000) /lib64/ld-linux-x86-64.so.2 (0x7f70f4c1e000) libssl.so.0.9.8 = /lib/libssl.so.0.9.8 (0x7f70f140a000) libcrypto.so.0.9.8 = /lib/libcrypto.so.0.9.8 (0x7f70f1078000) libkrb5.so.3 = /usr/lib/libkrb5.so.3 (0x7f70f0db4000) libcom_err.so.2 = /lib/libcom_err.so.2 (0x7f70f0bb) libgssapi_krb5.so.2 = /usr/lib/libgssapi_krb5.so.2 (0x7f70f097b000) libldap_r-2.4.so.2 = /usr/lib/libldap_r-2.4.so.2 (0x7f70f072f000) libk5crypto.so.3 = /usr/lib/libk5crypto.so.3 (0x7f70f0508000) libkrb5support.so.0 = /usr/lib/libkrb5support.so.0 (0x7f70f030) libkeyutils.so.1 = /lib/libkeyutils.so.1 (0x7f70f00fd000) libresolv.so.2 = /lib/libresolv.so.2 (0x7f70efee4000) liblber-2.4.so.2 = /usr/lib/liblber-2.4.so.2 (0x7f70efcd5000) libsasl2.so.2 = /usr/lib/libsasl2.so.2 (0x7f70efabb000) libgnutls.so.26 = /usr/lib/libgnutls.so.26 (0x7f70ef819000) libtasn1.so.3 = /usr/lib/libtasn1.so.3 (0x7f70ef607000) libgcrypt.so.11 = /lib/libgcrypt.so.11 (0x7f70ef38f000) libgpg-error.so.0 = /lib/libgpg-error.so.0 (0x7f70ef18b000) On 11/06/2013 09:34, Daniele Romagnoli wrote: Hi Gavin, please read below... == GeoServer training in Milan, 6th 7th June 2013! Visit http://geoserver.geo-solutions.it for more information. == Ing. Daniele Romagnoli 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 --- On Mon, Jun 10, 2013 at 1:53 PM, Gavin Fleming ga...@afrispatial.co.zawrote: Hi Daniele Ubuntu server 10.04 LTS Geoserver 2.2.4 Tomcat 6 From http://geoserver.org/display/GEOS/GeoServer+2.2.4: GDAL extension: geoserver-2.2.4-gdal-plugin.zip -- extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/ From http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.6/ : GDAL native libs: gdal192-Ubuntu11-gcc4.5.2-x86_64.tar.gz -- extracted to /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/ /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo --version /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo: error while loading shared libraries: libltidsdk.so: cannot open shared object file: No such file or directory I'm wondering whether that gcc version build is supported on your 10.04... Can you try a ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo and check the output? (I've also tried the previous one, gdal1.7.3-linux64-base-gcc43.tar.gz. That doesn't work either, but didn't give the libltidsdk.so error.) It requires a different gdal-bindings jar (the one made for 1.7.3 version) whilst you
Re: [Geoserver-users] App-Schema Publish Layer Exception
Hi Ben, I've kept the GMLAS as shown in my previous email (version 3.2.1) and attempted the following WFS requests: 1) http://localhost:8080/geoserver/wfs?request=GetFeaturemaxFeatures=2typeName=town:TownSurvey 2) http://localhost:8080/geoserver/wfs?request=GetFeatureversion=1.1.0outputFormat=gml32maxFeatures=2typeName=town:TownSurvey 3) http://localhost:8080/geoserver/wfs?request=GetFeatureversion=2.0.0maxFeatures=2typeName=town:TownSurvey 4) http://localhost:8080/geoserver/wfs?request=GetFeatureversion=2.0.0outputFormat=gml32maxFeatures=2typeName=town:TownSurvey I've also created the GML 3.2.1 secondary namespace as described in the link you sent me, and I already have an AttributeMapping for the gml:id in my mapping file. Unfortunately, I'm still not getting the townName data in the WFS response - is there anything else I may have overlooked? Furthermore, I noticed that the maxFeatures parameter is ignored when the version is set to 2.0.0 - is that expected? Many thanks, Ryan -Original Message- From: Ben Caradoc-Davies [mailto:ben.caradoc-dav...@csiro.au] Sent: 11 June 2013 09:49 To: Ryan Moody Cc: geoserver-users@lists.sourceforge.net; Ian Turton; Neil Kirk Subject: Re: [Geoserver-users] App-Schema Publish Layer Exception Aha! Ryan, your application schema is GML 3.2.1, but your test request is for WFS 1.1.0, which defaults to GML 3.1.1. These two GML versions have different definitions of a feature. This will cause Bad Things To Happen. To get a GML 3.2.1 response you can either: (1) Use WFS version=1.1.0 and outputFormat=gml32, or (2) Use WFS version=2.0.0 (currently the default. See: http://docs.geoserver.org/latest/en/user/data/app-schema/supported-gml-versions.html Kind regards, -- Ben Caradoc-Davies ben.caradoc-dav...@csiro.au Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ?
Thanks Jukka. I uncommented that section, edited that param value and restarted, but no help. I have also tried to edit CATALINA_OPTS=-DGEOSERVER_DATA_DIR=/home/geoserver-data/ in /usr/share/tomcat7/bin/catalina.sh -file and restart, but it did not help either. Oiva Lähettäjä: Rahkonen Jukka [jukka.rahko...@mmmtike.fi] Lähetetty: 11. kesäkuuta 2013 11:12 Vastaanottaja: 'geoserver-users@lists.sourceforge.net' Aihe: Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ? Hi, Try to edit webapps/geoserver/WEB-INF/web.xml and restart. There is a commented example about giving GEOSERVER_DATA_DIR as context-param. -Jukka Rahkonen- Hakala Oiva wrote: Hi I just changed my test environment from Jetty-based to Tomcat7. Everything works, but how can I tell to Tomcat7, where is my data??? I have set GEOSERVER_DATA_DIR environment variable right but Tomcat7 does not care whatever I set and restart Tomcat7 Data diretory always stays the same: /var/lib/tomcat7/webapps/geoserver/data I work with Ubuntu Linux 12.04. Can anyone help, I am new with Tomcat7. Thanks, Oiva -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] App-Schema Publish Layer Exception
Ryan, WFS 2.0.0 has count instead of maxFeatures and typeNames instead of typeName (but GeoServer is permissive of the latter). outputFormat=gml32 is not needed withWFS 2.0.0 as this is the default. Still thinking ... Kind regards, Ben. On 11/06/13 17:24, Ryan Moody wrote: Hi Ben, I've kept the GMLAS as shown in my previous email (version 3.2.1) and attempted the following WFS requests: 1) http://localhost:8080/geoserver/wfs?request=GetFeaturemaxFeatures=2typeName=town:TownSurvey 2) http://localhost:8080/geoserver/wfs?request=GetFeatureversion=1.1.0outputFormat=gml32maxFeatures=2typeName=town:TownSurvey 3) http://localhost:8080/geoserver/wfs?request=GetFeatureversion=2.0.0maxFeatures=2typeName=town:TownSurvey 4) http://localhost:8080/geoserver/wfs?request=GetFeatureversion=2.0.0outputFormat=gml32maxFeatures=2typeName=town:TownSurvey I've also created the GML 3.2.1 secondary namespace as described in the link you sent me, and I already have an AttributeMapping for the gml:id in my mapping file. Unfortunately, I'm still not getting the townName data in the WFS response - is there anything else I may have overlooked? Furthermore, I noticed that the maxFeatures parameter is ignored when the version is set to 2.0.0 - is that expected? Many thanks, Ryan -Original Message- From: Ben Caradoc-Davies [mailto:ben.caradoc-dav...@csiro.au] Sent: 11 June 2013 09:49 To: Ryan Moody Cc: geoserver-users@lists.sourceforge.net; Ian Turton; Neil Kirk Subject: Re: [Geoserver-users] App-Schema Publish Layer Exception Aha! Ryan, your application schema is GML 3.2.1, but your test request is for WFS 1.1.0, which defaults to GML 3.1.1. These two GML versions have different definitions of a feature. This will cause Bad Things To Happen. To get a GML 3.2.1 response you can either: (1) Use WFS version=1.1.0 and outputFormat=gml32, or (2) Use WFS version=2.0.0 (currently the default. See: http://docs.geoserver.org/latest/en/user/data/app-schema/supported-gml-versions.html Kind regards, -- Ben Caradoc-Davies ben.caradoc-dav...@csiro.au Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre -- Ben Caradoc-Davies ben.caradoc-dav...@csiro.au Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] SQL Server 2008 e Geoserver
I have it working on multiple machines. It's really only: - Installing the sql server plugin (copy to web-inf\lib) - Copy sqljdbc4.jarto web-inf\lib - copy sqljdbc_auth.dll sqljdbc_xa.dll to c:\windows\system32\ You should copy the 64-bit dll's to C:\Windows\SysWOW64 if you are using a 64-bit JRE (and thus not running geoserver as a service) If you are using the 32-bit JRE, you should also use the 32-bit sql dll's. Then if you reboot geoserver (or restart service) you should be able to see 2 entries of SQL server on the create datastore page. If you only see 1 (JNDI), then the dll's can't be found. Hope this helps! Casper On Tue, Jun 11, 2013 at 12:30 AM, txrpls ma...@proseals.com wrote: I am having the same issue. I am running Windows Server 2008 R2 and SQL Server 2008 R2. I have installed the files as directed with no luck. I am not running Tomcat. installed so the first file is installed in D:\Program Files (x86)\GeoServer 2.3.1\WEB-INF\lib the others as in step two below. I have restarted GeoServer, SQl Server and Windows Server and nothing is showing up. Server is the 64 bit version BTW -- View this message in context: http://osgeo-org.1560.x6.nabble.com/SQL-Server-2008-e-Geoserver-tp4664552p5059240.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Casper Span T: @Span_Droid https://twitter.com/#%21/Span_Droid W: http://www.spatially-oriented.com M: i...@spatially-oriented.com -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ?
I have tried all the options mentioned here: http://docs.geoserver.org/latest/en/user/datadirectory/data-dir-setting.html but without success! All they suggest to set data the directory to /var/lib/ but that is definitely NOT the path, where I want my data to be. So, could anyone tell me, are there any other options, which really work ;) Thnx, Oiva Lähettäjä: Hakala Oiva (MTT) [oiva.hak...@mtt.fi] Lähetetty: 11. kesäkuuta 2013 12:36 Vastaanottaja: 'geoserver-users@lists.sourceforge.net' Aihe: Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ? Thanks Jukka. I uncommented that section, edited that param value and restarted, but no help. I have also tried to edit CATALINA_OPTS=-DGEOSERVER_DATA_DIR=/home/geoserver-data/ in /usr/share/tomcat7/bin/catalina.sh -file and restart, but it did not help either. Oiva Lähettäjä: Rahkonen Jukka [jukka.rahko...@mmmtike.fi] Lähetetty: 11. kesäkuuta 2013 11:12 Vastaanottaja: 'geoserver-users@lists.sourceforge.net' Aihe: Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ? Hi, Try to edit webapps/geoserver/WEB-INF/web.xml and restart. There is a commented example about giving GEOSERVER_DATA_DIR as context-param. -Jukka Rahkonen- Hakala Oiva wrote: Hi I just changed my test environment from Jetty-based to Tomcat7. Everything works, but how can I tell to Tomcat7, where is my data??? I have set GEOSERVER_DATA_DIR environment variable right but Tomcat7 does not care whatever I set and restart Tomcat7 Data diretory always stays the same: /var/lib/tomcat7/webapps/geoserver/data I work with Ubuntu Linux 12.04. Can anyone help, I am new with Tomcat7. Thanks, Oiva -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ?
What Jukka described DOES work and I have used it myself. I suspect you are missing something. Restart Tomcat? Reboot should not be required. Russ --- On 11 Jun 2013, at 11:42, Hakala Oiva (MTT) oiva.hak...@mtt.fi wrote: I have tried all the options mentioned here: http://docs.geoserver.org/latest/en/user/datadirectory/data-dir-setting.html but without success! All they suggest to set data the directory to /var/lib/ but that is definitely NOT the path, where I want my data to be. So, could anyone tell me, are there any other options, which really work ;) Thnx, Oiva Lähettäjä: Hakala Oiva (MTT) [oiva.hak...@mtt.fi] Lähetetty: 11. kesäkuuta 2013 12:36 Vastaanottaja: 'geoserver-users@lists.sourceforge.net' Aihe: Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ? Thanks Jukka. I uncommented that section, edited that param value and restarted, but no help. I have also tried to edit CATALINA_OPTS=-DGEOSERVER_DATA_DIR=/home/geoserver-data/ in /usr/share/tomcat7/bin/catalina.sh -file and restart, but it did not help either. Oiva Lähettäjä: Rahkonen Jukka [jukka.rahko...@mmmtike.fi] Lähetetty: 11. kesäkuuta 2013 11:12 Vastaanottaja: 'geoserver-users@lists.sourceforge.net' Aihe: Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ? Hi, Try to edit webapps/geoserver/WEB-INF/web.xml and restart. There is a commented example about giving GEOSERVER_DATA_DIR as context-param. -Jukka Rahkonen- Hakala Oiva wrote: Hi I just changed my test environment from Jetty-based to Tomcat7. Everything works, but how can I tell to Tomcat7, where is my data??? I have set GEOSERVER_DATA_DIR environment variable right but Tomcat7 does not care whatever I set and restart Tomcat7 Data diretory always stays the same: /var/lib/tomcat7/webapps/geoserver/data I work with Ubuntu Linux 12.04. Can anyone help, I am new with Tomcat7. Thanks, Oiva -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] SQL Server 2008 e Geoserver
Hi Casper, I have tried that until I'm blue in the face. And I see nothing at all referring to SQL Server. I don't even have a hint why it has not showing. I am running GeoServer as a service. I also updated to 2.3.2 and notice that I have two instances of GeoServer running being 2.3.1 and 2.3.2 which I don't understand since both are installed the same directory. I have tried with each version of the service and still no Sql Server is showing up. Pulling my hair out. Mark From: Casper Span i...@spatially-oriented.commailto:i...@spatially-oriented.com Date: Tuesday, June 11, 2013 4:04 AM To: Mark R. Paulson ma...@proseals.commailto:ma...@proseals.com Cc: geoserver-users@lists.sourceforge.netmailto:geoserver-users@lists.sourceforge.net geoserver-users@lists.sourceforge.netmailto:geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] SQL Server 2008 e Geoserver I have it working on multiple machines. It's really only: - Installing the sql server plugin (copy to web-inf\lib) - Copy sqljdbc4.jarto web-inf\lib - copy sqljdbc_auth.dll sqljdbc_xa.dll to c:\windows\system32\ You should copy the 64-bit dll's to C:\Windows\SysWOW64 if you are using a 64-bit JRE (and thus not running geoserver as a service) If you are using the 32-bit JRE, you should also use the 32-bit sql dll's. Then if you reboot geoserver (or restart service) you should be able to see 2 entries of SQL server on the create datastore page. If you only see 1 (JNDI), then the dll's can't be found. Hope this helps! Casper On Tue, Jun 11, 2013 at 12:30 AM, txrpls ma...@proseals.commailto:ma...@proseals.com wrote: I am having the same issue. I am running Windows Server 2008 R2 and SQL Server 2008 R2. I have installed the files as directed with no luck. I am not running Tomcat. installed so the first file is installed in D:\Program Files (x86)\GeoServer 2.3.1\WEB-INF\lib the others as in step two below. I have restarted GeoServer, SQl Server and Windows Server and nothing is showing up. Server is the 64 bit version BTW -- View this message in context: http://osgeo-org.1560.x6.nabble.com/SQL-Server-2008-e-Geoserver-tp4664552p5059240.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.netmailto:Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Casper Span T: @Span_Droidhttps://twitter.com/#%21/Span_Droid W: http://www.spatially-oriented.com M: i...@spatially-oriented.commailto:i...@spatially-oriented.com -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Image Mosaic JDBC single band raster losing data values
Hi Mike Do you have the possibility to store the output of select st_astiff(rast) from test into a file. (I assume you have to code a little bit). On success, you could examine this file (test.tif) with gdalinfo. Cheers 2013/6/10 mrollans mroll...@gmail.com Hi Christian, Thanks for the suggestion. I attempted what you said, but learned that st_numbands expects a raster type not a bytea type as returned by st_astiff. Running select st_numbands(st_astiff(rast)) from test in pgadmin returns ERROR: function st_numbands(bytea) does not exist LINE 1: select st_numbands(st_astiff(rast)) from test If you know a way to make this work in some other way, let me know. As an additional data point, I found something else that I think supports my hypothesis that the plugin does not support bands of any type other than 8BUI or 16BUI. I attempted to create a store in the same way in my previous email, except this time I used an older version of GeoServer and the Image Mosaic JDBC plugin (2.1.4). When I attempt to create the store, I immediately get the following stacktrace in the log. 10 Jun 13:53:15 ERROR [jdbc.custom] - ERROR: The pixel type of band 1 in the raster is not 8BUI or 16BUI. The PNG format can only be used with 8BUI and 16BUI pixel types. org.postgresql.util.PSQLException: ERROR: The pixel type of band 1 in the raster is not 8BUI or 16BUI. The PNG format can only be used with 8BUI and 16BUI pixel types. at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:271) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.geotools.gce.imagemosaic.jdbc.custom.JDBCAccessPGRaster.startTileDecoders(JDBCAccessPGRaster.java:194) at org.geotools.gce.imagemosaic.jdbc.ImageMosaicJDBCReader.loadTiles(ImageMosaicJDBCReader.java:460) at org.geotools.gce.imagemosaic.jdbc.ImageMosaicJDBCReader.read(ImageMosaicJDBCReader.java:316) at org.geoserver.catalog.CatalogBuilder.buildCoverage(CatalogBuilder.java:906) at org.geoserver.catalog.CatalogBuilder.buildCoverage(CatalogBuilder.java:815) at org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:90) at org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:56) at org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:225) at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.updateMatched(GeoServerTablePanel.java:519) at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.init(GeoServerTablePanel.java:512) at org.geoserver.web.wicket.GeoServerTablePanel.init(GeoServerTablePanel.java:200) at org.geoserver.web.wicket.GeoServerTablePanel.init(GeoServerTablePanel.java:91) at org.geoserver.web.data.layer.NewLayerPage$1.init(NewLayerPage.java:104) at org.geoserver.web.data.layer.NewLayerPage.init(NewLayerPage.java:104) at org.geoserver.web.data.store.CoverageStoreNewPage.onSave(CoverageStoreNewPage.java:71) at org.geoserver.web.data.store.AbstractCoverageStorePage$1.onSubmit(AbstractCoverageStorePage.java:114) at org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:68) at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at
Re: [Geoserver-users] GetCapabilities 1.1.1 error
I can confirm this is still an issue on 2.3.2: http://jira.codehaus.org/browse/GEOS-5844 -- View this message in context: http://osgeo-org.1560.x6.nabble.com/GetCapabilities-1-1-1-error-tp5054416p5059442.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] JPEG2000 crashed GeoServer
Thank you for your reply. I have used GeoServer for some time, but I am not familiar with retrieving logs. By 'crashing' I mean the terminal that is running geoserver stoped listing the geoserver operations that are being performed and goes back to a command prompt. If you could refer me to documentation on retrieving logs I will attempt to get them for you. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/JPEG2000-crashed-GeoServer-tp5059217p5059452.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] How to group values in SLD
Pedro, We used the function in3 as referenced at http://docs.geoserver.org/latest/en/user/filter/function_reference.html This supports in2 through in10. You may be able to match multiple features based on the ogc:or. Here is an example of how we used it: sld:Rule sld:NameDefault Rule 1 to inf/sld:Name ogc:Filter ogc:PropertyIsEqualTo ogc:Function name=in3 ogc:Function name=geometryType ogc:PropertyNamethe_geom/ogc:PropertyName /ogc:Function ogc:LiteralLineString/ogc:Literal ogc:LiteralLinearRing/ogc:Literal ogc:LiteralMultiLineString/ogc:Literal /ogc:Function ogc:Literaltrue/ogc:Literal /ogc:PropertyIsEqualTo /ogc:Filter sld:LineSymbolizer sld:Stroke sld:CssParameter name=stroke-width.75/sld:CssParameter sld:CssParameter name=stroke#424242/sld:CssParameter /sld:Stroke /sld:LineSymbolizer /sld:Rule Your example sld:Rule sld:NameMatch MultipleFeatures/sld:Name ogc:Filter ogc:Or ogc:PropertyIsEqualTo ogc:Function name=in3 PropertyNameID/PropertyName ogc:Literal1/ogc:Literal ogc:Literal2/ogc:Literal ogc:Literal3/ogc:Literal /ogc:Function ogc:Literaltrue/ogc:Literal /ogc:PropertyIsEqualTo ogc:PropertyIsEqualTo ogc:Function name=in4 PropertyNameID/PropertyName ogc:Literal4/ogc:Literal ogc:Literal7/ogc:Literal ogc:Literal34/ogc:Literal ogc:Literal56/ogc:Literal /ogc:Function ogc:Literaltrue/ogc:Literal /ogc:PropertyIsEqualTo ogc:PropertyIsEqualTo ogc:Function name=in2 PropertyNameID/PropertyName ogc:Literal98/ogc:Literal ogc:Literal322/ogc:Literal /ogc:Function ogc:Literaltrue/ogc:Literal /ogc:PropertyIsEqualTo /ogc:Or /ogc:Filter /sld:Rule Chris Snider Senior Software Engineer Intelligent Software Solutions, Inc. [Description: Description: Description: cid:image001.png@01CA1F1F.CBC93990] From: Pedro Briones Garcia [mailto:p...@tragsa.es] Sent: Tuesday, June 11, 2013 2:20 AM To: 'geoserver-users@lists.sourceforge.net' Subject: [Geoserver-users] How to group values in SLD Hello. First of all, excuse my poor English. I have the following problem. I need to represent a lot of polygons (hundreds) in GeoServer with SLD_BODY option. The request is very long, so it is a problem in the client environment, because the request is cut and it doesn't execute. I need to make it smaller. I have hundred of polygons, but all polygons are painted with a color from five available, so instead of define a rule for each polygon, I would like to group all the polygons with the same symbol to reduce the length of the request. Is it possible to use something similar to IN operator to group values to represent? How can I obtain somethin similar to: PropertyIsEqualTo PropertyNameID/PropertyName Literal1,2,3,4,7,34,65,98,322,.../Literal /PropertyIsEqualTo Thanks in advance Best regards Un saludo Pedro Briones
Re: [Geoserver-users] How to group values in SLD
If using the inX functions is still too verbose, or if it's awkward to split up the blocks of IDs, and depending on how much effort you want to spend... You could look at writing a custom filter function inList(int, String), where the second argument is a string literal which represents the list of IDs in some way (e.g. such as 1,2,3,4). On Tue, Jun 11, 2013 at 8:41 AM, Chris Snider chris.sni...@issinc.comwrote: Pedro, ** ** We used the function “in3” as referenced at http://docs.geoserver.org/latest/en/user/filter/function_reference.html This supports in2 through in10. You may be able to match multiple features based on the ogc:or. ** ** -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] How to group values in SLD
On Tue, Jun 11, 2013 at 6:22 PM, Martin Davis mtncl...@gmail.com wrote: If using the inX functions is still too verbose, or if it's awkward to split up the blocks of IDs, and depending on how much effort you want to spend... You could look at writing a custom filter function inList(int, String), where the second argument is a string literal which represents the list of IDs in some way (e.g. such as 1,2,3,4). One thing to notice though, the original filters are long but are going to get encoded into SQL, whist filter function are not unless someone changes the code in the SQL encoders to recognize them, or patches the SimplifyingFilterVisitor to expand the filter function into a regular list of filters. Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it 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 --- -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] JPEG2000 crashed GeoServer
here is a geoserver request log 2013_06_03.request.log 2013_06_06.request.log 2013_06_09.request.log GEOSERVER_DEVELOPER_LOGGING.properties PRODUCTION_LOGGING.properties 2013_06_04.request.log 2013_06_07.request.log 2013_06_10.request.log GEOTOOLS_DEVELOPER_LOGGING.properties VERBOSE_LOGGING.properties 2013_06_05.request.log 2013_06_08.request.log DEFAULT_LOGGING.properties keepme.txt george@gistest:/opt/geoserver-2.3.2/logs$ cat 2013_06_10.request.log 172.17.0.121 - - [10/Jun/2013:15:41:32 +] GET /geoserver/j_spring_security_logout HTTP/1.1 302 0 172.17.0.121 - - [10/Jun/2013:15:41:32 +] GET /geoserver/web/ HTTP/1.1 200 1868 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.GeoServerBasePage/css/blueprint/screen.css HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.GeoServerBasePage/js/jquery.inline-info.js HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.GeoServerBasePage/js/jquery-1.2.6.min.js HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.GeoServerBasePage/css/geoserver.css HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.GeoServerBasePage/css/blueprint/print.css HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.demo.MapPreviewPage/mappreview_keyshortcut.js HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.demo.MapPreviewPage/null/img/icons/geosilk/map.png HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.GeoServerBasePage/img/ajax-loader.gif HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.AboutGeoServerPage/img/icons/silk/help.png HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.GeoServerBasePage/img/icons/silk/door_in.png HTTP/1.1 200 571 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.GeoServerBasePage/img/button-gradient.png HTTP/1.1 200 239 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.GeoServerBasePage/img/logo.png HTTP/1.1 200 6363 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.GeoServerBasePage/img/main-bg.png HTTP/1.1 200 580 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.GeoServerBasePage/img/page-bg.png HTTP/1.1 200 2121 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.GeoServerBasePage/img/page-header-bg.png HTTP/1.1 200 171 172.17.0.121 - - [10/Jun/2013:15:41:34 +] GET /geoserver/web/resources/org.geoserver.web.GeoServerBasePage/img/main-wrap-bg.png HTTP/1.1 200 2125 172.17.0.121 - - [10/Jun/2013:15:41:39 +] POST /geoserver/j_spring_security_check HTTP/1.1 302 0 172.17.0.121 - - [10/Jun/2013:15:41:39 +] GET /geoserver/web/?wicket:bookmarkablePage=:org.geoserver.web.GeoServerLoginPageerror=true HTTP/1.1 200 1459 172.17.0.121 - - [10/Jun/2013:15:41:46 +] POST /geoserver/j_spring_security_check HTTP/1.1 302 0 172.17.0.121 - - [10/Jun/2013:15:41:46 +] GET /geoserver/web HTTP/1.1 302 0 172.17.0.121 - - [10/Jun/2013:15:41:46 +] GET /geoserver/web/ HTTP/1.1 200 3380 172.17.0.121 - - [10/Jun/2013:15:41:48 +] GET /geoserver/web/resources/org.geoserver.web.data.layer.LayerPage/null/null/img/icons/silk/picture_empty.png HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:48 +] GET /geoserver/web/resources/org.geoserver.web.admin.ContactPage/null/img/icons/silk/vcard.png HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:48 +] GET /geoserver/web/resources/org.geoserver.web.admin.LogPage/null/img/icons/silk/page_white_text.png HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:48 +] GET /geoserver/web/resources/org.geoserver.web.data.layergroup.LayerGroupPage/null/null/img/icons/silk/layers.png HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:48 +] GET /geoserver/web/resources/org.geoserver.wms.web.data.StylePage/palette.png HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:48 +] GET /geoserver/web/resources/org.geoserver.web.data.workspace.WorkspacePage/null/null/img/icons/silk/folder.png HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:48 +] GET /geoserver/web/resources/org.geoserver.web.GeoServerBasePage/img/icons/silk/add.png HTTP/1.1 200 567 172.17.0.121 - - [10/Jun/2013:15:41:48 +] GET /geoserver/web/resources/org.geoserver.web.data.store.StorePage/null/null/img/icons/silk/database.png HTTP/1.1 304 0 172.17.0.121 - - [10/Jun/2013:15:41:48 +] GET
Re: [Geoserver-users] JPEG2000 crashed GeoServer
here is the output of the terminal running geoserver when I try to load store 'oa' which is 'Plymouth_RGB_A.jp2' [sudo] password for george: GEOSERVER DATA DIR is /opt/geoserver-2.3.2/data_dir 1 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger@1ef8cf3 via org.mortbay.log.Slf4jLog 322 [main] WARN org.mortbay.log - Deprecated configuration used for /opt/geoserver-2.3.2/webapps 358 [main] INFO org.mortbay.log - jetty-6.1.8 Jun 11, 2013 1:07:37 PM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL INFO: GDAL Native Library loaded (version: 1.9.2) log4j:WARN File option not set for appender [geoserverlogfile]. log4j:WARN Are you using FileAppender instead of ConsoleAppender? 2139 [main] INFO /geoserver - Initializing Spring root WebApplicationContext 11 Jun 13:07:41 WARN [config.CustomEditorConfigurer] - Passing PropertyEditor instances into CustomEditorConfigurer is deprecated: use PropertyEditorRegistrars or PropertyEditor class names instead. Offending key [org.geotools.util.Version; offending editor instance: org.geoserver.platform.util.VersionPropertyEditor@c12978 Jun 11, 2013 1:07:41 PM org.geoserver.platform.GeoServerExtensions checkContext WARNING: Extension lookup occured, but ApplicationContext is unset. 11 Jun 13:07:42 INFO [geoserver.global] - -- - GEOSERVER_DATA_DIR: /opt/geoserver-2.3.2/data_dir -- 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'simple_streams' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'giant_polygon' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'point' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'poi' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'simple_roads' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'grass' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'restricted' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'burg' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'green' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'tiger_roads' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'pophatch' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'population' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'dem' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'cite_lakes' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'poly_landmarks' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'line' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'raster' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'polygon' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'rain' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded style 'capitals' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded default workspace nurc 11 Jun 13:07:42 INFO [org.geoserver] - Loaded workspace 'nurc' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded workspace 'cite' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded workspace 'it.geosolutions' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded workspace 'tiger' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded workspace 'sf' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded workspace 'sde' 11 Jun 13:07:42 INFO [org.geoserver] - Loaded workspace 'topp' 11 Jun 13:07:43 INFO [org.geoserver] - Loaded store 'img_sample2', disabled 11 Jun 13:07:43 INFO [org.geoserver] - Loaded coverage store 'img_sample2' 11 Jun 13:07:44 WARN [referencing.factory] - Axis elements found in a wkt definition, the force longitude first axis order hint might not be respected: PROJCS[WGS84 / Simple Mercator, GEOGCS[WGS 84, DATUM[WGS_1984, SPHEROID[WGS_1984, 6378137.0, 298.257223563]], PRIMEM[Greenwich, 0.0], UNIT[degree, 0.017453292519943295]], PROJECTION[Mercator_1SP_Google], PARAMETER[latitude_of_origin, 0.0], PARAMETER[central_meridian, 0.0], PARAMETER[scale_factor, 1.0], PARAMETER[false_easting, 0.0], PARAMETER[false_northing, 0.0], UNIT[m, 1.0], AXIS[x, EAST], AXIS[y, NORTH], AUTHORITY[EPSG,54004]] 11 Jun 13:07:45 INFO [org.geoserver] - Loaded coverage 'Pk50095', disabled 11 Jun 13:07:45 INFO [org.geoserver] - Loaded coverage 'img_sample2' 11 Jun 13:07:45 INFO [org.geoserver] - Loaded layer 'Pk50095' 11 Jun 13:07:45 INFO [org.geoserver] - Loaded store 'oa', enabled 11 Jun 13:07:45 INFO [org.geoserver] - Loaded coverage store 'oa' 11 Jun 13:07:45 INFO [org.geoserver] - Loaded store 'orthoA', enabled 11 Jun 13:07:45 INFO [org.geoserver] - Loaded coverage store 'orthoA' 11 Jun 13:07:45 INFO [org.geoserver] - Loaded store 'plyshp', enabled 11 Jun 13:07:45 INFO [org.geoserver] - Loaded data store 'plyshp' 11 Jun 13:07:46 INFO [org.geoserver] - Loaded feature type 'Streets', enabled 11 Jun 13:07:46 INFO [org.geoserver] - Loaded feature type 'plyshp' 11 Jun 13:07:46 INFO [org.geoserver] - Loaded layer 'Streets' 11 Jun 13:07:46 INFO [org.geoserver] - Loaded store 'orthoB', enabled 11 Jun 13:07:46 INFO [org.geoserver] - Loaded coverage store 'orthoB' 11 Jun 13:07:46 INFO [org.geoserver] - Loaded store 'worldImageSample', enabled 11 Jun 13:07:46
Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ?
Hi, The settings in web.xml do work for me with Tomcat 7, both for windows and Linux. Can you post the content of GeoServer log? After editing the web.xml file you may try to delete all content of work folder, inside tomcat installation folder, then start it again. Cheers, Stefano --- 41.95581N 12.52854E http://www.linkedin.com/in/stefanoiacovella http://twitter.com/#!/Iacovellas Il giorno 11/giu/2013 12:45, Hakala Oiva (MTT) oiva.hak...@mtt.fi ha scritto: I have tried all the options mentioned here: http://docs.geoserver.org/latest/en/user/datadirectory/data-dir-setting.html but without success! All they suggest to set data the directory to /var/lib/ but that is definitely NOT the path, where I want my data to be. So, could anyone tell me, are there any other options, which really work ;) Thnx, Oiva -- *Lähettäjä:* Hakala Oiva (MTT) [oiva.hak...@mtt.fi] *Lähetetty:* 11. kesäkuuta 2013 12:36 *Vastaanottaja:* 'geoserver-users@lists.sourceforge.net' *Aihe:* Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ? Thanks Jukka. I uncommented that section, edited that param value and restarted, but no help. I have also tried to edit CATALINA_OPTS=-DGEOSERVER_DATA_DIR=/home/geoserver-data/ in /usr/share/tomcat7/bin/catalina.sh -file and restart, but it did not help either. Oiva -- *Lähettäjä:* Rahkonen Jukka [jukka.rahko...@mmmtike.fi] *Lähetetty:* 11. kesäkuuta 2013 11:12 *Vastaanottaja:* 'geoserver-users@lists.sourceforge.net' *Aihe:* Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ? Hi, Try to edit webapps/geoserver/WEB-INF/web.xml and restart. There is a commented example about giving GEOSERVER_DATA_DIR as context-param. -Jukka Rahkonen- Hakala Oiva wrote: Hi I just changed my test environment from Jetty-based to Tomcat7. Everything works, but how can I tell to Tomcat7, where is my data??? I have set GEOSERVER_DATA_DIR environment variable right but Tomcat7 does not care whatever I set and restart Tomcat7 Data diretory always stays the same: /var/lib/tomcat7/webapps/geoserver/data I work with Ubuntu Linux 12.04. Can anyone help, I am new with Tomcat7. Thanks, Oiva -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Image Mosaic JDBC single band raster losing data values
Hi Christian, I was curious what that would reveal too, so I tried that yesterday afternoon. I put together a small java jdbc program to run select st_astiff(rast) from test from my postgis database and dumped the result to a file. I then gdalinfo my original file (prior to the postgis load) and the one output from postgis and diffed the results. The only differences between the two were the reported file names and a slight difference in the reported NoData Value (which I suspect was due to rounding differences). Otherwise, the output was identical, 1 reported band of type Float32, ColorInterp=Gray etc. I could open the tif output from postgis in QuantumGis and apply a color style and view the data values just fine. I suspect this means the problem is somewhere downstream of the st_astiff call. Perhaps something with the construction of the GridCoverage2d based on the image in ImageComposerThread? I don't have the familiarity or context around the GeoTools code to really understand what it is trying to do just yet, but it seems like a strong possibility that something is going wrong in there someplace. As a point of interest, with fine detail logging turned on in GeoServer I can see the following output when I try to preview my layer from the geotiff loaded from the filesystem. 11 Jun 13:01:47 DEBUG [geoserver.ows] - Getting layers and styles from LAYERS an d STYLES 11 Jun 13:01:47 DEBUG [geoserver.ows] - establishing raster style for cite:testf s 11 Jun 13:01:47 DEBUG [geoserver.wms] - setting up map 11 Jun 13:01:47 DEBUG [wms.map] - setting up 578x330 image 11 Jun 13:01:47 DEBUG [geotools.rendering] - Drawing coverage GridCoverage2D[te st, GeneralEnvelope[(-104.053125, 46.359375), (-99.415625, 49.003125)], Default GeographicCRS[WGS 84]] ? RenderedSampleDimension(GRAY_INDEX:[-3.402823E38 ... -3.402823E38]) ? ? Category(No data:[-3.402823E38 ... -3.402823E38]) ? Image=RenderedOp[ImageRead] 11 Jun 13:01:47 DEBUG [geotools.rendering] - Transforming coverage envelope with transform PARAM_MT[Affine, PARAMETER[num_row, 3], PARAMETER[num_col, 3]] 11 Jun 13:01:47 DEBUG [geotools.rendering] - Using interpolation javax.media.jai .InterpolationNearest@1616dd6 Versus similar output when trying layer preview for my postgis raster. 11 Jun 13:15:56 INFO [imagemosaic.jdbc] - Coverage test using spatial table null , image table test 11 Jun 13:15:56 INFO [jdbc.custom] - Using 2 CPU(s) 11 Jun 13:15:56 INFO [jdbc.custom] - Getting 1 Tiles needs 125 millisecs 11 Jun 13:15:57 INFO [jdbc.custom] - Getting and decoding 1 Tiles needs 406 mil lisecs 11 Jun 13:15:57 INFO [imagemosaic.jdbc] - Mosaic Reader needs : 422 millisecs 11 Jun 13:15:57 DEBUG [geotools.rendering] - Drawing coverage GridCoverage2D[te st, GeneralEnvelope[(-104.35202636719, 46.186743164062), (-99.116723632811, 49. 175756835937)], DefaultGeographicCRS[WGS 84]] ? RenderedSampleDimension(test:[0.0 ... 255.0]) ? ? Category(test:[0...255]) ? RenderedSampleDimension(test:[0.0 ... 255.0]) ? ? Category(test:[0...255]) ? RenderedSampleDimension(test:[0.0 ... 255.0]) ? ? Category(test:[0...255]) ? Image=WritableRenderedImageAdapter[] 11 Jun 13:15:57 DEBUG [geotools.rendering] - Transforming coverage envelope with transform PARAM_MT[Affine, PARAMETER[num_row, 3], PARAMETER[num_col, 3]] 11 Jun 13:15:57 DEBUG [geotools.rendering] - Using interpolation javax.media.jai .InterpolationNearest@1136019 So, by the point the GridCoverage2d is logged, the RenderedSampleDimensions are wrong in the second case. Mike -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Image-Mosaic-JDBC-single-band-raster-losing-data-values-tp5058549p5059493.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] MrSID store creation not completing
Hi Daniele No, if I force LD_LIBRARY_PATH I get quite different output and another error: gavin@superman:~$ export LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/ gavin@superman:~$ ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSEcw.so.0) linux-vdso.so.1 = (0x7fff64be1000) libgdal.so.1 = /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libgdal.so.1 (0x7feec7e19000) libNCSEcw.so.0 = /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSEcw.so.0 (0x7feec7ae5000) libNCSEcwC.so.0 = /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSEcwC.so.0 (0x7feec78e1000) libNCSCnet.so.0 = /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSCnet.so.0 (0x7feec76cd000) libNCSUtil.so.0 = /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSUtil.so.0 (0x7feec74a8000) librt.so.1 = /lib/librt.so.1 (0x7feec7299000) libdl.so.2 = /lib/libdl.so.2 (0x7feec7095000) libltidsdk.so = /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libltidsdk.so (0x7feec6a69000) libpthread.so.0 = /lib/libpthread.so.0 (0x7feec684c000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x7feec6538000) libm.so.6 = /lib/libm.so.6 (0x7feec62b4000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x7feec609d000) libc.so.6 = /lib/libc.so.6 (0x7feec5d17000) /lib64/ld-linux-x86-64.so.2 (0x7feec8898000) On 11/06/2013 11:18, Daniele Romagnoli wrote: Hi Gavin, It seems you have multiple GDAL libs and third party libs available on your system (some of them are on /usr/local/lib). Do you get this output even when forcing the LD_LIBRARY_PATH to refer to the folder where you have extracted the 1.9.2 downloaded ones? Daniele == GeoServer training in Milan, 6th 7th June 2013! Visit http://geoserver.geo-solutions.it for more information. == Ing. Daniele Romagnoli 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 --- On Tue, Jun 11, 2013 at 11:03 AM, Gavin Fleming ga...@afrispatial.co.za mailto:ga...@afrispatial.co.za wrote: Hi Daniele ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo linux-vdso.so.1 = (0x7fff1def9000) libgdal.so.1 = /usr/local/lib/libgdal.so.1 (0x7f70f3c67000) libNCSEcw.so.0 = /usr/local/lib/libNCSEcw.so.0 (0x7f70f3929000) libNCSEcwC.so.0 = /usr/local/lib/libNCSEcwC.so.0 (0x7f70f3724000) libNCSCnet.so.0 = /usr/local/lib/libNCSCnet.so.0 (0x7f70f350e000) libNCSUtil.so.0 = /usr/local/lib/libNCSUtil.so.0 (0x7f70f32e8000) librt.so.1 = /lib/librt.so.1 (0x7f70f30df000) libdl.so.2 = /lib/libdl.so.2 (0x7f70f2edb000) libltidsdk.so = not found libpthread.so.0 = /lib/libpthread.so.0 (0x7f70f2cbd000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x7f70f29a9000) libm.so.6 = /lib/libm.so.6 (0x7f70f2726000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x7f70f250e000) libc.so.6 = /lib/libc.so.6 (0x7f70f2188000) libsqlite3.so.0 = /usr/lib/libsqlite3.so.0 (0x7f70f1efb000) libexpat.so.1 = /lib/libexpat.so.1 (0x7f70f1cd1000) libpq.so.5 = /usr/lib/libpq.so.5 (0x7f70f1aa4000) libz.so.1 = /lib/libz.so.1 (0x7f70f188d000) libpcre.so.3 = /lib/libpcre.so.3 (0x7f70f165e000) /lib64/ld-linux-x86-64.so.2 (0x7f70f4c1e000) libssl.so.0.9.8 = /lib/libssl.so.0.9.8 (0x7f70f140a000) libcrypto.so.0.9.8 = /lib/libcrypto.so.0.9.8 (0x7f70f1078000) libkrb5.so.3 = /usr/lib/libkrb5.so.3 (0x7f70f0db4000) libcom_err.so.2 = /lib/libcom_err.so.2 (0x7f70f0bb) libgssapi_krb5.so.2 = /usr/lib/libgssapi_krb5.so.2 (0x7f70f097b000) libldap_r-2.4.so.2 = /usr/lib/libldap_r-2.4.so.2 (0x7f70f072f000) libk5crypto.so.3 = /usr/lib/libk5crypto.so.3 (0x7f70f0508000) libkrb5support.so.0 = /usr/lib/libkrb5support.so.0 (0x7f70f030) libkeyutils.so.1 = /lib/libkeyutils.so.1 (0x7f70f00fd000) libresolv.so.2 = /lib/libresolv.so.2 (0x7f70efee4000) liblber-2.4.so.2 = /usr/lib/liblber-2.4.so.2 (0x7f70efcd5000) libsasl2.so.2 = /usr/lib/libsasl2.so.2 (0x7f70efabb000) libgnutls.so.26 = /usr/lib/libgnutls.so.26 (0x7f70ef819000)
[Geoserver-users] gs:contour - could it be made to work with tiles?
I have image I would like to use dynamic contouring on since it would seem I could use rules to produce different contours at different zoom levels. However, the image crosses the 180 line so I must using tiling. I can live with contour lines that dont join up on the 180 but can it work with tiled output? Can it work with image mozaic? (seems to only work with raster from docs). Other possibilities might be split on 180, create two layers, then make a layer group from them?? I rather like the image mozaic approach as I have more blank space than data though. It could also easily blow the 4GB limit as more data become available. Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GeoServer 2.3.2 Direct Connect to ArcSDE 10.0
Hi All, Thank you all for your help. I have tried everyone's suggestions but I am still hitting a brick wall. I have the 3 extra files required to connect to ArcSDE10: jpe_sdk.jar, jsde_sdk.jar and icu4j-3.4.4.jar. The data is stored as ST_GEOMETRY, so I need to connect as ArcSDE. The instance name esri_sde is set in my windows services file as: esri_sde 5151/tcp #ESRI SDE service I can create a standard 3 tier connection successfully. Server Name: myserver.work.tas.gov.au Port: 5151 User: username Pasword: password But we need to be able to create a 2 tier connection (or a direct connect) as ESRI will be phasing out 3 tier connections down the track. Server Name: none Port: sde:oracle11g:/:myserver.work.tas.gov.au Instance Name: esri_sde (I had tried 'none') User: username Password: password But I keep getting the error message: Error creating data store, check the parameters. Error message: Can't create connection to none for Session #37 [SDE error -66][Error desc=SPECIFIED PARAMETER VALUE IS INVALID.] [Extended desc= ] I am quite stumped. Thanks again for you help, Regards, Sonya From: PREVOSTO, Laurent [mailto:laurent.prevo...@sfr.com] Sent: Monday, 10 June 2013 10:22 PM To: 'Jonathan Moules'; Downie, Sonya (DPIPWE) Cc: geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] GeoServer 2.3.2 Direct Connect to ArcSDE 10.0 Hi, If your data is stored using SDO_GEOMETRY, you can bypass the SDE layer and have geoserver connect using the Oracle Spatial driver. If it is ST_GEOMETRY or SDE_BINARY (ESRI specific), you can't. Of course, all stuff relying on the ESRI metamodel will be ignored. For example if your data is versioned, you won't see up to date data. Regards, Laurent De : Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] Envoyé : samedi 8 juin 2013 15:20 À : Downie, Sonya (DPIPWE) Cc : geoserver-users@lists.sourceforge.net Objet : Re: [Geoserver-users] GeoServer 2.3.2 Direct Connect to ArcSDE 10.0 Hi Sonya, Just a thought, but why not just connect GeoServer directly to Oracle? We have both Oracle and ArcSDE and are simply connecting directly to Oracle. I'm not sure if ArcSDE can offer anything other than another step in the chain for things to go wrong or a layer to be mis-configured or Less is more. :-) Jonathan On 5 June 2013 04:04, Downie, Sonya (DPIPWE) sonya.dow...@dpipwe.tas.gov.aumailto:sonya.dow...@dpipwe.tas.gov.au wrote: Hi there, I am testing GeoServer 2.3.2 on an XP PC and a Windows7 PC and am having trouble making a direct connect to ArcSDE. We have an Oracle 11g database on a Linux server with ArcSDE10. I have downloaded the appropriate ArcSDE extension for my version of GeoServer and added the 2 jar files for ArcSDE 10. I can create a standard connection (3 tier) successfully and publish layers. However I cannot create a direct connect. I followed the documentation (http://docs.geoserver.org/stable/en/user/data/database/arcsde.html#configuring-an-arcsde-vector-data-store-with-direct-connect) and set my parameters accordingly (I think!) Server: none Port: sde:oracle11g:serverName Instance name: none User: userName Password: password But I get the error: Error creating data store, check the parameters. Error message: Can't create connection to none for Session #13[SDE error -66][Error desc=SPECIFIED PARAMETER VALUE IS INVALID.][Extended desc= ] I have searched the mailing lists and the web but still no luck. Any help in which direction I should take will be most appreciated. Regards, Sonya CONFIDENTIALITY NOTICE AND DISCLAIMER The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission. -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.netmailto:Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users This
Re: [Geoserver-users] App-Schema Publish Layer Exception
Found it. I pasted the entirety of your original mapping file into a validating XML editor (Eclipse JEE) with AppSchemaDataAccess.xsd in the same directory. Your mapping file is schema-invalid because of a misspelled element: AttributeMappings should be attributeMappings Because the mapping file parser is nonvalidating and only looks for child elements of attributeMappings and finds none, your mapping is ignored, resulting in a lack of content. I strongly recommend the use of a validating XML editor for correctness and helpful documentation and completion suggestions when editing. Kind regards, Ben. On 11/06/13 17:41, Ben Caradoc-Davies wrote: Still thinking ... -- Ben Caradoc-Davies ben.caradoc-dav...@csiro.au Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Session timed out problem
Hi all, I am new Geoserver user. I install Geoserver 2.3.2 and JDK 7u21 for 32bit on Window7. I have added several layers on Geoserver. Today I try to add some more layers, but when I click to Data Store button on Geoserver website, one massage appear as: Sorry, your session timed out... It looks like you waited too long to make that last change.if this continues to happen, you should get in touch with your system administrator. Go back to the home page and try again. Someone told that it dues to permgen space in Java. But I check startup.bat script in C:\Program Files\GeoServer 2.3.2\bin This script as follow: call C:\Program Files\Java\jre7\bin\java.exe -DGEOSERVER_DATA_DIR=C:\Program Files\GeoServer 2.3.2\data_dir -Xmx1024m -XX:MaxPermSize=256m -DSTOP.PORT=8079 -DSTOP.KEY=geoserver -Djetty.port=8080 -Djetty.logs=C:\Program Files\GeoServer 2.3.2\logs -jar C:\Program Files\GeoServer 2.3.2\start.jar In this command line, it'd already had option -Xmx1024m and -XX:MaxPermSize=256m So that I guess my problem may caused by others reasons. Could you help how to fix it? Thank you all. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users