[Geoserver-users] Geoserver errors

2014-12-08 Thread Hakala Oiva (MTT)
Hi Our Geoserver was, again, out of service. Version 2.3.1 on Ubuntu 12.04 server. I found several Java heap space errors, similar as below. Heap size is alrady 512. 2014-12-05 12:05:44,042 ERROR [geoserver.ows] - java.lang.OutOfMemoryError: Java heap space Then this flushedPos error

[Geoserver-users] Geoserver's zipped shapefile corrupted

2014-10-15 Thread Hakala Oiva (MTT)
For some reason I cannot download data from our Geoserver as a zipped shapefile. The file I get, is always only 397 bytes, and it cannot be opened. Any idea what has been gone wrong. Downloading worked well at least 5-6 months ago, and Geoserver version is still the same, old 2.3.1. We don't

Re: [Geoserver-users] Geoserver's zipped shapefile corrupted

2014-10-15 Thread Hakala Oiva (MTT)
Hi, probably the file is an error from geoserver in xml format. Have you tried opening the file with a text editor and see if it contains the description of the error? Regards, Mauro Her is the content of the zip-file. Don't understand where the Permission denied comes from. I was logged as

Re: [Geoserver-users] Geoserver's zipped shapefile corrupted

2014-10-15 Thread Hakala Oiva (MTT)
Thank you Andrea and Mauro! Maybe our system admin has changed privileges somewhere. Our Geoserver is still running under Jetty, and what would be the right folder, where Geoserver writes the shape first? I have also geoserver installed on my own computer, but I cannot find, what would be the

Re: [Geoserver-users] Geoserver's zipped shapefile corrupted

2014-10-15 Thread Hakala Oiva (MTT)
Vastaanottaja: Hakala Oiva (MTT); 'GeoServer Mailing List List' Aihe: RE: [Geoserver-users] Geoserver's zipped shapefile corrupted Hi Oiva, A thought – was the error message actually a file with a “.zip” extension? If so I’d posit this seems like a bug – the error should be in a .xml for various

Re: [Geoserver-users] WYSIWYG SLD Editor

2014-07-17 Thread Hakala Oiva (MTT)
Hi Jiang. http://docs.geoserver.org/latest/en/user/extensions/styler.html Don't know you mean this one. Downloadable from Sourceforge. I have used it a lot to create styles. No need to install REST-plugin, because it is already installed with Geoserver. Atlas Styler is another I have used.

[Geoserver-users] Geotiff, mosaic and transparent colors dilemma

2014-05-21 Thread Hakala Oiva (MTT)
In my Geotiff (and ArcGrid) files nodata areas are white. When I combine these to image mosaic, the process adds black areas. However only one color can be made transparent(?) Is there any solution to hide both white and black areas? We use background a map and and those extra colors make

[Geoserver-users] Raster question

2014-05-08 Thread Hakala Oiva (MTT)
Hi. I have been workin mostly with vectors using WMS, WFS and Openlayers with javascript. Mostly no experience with rasters. My problem is the following: via geocoding using postal address I can get a coordinate pair. Then I have around 30 rasters (geotiffs) on our Geoserver as separate

Re: [Geoserver-users] Raster question

2014-05-08 Thread Hakala Oiva (MTT)
Lähettäjä: andrea.a...@gmail.com [andrea.a...@gmail.com] käyttäjän Andrea Aime [andrea.a...@geo-solutions.it] puolesta Lähetetty: 8. toukokuuta 2014 12:51 Vastaanottaja: Hakala Oiva (MTT) Kopio: GeoServer Mailing List List Aihe: Re: [Geoserver-users] Raster question On Thu, May 8, 2014 at 11

Re: [Geoserver-users] Raster question

2014-05-08 Thread Hakala Oiva (MTT)
. Cheers Andrea On Thu, May 8, 2014 at 12:01 PM, Hakala Oiva (MTT) oiva.hak...@mtt.fimailto:oiva.hak...@mtt.fi wrote: Thanks Those rasters share the same srs and color mode. Still don't know, is it usefull to make an imagemosaic, because don't know how to call part of it using a coordinate pair

Re: [Geoserver-users] Geoserver WFS version

2013-11-19 Thread Hakala Oiva (MTT)
I have also those experiences. I get everything to work ok with my test computer (32-bit Ubuntu 12.04, Geoserver 2.4, Java 1.7.0.25 (32.bit). But if I move the same app to our server, a wfs-layer will not load ok. I have to get back to WFS 1.0.0 and get various other problems. I think the

Re: [Geoserver-users] Geoserver giving pink tiles after getting to work with pgbouncer

2013-11-10 Thread Hakala Oiva (MTT)
I think the most common reason to get pink is, that one or more layers do not load properly. The reason may be different projection or some other trouble with the layer. I just had this pink problem with my javascript-based app, and noticed that one of the WMS-layers were actually missing due

[Geoserver-users] Native JAI imageio

2013-10-31 Thread Hakala Oiva (MTT)
Hi Seems that using native JAI and imageio causes problems with WFS-T. Tested with Geoserver 2.4.0, Tomcat7, Postgresql 9.1, Postgis 2. I, JDK 1.7.25, Ubuntu 12.04 Problem: Cannot save data to database. Not a big problem. Can live well without Native JAI etc. Oiva Hakala

Re: [Geoserver-users] WFS-T and database?

2013-10-28 Thread Hakala Oiva (MTT)
! Oiva Hakala :) Lähettäjä: Hakala Oiva (MTT) [oiva.hak...@mtt.fi] Lähetetty: 25. lokakuuta 2013 13:40 Vastaanottaja: Andrea Aime Kopio: GeoServer Mailing List List Aihe: Re: [Geoserver-users] WFS-T and database? Restart GeoServer and have your client do and edit

Re: [Geoserver-users] WFS-T and database?

2013-10-25 Thread Hakala Oiva (MTT)
=gml/3.1.1 releaseAction = ALL So if I am right, the reason is GML 3.11 against WFS 1.0.0 ? How to change this? Some way to configure Geoserver? Oiva Lähettäjä: Hakala Oiva (MTT) [oiva.hak...@mtt.fi] Lähetetty: 24. lokakuuta 2013 12:11 Vastaanottaja: Andrea Aime

Re: [Geoserver-users] WFS-T and database?

2013-10-25 Thread Hakala Oiva (MTT)
to change this? Some way to configure Geoserver? Oiva Lähettäjä: Hakala Oiva (MTT) [oiva.hak...@mtt.fi] Lähetetty: 24. lokakuuta 2013 12:11 Vastaanottaja: Andrea Aime Kopio: GeoServer Mailing List List Aihe: Re: [Geoserver-users] WFS-T and database? Ok, but what

Re: [Geoserver-users] WFS-T and database?

2013-10-25 Thread Hakala Oiva (MTT)
Lähettäjä: Hakala Oiva (MTT) [oiva.hak...@mtt.fi] Lähetetty: 24. lokakuuta 2013 12:11 Vastaanottaja: Andrea Aime Kopio: GeoServer Mailing List List Aihe: Re: [Geoserver-users] WFS-T and database? Ok, but what should be the solution? I am creating a point, and the table expects

Re: [Geoserver-users] WFS-T and database?

2013-10-25 Thread Hakala Oiva (MTT)
Restart GeoServer and have your client do and edit. Look in the logs for the Transaction XML, post it here. At least we can see what is the client doing Cheers Andrea Maybe I could edit web.xml right. Anyway, here is the log just after transaction trial. WFS 1.0.0, but GML 3.1.1:( Oiva

Re: [Geoserver-users] WFS-T and database

2013-10-25 Thread Hakala Oiva (MTT)
My problem is easy to repeat Just move tasmania_cities to database, and see what happens. I am not experienced enough to solve this alone. Something is WRONG with the wfs-t demo app. I can easily add data to that table with another wfs-t app. However it uses Openlayers 2.1.2, Geoext 1.1 and

Re: [Geoserver-users] WFS-T and database

2013-10-25 Thread Hakala Oiva (MTT)
. Lähettäjä: Rahkonen Jukka [jukka.rahko...@mmmtike.fi] Lähetetty: 25. lokakuuta 2013 16:45 Vastaanottaja: Hakala Oiva (MTT); 'GeoServer Mailing List List' Aihe: Re: [Geoserver-users] WFS-T and database Hi, Tasmania_cities is an odd shapefile for a demo data. The shapefile is of type multipoint

[Geoserver-users] WFS-T and database?

2013-10-24 Thread Hakala Oiva (MTT)
Geoserver comes with a simple wfs-t example (wfs-t.html). I tested it, and it works when those layers it calls are shapefiles. However, when I move layers to a postgis database and make some fixes to code (namespace etc), location information does not go to database, although I get

Re: [Geoserver-users] WFS-T and database?

2013-10-24 Thread Hakala Oiva (MTT)
Lähettäjä: andrea.a...@gmail.com [andrea.a...@gmail.com] käyttäjän Andrea Aime [andrea.a...@geo-solutions.it] puolesta Lähetetty: 24. lokakuuta 2013 11:51 Vastaanottaja: Hakala Oiva (MTT) Kopio: GeoServer Mailing List List Aihe: Re: [Geoserver-users] WFS-T

Re: [Geoserver-users] GeoServer setup with Leaflet.js

2013-10-18 Thread Hakala Oiva (MTT)
I am quite new to Geoserver too, but I have made some simple javascript based apps. I have created a web page in Georserver's www folder. Then I created a folder externals in www-folder, where I have put all my .js files. All my web pages code (html) then point to that folder like this:

Re: [Geoserver-users] Layergroup missing from WMS GetCapabilities

2013-10-17 Thread Hakala Oiva (MTT)
I am sure, if this has anything to do with layergroups, but with layers I have noticed one thing. Layer names must be one word. So not my layer but mylayer, my_layer, my-layer etc. Maybe one of the layergoup layers is not visible, and that prevents the whole layergroup from being visible in

Re: [Geoserver-users] Installing turbo-jpeg library?

2013-10-16 Thread Hakala Oiva (MTT)
. :( Oiva Lähettäjä: Hakala Oiva (MTT) [oiva.hak...@mtt.fi] Lähetetty: 15. lokakuuta 2013 19:16 Vastaanottaja: Daniele Romagnoli Kopio: GeoServer Mailing List List Aihe: Re: [Geoserver-users] Installing turbo-jpeg library? Export was made in operating system system level

Re: [Geoserver-users] Installing turbo-jpeg library?

2013-10-16 Thread Hakala Oiva (MTT)
2013 11:25 Vastaanottaja: Andrea Aime Kopio: Hakala Oiva (MTT); GeoServer Mailing List List Aihe: Re: [Geoserver-users] Installing turbo-jpeg library? On Wed, Oct 16, 2013 at 10:20 AM, Andrea Aime andrea.a...@geo-solutions.itmailto:andrea.a...@geo-solutions.it wrote: On Wed, Oct 16, 2013 at 9:05

[Geoserver-users] Installing turbo-jpeg library?

2013-10-15 Thread Hakala Oiva (MTT)
Hi I have installed libjpeg-turbo following these instructions carefully http://docs.geoserver.org/stable/en/user/community/libjpeg-turbo/index.html My test computer is Ubuntu 12.04, and the Geoserver installation is 2.4 and the directory is /opt/tomcat7/webapps/geoserver After installing

Re: [Geoserver-users] Installing turbo-jpeg library?

2013-10-15 Thread Hakala Oiva (MTT)
-solutions.it] puolesta Lähetetty: 15. lokakuuta 2013 11:55 Vastaanottaja: Hakala Oiva (MTT) Kopio: GeoServer Mailing List List Aihe: Re: [Geoserver-users] Installing turbo-jpeg library? Hi Oiva, you can download that one for the 2.4.x version: http://gridlock.opengeo.org/geoserver/2.4.x/community-latest

Re: [Geoserver-users] Installing turbo-jpeg library?

2013-10-15 Thread Hakala Oiva (MTT)
I cannot get this working. I used 2.4 snapshot files and exported an environment variable like this: export LD_LIBRARY_PATH=/opt/libjpeg-turbo Still get the same error check native library libs Oiva :( Lähettäjä: Hakala Oiva (MTT) [oiva.hak...@mtt.fi

Re: [Geoserver-users] Installing turbo-jpeg library?

2013-10-15 Thread Hakala Oiva (MTT)
: Hakala Oiva (MTT) Kopio: GeoServer Mailing List List Aihe: Re: [Geoserver-users] Installing turbo-jpeg library? Hi Oliva, where did you add that export? You should add it on your tomcat/geoserver scripts (as an instance, on setenv.sh or catalina.sh or whatelse you use) Please, let me know. Cheers

Re: [Geoserver-users] [ExternalEmail] Re: prefix null problem for app-schema WFS service

2013-09-02 Thread Hakala Oiva (MTT)
Hmm, but is it safe to use per workspace GetCapabilities? I think that is necessary, if one workspace is for WMS, and the other for WFS. We have a confiruration here, where common WMS and WFS are turned off and those services are configured by workspace. Oiva Hakala, Agrifood Research Finland

Re: [Geoserver-users] [ExternalEmail] Re: prefix null problem for app-schema WFS service

2013-09-02 Thread Hakala Oiva (MTT)
service URLs to be discovered. Kind regards, Ben. On 02/09/13 18:21, Hakala Oiva (MTT) wrote: Hmm, but is it safe to use per workspace GetCapabilities? I think that is necessary, if one workspace is for WMS, and the other for WFS. We have a confiruration here, where common WMS and WFS

[Geoserver-users] Java questions

2013-08-14 Thread Hakala Oiva (MTT)
Our server is 64-bit Ubuntu 12.04 server (Intel). What is the recommended version of Java? Now it is 1.7 64-bit. If the recommended version is 32-bit on a 64-bit system, what versions of native JAI and IMAGEIO should I use? I have a all-32-bit configuration on test computer (Intel Xeon) and no

Re: [Geoserver-users] GeoServer cluster running against PostGIS cluster

2013-08-12 Thread Hakala Oiva (MTT)
Hi, I am not an advanced Geoserver user, but I have managed to use 2 Geoserver instances, but that is not any limit. I used Iacovella - Younblood Geoserver's Beginners Guide to configure a simple Geoserver cluster. I also use one PostGis instance. Using more Postgis instances may not be so

Re: [Geoserver-users] GeoServer cluster running against PostGIS cluster

2013-08-12 Thread Hakala Oiva (MTT)
Eh, the book is Iacovella - Youngblood: Geoserver Beginner's Guide. Oiva Hi, What is the most common way to cluster both the GeoServer instances and the PostGIS instances for high availability? The user documentation doesn't seem to indicate how to create clustered database connection pools

Re: [Geoserver-users] Managing data in a clustered environment

2013-07-09 Thread Hakala Oiva (MTT)
. I am sure that someone has managed to do this, but how? Oiva Lähettäjä: Juan Marín Otero [juan.marin.ot...@gmail.com] Lähetetty: 8. heinäkuuta 2013 21:37 Vastaanottaja: Hakala Oiva (MTT) Kopio: geoserver-users@lists.sourceforge.net Aihe: Re: [Geoserver-users

[Geoserver-users] Managing data in a clustered environment

2013-07-08 Thread Hakala Oiva (MTT)
I have a test environment using Apache2 + 2 Tomcats and 2 Geoservers using the SAME Geoserver data config directory. Everything seems to work fine BUT: How can I manage data using Geoserver??? Two (2) instances are running, and if I change a layer name using the first Geoserver, it remains

Re: [Geoserver-users] Managing data in a clustered environment

2013-07-08 Thread Hakala Oiva (MTT)
example. For me those manuals are quite cryptic Oiva Lähettäjä: Juan Marín Otero [juan.marin.ot...@gmail.com] Lähetetty: 8. heinäkuuta 2013 21:37 Vastaanottaja: Hakala Oiva (MTT) Kopio: geoserver-users@lists.sourceforge.net Aihe: Re: [Geoserver-users] Managing data

[Geoserver-users] Querying layer attributes with REST

2013-06-24 Thread Hakala Oiva (MTT)
Has anyone succeeded in querying layer's attributes using REST? http://localhost:8080/geoserver/rest/layers/mylayer.json returns information on mylayer in json format, but that is not what I want. I want to query selected (or all) layers attribute values using REST. If this is possible

Re: [Geoserver-users] Querying layer attributes with REST

2013-06-24 Thread Hakala Oiva (MTT)
Lähettäjä: andrea.a...@gmail.com [andrea.a...@gmail.com] käyttäjän Andrea Aime [andrea.a...@geo-solutions.it] puolesta Lähetetty: 24. kesäkuuta 2013 12:47 Vastaanottaja: Hakala Oiva (MTT) Kopio: geoserver-users Aihe: Re: [Geoserver-users] Querying layer

Re: [Geoserver-users] Querying layer attributes with REST

2013-06-24 Thread Hakala Oiva (MTT)
On Mon, Jun 24, 2013 at 11:35 AM, Hakala Oiva (MTT) oiva.hak...@mtt.fimailto:oiva.hak...@mtt.fi wrote: Has anyone succeeded in querying layer's attributes using REST? http://localhost:8080/geoserver/rest/layers/mylayer.json returns information on mylayer in json format, but that is not what I

Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ?

2013-06-13 Thread Hakala Oiva (MTT)
and not with Jetty anymore. Have a nice summer :) Oiva Hakala Lähettäjä: Hakala Oiva (MTT) [oiva.hak...@mtt.fi] Lähetetty: 12. kesäkuuta 2013 12:14 Vastaanottaja: Stefano Iacovella Kopio: geoserver-users Aihe: Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ? Sorry

Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ?

2013-06-12 Thread Hakala Oiva (MTT)
Sorry, web.xml changes does not change anything. Although I delete the wrong data directory (using root rights) it is there again, when I start tomcat7 service. I cannon find any log file, and when I try to see the log under Geoserver, I get this... Oops, something went wrong... Sorry,

[Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ?

2013-06-11 Thread Hakala Oiva (MTT)
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:

Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ?

2013-06-11 Thread Hakala Oiva (MTT)
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

Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ?

2013-06-11 Thread Hakala Oiva (MTT)
, 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

[Geoserver-users] Hiding/displaying feature attributes?

2013-04-09 Thread Hakala Oiva (MTT)
In an openlayers view (layer group) I would like to hide all attributes in from a specifc layer, how is this possible? And then, how to enable a certain attribute from a certain layer (layer group). How to do that? I have read the following in user manual, but I cannot understand this

[Geoserver-users] Layer goup and password?

2013-03-27 Thread Hakala Oiva (MTT)
I have two layers a raster and a vector in the same workspace. The raster layer can be seen freely (ROLE_ANONYMOUS) and the vector is behind a password (specific user). Both layers work as expected when accessed individually, BUT when I combine them in a layer group, the system won't work.

[Geoserver-users] Session timed out errors

2013-03-25 Thread Hakala Oiva (MTT)
Geoserver 2.2.4. I have begun to get these error messages. Layer preview works, but I cannot add or edit anything. I have tried to log out and then back but no help. Reboot Geoserve seems to be the only solution. Can anyone tell me, what sould be done? Oiva Sorry, your session timed out...

[Geoserver-users] Data security and authentication?

2013-01-28 Thread Hakala Oiva (MTT)
Hi everyone I have tried and tried this: to put maps belonging to a certain workspace behind a password, but so far without any success. The idea is that most of the maps are usable WITHOUT any password, but only maps belonging to one workspace need username and password. I have read all the