[Geoserver-users] Possible ways and costs for specific developments/improvements for GeoServer
Hello all, or rather hello developers! In don't know if this is the right way to contact you. So if there is a better way, please give me a hint :) My Question is: While using GeoServer to publish our data via services, we experienced some bugs or rather lacks of features, e. g. the interpretation of some definitions in SLDs that were exported from QGIS. The response/solution of the community to those issues has been to fund further development of those parts. As some of those features are important for us, we are evaluating the option to take on this suggestion. In that sense, and because I did not find anything on the GeoServer Community sites, I wanted to ask how we could manage this, which options there would be and which would be the one preferred by you. How would it work if we would hire a contractor and contribute these features to GeoServer? And for the specific feature of the GeoServer being able to fully interpret all definitions in SLDs exported from QGIS, would you be able to guess the amount of work this would take? In that way, we maybe could estimate the costs of hiring a developer for this feature. Thank you in advance! With kind regards Erik Böhm Erik Böhm (MDZ2207) Open Data Coordination Tel: +49 40 3190-3429 Bernhard-Nocht-Straße 78 | 20359 Hamburg erik.bo...@bsh.de<mailto:erik.bo...@bsh.de> The Federal Maritime and Hydrographic Agency is a higher federal agency under the Federal Ministry for Digital and Transport ___ 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] Problem with SLDs exported from QGIS - implement symbol libaries
Hello Mark, thanks for the reply! I think we will have to go with the workaround and create an svg. Greetings, Erik -Ursprüngliche Nachricht- Von: mark Gesendet: Samstag, 10. April 2021 14:57 An: geoserver-users@lists.sourceforge.net Betreff: Re: [Geoserver-users] Problem with SLDs exported from QGIS - implement symbol libaries Op 09-04-2021 om 14:20 schreef Erik Böhm: > Dear list, > > as it is pretty convinient, we are using QGIS to style our layers and > export the SLD to be used in GeoServer. This works fine in pretty simple > cases. > > Right now we try to use the standard "Dense"-Symbologie from QGIS, > overlaying a polygon with a hatch of points. This is represented in the > SLD as brush://dense6 or > dense6, depending on which type of SLD > you use. > > When using the SLD in GeoServer, the style works, as the polygons get > coloured in the way they should, but the hatch of points is not rendered. > > The SLD has no validation error and the GeoServer Log shows no error either. > > We figured out, that the 'brush'-symbol libary is not available on > GeoServer, and therefore the is not rendered. > > If we are right on this one, is there in general a way to implement the > QGIS symbol libaries on GeoServer? > unfortunately "brush" is not that well known WellKnownName sybols are coded in factory classes in https://github.com/geotools/geotools/tree/main/modules/library/render/src/main/java/org/geotools/renderer/style and hold a limited sets of symbols. I thing you would need to create a "BrushMarkfactory" that provides for "brush://" and will return the shape "dense6" when requested. The known Mark factories are listed in https://github.com/geotools/geotools/blob/main/modules/library/render/src/main/resources/META-INF/services/org.geotools.renderer.style.MarkFactory atm I don't think there is any way to use "symbol libraries" without coding - I have no idea what those look like for qgis; there are ways around this by modifying your style using eg. an external graphic for the pattern mark (eg a TTF or SVG symbol) instead As noted on https://docs.geoserver.org/latest/en/user/styling/qgis/index.html the project is interested in improving support for QGIS generated styles, but it needs funding. -M ___ 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 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] Problem with SLDs exported from QGIS - implement symbol libaries
Dear list, as it is pretty convinient, we are using QGIS to style our layers and export the SLD to be used in GeoServer. This works fine in pretty simple cases. Right now we try to use the standard "Dense"-Symbologie from QGIS, overlaying a polygon with a hatch of points. This is represented in the SLD as brush://dense6 or dense6, depending on which type of SLD you use. When using the SLD in GeoServer, the style works, as the polygons get coloured in the way they should, but the hatch of points is not rendered. The SLD has no validation error and the GeoServer Log shows no error either. We figured out, that the 'brush'-symbol libary is not available on GeoServer, and therefore the is not rendered. If we are right on this one, is there in general a way to implement the QGIS symbol libaries on GeoServer? Thank you in advance! Mit freundlichen Grüßen i.A. Erik Böhm - [BSH]<http://www.bsh.de/> Erik Böhm, M4209 Open Data Koordination Tel +49-40-3190-3429 (Neue Nummer ab 1.4.20) | erik.bo...@bsh.de<mailto:erik.bo...@bsh.de> Fax +49-40-3190-5000 Bernhard-Nocht-Straße 78, 20359 Hamburg Das Bundesamt für Seeschifffahrt und Hydrographie (BSH)<https://www.bsh.de/DE/Home/home_node.html> ist eine Bundesoberbehörde im Geschäftsbereich des Bundesministerium für Verkehr und digitale Infrastruktur<http://www.bmvi.de/> ___ 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] Problem with creating featuretyp with sql-view using rest
Dear list, I try to create a feature type with an sql-view through REST using FME(Safe Software). I use a POST-request to upload the following XML-body: Layer_Name Layer_Title DATABASE_TABLENAME $(NATIVE_RCS) true false Layer_Name select * FROM schema.table where attribute1 IN (SELECT p1. attribute1 FROM schema.table p1, schema.table p2 WHERE p1. attribute1 = p2. attribute1 AND p1.attribute2 != p2. attribute2) false geom Point 4326 As a result, the feature type is created and when I navigate to the SQL-view editor in the GUI, the SQL-statement is there. Nevertheless, even though it's there, it doesn't seem to work as when watching the layer preview I see all my geometries rather than the desired subset. If I create the feature type with the SQL-view manually using the same SQL-statement, it works perfectly. So I guess I have to add something to the REST-request? Additionally, there is a selection box in the GUI to suggest the geometry and SRID. Is it possible to call this option via a REST-request? Thank you in advance and kind regards i.A. Erik Böhm - [BSH]<http://www.bsh.de/> Erik Böhm, M4209 Open Data Koordination Tel +49-40-3190-3429 (Neue Nummer ab 1.4.20) | erik.bo...@bsh.de<mailto:erik.bo...@bsh.de> Fax +49-40-3190-5000 Bernhard-Nocht-Straße 78, 20359 Hamburg Das Bundesamt für Seeschifffahrt und Hydrographie (BSH)<https://www.bsh.de/DE/Home/home_node.html> ist eine Bundesoberbehörde im Geschäftsbereich des Bundesministerium für Verkehr und digitale Infrastruktur<http://www.bmvi.de/> ___ 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] Recalculate Bounds of Layer Group using REST
Hi Andrea, thanks for the information! I think adding this would be very useful, cause right now I have to do this manually, and who wants that? :-D How do I pull such a request? :) Thank you very much and kind regards, Erik -Ursprüngliche Nachricht- Von: Andrea Aime Gesendet: Dienstag, 23. Februar 2021 17:09 An: Erik Böhm Cc: geoserver-users@lists.sourceforge.net Betreff: Re: [Geoserver-users] Recalculate Bounds of Layer Group using REST Hi Erik, as far as I can tell, it's not available, the bounds calculation seems to be invoked only when creating a new layer group, without providing the bounds in the resource body: https://github.com/geoserver/geoserver/blob/b3d7dd049c0432619850905c5e3aba48249ba442/src/restconfig/src/main/java/org/geoserver/rest/catalog/LayerGroupController.java#L124 The handler for a PUT request, available a few lines below, does not handle recalculated. It could be added though, pull requests welcomed :-D Cheers Andrea On Thu, Feb 18, 2021 at 3:49 PM Erik Böhm mailto:erik.bo...@bsh.de> > wrote: Dear list, I generate web-services with geoserver using the REST-API via FME (Safesoftware). So far, I can create everthing from workspace to layer and style. Now, when creating layer groups at the end, I am facing a problem with recalculating the bounding box of the alyer group via rest. What I tried so far is, similar to recalculating the bounding box during the creation of the featuretypes with the "recalculate=nativebbox,latlonbbox" statment (https://docs.geoserver.org/latest/en/user/rest/api/featuretypes.html) to use "recalculate = bounds" (as it is the name of the tag in the xml). Unfortunatly, this does not work. As such a statement is not documented for the layer groups (https://docs.geoserver.org/latest/en/user/rest/api/layergroups.html), I wonder if it is not implemented and it has to be done manually or if there is indeed a respective statement that can be used to do it via the REST-API. Thank you very much in advance for your help! Kind Regards i.A. Erik Böhm - <http://www.bsh.de/> Erik Böhm, M4209 Open Data Koordination Tel +49-40-3190-3429 (Neue Nummer ab 1.4.20) | erik.bo...@bsh.de <mailto:erik.bo...@bsh.de> Fax +49-40-3190-5000 Bernhard-Nocht-Straße 78, 20359 Hamburg Das Bundesamt für Seeschifffahrt und Hydrographie (BSH) <https://www.bsh.de/DE/Home/home_node.html> ist eine Bundesoberbehörde im Geschäftsbereich des Bundesministerium für Verkehr und digitale Infrastruktur <http://www.bmvi.de/> ___ 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
[Geoserver-users] Recalculate Bounds of Layer Group using REST
Dear list, I generate web-services with geoserver using the REST-API via FME (Safesoftware). So far, I can create everthing from workspace to layer and style. Now, when creating layer groups at the end, I am facing a problem with recalculating the bounding box of the alyer group via rest. What I tried so far is, similar to recalculating the bounding box during the creation of the featuretypes with the "recalculate=nativebbox,latlonbbox" statment (https://docs.geoserver.org/latest/en/user/rest/api/featuretypes.html) to use "recalculate = bounds" (as it is the name of the tag in the xml). Unfortunatly, this does not work. As such a statement is not documented for the layer groups (https://docs.geoserver.org/latest/en/user/rest/api/layergroups.html), I wonder if it is not implemented and it has to be done manually or if there is indeed a respective statement that can be used to do it via the REST-API. Thank you very much in advance for your help! Kind Regards i.A. Erik Böhm - [BSH]<http://www.bsh.de/> Erik Böhm, M4209 Open Data Koordination Tel +49-40-3190-3429 (Neue Nummer ab 1.4.20) | erik.bo...@bsh.de<mailto:erik.bo...@bsh.de> Fax +49-40-3190-5000 Bernhard-Nocht-Straße 78, 20359 Hamburg Das Bundesamt für Seeschifffahrt und Hydrographie (BSH)<https://www.bsh.de/DE/Home/home_node.html> ist eine Bundesoberbehörde im Geschäftsbereich des Bundesministerium für Verkehr und digitale Infrastruktur<http://www.bmvi.de/> ___ 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] GeoServer changes date format in WMS GetFeatureInfo
Dear Geoserver Community, I have a problem that has already been addressed several times, but unfortunately the solution suggested in theses threads doesn't help solving our problem. What I do is publishing a time enabled WMS with Geoserver 2.16.0 from a PostGIS DB. The features are stored with an time attribute that is formatted in the ISO date format %Y-%m-%d (2019-04-09). When calling the GetFeatureInfo, Geoserver returns the date in the following date-time format: 4/9/19 12:00 AM. Looking into the GetCapabilties, I get the following for the time dimension: 2012-09-11T22:00:00.000Z/2019-04-08T22:00:00.000Z/P1D As mentioned in other posts, when looking at the GeoJSON representation, the format is alright. As suggested in this post https://gis.stackexchange.com/questions/173375/date-format-in-geoserver-wms-requests-strange , We set the server to local time handling, but the displayed format is still the same. Has anyone experienced the same and has a suggestion, how we can solve this? Thank you very much in advance! Kind regards! Mit freundlichen Grüßen i.A. Erik Böhm - [BSH]<http://www.bsh.de/> Erik Böhm, M4209 Open Data Koordination Tel +49-40-3190-3429 (Neue Nummer ab 1.4.20) | erik.bo...@bsh.de<mailto:erik.bo...@bsh.de> Fax +49-40-3190-5000 Bernhard-Nocht-Straße 78, 20359 Hamburg Das Bundesamt für Seeschifffahrt und Hydrographie (BSH)<https://www.bsh.de/DE/Home/home_node.html> ist eine Bundesoberbehörde im Geschäftsbereich des Bundesministerium für Verkehr und digitale Infrastruktur<http://www.bmvi.de/> ___ 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