Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Brad Hards
    @bradh
    @frippe12573 You shouldn't think of the layer preview as being exhaustive. It demonstrates only a few of the many capabilities of GeoServer. In particular, if you aren't going to "view", then "preview" may not make sense.
    frippe12573
    @frippe12573
    @bradh actually I need a URL to let the users download the grid from Geonetwork metadata catalog (online resources)
    Brad Hards
    @bradh
    You should be able to get that from the request builder.
    Angelos Tzotsos
    @kalxas
    hi all, I am having some trouble with app-schema extension: after generating the application schema and publish it to GeoServer (2.18.4) I am able to get GML3.2 responses from WFS 1.0.0 but WFS 1.1.0 and 2.0.0 are throwing this error:
    image.png
    Andrea Aime
    @aaime
    @kalxas you should ask on the user list, the devs working on app-schema are not subscribed to this chat
    Angelos Tzotsos
    @kalxas
    ah, thanks @aaime !
    Angelos Tzotsos
    @kalxas
    e-mail sent to mailing list
    Jody Garnett
    @jodygarnett
    @aaime I guess we did not talk about ogcapi sprint; I am on holiday and may or may not attend.
    Andrea Aime
    @aaime
    I'll try to create a first implementation of a OGC API Coverages
    Brad Hards
    @bradh
    @aaime I had a lot of documentation fixes sitting on that feature templating PR. I really don't want to redo them as a separate PR.
    Can @taba90 fix them up?
    Andrea Aime
    @aaime
    Yeah he's looking into it
    Unfortunately they landed a few minutes after I've merged... he's gonna do a new PR
    Brad Hards
    @bradh
    There was a lot of docs, and it seems like a really useful bit of functionality, but it took me a while since its getting quite late here...
    Andrea Aime
    @aaime
    Yep, the module is getting quite some interest, along with the "app-schema-smart" one, to quickly setup complex features without the headaches of GML application schemas
    Brad Hards
    @bradh
    "I'll try anything that might help with that".
    However even the simple features case could be quite handy for dealing with client applications with limited capabilities.
    Andrea Aime
    @aaime
    Yep, it's also used to create simple features views out of complex features (for INSPIRE compliance for example)
    Angelos Tzotsos
    @kalxas
    no reply on the WFS issue :)
    should I open a ticket?
    I just wanted to realize if this could be a bug or not before opening a ticket
    Andrea Aime
    @aaime
    @kalxas I asked the people working on app-schema to have a look at it yesterday
    you can open the bug report, but it won't help
    Angelos Tzotsos
    @kalxas
    many thanks @aaime
    fixwhat
    @fixwhat
    Hello. Someone asked me what is the preferable method to run a instance of Geoserver on a windows machine: install tomcat and then deploy a .war geoserver or go with the platform independent binary? I don't have experience with windows so ...
    They will use this geoserver for internal projects only. It will not be on the open web.
    Paul van Genuchten
    @pvgenuchten
    @fixwhat, no experience with windows? i'd say go for docker https://hub.docker.com/r/oscarfonts/geoserver. Platform binary is fine for internal cases, install it as a service.
    1 reply
    Andrea Aime
    @aaime
    I've seen large cities use the platform independent binary (with the installer, which is about to become available again) for internal production
    For larger cases, if Windows is a must, we installTomcat and deploy GeoServer in it
    (where "we" is actually my colleagues dealing with it, not me :-D )
    fixwhat
    @fixwhat
    Nice to know Andrea. I don't think this will be a big server anyway since only one department using geo stuff.
    fixwhat
    @fixwhat
    Hello. I am trying to upload a layer trough the rest api. So I did something like:
    curl -v -u admin:geoserver -XPUT -H "Content-type: application/zip" --data-binary @zippedshape.zip http://localhost/geoserver/rest/workspaces/myworkspace/datastores/dbdatastore/file.shp
    6 replies
    Tino Desjardins
    @TDesjardins
    Hello, I wonder if there is a sensible solution to style a GeometryCollection with SLD in Geotools. There is a site in the geotools docs about the problem but there isn't any solution for separatly styling different geometrytypes of a GeometryCollection. In most cases it doesn't make sense to apply all symbolizers (Point, Line, Polygon) to one geometry.
    Andrea Aime
    @aaime
    Hmm... not with standard SLD... if I had to do it, I'd probably write a rendering trasnformation that splits the geometry collection into N features, one per sub-geometry, allowing each to be styled separately (it's not there, needs to be written)
    Tino Desjardins
    @TDesjardins

    Hmm... not with standard SLD... if I had to do it, I'd probably write a rendering trasnformation that splits the geometry collection into N features, one per sub-geometry, allowing each to be styled separately (it's not there, needs to be written)

    Thanks @aaime , that sounds interesting. Is there any guide how rendering transformation works? I only find some old docs about the approaches: http://old.geotools.org/Rendering-transformations_191299715.html

    Actually I could also modify the feature collection before rendering but I suppose the rendering transformation is a cleaner approach.
    Andrea Aime
    @aaime
    I'm afraid there are no guides, you can look at the existing ones though (use the source!)
    Basically it would be a WPS process that you invoke.. simple ones are not so hard to write, this one in particular is best written as a streaming process
    This one could be a starting point, although yours will be a bit more complicated, because for each input feature, you need to generate N in output: https://github.com/geotools/geotools/blob/8901b6fb7d7ada6e325398b48abd5b9dedffa0b8/modules/unsupported/process-feature/src/main/java/org/geotools/process/vector/CentroidProcess.java#L42
    the idea is to avoid allocating the entire collection in memory, which can be a GeoServer killer
    Tino Desjardins
    @TDesjardins
    I think I can work with this sources. In the past I got the PointStacker process working. Think I can use this as a starting point.

    the idea is to avoid allocating the entire collection in memory, which can be a GeoServer killer

    I currently only use Geotools without Geoserver but I know what you mean... I also had these concerns.

    Thanks again!
    Jody Garnett
    @jodygarnett
    Planet just informed me that they released domains, not sure what they did. Did they release to OSGeo or what …
    Andrea Aime
    @aaime
    maybe just released them to the public :-D
    Jody Garnett
    @jodygarnett
    I was at it half the day yesterday trying to figure it out. What a mess. Hopefully not too expensive mess.
    I have support ticket with the domain register (from before this happened). None of the domains are actually for sale. Not sure how it works.
    Carlo Cancellieri
    @ccancellieri
    Hi guys, I've a fantastic client which has added all the layers of the getCapabilities into the layers parameter and it's performing a single getMap requesting the whole catalog.... I've the control flow but I can't find a parameter limiting this bad scenario.... is there any undocumented option (number of layers per request)?
    I think the WMS response size is not applicable since the size of the image is ok the problem is the number of resources needed to render the image...
    The geoserver is managing 1k layers so that request bring regularly to a kill of the tomcat (asking for too many resources/memory/connections etc)...
    It's an incredible easy way to let a geoserver down