by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Jody Garnett
    @jodygarnett
    Enjoy!
    And if you get a chance we would love to have folks test the 2.18-RC release candidate, it is your best chance to ensure the upcoming release will work for you :)
    @aheyne I have not used geofence except to try it out, sorry I can not be more direct help.
    loridigia
    @loridigia
    Excuse me guys, i implemented all classes needed for datastore raster custom (DataStore, Format, FormatFactory, Reader) and also the EditPanel that extends AbstractRasterFileEditPanel, but when importing my jar on META-INF folder, geoserver doesn't see my custom raster datastore. Any clue?
    Jody Garnett
    @jodygarnett
    I am a bit confused, datastore is for the vector access.
    @loridigia, for example of image formats see:
    James Hughes
    @jnh5y
    @loridigia did you register the classes in META-INF services? That's necessary since all of these things are loaded via SPI
    Also, you may need to do some Spring configuration via an applicationContext.xml to register the custom EditPanel
    loridigia
    @loridigia
    @jodygarnett yes i wrongly called it DataStore, but is just a custom Class used to serialize / deserialize data from hbase and do other operations in the middle (like AccumoloStore class).
    @jnh5y Yeah i add the file "org.geotools.data.GridFormatFactorySpi" in "main/META-INF/services" . Where i do find applicationContext.xml ? Is it in geoserver?
    Andrea Aime
    @aaime
    @aheyne An embedded geofence does now show up on a different application, it's part of geoserver
    Brad Hards
    @bradh
    now -> not
    Mahdi Nazari
    @mahdin75
    Hello, I have a question about geoserver. Is it possible to import 60tb raster datasets to geoserver? Dosen't crash geoserver with a dataset like that? Is there a way to automatically import data to geoserver? Which challanges do I face probably?
    Mahdi Nazari
    @mahdin75
    60TB
    James Hughes
    @jnh5y
    There a number of ways to address hosting volumes of raster data with GeoServer.
    Since it sounds like you are new to the project, I'd recommend trying out just loading a few files to see how things work
    Also, you don't necessarily need the files to be local to the GeoServer instance
    The biggest challenge you may encounter is having a quick large 'catalog' in GeoServer (depending on how your data is organized)
    As you hit those issues, it may be worth consider commercial support: http://geoserver.org/support/
    Brad Hards
    @bradh
    If its a lot of raster, I think its achievable. 60TB of vectors is going to need very serious design and tuning. What are you trying to do? How much load? What are your users expectations?
    Mahdi Nazari
    @mahdin75
    @jnh5y Thank you very much.
    @bradh now, I just want to import this raster dataset to geoserver and display them with WMS on the web browser.
    Brad Hards
    @bradh
    I don't think the total size is the data, but rather how to tune for the number of files. I guess you have geotiff.
    Brad Hards
    @bradh
    Do you have overviews?
    James Hughes
    @jnh5y
    Is there a good concise/brief overview of the request lifecycle in GeoServer? I'm asking because I know there are a number of really cool interfaces (like some ReqeuestInterceptors and ThreadLocalTransfers) and optimizations (like CQL function evaluation) which do awesome things. I'm wondering if all (or most) of that is documented in one place?
    Jody Garnett
    @jodygarnett
    I had an epic blog post once for a wfs request but that was a long time ago
    James Hughes
    @jnh5y
    Is it still around?
    Jody Garnett
    @jodygarnett
    Did not find it yet.
    Florian Hoedt
    @gannebamm
    Hi there. I have some issues with the AppSchema Extension. For some reason, it does not want to read my datastore postgis backend. 17 Sep 14:44:04 ERROR [complex.config] - Cannot find a DataAccess for parameters {schema=oceanographic_features, database=sf, passwd=*, Expose primary keys=true, host=134.110.., dbtype=postgis, user=*}
    I checked the pg_hba and the credentials. It should work. Does anyone have a clue where to look at?
    Jody Garnett
    @jodygarnett
    Sorry James I think is wrote that for a former employer blog.
    If you check the logs you may be able to see more detail Florian
    loridigia
    @loridigia
    Sorry guys, does GeoServer 17.1 requires JAVA 9 ? 'Cause when i do publish a Layer, when a i click save geoserver throws:
    org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoSuchFieldError: JAVA_9
    James Hughes
    @jnh5y
    no, GeoServer should not require Java 9
    Kevin Smith
    @smithkm
    I've had 2.17.1 runnign under 8
    James Hughes
    @jnh5y
    if you are using GeoServer 2.17, you may have to use Java 8
    loridigia
    @loridigia
    Yes i do
    but why is JAVA_9 field required?
    Kevin Smith
    @smithkm
    Could be a number of things but roughly I'd guess something is misidentifying the JRE version and executing something intended for a newer version than it is running in. Or you have some extension of some sort in GeoServer, it's application container, or the JRE that is intended for Java 9 or newer.
    I think maybe it's an outdated version of apache commons lang. It defines an enum of Java versions for doing runtime checks of the environment
    So maybe try looking around for older commons-lang jars that might be sneaking onto your classpath somewhere
    loridigia
    @loridigia
    Yes that's it!!! Now it works fine, thanks man
    Austin Heyne
    @aheyne

    Hey again. I think I sorted out my classpath issues with GeoFence but I'm having trouble getting the database to initialize. I have

    geofenceDataSource.url=jdbc:h2:/opt/geoserver_data/geofence/geofence.h2 
    geofenceEntityManagerFactory.jpaPropertyMap[hibernate.hbm2ddl.auto] = update

    In my geofence configuration but I'm getting:

    18:13:56,979 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 82) could not complete schema update: org.hibernate.MappingException: No Dialect mapping for JDBC type: 2002

    When geoserver starts up. I then get the expected

    18:17:37,984 ERROR [org.hibernate.util.JDBCExceptionReporter] (default task-2) Table GF_RULE not found; SQL statement:

    When queries start coming in.
    Has anyone dealt with this before?

    Florian Hoedt
    @gannebamm

    Hi there. I have some issues with the AppSchema Extension. For some reason, it does not want to read my datastore postgis backend. 17 Sep 14:44:04 ERROR [complex.config] - Cannot find a DataAccess for parameters {schema=oceanographic_features, database=sf, passwd=*, Expose primary keys=true, host=134.110.., dbtype=postgis, user=*}
    I checked the pg_hba and the credentials. It should work. Does anyone have a clue where to look at?

    I dug deeper and inside the postgres logs and found this:
    2020-09-18 07:30:24.433 UTC [56253] user@db ERROR: relation "oceanographic_features.gt_pk_metadata" does not exist at character 15

    2020-09-18 07:30:24.433 UTC [56253] user@db STATEMENT: SELECT * FROM "oceanographic_features".GT_PK_METADATA WHERE 1 = 0

    I do not understand which table the user wants to select, but it is not inside the oceanographic_features schema.

    I read some documentation (https://docs.geoserver.org/stable/en/user/data/database/primarykey.html#using-the-metadata-table-with-views) which states the tables DDL and that it is mandatory to use views. It seems like I:
    a) have to create this table for the views (which are not used by the appSchema configuration at all)
    b) get rid of the views

    I will try these options. If anyone has more information about this topic I am eager to read them.

    Florian Hoedt
    @gannebamm
    Still not working. I get this one:
    Cannot find a DataAccess for parameters (some not shown) {dbtype=postgis, host=xxx.xxx.xxx.xxx, database=sf, schema=oceanographic_features, user=xxx}
    aisipan
    @aisipan

    Hi, I'm new at using Geoserver. How can I enable ECW data format when I'm trying to upload using Stores menu on Geoserver admin. I checked on the server that the library is available here /var/lib/tomcat8/webapps/geoserver/WEB-INF/lib/imageio-ext-gdalecw-1.1.13.jar but I don't find the ECW format option on Stores Menu. I'm using Geoserver ver 2.8.2

    Thanks for help :)

    Brad Hards
    @bradh
    @aisipan aisipan: That is an ancient version of geoserver.
    You should upgrade.
    Did you do the native libraries?
    Also, do you really have the right licenses?