Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Andrea Aime
    @aaime
    I've found the main branch nightly build to run only @daily. We agreed time ago that main is used for demos of current state of GeoServer, and that it needed a more frequent build because of that. I've changed the build trigger to follow gs-main build.
    Jody Garnett
    @jodygarnett
    I just copied what was there, do what is needed :)
    James Hughes
    @jnh5y
    OGC question of the day: A WFS/WMS GetCapabilities returns lots of data about a layer (like keywords, abstract, etc). Can DescribeFeatureType return any "extra" info? (differently, my goal is to provide database details like indexes through some endpoint that's moderated by the Catalog)
    Andrea Aime
    @aaime
    @jnh5y only the schema is returned
    the xml schema in theory could bring some more information in the form of... what was it.. annotations? something like that
    but you'd have to add that info somewhere in the featuretype, user maps I guess, and then make use of it in the schema encoder
    James Hughes
    @jnh5y
    @aaime sounds good. Are there any other obvious alternatives?
    Andrea Aime
    @aaime
    Vendor requests I guess
    James Hughes
    @jnh5y
    ok, sounds like that'd be modifying a bit of GT and GS code, right? (Asking neutrally; just to trying to assess the situation)
    Andrea Aime
    @aaime
    yep
    James Hughes
    @jnh5y
    cool thanks. It seems like jamming keywords into a layer for access via GetCapabilities may be the easiest option
    Andrea Aime
    @aaime
    bit obscure maybe, but as long as you control both ends (server and client), why not
    James Hughes
    @jnh5y
    Yeah, I find myself in situations where sometimes I have control of both ends... Since I can't always assume control, I wanted to ask about the options which would be standards based
    Björn Harrtell
    @bjornharrtell
    One long time annoyance that I've had with what describefeaturetype can produce is that there seem to be no standard way to provide an alias and/or description of a field. Seems so basic but instead I've seen countless implementations keeping that info elsewhere.
    Andrea Aime
    @aaime
    Aliasing is not part of the cards AFAIK, but a description can be provided
    it's just something that would need to be configured in the GeoServer UI (seen databases allow description of columns too, if memory serves me right)
    James Hughes
    @jnh5y
    yeah, when I mentioned descriptions for columns previously, Jody linked to a GeoServer 1.0 screenshot!
    Tisham Dhar
    @whatnick
    Hi all I am back with a new idea / feature request. Athena in AWS now supports some spatial features. Can we use it as a vector data source ?
    What work would be needed to get there ?
    I could agitate / get AWS developers on this
    Brad Hards
    @bradh
    It might work with a pretty basic geotools plugin (for which there is a tutorial, obviously not for that format though). I would imagine it will be terrible without at least some caching though. What is the problem you want to solve?
    Tisham Dhar
    @whatnick
    @bjornharrtell our NRT data pipelines produce vectors per satellite scene to S3 in read-only accounts. Due to team topologies Geoserver is managed and run by another team in another account. We could do VPC peering and feed the vectors into their PostGIS. I am however looking for alternatives way to serve the data in-place from S3. The postgis solution will most likely be first cut. Then we can enhance it with a geotools athena datastore or at least test it.
    Andrea Aime
    @aaime
    @whatnick that sounds cool :-D
    shantanuaggarwal2695
    @shantanuaggarwal2695
    I am working with Geotools and raster images but facing an error org.opengis.referencing.NoSuchAuthorityCodeException: No code "EPSG:32720" from authority "EPSG" found for object of type "EngineeringCRS". Did anyone face this error?
    Brad Hards
    @bradh
    In geoserver? How did you configure the layer?
    James Hughes
    @jnh5y
    @whatnick if Athena supports SQL pretty well, then it may be really quick for a GeoServer commercial support partner to write a datastore: http://geoserver.org/support/
    There are abstraction layers on top of the tutorial which Brad linked to which could make things easier
    tharun-allu
    @tharun-allu
    Hi, We have deployed Geoserver in kubernetes with 3 pods and activeMQ for the cluster transport. What we are observing is that the data is not being synced across all the 3 pods when REST api calls are made. When I run the rest/reload api the data seems to be syncing fine. Can someone share if they experienced similar issues and what the solution is to have the cluster nodes in sync?
    loridigia
    @loridigia
    Hi guys, i'm tring to do something like this https://opentopomap.org/ with geoserver.
    Basically i have a pyramid structure in my DB, what i want is that each zoom lvl you go, my plugin gets the lvl and the BBOX of the area -> get filtered data from DB -> merge and return it to geoserver as GridCoverage2D. My only problem is that i can't actually find a parameter, passed from geoserver to my plugin, that works like a zoom. But i saw the Imagepyramid plugin and seems to works like i want, which parameter does it use? Which should i use? Should i calculate the zoom based on the BBOX that geoserver passes me? Thanks
    Andrea Aime
    @aaime
    Based on the GridGeometry it's giving you, has both a bbox and a width/height, so you can compute a scale. That's what pyramid does, as well as image mosaic, geotiff and so on (all plugins that can have multiple overviews in their data)
    loridigia
    @loridigia
    Ah ok, thanks, i'll look the plugins to see how they compute those infos to obtain a scale
    loridigia
    @loridigia
    Hi, @aaime do you have some code reference (maybe somewhere in geoserver's files) where i can find how to compute scale? I thought was easier but it's a little bit tricky and i couldn't find some equation online, thanks
    loridigia
    @loridigia
    Thanks !
    JB-data
    @JB-data

    Dear experts,
    I am working with geoserver with geomesa/hbase data.
    I typically work with a small number of maps.
    Caching is very important: cold data takes much longer to load then hot data.
    In my startup script for geoserver (=shell), I would like to access my maps once before I really start my analysis (during the real analysis I zoom in, out, move, apply CQL filters).

    Question: How to trigger the loading of the map from a shell script? I am not interested in seeing the maps (like when I access the urls with the browser for the real analysis), just preheating my data=triggering all the queries to retrieve the data from the backend.
    During my analysis I access maps through:
    https://server:port/geoserver/cite/wms?service=WMS&version=1.1.0&request=GetMap&layers=map1,map2&CQL_FILTER=query1,query2&styles=polygon,heatmap&width=768&height=384&srs=EPSG%3A4326&format=application/openlayers
    I would expect with a curl command, but cant find a good example.
    All examples I find are for doing actions other than triggering loading the data (like add a shapefile, add a user, etc.) that is behind the map.

    Brad Hards
    @bradh
    I'm not sure what kind of example you want. You can just use the URL with curl.
    Or do you need to discover the layers?
    JB-data
    @JB-data

    curl <url> gives
    '''

    <ServiceException code="MissingParameterValue" locator="request">
    Could not determine geoserver request from http request org.geoserver.platform.AdvancedDispatchFilter$AdvancedDispatchHttpRequest@315ab8c4
    </ServiceException></ServiceExceptionReport>'''
    So maybe at the end I need to add request=<something> ?

    Brad Hards
    @bradh
    What are you putting in tourl? It looks like your example has a request=GetMap, so probably you need to escape something like the &.
    In shell that means something special - like background the process.
    JB-data
    @JB-data
    aaaah... indeed I see background processes starting... will try.
    Thanks
    Brad Hards
    @bradh
    np.
    JB-data
    @JB-data
    Again, trying to trigger loading data to fill the cache with a curl call in a shell script.
    I managed to do the curl, but doubt the data is loaded.
    FOr a real call of maps, in the browser when firing <url> I see :
    query plan-wait (I can see now data is being retrieved on my backend=hbase)-after a while I see getMap in the geoserver log, and the map appears.
    When I do
    curl "url"
    I immediately see in my geoserver log the getMap...In the backend it seems the real reading of the data was not triggered.
    There must be something else happening in the browser that really triggers that the data is read from the back-end.
    Anyone happens to know what?
    Brad Hards
    @bradh
    Either its the same HTTP call, or its not. Check what your browser application is sending.
    Not sure that this is really geoserver specific.
    Navid
    @Navid61
    Hi, I'm just curious know, is it tangable create a GeoServer new version based on Python instead of Java, technically?
    James Hughes
    @jnh5y
    @Navid61 you probably want to look at a project like https://pygeoapi.io/ I believe that project is kinda what you are talking about.
    From my understanding, it may be a little more like MapServer (in that one has to do a bunch more configuration rather than us a UI). That said, I have never used the project and am not a Pythonista.