[Geoserver-users] Geoserver on Debian: GDAL-libraries
Hi everyone, Apologies if my question is obvious, Linux is something new to me. All tips are appreciated. I have two questions: 1) I'm looking to install GDAL native libraries for my Linux Debian server. But Debian seems not to be listed on this download page (https://demo.geo-solutions.it/share/github/imageio-ext/releases/native/gdal /1.9.2/linux/). Is Debian not supported for GDAL or what am I missing? 2) A client to whom I'm preparing the Geoserver has handed me some ECW-files and as far as I understand this has been debuted a bit concerning it's license. Can anyone elaborate on usage restrictions of ECW-files on a server environment as of today? The client is a municipality and intended use is non-commercial (different definitions of course exist). Assumable, they don't have a license, but rather a third party data provider has simply handed the data sets in ecw-format. Cheers, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geoserver on Debian: GDAL-libraries
Good morning, Thanks for answering. My overall goal is to enable ECW as a file format for my geoserver (2.13.1) which installed on a server using Debian 9 as OS. I’m following these instructions: http://docs.geoserver.org/latest/en/user/data/raster/gdal.html We followed through the tutorial once with my colleague, but no luck. GDAL popped up to modules list under server status tab, but it has a warning sign. New formats weren’t enabled. Now we’re going through the steps once again trying to troubleshoot the problem. I’m still a newbie when it comes to Linux and geoserver so it might be something obvious… Could you point me to source from which you downloaded a proper GDAL library for Debian? How did you know to use 1.9.2? As I said below, it seems not to be listed here: https://demo.geo-solutions.it/share/github/imageio-ext/releases/native/gdal/1.9.2/linux/ Kind regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy From: Joe Murphy Sent: Wednesday, July 18, 2018 6:27 AM To: Ville Koivisto Cc: GeoServer Mailing List List Subject: Re: [Geoserver-users] Geoserver on Debian: GDAL-libraries Hello Sir, I guess I would need to know more what you're trying to do. I may be able to help a bit? My set up is a bit different , as I am running Geoserver in a Debian Docker Container, but i am using GDAL 1.9.2 in the container. Maybe i can be of some help. Joe On Tue, Jul 17, 2018 at 5:11 AM, Ville Koivisto < <mailto:ville.koivi...@kuntotekniikka.fi> ville.koivi...@kuntotekniikka.fi> wrote: Hi everyone, Apologies if my question is obvious, Linux is something new to me. All tips are appreciated. I have two questions: 1) I’m looking to install GDAL native libraries for my Linux Debian server. But Debian seems not to be listed on this download page ( <https://demo.geo-solutions.it/share/github/imageio-ext/releases/native/gdal/1.9.2/linux/> https://demo.geo-solutions.it/share/github/imageio-ext/releases/native/gdal/1.9.2/linux/). Is Debian not supported for GDAL or what am I missing? 2) A client to whom I’m preparing the Geoserver has handed me some ECW-files and as far as I understand this has been debuted a bit concerning it’s license. Can anyone elaborate on usage restrictions of ECW-files on a server environment as of today? The client is a municipality and intended use is non-commercial (different definitions of course exist). Assumable, they don’t have a license, but rather a third party data provider has simply handed the data sets in ecw-format. Cheers, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! <http://sdm.link/slashdot> http://sdm.link/slashdot ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: <http://www.ianturton.com/talks/foss4g.html#/> http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: <http://geoserver.org/comm/userlist-guidelines.html> http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: <https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer <mailto:Geoserver-users@lists.sourceforge.net> Geoserver-users@lists.sourceforge.net <https://lists.sourceforge.net/lists/listinfo/geoserver-users> https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geoserver on Debian: GDAL-libraries
Hi Jukka and others, Thanks for the advice, thats how Ill probably do it since our client wont assumable ever get the license from Hexagon. I read somewhere that usage of ecw on a server would be legal for educational purposes (i.e. universities and such) and for non-commercial purposes. Unfortunately same source declared that government wouldnt be counted as non-commercial (in my case the client is a municipality). Im struggling a bit to convert the ecw to geotiff. It seems to be due to 8bit data type requirement that JPEG compression has. I get the following error message in QGIS (raster --> translate [gdal_translate]): ERROR 1: JPEGSetupEncode:BitsPerSample 16 not allowed for JPEG ERROR 1: JPEGSetupEncode:BitsPerSample 32 not allowed for JPEG ERROR 1: An error occurred while writing a dirty block My ecw has three bands and according to gdalinfo has data type of byte. Ive asked the same question here: https://gis.stackexchange.com/questions/289780/how-to-transform-raster-in-ec w-format-to-a-geotiff-with-jpeg-compression-probl Perhaps youre more experienced with gdal_translate? Kind regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy From: Rahkonen Jukka (MML) Sent: Wednesday, July 18, 2018 9:37 AM To: Ville Koivisto ; 'Joe Murphy' Cc: 'GeoServer Mailing List List' Subject: Re: [Geoserver-users] Geoserver on Debian: GDAL-libraries Hi, Have you considered to convert your ECW files into tiled, JPEG compressed GeoTIFF files? That way you could achieve about the same file size with slightly decreased quality because of second round of lossy compression. >From my experience the quality loss is harmless. GeoTIFFs have good native support in Geoserver and you would not need to acquire the ECW license from Hexagon that is otherwise needed if you want to use ECW files with a server application. Problems with adding GDAL image formats are quite common. I wonder what should be done for making the installation easier. GDAL 1.9 is very old and no software should rely on that version while the current version is 2.2.2. -Jukka Rahkonen- _ Lähettäjä: Ville Koivisto mailto:ville.koivi...@kuntotekniikka.fi> > Lähetetty: 18. heinäkuuta 2018 8:44 Vastaanottaja: 'Joe Murphy' Kopio: 'GeoServer Mailing List List' Aihe: Re: [Geoserver-users] Geoserver on Debian: GDAL-libraries Good morning, Thanks for answering. My overall goal is to enable ECW as a file format for my geoserver (2.13.1) which installed on a server using Debian 9 as OS. Im following these instructions: http://docs.geoserver.org/latest/en/user/data/raster/gdal.html We followed through the tutorial once with my colleague, but no luck. GDAL popped up to modules list under server status tab, but it has a warning sign. New formats werent enabled. Now were going through the steps once again trying to troubleshoot the problem. Im still a newbie when it comes to Linux and geoserver so it might be something obvious Could you point me to source from which you downloaded a proper GDAL library for Debian? How did you know to use 1.9.2? As I said below, it seems not to be listed here: https://demo.geo-solutions.it/share/github/imageio-ext/releases/native/gdal/ 1.9.2/linux/ Kind regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy From: Joe Murphy mailto:joseph.b.murp...@gmail.com> > Sent: Wednesday, July 18, 2018 6:27 AM To: Ville Koivisto mailto:ville.koivi...@kuntotekniikka.fi> > Cc: GeoServer Mailing List List mailto:geoserver-users@lists.sourceforge.net> > Subject: Re: [Geoserver-users] Geoserver on Debian: GDAL-libraries Hello Sir, I guess I would need to know more what you're trying to do. I may be able to help a bit? My set up is a bit different , as I am running Geoserver in a Debian Docker Container, but i am using GDAL 1.9.2 in the container. Maybe i can be of some help. Joe On Tue, Jul 17, 2018 at 5:11 AM, Ville Koivisto < <mailto:ville.koivi...@kuntotekniikka.fi> ville.koivi...@kuntotekniikka.fi> wrote: Hi everyone, Apologies if my question is obvious, Linux is something new to me. All tips are appreciated. I have two questions: 1) Im looking to install GDAL native libraries for my Linux Debian server. But Debian seems not to be listed on this download page ( <https://demo.geo-solutions.it/share/github/imageio-ext/releases/native/gdal /1.9.2/linux/> https://demo.geo-solutions.it/share/github/imageio-ext/releases/native/gdal/ 1.9.2/linux/). Is Debian not supported for GDAL or what am I missing? 2) A client to whom Im preparing the Geoserver has handed me some ECW-files and as far as I understand this has been debuted a bit concerning its license. Can anyone elaborate on usage restrictions of ECW-files on a server environment as of today? The client is a municipality and intended use is non-commercial (d
Re: [Geoserver-users] Geoserver on Debian: GDAL-libraries
Hi Jukka, Oh so byte is synonymous with 8-bit. I got it working. Thanks a lot. Best regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy From: Rahkonen Jukka (MML) Sent: Wednesday, July 18, 2018 12:34 PM To: Ville Koivisto ; 'Joe Murphy' Cc: 'GeoServer Mailing List List' Subject: Re: [Geoserver-users] Geoserver on Debian: GDAL-libraries Hi Ville, Something does not seem to match with gdalinfo and the error message. Data type Byte means 8-bit and it should convert fine into jpeg-in-tiff. -Jukka- _ Lähettäjä: Ville Koivisto <mailto:ville.koivi...@kuntotekniikka.fi> Lähetetty: 18.7.2018 12:13 Vastaanottaja: Rahkonen Jukka (MML) <mailto:jukka.rahko...@maanmittauslaitos.fi> ; 'Joe Murphy' <mailto:joseph.b.murp...@gmail.com> Kopio: 'GeoServer Mailing List List' <mailto:geoserver-users@lists.sourceforge.net> Aihe: RE: [Geoserver-users] Geoserver on Debian: GDAL-libraries Hi Jukka and others, Thanks for the advice, that’s how I’ll probably do it since our client won’t assumable ever get the license from Hexagon. I read somewhere that usage of ecw on a server would be legal for educational purposes (i.e. universities and such) and for non-commercial purposes. Unfortunately same source declared that government wouldn’t be counted as non-commercial (in my case the client is a municipality). I’m struggling a bit to convert the ecw to geotiff. It seems to be due to 8bit data type requirement that JPEG compression has. I get the following error message in QGIS (raster --> translate [gdal_translate]): ERROR 1: JPEGSetupEncode:BitsPerSample 16 not allowed for JPEG ERROR 1: JPEGSetupEncode:BitsPerSample 32 not allowed for JPEG ERROR 1: An error occurred while writing a dirty block My ecw has three bands and according to gdalinfo has data type of byte. I’ve asked the same question here: https://gis.stackexchange.com/questions/289780/how-to-transform-raster-in-ecw-format-to-a-geotiff-with-jpeg-compression-probl Perhaps you’re more experienced with gdal_translate? Kind regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy From: Rahkonen Jukka (MML) mailto:jukka.rahko...@maanmittauslaitos.fi> > Sent: Wednesday, July 18, 2018 9:37 AM To: Ville Koivisto mailto:ville.koivi...@kuntotekniikka.fi> >; 'Joe Murphy' mailto:joseph.b.murp...@gmail.com> > Cc: 'GeoServer Mailing List List' mailto:geoserver-users@lists.sourceforge.net> > Subject: Re: [Geoserver-users] Geoserver on Debian: GDAL-libraries Hi, Have you considered to convert your ECW files into tiled, JPEG compressed GeoTIFF files? That way you could achieve about the same file size with slightly decreased quality because of second round of lossy compression. From my experience the quality loss is harmless. GeoTIFFs have good native support in Geoserver and you would not need to acquire the ECW license from Hexagon that is otherwise needed if you want to use ECW files with a server application. Problems with adding GDAL image formats are quite common. I wonder what should be done for making the installation easier. GDAL 1.9 is very old and no software should rely on that version while the current version is 2.2.2. -Jukka Rahkonen- _ Lähettäjä: Ville Koivisto mailto:ville.koivi...@kuntotekniikka.fi> > Lähetetty: 18. heinäkuuta 2018 8:44 Vastaanottaja: 'Joe Murphy' Kopio: 'GeoServer Mailing List List' Aihe: Re: [Geoserver-users] Geoserver on Debian: GDAL-libraries Good morning, Thanks for answering. My overall goal is to enable ECW as a file format for my geoserver (2.13.1) which installed on a server using Debian 9 as OS. I’m following these instructions: http://docs.geoserver.org/latest/en/user/data/raster/gdal.html We followed through the tutorial once with my colleague, but no luck. GDAL popped up to modules list under server status tab, but it has a warning sign. New formats weren’t enabled. Now we’re going through the steps once again trying to troubleshoot the problem. I’m still a newbie when it comes to Linux and geoserver so it might be something obvious… Could you point me to source from which you downloaded a proper GDAL library for Debian? How did you know to use 1.9.2? As I said below, it seems not to be listed here: https://demo.geo-solutions.it/share/github/imageio-ext/releases/native/gdal/1.9.2/linux/ Kind regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy From: Joe Murphy mailto:joseph.b.murp...@gmail.com> > Sent: Wednesday, July 18, 2018 6:27 AM To: Ville Koivisto mailto:ville.koivi...@kuntotekniikka.fi> > Cc: GeoServer Mailing List List mailto:geoserver-users@lists.sourceforge.net> > Subject: Re: [Geoserver-users] Geoserver on Debian: GDAL-libraries Hello Sir, I guess I would need to know more what you're trying
Re: [Geoserver-users] SLD styling in production environment
Hi to all, Thanks you very much for all the input. Five replies and four different suggestions though. I guess people are divided into different camps with this one The problem that I find with the Geoserver’s own SLD editor is that for me it often validates SLD successfully, but when I implement it in a layer, it still doesn’t work (I’m offered a wms file, which implies broken styling afaik). Debugging is tedious since SLD files can be so long. I guess SLDeditor isn’t cabaple of importing SLD file from QGIS and then exporting it to a functioning SLD 1.0.0 file to be used in Geoserver? That would be really nice. In the very best scenario SLD export in QGIS would be fixed so that I could instruct our not-so-technical clients to produce their own styles with relative ease. I understand that this is still not happening in the near future. I guess I’ll have to start learning CSS. Best regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] SLD styling in production environment
Hi Andrea, Thanks, I think this is not the first time you’ve pointed me to these resources. I’m surprised that you could only raise 500 euros… Are there any future steps to be expected from anyone? Any public undertakings in order to develop the code? I’m not a developer myself, but I would definitely take a look out of interest. Geoserver/QGIS combo is quite well-spread in Finland. Why even have SLD export in QGIS if it doesn’t match requirements in Geoserver? Best regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy From: Andrea Aime Sent: Saturday, November 10, 2018 11:58 AM To: ville.koivi...@kuntotekniikka.fi Cc: GeoServer Mailing List List Subject: Re: [Geoserver-users] SLD styling in production environment On Fri, Nov 9, 2018 at 3:08 PM Ville Koivisto mailto:ville.koivi...@kuntotekniikka.fi> > wrote: Hi, Thanks for the detailed answer. It’s a good hint to check geoserver logs, I didn’t realize that. I still think QGIS/Geoserver SLD matching would is important since clients (municipalities in my case) are often capable of creating a style in QGIS, but not writing CSS or SLD from a template. If we’re speaking about planners or engineers and so on, not about GIS personnel. Hi Ville, there has been some work on that direction, but it's suffering from lack of resourcing. A few years ago QGIS SLD generator was emitting invalid SLD (sometimes not even valid XML), I have worked on a bunch of fixes for that in the FOSS4G 2016 code sprint, in Bonn, that got merged, and are available in the latest versions of QGIS 2.18.x. You can read about them in this blog post: https://www.geo-solutions.it/blog/qgis-sld-export/ Then GeoSolutions started a crowdfunding initiative in 2016, links here: * Blog: https://www.geo-solutions.it/news/crowdfunding-qgis-geoserver-styling-interoperability/ * Cost estimates for the various bits: https://docs.google.com/spreadsheets/d/10SXyCTBiu0KGaXrhyOPVGq6LE2SDx5CTJj5zrV6Xl4U/edit#gid=1338175208 The crowdfunding failed (did not even reach 500EUR), but OpenGeoGroep stepped in and provided funding for one item, the labelling export, which then landed in QGIS 3.0. OSGeo UK also provided some small funds that we are (hopefully) going to use to start the raster export item. We'd need to rally together some of those public administrations you're talking about and have them fund some of that work, I'm quite sure it's not going to happen in any other way the clear need for it has been there for years, but significant movement happened only with single person initiatives crushing a lot of spare time on it, or organisations large enough to fund a chunk of the work. I was happy to do to the initial work to get the ball rolling, but it's just too big to do on my own, and I've been disappointed by the community behavior around it, have no plans to continue it in the future during my spare time. Cheers Andrea == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail. ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver
[Geoserver-users] Rasters showing correctly in layer preview, but won't load in QGIS through WMS
Dear list, I have an issue, summed up in the message title. I have two rasters, one ortophoto and one planning map which show correctly in layer preview in Geoserver. The problem is that when I try to retrieve them via WMS in QGIS, I can find them but they won't load. I have the same exact rasters in another geoserver, and on a different server altogether, and from there I can retrieve them to QGIS. There is a slight version difference, 2.13.2 vs. 2.13.0. Another raster is an image pyramid and another geotiff. I guess format is not the issue, since behavior is shared between them. WMS is enabled, workspace is enable and WMS is checked as a service. I have following error messages in log (attached relevant log): 2018-11-12 14:18:47,584 ERROR [geoserver.ows] - org.geoserver.platform.ServiceException: Error rendering coverage on the fast path . . . Caused by: org.geoserver.platform.ServiceException: java.lang.IllegalArgumentException: The reference geometry must be either Polygon, MultiPolygon, or a polygonal PreparedGeometry . . . Any advice from where to start troubleshooting? Best regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy 2018-11-12 14:18:47,584 ERROR [geoserver.ows] - org.geoserver.platform.ServiceException: Error rendering coverage on the fast path at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:371) at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:286) at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:141) at org.geoserver.wms.GetMap.executeInternal(GetMap.java:653) at org.geoserver.wms.GetMap.run(GetMap.java:285) at org.geoserver.wms.GetMap.run(GetMap.java:131) at org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:320) at sun.reflect.GeneratedMethodAccessor658.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(WebMapServiceKmlInterceptor.java:38) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:62) at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:36) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:74) at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:55) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:55) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy39.getMap(Unknown Source) at sun.reflect.GeneratedMethodAccessor613.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:867) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:270) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846
Re: [Geoserver-users] Rasters showing correctly in layer preview, but won't load in QGIS through WMS
Hi Andrea, Answer to the question was special letters (Scandinavian) in Name property of the layers in question. Geoserver was able to preview as usual, but QGIS complained about an invalid token. Best regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy From: Andrea Aime Sent: Monday, November 12, 2018 3:10 PM To: ville.koivi...@kuntotekniikka.fi Cc: GeoServer Mailing List List Subject: Re: [Geoserver-users] Rasters showing correctly in layer preview, but won't load in QGIS through WMS Hi Ville, not sure, but I would open a ticket with: * sample data * the wms request involved * the full stack trace (please no omissions, every part of it is important, from beginning to end) Cheers Andrea On Mon, Nov 12, 2018 at 1:50 PM Ville Koivisto mailto:ville.koivi...@kuntotekniikka.fi> > wrote: Dear list, I have an issue, summed up in the message title. I have two rasters, one ortophoto and one planning map which show correctly in layer preview in Geoserver. The problem is that when I try to retrieve them via WMS in QGIS, I can find them but they won’t load. I have the same exact rasters in another geoserver, and on a different server altogether, and from there I can retrieve them to QGIS. There is a slight version difference, 2.13.2 vs. 2.13.0. Another raster is an image pyramid and another geotiff. I guess format is not the issue, since behavior is shared between them. WMS is enabled, workspace is enable and WMS is checked as a service. I have following error messages in log (attached relevant log): 2018-11-12 14:18:47,584 ERROR [geoserver.ows] - org.geoserver.platform.ServiceException: Error rendering coverage on the fast path . . . Caused by: org.geoserver.platform.ServiceException: java.lang.IllegalArgumentException: The reference geometry must be either Polygon, MultiPolygon, or a polygonal PreparedGeometry . . . Any advice from where to start troubleshooting? Best regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net <mailto:Geoserver-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail. ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] SLD styling in production environment
Dear list, I need start working on with a bunch of styling with different layers. Knowing Geoserver, alternatives are either SLD or CSS. Could someone more experienced please enlighten me, what might be the most efficient way of producing SLD styles when number of styled layers is high? Should I start learning CSS and go with that? Should I produce SLD styles with QGIS and then repair their mismatches which are caused by version conflict? Or just start writing them in Geoserver panel? Use Udig that can produce SLD 1.0.0 as I've heard? Thanks in advance. Kind regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] SLD styling in production environment
Hi, Thanks for the detailed answer. It’s a good hint to check geoserver logs, I didn’t realize that. I still think QGIS/Geoserver SLD matching would is important since clients (municipalities in my case) are often capable of creating a style in QGIS, but not writing CSS or SLD from a template. If we’re speaking about planners or engineers and so on, not about GIS personnel. Best regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy From: Phil Scadden Sent: Thursday, November 8, 2018 10:15 PM To: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] SLD styling in production environment There are various ways styling go wrong but your choice of SLD editor or styling language don’t have a lot to do with it. If a SLD validates and draws a legend, (you need to check preview as well as there are valid SLD expressions that geoserver cant draw ) but fails on layer preview it is nearly always (maybe every time) a mismatch between property (or possibly layer) names used in the SLD and what is actually in the layer that the SLD is being applied to. Validate by itself isn’t enough. Unless you have a style editor that is tightly integrated to layer it being applied to, this is always going to be problem. All of the options work in a production environment but all of them require testing on actual layer. If you don’t have a copy of the production environment on a test server, then you can safely test by creating/editing the style with a new name, add it as an allowed style to the layer and in layer preview, press the … and change the style If it fails, the geoserver log is usually pretty good at identifying the offending property in the SLD. From: Ville Koivisto mailto:ville.koivi...@kuntotekniikka.fi> > Sent: Friday, 9 November 2018 04:10 To: geoserver-users@lists.sourceforge.net <mailto:geoserver-users@lists.sourceforge.net> Subject: Re: [Geoserver-users] SLD styling in production environment Hi to all, Thanks you very much for all the input. Five replies and four different suggestions though. I guess people are divided into different camps with this one The problem that I find with the Geoserver’s own SLD editor is that for me it often validates SLD successfully, but when I implement it in a layer, it still doesn’t work (I’m offered a wms file, which implies broken styling afaik). Debugging is tedious since SLD files can be so long. I guess SLDeditor isn’t cabaple of importing SLD file from QGIS and then exporting it to a functioning SLD 1.0.0 file to be used in Geoserver? That would be really nice. In the very best scenario SLD export in QGIS would be fixed so that I could instruct our not-so-technical clients to produce their own styles with relative ease. I understand that this is still not happening in the near future. I guess I’ll have to start learning CSS. Best regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy Notice: This email and any attachments are confidential and may not be used, published or redistributed without the prior written consent of the Institute of Geological and Nuclear Sciences Limited (GNS Science). If received in error please destroy and immediately notify GNS Science. Do not copy or disclose the contents. ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Serving real time data with Geoserver - what's the go-to solution?
Dear list, If you're willing I would like to hear your thoughts about the best alternative for serving real time data with Geoserver. I've searched info from different forums and so far I'm thinking Geomesa integrated to Geoserver would be the go-to solution (https://www.geomesa.org/). Can anyone share any experiences with Geomesa for producing a proprietary web map service for clients needing real time data? Any other alternatives for Geomesa that we might want to take a look at? Best regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Serving real time data with Geoserver - what's the go-to solution?
Hi all, Thank you for your answers, and sorry for my delayed one. I got struck with a sudden spike of work. Our needs are yet to be defined more accurately. Let's say that our ideal solution would handle importing and displaying near real-time data (let's say updating once a minute), would be open source and would have a plug in for Geoserver (or some other way of serving OGC standards). As far as I've understood for now, on paper both Geomesa and Geowave satisfy the above. Any other recommendations or perhaps materials we could take a look at, before we dwell further into this? I don't seem to find too much info when googling about geoserver with real time data. Thanks again, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy From: br...@frogmouth.net Sent: Monday, January 21, 2019 10:13 AM To: 'Ville Koivisto' ; 'GeoServer Mailing List List' Subject: RE: [Geoserver-users] Serving real time data with Geoserver - what's the go-to solution? GeoWave also advertises support for GeoServer (https://locationtech.github.io/geowave/userguide.html#geoserver-2) Best is an impossible question to answer though - it depends on your precise needs. If your needs are proprietary and real time, perhaps WFS is not going to be a good fit. From: Ville Koivisto mailto:ville.koivi...@kuntotekniikka.fi> > Sent: Monday, 21 January 2019 6:36 PM To: 'GeoServer Mailing List List' mailto:geoserver-users@lists.sourceforge.net> > Subject: [Geoserver-users] Serving real time data with Geoserver - what's the go-to solution? Dear list, If you're willing I would like to hear your thoughts about the best alternative for serving real time data with Geoserver. I've searched info from different forums and so far I'm thinking Geomesa integrated to Geoserver would be the go-to solution (https://www.geomesa.org/). Can anyone share any experiences with Geomesa for producing a proprietary web map service for clients needing real time data? Any other alternatives for Geomesa that we might want to take a look at? Best regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Serving real time data with Geoserver - what's the go-to solution?
Hi Andrea, Your comment is appreciated. You also hit the nail on the head with your guess: we’re dealing with sensors attached to machinery along municipal road network. At first we’ll have, let’s say thousands of updates per minute. Postgis is already our current solution, we’ve just not yet configured it with Geoserver to handle near real time data (disabling caching for layers “real time layers” and so on, I guess). Still, we might later on incorporate larger data sources, and hit that very big data. This issue isn’t burning on our hands as of already now, we’re just making necessary steps in order to find the best backend design for v2 of our web map services. Thanks again for everyone who commented. You’re doing great work for the community. Best regards, Ville Koivisto +35840 701 4283 From: Andrea Aime Sent: Wednesday, January 23, 2019 2:04 PM To: Ville Koivisto Cc: GeoServer Mailing List List Subject: Re: [Geoserver-users] Serving real time data with Geoserver - what's the go-to solution? Hi Ville, I believe you should also provide some more info on your use case, like, are you dealing with a lot of data, do you maybe also have create on the fly aggregates out of it, or maybe out of streams of data, and the like? If so, GeoWave/GeoMesa seem to fit your use case. But if instead you're just dealing with a smaller number of datasets (e.g., the buses over a city, a company's trucks on a road network) and you just need to do a few updates a minute (e.g. thousands) then maybe a more modest postgis storage is all you need Cheers Andrea On Wed, Jan 23, 2019 at 12:59 PM Ville Koivisto mailto:ville.koivi...@kuntotekniikka.fi> > wrote: Hi all, Thank you for your answers, and sorry for my delayed one. I got struck with a sudden spike of work. Our needs are yet to be defined more accurately. Let’s say that our ideal solution would handle importing and displaying near real-time data (let’s say updating once a minute), would be open source and would have a plug in for Geoserver (or some other way of serving OGC standards). As far as I’ve understood for now, on paper both Geomesa and Geowave satisfy the above. Any other recommendations or perhaps materials we could take a look at, before we dwell further into this? I don’t seem to find too much info when googling about geoserver with real time data… Thanks again, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy From: br...@frogmouth.net <mailto:br...@frogmouth.net> mailto:br...@frogmouth.net> > Sent: Monday, January 21, 2019 10:13 AM To: 'Ville Koivisto' mailto:ville.koivi...@kuntotekniikka.fi> >; 'GeoServer Mailing List List' mailto:geoserver-users@lists.sourceforge.net> > Subject: RE: [Geoserver-users] Serving real time data with Geoserver - what's the go-to solution? GeoWave also advertises support for GeoServer (https://locationtech.github.io/geowave/userguide.html#geoserver-2) Best is an impossible question to answer though – it depends on your precise needs. If your needs are proprietary and real time, perhaps WFS is not going to be a good fit. From: Ville Koivisto mailto:ville.koivi...@kuntotekniikka.fi> > Sent: Monday, 21 January 2019 6:36 PM To: 'GeoServer Mailing List List' mailto:geoserver-users@lists.sourceforge.net> > Subject: [Geoserver-users] Serving real time data with Geoserver - what's the go-to solution? Dear list, If you’re willing I would like to hear your thoughts about the best alternative for serving real time data with Geoserver. I’ve searched info from different forums and so far I’m thinking Geomesa integrated to Geoserver would be the go-to solution (https://www.geomesa.org/). Can anyone share any experiences with Geomesa for producing a proprietary web map service for clients needing real time data? Any other alternatives for Geomesa that we might want to take a look at? Best regards, Ville Koivisto +35840 701 4283 GIS Expert Suomen kuntotekniikka Oy ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net <mailto:Geoserver-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. A
[Geoserver-users] Possible bug in data security rules if an access is granted to all roles
Hi list, I wanted to report this in Geoserver's Jira, but I had trouble logging in (licenses have run out I guess). Please let me know if there is another place or way to report bugs and I'm happy to do it. We've run to a case in which a data security rule is dropped mysteriously. I've documented this behavior in versions 2.19.2 and 2.20.2. You should be able to repeat by: - Installing Geoserver 2.20.2 (I used windows installer, localhost) - Creating a workspace - Creating a Postgis store (localhost as well; haven't tested other stores) - Publishing a layer from the store - Creating a data security rule with the following: the workspace you created, the layer you created, access mode set to read and 'access granted to every role' ticked - Going back to the layer settings and changing anything (or just save again) - Going back to data security window and checking if the rule is still listed (in my case it is not) I was thinking that having the default '*.*.r' rule might be the reason for this, since it basically does the same job, but removing it beforehand didn't change the behavior. Best regards, Ville Koivisto -- *Paikkatietoyhteiskunnan rakentajat | Builders of a spatial information society* Ubigu Oy | Ltd, Pellavatehtaankatu 8 E 59, FI-33100 Tampere Linkedin <https://www.linkedin.com/company/ubigu-oy/> | Twitter <https://twitter.com/ubigusto> | Facebook <https://www.facebook.com/ubiguoy> ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users