Re: [Geoserver-users] geoserver time support for vector data

2014-05-08 Thread Jacinto Estima
Any idea/suggestion on the previous email? If it doesn't work that way I can think on two possible solutions: 1. develop a specific application schema for Geoserver considering that this is a case of complex features (having several measurements for each spatial location) 2. Use a different

Re: [Geoserver-users] geoserver time support for vector data

2014-05-08 Thread Andrea Aime
On Tue, May 6, 2014 at 3:35 PM, Jacinto Estima jacinto.est...@gmail.comwrote: 2014-05-06 17:12:32,145 DEBUG [geotools.jdbc] - *SELECT encode(ST_AsBinary(ST_Simplify(ST_Force_2D(geom), 0.0453906249318)),'base64') as geom FROM (select a.id_number, a.geom, b.id_station, b.measure_time,

[Geoserver-users] Freemarker template design

2014-05-08 Thread Chris Jackson
Hi I have created a custom content template for a GS layer and would like to have the layer title above a list of results. I am using ${type.name} as used in the examples and that works fine. I thought that ${type.title} might work - just throws a java error saying that type.title is undefined.

Re: [Geoserver-users] Freemarker template design

2014-05-08 Thread Andrea Aime
On Thu, May 8, 2014 at 8:33 AM, Chris Jackson webturt...@gmail.com wrote: Hi I have created a custom content template for a GS layer and would like to have the layer title above a list of results. I am using ${type.name} as used in the examples and that works fine. I thought that

[Geoserver-users] WMS : Connection test failed: For input string: 4, 227359329868297

2014-05-08 Thread ngillard
Hello, I am trying to add a new store via New WMS Connection. When I submit the form, I get the following error. Connection test failed: For input string: 4.227359329868297 I try to add the following capabilities:

Re: [Geoserver-users] WMS : Connection test failed: For input string: 4, 227359329868297

2014-05-08 Thread Andrea Aime
On Thu, May 8, 2014 at 9:16 AM, ngillard ngill...@cirb.irisnet.be wrote: Hello, I am trying to add a new store via New WMS Connection. When I submit the form, I get the following error. Connection test failed: For input string: 4.227359329868297 I try to add the following capabilities:

[Geoserver-users] (no subject)

2014-05-08 Thread Wojciech Misiara
Hi, I am currently running GeoServer Version 2.1.3. The problem we are having is that the GeoServer has to be restarted very often as our forms from the website stop working. Once it is restarted everything is back to normal. The site is written in html and Javascript. Will the upgrade to

Re: [Geoserver-users] (no subject)

2014-05-08 Thread Andrea Aime
On Thu, May 8, 2014 at 9:42 AM, Wojciech Misiara wojciech.misi...@tonkin.com.au wrote: Hi, I am currently running GeoServer Version 2.1.3. The problem we are having is that the GeoServer has to be restarted very often as our forms from the website stop working. Once it is restarted

Re: [Geoserver-users] geoserver time support for vector data

2014-05-08 Thread Andrea Aime
On Thu, May 8, 2014 at 10:07 AM, Jacinto Estima jacinto.est...@gmail.comwrote: Something else to add: I checked again the log file and there are two queries: 1. to get the max time available from the data SELECT max(measure_time) FROM (select a.id_number, a.geom, b.id_station,

Re: [Geoserver-users] geoserver time support for vector data

2014-05-08 Thread Jacinto Estima
It makes sense Andrea. Thanks a lot. I'll change the time zone to GMT and will get back to you with the results. On 05/08/2014 12:11 PM, Andrea Aime wrote: On Thu, May 8, 2014 at 10:07 AM, Jacinto Estima jacinto.est...@gmail.com mailto:jacinto.est...@gmail.com wrote: Something else to

[Geoserver-users] Geoserver GWC issue

2014-05-08 Thread Tobias Reinicke
Hi All, I think this may already have been tackled. I am using the embedded GWC (1.5.1) of Geoserver (2.5) on windows 7 (tomcat 6). Using just a landsat image (downloaded from USGS) I can create a raster layer easily enough in geoserver. And then in the GWC set up page I specify I only want png

Re: [Geoserver-users] Freemarker template design

2014-05-08 Thread Chris Jackson
Hi Andrea I suppose the quick win is to start off with a better name and use something like ${type.name?replace(_, )?capitalize} I guess! I can see benefits to having access to both layer title and abstract in the freemarker templates, one for the future perhaps? Cheers Chris On 8 May 2014

Re: [Geoserver-users] Geoserver ImageMap extension

2014-05-08 Thread Bruno M. Fonseca
Hi Mauro, Thank you very much for the answer. Can you change the extension of the attachment file. My email server blocks every zip attachment. I would like to take a look on the extension. Best regards, Bruno da Fonseca From: maurobartolome...@gmail.com [mailto:maurobartolome...@gmail.com]

Re: [Geoserver-users] Geoserver ImageMap extension

2014-05-08 Thread Bruno M. Fonseca
Mauro, If the code is shared on a public source control repository, can you give me path to the repository? Best regards, Bruno da Fonseca From: maurobartolome...@gmail.com [mailto:maurobartolome...@gmail.com] On Behalf Of Mauro Bartolomeoli Sent: terça-feira, 6 de Maio de 2014 10:23 To:

[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] Geoserver GWC issue

2014-05-08 Thread Andrea Aime
On Thu, May 8, 2014 at 10:27 AM, Tobias Reinicke ramot...@gmail.com wrote: Hi All, I think this may already have been tackled. I am using the embedded GWC (1.5.1) of Geoserver (2.5) on windows 7 (tomcat 6). Using just a landsat image (downloaded from USGS) I can create a raster layer

Re: [Geoserver-users] Raster question

2014-05-08 Thread Andrea Aime
On Thu, May 8, 2014 at 11:21 AM, Hakala Oiva (MTT) oiva.hak...@mtt.fiwrote: 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

Re: [Geoserver-users] Raster question

2014-05-08 Thread Hakala Oiva (MTT)
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? A grid would be much better, but 2m resolution, well, it would be much too heavy. Oiva

Re: [Geoserver-users] Raster question

2014-05-08 Thread Andrea Aime
Hum... why does it have to be part of it? GeoSever can effienclty extract only the portion of the mosaic that is currently in the view, especially if you optimized the rasters (added inner tiles and overviews) Anyways, your other option is the capabilities parsing one from the client side.

Re: [Geoserver-users] Geoserver GWC issue

2014-05-08 Thread Tobias Reinicke
This specific one was downloaded from https://landsat8portal.eo.esa.int/ but you can get the same from USGS earthexplorer I presume http://earthexplorer.usgs.gov/ I've put it on dropbox too. Let me know if you can get it or not.

Re: [Geoserver-users] Raster question

2014-05-08 Thread Hakala Oiva (MTT)
You are right of course. No need to call part of the mosaic. I was thinking, would a layergroup be useful? No extra plugins, no learning curve. Tiffs are not overlapping. It is just a matter of restricting available zoom levels or restricting raster's visibility depending of a zoom level. Oiva

Re: [Geoserver-users] Caching with Response Headers Settings

2014-05-08 Thread Shadin
okay it works now. turn out i mixed up the two methods! Thanks all. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Caching-with-Response-Headers-Settings-tp5138490p5139189.html Sent from the GeoServer - User mailing list archive at Nabble.com.

[Geoserver-users] (no subject)

2014-05-08 Thread Anas A
Dear Friends, Am currently trying to use geoserver in JBOSS 7.1.1 ,I followed some tutorial and installed Geoserver 2.1.3 ,but the map rendering is much slow ,Is there any production environment available under JBoss environment -- *Anas A,* * Palakkad | +917736368236*

Re: [Geoserver-users] (no subject)

2014-05-08 Thread Andrea Aime
On Thu, May 8, 2014 at 1:10 PM, Anas A anas.2...@gmail.com wrote: Dear Friends, Am currently trying to use geoserver in JBOSS 7.1.1 ,I followed some tutorial and installed Geoserver 2.1.3 ,but the map rendering is much slow ,Is there any production environment available under JBoss

Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path

2014-05-08 Thread Tom Chadwin
it would be good to capture just the failing request with all the parameters and especially BBOX. How? gdal_translate -of GTIFF -co tiled=yes -co compress=LZW failing.tif new_copy.tif and change the new image into the mosaic directory. Tried this - no change. However, I now have more

Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path

2014-05-08 Thread Andrea Aime
On Thu, May 8, 2014 at 2:17 PM, Tom Chadwin tom.chad...@nnpa.org.uk wrote: Caused by: java.lang.IllegalArgumentException: All source images must have the same number of bands. Ah! It seems you have images in your mosaic that are not sharing the same number of bands? That is indeed not

Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path

2014-05-08 Thread Tom Chadwin
Ah! It seems you have images in your mosaic that are not sharing the same number of bands? That is indeed not supported, the images have to be uniform at least for the color model (e..g, you cannot mix gray and rgb, byte and float based, and so on). I've just done a diff on the good and bad

Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path

2014-05-08 Thread Tom Chadwin
I'll do the same on the other adjacent TIFFs I've now compared gdalinfo output of the TIFF in question with all of its eight surrounding TIFFs. The band/colour table information is identical: Band 1 Block=256x256 Type=Byte, ColorInterp=Palette Color Table (RGB with 256 entries) All 256

Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path

2014-05-08 Thread Chris Snider
You may need to increase the number of tiles surrounding the one to check for inconsistencies. The default meta-tiling value if 4 X 4. If you can run a small script that runs gdalinfo on each file and grep out the bands, you may find something that way. Example we used for some information

Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path

2014-05-08 Thread Tom Chadwin
run a small script that runs gdalinfo on each file and grep out the bands Thanks for the example. I've run it on our full coverage (UK nationwide, 816 TIFFs), and they all come out with identical info. Where to look next? I'm about to try setting ExpandToRGB=true in the mosaic's .properties

Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path

2014-05-08 Thread Tom Chadwin
ExpandToRGB=true in the mosaic's .properties file. No change in behaviour - same errors. I am getting pretty baffled by this. Anyone have any other ideas? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-rendering-coverage-on-the-fast-path-tp5138864p5139256.html

Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path

2014-05-08 Thread Chris Snider
Tom, Did you mod my example at all or did you leave it to grep out the band gray and Band 1? Also, can you check your mosaic in standard Layer preview with the single large tile? Additionally, instead of seeding, can you use the drop down under the Preview column of the Tile Layers screen

Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path

2014-05-08 Thread Tom Chadwin
Did you mod my example at all or did you leave it to grep out the band gray and Band 1? No, I did: for i in $(find . -name *.tif); do var=`echo $i ;gdalinfo $i | grep -i colorInterp`; echo $var;done; Also, can you check your mosaic in standard Layer preview with the single large tile? OK,

Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path

2014-05-08 Thread Tom Chadwin
I only have PNG8, as I unchecked the other options. When I choose this, I have a 4x4 block of broken tiles. Could the error be something to do with bands in the output tiles, rather than the input TIFFs? I'll gdalinfo them and see. Except I don't know how to identify which GWC tiles those are to

Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path

2014-05-08 Thread Chris Snider
On the grep process, have it grep out just -i band and see if any files come back with more than one band defined. (grasping at straws now, but maybe one of them will be attached to something :) ) Chris Snider Senior Software Engineer Intelligent Software Solutions, Inc. Direct (719) 452-7257

Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path

2014-05-08 Thread Tom Chadwin
On the grep process, have it grep out just -i band and see if any files come back with more than one band defined. (grasping at straws now, but maybe one of them will be attached to something :) ) No joy - all identical output apart from the filename, and the same number of lines output as there

Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path

2014-05-08 Thread Rahkonen Jukka (Tike)
Hi, I would make a new start and take first only two images and make an imagemosaic from those. It it fails immediately, send links to those images and others could try to reproduce the error. It everything is fine, add a third image into the mosaic and test. Continue. But I wonder if the

[Geoserver-users] Requesting a specific gridset (tile size) through GeoWebCache

2014-05-08 Thread Andrew Miskelly
Hi all, I'm hoping to use GWC's gmaps service (http://geowebcache.org/docs/1.5.1/services/gmaps.html) to access image tiles instead of plain WMS as a) it guarantees images are being served via the cache and b) if the URLs get into the wild and someone wants to hack around the parameter values