Re: [Geoserver-users] geoserver time support for vector data
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 software that implements the SOS standard treating each measurement location as a sensor Any comments regarding other experiences/issues on this would be much appreciated. Thanks, Jacinto On 05/06/2014 05:35 PM, Jacinto Estima wrote: Thank you very much Simone. Bellow is the log file. I ran the 2 select instructions highlighted below and got 2012-12-31 23:00:00 as a result for the first one and nothing for the second so I assume that something is wrong with the request. And I am also not getting the point of the where clause in the second request. Thanks a lot for your help, Jacinto 2014-05-06 17:12:12,000 INFO [geoserver.wms] - Request: getMap Filter = null Buffer = 0 Format = image/png Palette = null Tiled = false SRS = EPSG:4326 FeatureVersion = null Styles = [StyleImpl[ name=point]] Layers = [org.geoserver.wms.MapLayerInfo@ffb6ba15] MaxFeatures = null Crs = GEOGCS[WGS 84, DATUM[World Geodetic System 1984, SPHEROID[WGS 84, 6378137.0, 298.257223563, AUTHORITY[EPSG,7030]], AUTHORITY[EPSG,6326]], PRIMEM[Greenwich, 0.0, AUTHORITY[EPSG,8901]], UNIT[degree, 0.017453292519943295], AXIS[Geodetic longitude, EAST], AXIS[Geodetic latitude, NORTH], AUTHORITY[EPSG,4326]] Bbox = SRSEnvelope[76.21345703125 : 131.47654296875, 38.03818359375 : 56.76181640625] RemoteOwsType = null RemoteOwsURL = null Env = {} FormatOptions = {} Angle = 0.0 CQLFilter = null Elevation = [] FeatureId = null StartIndex = null ViewParams = null BgColor = java.awt.Color[r=255,g=255,b=255] Transparent = false SldBody = null ValidateSchema = false Sld = null SldVersion = null TilesOrigin = null Filters = null Exceptions = SE_XML Height = 330 Width = 974 Time = [null] Version = 1.1.1 RawKvp = {BBOX=76.21345703125,38.03818359375,131.47654296875,56.76181640625, VERSION=1.1.1, FORMAT=image/png, SERVICE=WMS, HEIGHT=330, REQUEST=GetMap, LAYERS=test:wind_stations, STYLES=, WIDTH=974, SRS=EPSG:4326} BaseUrl = http://irena.masdar.ac.ae:8080/geoserver/ RequestCharset = UTF-8 Request = GetMap Get = true 2014-05-06 17:12:12,005 DEBUG [wms.map] - Writing png image ... 2014-05-06 17:12:12,005 DEBUG [config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[mongolia], available services were [WCSInfoImpl[WCS], WFSInfoImpl[WFS], WMSInfoImpl[WMS]] 2014-05-06 17:12:12,005 DEBUG [geotools.styling] - number of fts set 1 2014-05-06 17:12:12,113 DEBUG [wms.map] - Writing png image ... done! 2014-05-06 17:12:12,114 DEBUG [geoserver.filters] - Not compressing output for mimetype: image/png 2014-05-06 17:12:12,114 DEBUG [filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed 2014-05-06 17:12:12,136 TRACE [ows.OWSHandlerMapping] - No handler mapping found for [/test/wms] 2014-05-06 17:12:12,136 TRACE [ows.OWSHandlerMapping] - No handler mapping found for [/test/wms] 2014-05-06 17:12:12,137 TRACE [ows.OWSHandlerMapping] - No handler mapping found for [/test/wms] 2014-05-06 17:12:12,137 TRACE [ows.OWSHandlerMapping] - No handler mapping found for [/test/wms] 2014-05-06 17:12:12,138 TRACE [ows.OWSHandlerMapping] - No handler mapping found for [/test/wms] 2014-05-06 17:12:12,138 DEBUG [ows.OWSHandlerMapping] - Mapping [/test/wms] to HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@794059a5] and 1 interceptor 2014-05-06 17:12:12,140 DEBUG [config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[test], available services were [WCSInfoImpl[WCS], WFSInfoImpl[WFS], WMSInfoImpl[WMS]] 2014-05-06 17:12:12,140 INFO [geoserver.wms] - Request: getServiceInfo 2014-05-06 17:12:12,145 DEBUG [geoserver.ows] - Getting layers and styles from LAYERS and STYLES 2014-05-06 17:12:12,145 DEBUG [geotools.styling] - number of fts set 1 2014-05-06 17:12:12,145 DEBUG [geoserver.ows] - establishing point style for test:wind_stations 2014-05-06 17:12:12,150 DEBUG [config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[test], available services were [WCSInfoImpl[WCS], WFSInfoImpl[WFS], WMSInfoImpl[WMS]] 2014-05-06 17:12:12,150 DEBUG [config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[test], available services were [WCSInfoImpl[WCS], WFSInfoImpl[WFS], WMSInfoImpl[WMS]] 2014-05-06 17:12:12,151 DEBUG [geoserver.wms] - setting up map 2014-05-06 17:12:12,152 DEBUG
Re: [Geoserver-users] geoserver time support for vector data
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, b.wind_direction, b.wind_speed from test.mesurement_stations as a left join test.mesurements as b on a.id_number=b.id_station order by b.measure_time ) as vtable WHERE (measure_time = '2012-12-31T19:00:00Z' AND measure_time IS NOT NULL AND geom ST_GeomFromText('POLYGON ((75.98650390625001 37.81123046875, 75.98650390625001 56.98876953125, 131.70349609375 56.98876953125, 131.70349609375 37.81123046875, 75.98650390625001 37.81123046875))', 2))* 2014-05-06 17:12:38,531 DEBUG [geotools.jdbc] - CLOSE CONNECTION Have you tried the query manually? Does it return anything? Can you fit it to make it return stuff? About performance, you have indexes both on the geometry column, and the time one, yes? Also, is all of your server setup to work in GMT (postgres, geoserver and so on)? Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Freemarker template design
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. Do I need to define something elsewhere, or am I just using the wrong code? Thanks Chris -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Freemarker template design
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 ${type.title} might work - just throws a java error saying that type.title is undefined. Do I need to define something elsewhere, or am I just using the wrong code? Here is what you have in the object model given to the template, title is not part of it: http://docs.geoserver.org/stable/en/user/tutorials/freemarker.htm To modify the object model given to the template some java programming would be needed, I can give you references to the classes involved if you are interested Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] WMS : Connection test failed: For input string: 4, 227359329868297
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: http://gis.irisnetlab.be/geoserver/sprb/wms?SERVICE=WMSVERSION=1.3.0REQUEST=GetCapabilities. GeoServer version used is: 2.1.3 Do you have any idea about the cause of this problem? Thank you in advance -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-Connection-test-failed-For-input-string-4-227359329868297-tp5139155.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] WMS : Connection test failed: For input string: 4, 227359329868297
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: http://gis.irisnetlab.be/geoserver/sprb/wms?SERVICE=WMSVERSION=1.3.0REQUEST=GetCapabilities . GeoServer version used is: 2.1.3 It's an old GeoServer version, not sure it was able to properly cascade WMS 1.3. Try using a 1.1.1 caps link instead: http://gis.irisnetlab.be/geoserver/sprb/wms?SERVICE=WMSVERSION=1.1.1REQUEST=GetCapabilities . Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] (no subject)
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 Geoserver 2.5 resolve this issue for us? Wojciech Misiara BCIS IT Manager [cid:picture2d33c9f] A Level 2, 66 Rundle Street, Kent Town SA 5067 T +61 8 8273 3100 F +61 8 8273 3110 E wojciech.misi...@tonkin.com.aumailto:wojciech.misi...@tonkin.com.au W www.tonkin.com.auhttp://www.tonkin.com.au Development - Environment - Local Government - Mining Resources - Spatial - Transport - Water Privacy Confidentiality Notice: This email and any attachments to it, may contain confidential and privileged information solely for the use of the intended recipient (or person authorised). Any misuse of this email and/or file attachments is strictly prohibited. If this email has been received in error, please notify the sender by return email and delete all copies immediately. No guarantee is given that this email and/or any attachments are free from computer viruses or any other defect or error. [cid:recyclelogo3b4d06] Disclaimer added by CodeTwo Exchange Rules 2007 www.codetwo.comhttp://www.codetwo.com/?sts=1047 -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] (no subject)
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 everything is back to normal. The site is written in html and Javascript. Will the upgrade to Geoserver 2.5 resolve this issue for us? I have no idea, but at least you should get help if you use a 2.5, 2.1.3 is outdated and not supported by the community anymore (commercial providers may provide you support for that, that's a different matter though). Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] geoserver time support for vector data
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, b.measure_time, b.wind_direction, b.wind_speed from test.mesurement_stations as a left join test.mesurements as b on a.id_number=b.id_station order by b.measure_time ) as vtable 2. to get all the points for that max time 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, b.wind_direction, b.wind_speed from test.mesurement_stations as a left join test.mesurements as b on a.id_number=b.id_station order by b.measure_time ) as vtable WHERE (*measure_time = '2012-12-31T19:00:00Z'* AND measure_time IS NOT NULL AND geom ST_GeomFromText('POLYGON ((75.98650390625001 37.81123046875, 75.98650390625001 56.98876953125, 131.70349609375 56.98876953125, 131.70349609375 37.81123046875, 75.98650390625001 37.81123046875))', 2)) If I query directly in postgis, I get *2012-12-31 23:00:00* so I conclude that for some reason Geoserver is using the wrong time for the second request (the result from the first request should be used instead). Am I thinking right? Quite likely, GeoServer does not have an internal good handling of timezones, that's why I was suggesting to have everything running in GMT (the issue you have there looks like a timezone shift). Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] geoserver time support for vector data
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 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, b.measure_time, b.wind_direction, b.wind_speed from test.mesurement_stations as a left join test.mesurements as b on a.id_number=b.id_station order by b.measure_time ) as vtable 2. to get all the points for that max time 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, b.wind_direction, b.wind_speed from test.mesurement_stations as a left join test.mesurements as b on a.id_number=b.id_station order by b.measure_time ) as vtable WHERE (*measure_time = '2012-12-31T19:00:00Z'* AND measure_time IS NOT NULL AND geom ST_GeomFromText('POLYGON ((75.98650390625001 37.81123046875, 75.98650390625001 56.98876953125, 131.70349609375 56.98876953125, 131.70349609375 37.81123046875, 75.98650390625001 37.81123046875))', 2)) If I query directly in postgis, I get *2012-12-31 23:00:00* so I conclude that for some reason Geoserver is using the wrong time for the second request (the result from the first request should be used instead). Am I thinking right? Quite likely, GeoServer does not have an internal good handling of timezones, that's why I was suggesting to have everything running in GMT (the issue you have there looks like a timezone shift). Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Geoserver GWC issue
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 and whatever levels of cache. When I then try and seed the cache, I get a: 'Problem communicating with GeoServer at org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse' error in the logs. I added jpeg to the cache type and tried caching with that and it works fine. I read somewhere that there is an issue with the 'transparent' keyword - but I am unsure how to change this (plus I'd quite like that to be on). Any pointers? Thanks Toby -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Freemarker template design
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 08:06, Andrea Aime andrea.a...@geo-solutions.it wrote: On Thu, May 8, 2014 at 8:33 AM, Chris Jackson webturt...@gmail.comwrote: 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. Do I need to define something elsewhere, or am I just using the wrong code? Here is what you have in the object model given to the template, title is not part of it: http://docs.geoserver.org/stable/en/user/tutorials/freemarker.htm To modify the object model given to the template some java programming would be needed, I can give you references to the classes involved if you are interested Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geoserver ImageMap extension
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] On Behalf Of Mauro Bartolomeoli Sent: terça-feira, 6 de Maio de 2014 10:23 To: Bruno M. Fonseca Cc: Diego Guidi; geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Geoserver ImageMap extension Hi Bruno, 2014-05-06 10:49 GMT+02:00 Bruno M. Fonseca bruno.fons...@telecom.ptmailto:bruno.fons...@telecom.pt: Hi, Thank you very much for the answers. The biggest issue is that there is no label collision detection and there’s no way to integrate an HTML image map on OpenLayers. For the OpenLayers support I did something when the extension was developed. It refers to GeoServer 1.7 and probably and old OpenLayers version, but maybe you can have a look if it's useful for you. You find the zip included. Mauro -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Dott. Mauro Bartolomeoli @mauro_bart Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geoserver ImageMap extension
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: Bruno M. Fonseca Cc: Diego Guidi; geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Geoserver ImageMap extension Hi Bruno, 2014-05-06 10:49 GMT+02:00 Bruno M. Fonseca bruno.fons...@telecom.ptmailto:bruno.fons...@telecom.pt: Hi, Thank you very much for the answers. The biggest issue is that there is no label collision detection and there’s no way to integrate an HTML image map on OpenLayers. For the OpenLayers support I did something when the extension was developed. It refers to GeoServer 1.7 and probably and old OpenLayers version, but maybe you can have a look if it's useful for you. You find the zip included. Mauro -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Dott. Mauro Bartolomeoli @mauro_bart Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Raster question
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 layers. Does anybody have an idea, how to get a matching raster (coordinate pair from geocoding) from Geoserver, and add it to a map as a layer? Combining those tiffs as one tiff is not a solution (too large). Thanks, Oiva -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geoserver GWC issue
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 easily enough in geoserver. And then in the GWC set up page I specify I only want png and whatever levels of cache. When I then try and seed the cache, I get a: 'Problem communicating with GeoServer at org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse' Could you share the full stack trace form the geoserver logs? Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Raster question
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 pair. Then I have around 30 rasters (geotiffs) on our Geoserver as separate layers. Does anybody have an idea, how to get a matching raster (coordinate pair from geocoding) from Geoserver, and add it to a map as a layer? Combining those tiffs as one tiff is not a solution (too large). How about putting all of them in the same directory and use the image mosaic plugin? Or are they different in nature (e.g, different color model?) As an alternative, I guess you can parse the capabilties document, it has the bbox for each layer, and use that to decide which layer fits. Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Raster question
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 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:21 AM, Hakala Oiva (MTT) oiva.hak...@mtt.fimailto:oiva.hak...@mtt.fi wrote: 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 layers. Does anybody have an idea, how to get a matching raster (coordinate pair from geocoding) from Geoserver, and add it to a map as a layer? Combining those tiffs as one tiff is not a solution (too large). How about putting all of them in the same directory and use the image mosaic plugin? Or are they different in nature (e.g, different color model?) As an alternative, I guess you can parse the capabilties document, it has the bbox for each layer, and use that to decide which layer fits. Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Raster question
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. Cheers Andrea On Thu, May 8, 2014 at 12:01 PM, Hakala Oiva (MTT) oiva.hak...@mtt.fiwrote: 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 -- *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: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 pair. Then I have around 30 rasters (geotiffs) on our Geoserver as separate layers. Does anybody have an idea, how to get a matching raster (coordinate pair from geocoding) from Geoserver, and add it to a map as a layer? Combining those tiffs as one tiff is not a solution (too large). How about putting all of them in the same directory and use the image mosaic plugin? Or are they different in nature (e.g, different color model?) As an alternative, I guess you can parse the capabilties document, it has the bbox for each layer, and use that to decide which layer fits. Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geoserver GWC issue
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. https://www.dropbox.com/s/mizttc6bo014u0a/LC82040222014126MTI00_B8.zip Toby On 8 May 2014 10:56, Andrea Aime andrea.a...@geo-solutions.it wrote: On Thu, May 8, 2014 at 11:54 AM, Tobias Reinicke ramot...@gmail.comwrote: Yes. Should have done before. Error here: Caused by: java.lang.ClassCastException: [[B cannot be cast to [[S at com.sun.media.jai.opimage.BandMergeOpImage.shortLoop(BandMergeOpImage.java:346) Ah, interesting... there seems to be a mismatch between data types here, byte and short. Do you have a link where we can download this landsat image? Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Raster question
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 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. 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? A grid would be much better, but 2m resolution, well, it would be much too heavy. Oiva Lähettäjä: andrea.a...@gmail.commailto:andrea.a...@gmail.com [andrea.a...@gmail.commailto:andrea.a...@gmail.com] käyttäjän Andrea Aime [andrea.a...@geo-solutions.itmailto: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:21 AM, Hakala Oiva (MTT) oiva.hak...@mtt.fimailto:oiva.hak...@mtt.fi wrote: 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 layers. Does anybody have an idea, how to get a matching raster (coordinate pair from geocoding) from Geoserver, and add it to a map as a layer? Combining those tiffs as one tiff is not a solution (too large). How about putting all of them in the same directory and use the image mosaic plugin? Or are they different in nature (e.g, different color model?) As an alternative, I guess you can parse the capabilties document, it has the bbox for each layer, and use that to decide which layer fits. Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313tel:%2B39%200584%20962313 fax: +39 0584 1660272tel:%2B39%200584%201660272 mob: +39 339 8844549tel:%2B39%20%C2%A0339%208844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Caching with Response Headers Settings
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. -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] (no subject)
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* https://www.facebook.com/anas.24aj -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] (no subject)
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 environment Please upgrade to GeoServer 2.5.x, map rendering should be significantly faster there. Also, make sure you prepare your data for web serving, see these slides: http://www.slideshare.net/geosolutions/gs-steroids-sgiannecfoss4g20130103 Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path
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 information. Tomcat stderr has this: Error: One factory fails for the operation Mosaic Occurs in: org.geoserver.jai.ConcurrentOperationRegistry java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122) at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674) at org.geoserver.jai.ConcurrentOperationRegistry.invokeFactory(ConcurrentOperationRegistry.java:412) at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332) at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819) at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867) at javax.media.jai.RenderedOp.getWidth(RenderedOp.java:2179) at org.geotools.image.ImageWorker.affine(ImageWorker.java:3113) at org.geotools.gce.imagemosaic.RasterLayerResponse.postProcessRaster(RasterLayerResponse.java:1293) at org.geotools.gce.imagemosaic.RasterLayerResponse.processRequest(RasterLayerResponse.java:1235) at org.geotools.gce.imagemosaic.RasterLayerResponse.createResponse(RasterLayerResponse.java:1194) at org.geotools.gce.imagemosaic.RasterManager.read(RasterManager.java:1125) at org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:629) at org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:608) at org.geoserver.catalog.SingleGridCoverage2DReader.read(SingleGridCoverage2DReader.java:140) at org.geoserver.wms.map.RenderedImageMapOutputFormat.readBestCoverage(RenderedImageMapOutputFormat.java:1296) at org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:861) at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:329) at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:251) at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:123) at org.geoserver.wms.GetMap.executeInternal(GetMap.java:509) at org.geoserver.wms.GetMap.run(GetMap.java:253) at org.geoserver.wms.GetMap.run(GetMap.java:124) at org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:328) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(WebMapServiceKmlInterceptor.java:34) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:61) at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:35) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:79) at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:54) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:54) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy66.getMap(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at
Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path
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 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). Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path
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 TIFFs' GDALinfo as above, this time including the colour table info. No difference in number of entries in colour table (256), type (byte), ColorInterp (palette), or even in the contents of each of those 256 entries. I'll do the same on the other adjacent TIFFs, assuming that those are the ones likely to be involved in this process if I do limit the BBOX to the problematic TIFF? Or can this error be thrown if a distant TIFF in the same mosaic, nowhere near the GWV seed BBOX, differs in the way suggested? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-rendering-coverage-on-the-fast-path-tp5138864p5139234.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path
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 colour table entries are also identical in all nine files. Where should I look now? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-rendering-coverage-on-the-fast-path-tp5138864p5139239.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path
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 processing (adjust as required): for i in $(find . -name *.sid); do var=`echo $i ;gdalinfo $i | grep -i band.*Gray`; echo $var | grep Band 1;done; Chris Snider Senior Software Engineer Intelligent Software Solutions, Inc. Direct (719) 452-7257 -Original Message- From: Tom Chadwin [mailto:tom.chad...@nnpa.org.uk] Sent: Thursday, May 08, 2014 7:12 AM To: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path 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 colour table entries are also identical in all nine files. Where should I look now? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-rendering-coverage-on-the-fast-path-tp5138864p5139239.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path
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 file. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-rendering-coverage-on-the-fast-path-tp5138864p5139250.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path
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 Sent from the GeoServer - User mailing list archive at Nabble.com. -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path
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 and choose one of the jpeg options? Do either of these methods work and display your completed image? Chris Snider Senior Software Engineer Intelligent Software Solutions, Inc. -Original Message- From: Tom Chadwin [mailto:tom.chad...@nnpa.org.uk] Sent: Thursday, May 08, 2014 8:13 AM To: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path 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 file. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-rendering-coverage-on-the-fast-path-tp5138864p5139250.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path
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, I _can_ see the big tile in OpenLayers layer preview. I'm sure this failed before, but let's forget that for the mo. Additionally, instead of seeding, can you use the drop down under the Preview column of the Tile Layers screen and choose one of the jpeg options? Do either of these methods work and display your completed image? 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. So now I look at it closely, I see something new: this tile gap does not correspond with a single source TIFF, but overlaps (presumably) four of them. What this means I do not know. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-rendering-coverage-on-the-fast-path-tp5138864p5139266.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path
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 check. And the PNG8s probably don't exist anyway. The browser returns 400 Bad request for them. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-rendering-coverage-on-the-fast-path-tp5138864p5139269.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path
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 -Original Message- From: Tom Chadwin [mailto:tom.chad...@nnpa.org.uk] Sent: Thursday, May 08, 2014 8:59 AM To: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path 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, I _can_ see the big tile in OpenLayers layer preview. I'm sure this failed before, but let's forget that for the mo. Additionally, instead of seeding, can you use the drop down under the Preview column of the Tile Layers screen and choose one of the jpeg options? Do either of these methods work and display your completed image? 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. So now I look at it closely, I see something new: this tile gap does not correspond with a single source TIFF, but overlaps (presumably) four of them. What this means I do not know. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-rendering-coverage-on-the-fast-path-tp5138864p5139266.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path
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 are files. I guess I should double-check that there is not a file which is giving multiple Band 1s, balanced out by the same number which have no Bands, but I really don't think that's likely, is it? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-rendering-coverage-on-the-fast-path-tp5138864p5139272.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GWC seeding: Error rendering coverage on the fast path
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 issue could come from somethign else. Is there anything that could prevent JAI from finding the width when GetMap BBOX is hitting the corner of four images? What is the meaning of affine here: at javax.media.jai.RenderedOp.getWidth(RenderedOp.java:2179) at org.geotools.image.ImageWorker.affine(ImageWorker.java:3113) Is there some reprojection job going on? -Jukka Rahkonen- Tom Chadwin wrote: 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 are files. I guess I should double-check that there is not a file which is giving multiple Band 1s, balanced out by the same number which have no Bands, but I really don't think that's likely, is it? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-rendering-coverage-on-the-fast-path-tp5138864p5139272.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Requesting a specific gridset (tile size) through GeoWebCache
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 are finite (zoom, x, y instead of bounding box). Does anyone know whether I can explicitly request images from a certain gridset? I have set up a global gridset called EPSG:900913_512 which specifies a tile size of 512x512 and would like to access those images but /geoserver/gwc/service/gmaps?layers=layerwidth=512height=512zoom=zx=xy=y produces a 256x256 image - clearly defaulting to the default EPSG:900913 (256x256) gridset. Regards, Andrew -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users