Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 15:10
    juanluisrp synchronize #5757
  • 11:59
    josegar74 commented #5757
  • 11:44
    MichelGabriel opened #5762
  • 11:20

    josegar74 on 3.10.x

    [BP] Associated resource / Feat… (compare)

  • 11:18

    josegar74 on 3.12.x

    [BP] Associated resource / Feat… (compare)

  • 09:11

    fxprunayre on main

    Update version to 4.0.5-0 Update version to 4.0.6-SNAPSHOT (compare)

  • 09:08

    fxprunayre on 4.0.5

    Update version to 4.0.5-0 (compare)

  • 08:50
    cmangeat edited #5761
  • 08:44
    cmangeat edited #5761
  • 08:28
    cmangeat opened #5761
  • 06:51
    montsemarco commented #5756
  • 06:33
    MichelGabriel commented #5758
  • 06:30

    fxprunayre on 405-19115-3xsdlocation

    (compare)

  • 06:30

    fxprunayre on 405-fix-grouplogo

    (compare)

  • 06:30

    fxprunayre on 405-extentdescasarrayinindex

    (compare)

  • 06:30

    fxprunayre on 405-formattermultilingual

    (compare)

  • 06:30

    fxprunayre on update

    (compare)

  • 06:24
    fxprunayre milestoned #5758
  • 06:24
    fxprunayre commented #5758
  • 05:53
    fxprunayre milestoned #5759
juanluisrp
@juanluisrp:matrix.org
[m]
ok, I think you should execute that command as postgres user instead of root
1 reply
it should be a parameter of kubectl exec
KoalaGeo
@KoalaGeo
Although still have some interesting errors in the logs
Apr 29 12:27:33.395 | postgres-0 | 2021-04-29 13:27:33.392 CEST [114] ERROR:  relation "settings" does not exist at character 19
Apr 29 12:27:33.395 | postgres-0 | 2021-04-29 13:27:33.392 CEST [114] STATEMENT:  SELECT value FROM Settings WHERE name = 'system/platform/version'
Apr 29 12:27:36.493 | postgres-0 | 2021-04-29 13:27:36.493 CEST [120] FATAL:  role "root" does not exist
Apr 29 12:27:36.502 | postgres-0 | 2021-04-29 13:27:36.502 CEST [114] ERROR:  constraint "uk_53dsw4x938m53yxgfwk8ee636" of relation "guf_userfeedbacks_guf_rating" does not exist
Apr 29 12:27:36.502 | postgres-0 | 2021-04-29 13:27:36.502 CEST [114] STATEMENT:  alter table GUF_UserFeedbacks_GUF_Rating drop constraint UK_53dsw4x938m53yxgfwk8ee636
Apr 29 12:27:36.518 | postgres-0 | 2021-04-29 13:27:36.518 CEST [114] ERROR:  constraint "uk_fwi9l3n3vcxonf7c3x1ntdivx" of relation "links" does not exist
Apr 29 12:27:36.518 | postgres-0 | 2021-04-29 13:27:36.518 CEST [114] STATEMENT:  alter table Links drop constraint UK_fwi9l3n3vcxonf7c3x1ntdivx
Apr 29 12:27:36.524 | postgres-0 | 2021-04-29 13:27:36.523 CEST [114] ERROR:  constraint "uk_e9w46i6v429h02tmynm3eefiy" of relation "metadata" does not exist
Apr 29 12:27:36.524 | postgres-0 | 2021-04-29 13:27:36.523 CEST [114] STATEMENT:  alter table Metadata drop constraint UK_e9w46i6v429h02tmynm3eefiy
Apr 29 12:27:36.531 | postgres-0 | 2021-04-29 13:27:36.530 CEST [114] ERROR:  constraint "uk_itccbjhvevxbh1g4axknj8n24" of relation "metadatadraft" does not exist
Apr 29 12:27:36.531 | postgres-0 | 2021-04-29 13:27:36.530 CEST [114] STATEMENT:  alter table MetadataDraft drop constraint UK_itccbjhvevxbh1g4axknj8n24
Apr 29 12:27:36.538 | postgres-0 | 2021-04-29 13:27:36.537 CEST [114] ERROR:  constraint "uk_fuc1tr6xyyrbjrxg0feavofb2" of relation "metadatadraft" does not exist
Apr 29 12:27:36.538 | postgres-0 | 2021-04-29 13:27:36.537 CEST [114] STATEMENT:  alter table MetadataDraft drop constraint UK_fuc1tr6xyyrbjrxg0feavofb2
Apr 29 12:27:36.598 | postgres-0 | 2021-04-29 13:27:36.598 CEST [114] ERROR:  constraint "uk_j180x109do4umtn4ppnmepoyf" of relation "services" does not exist
Apr 29 12:27:36.598 | postgres-0 | 2021-04-29 13:27:36.598 CEST [114] STATEMENT:  alter table Services drop constraint UK_j180x109do4umtn4ppnmepoyf
Apr 29 12:27:36.604 | postgres-0 | 2021-04-29 13:27:36.604 CEST [114] ERROR:  constraint "uk_8te6nqcuovmv45ej1oej73hg3" of relation "useraddress" does not exist
Apr 29 12:27:36.604 | postgres-0 | 2021-04-29 13:27:36.604 CEST [114] STATEMENT:  alter table UserAddress drop constraint UK_8te6nqcuovmv45ej1oej73hg3
Apr 29 12:27:36.610 | postgres-0 | 2021-04-29 13:27:36.610 CEST [114] ERROR:  constraint "uk_23y4gd49ajvbqgl3psjsvhff6" of relation "users" does not exist
Apr 29 12:27:36.610 | postgres-0 | 2021-04-29 13:27:36.610 CEST [114] STATEMENT:  alter table Users drop constraint UK_23y4gd49ajvbqgl3psjsvhff6
Apr 29 12:27:36.622 | postgres-0 | 2021-04-29 13:27:36.621 CEST [114] ERROR:  constraint "uk_k7c29i3x0x6p5hbvb0qsdmuek" of relation "schematron" does not exist
Apr 29 12:27:36.622 | postgres-0 | 2021-04-29 13:27:36.621 CEST [114] STATEMENT:  alter table schematron drop constraint UK_k7c29i3x0x6p5hbvb0qsdmuek
Apr 29 12:27:36.772 | postgres-0 | 2021-04-29 13:27:36.772 CEST [126] FATAL:  role "root" does not exist
Apr 29 12:27:45.613 | postgres-0 | 2021-04-29 13:27:45.612 CEST [114] ERROR:  column "id" does not exist at character 34
Apr 29 12:27:45.613 | postgres-0 | 2021-04-29 13:27:45.612 CEST [114] STATEMENT:  SELECT value FROM Settings WHERE id = 15
Apr 29 12:27:46.606 | postgres-0 | 2021-04-29 13:27:46.603 CEST [132] FATAL:  role "root" does not exist
Apr 29 12:27:46.809 | postgres-0 | 2021-04-29 13:27:46.808 CEST [138] FATAL:  role "root" does not exist
juanluisrp
@juanluisrp:matrix.org
[m]
the first errors before the role root does not exist is just GN aligning the database with wha it expects. they aren't harmful
KoalaGeo
@KoalaGeo
Great, they look they're to do with @archaeogeek UK Gemini plugin
Jo Cook
@archaeogeek
@KoalaGeo nothing to do with the Gemini plugin afaik, sorry!
KoalaGeo
@KoalaGeo
It's ok, I've had to give up on the CI password change for now then it's working fine
Tyler Mitchell
@1tylermitchell
hey strangers :) long time no see. finally have a project that could benefit from some combo of geonetwork and geoserver but not sure if it's something folks already do -- need to search catalog, but then allow the user to preview, query data in interactive map - without feeling like they left the app.
e.g. find dataset -> preview table or map -> zoom/filter .. Assume all datasets are from geoserver web services :)
Jody Garnett
@jodygarnett
Hey Tyler, still in Canada? GeoCat Canada would love to introduce you to "GeoCat Live" which is just as you describe; although that "without feeling like they left the app" may need some encouragement.
Tyler Mitchell
@1tylermitchell
hi @jodygarnett - great to see you, yeah I'm in Penticton though not up north anymore.. :)
Jody Garnett
@jodygarnett
Good good, stay safe!
Tyler Mitchell
@1tylermitchell
I'd love to dig into the live idea you suggest, can you point me the right way? happy to jump on zoom, etc. or email me tylermitchell@shaw.ca
thx!!!
Tyler Mitchell
@1tylermitchell
Other ideas welcome too - this is for a commercial purpose, so happy to look at a range of services options :)
KoalaGeo
@KoalaGeo

Hi, not directly GeoNetwork related but hoped someone here would know. Setting up a web accessible folder to harvest XML files.

I'm copying XML files into nginx folder /usr/share/nginx/html/datasets/gemini and in the nginx.conf turning on autoindex


        location ~* .(xml)$ {
            autoindex on;
        # Matches requests ending in xml
        }  

        location /datasets/gemini/ {
            autoindex on;
        # Matches requests ending in xml
        }

However on harvesting GN isn't bringing anything in. If I go to ./datasets/gemini/BGS_13607611.xml I can see the XML, but at ./datasets/gemini/ I get a 403 forbidden.

Any ideas? Do I need to generate a index.html in each folder with links to the XML files?

Juan Luis Rodríguez Ponce
@juanluisrp
don't you need to set up the webdav module? https://nginx.org/en/docs/http/ngx_http_dav_module.html
KoalaGeo
@KoalaGeo
I'll have a go, this is my first time trying to do this
Juan Luis Rodríguez Ponce
@juanluisrp
something like this?
    location / {
        auth_basic "Restricted site.";
        auth_basic_user_file /etc/nginx/auth/webdav-users.passwd;
        client_body_temp_path /var/www/webdav/temp;
        dav_methods PUT DELETE MKCOL COPY MOVE;
        dav_ext_methods PROPFIND OPTIONS;
        create_full_put_path on;
        dav_access user:rw group:rw all:rw;
        autoindex on;
    }
restricting maybe the permissions to read only
ByronCinNZ
@ByronCinNZ
image.png
We succeeded in creating a managed directory to provide a selection for both security and legal constraints. And now can filter them by type (thanks @fxprunayre ).
But could use a little additional guidance. We are now trying to populate a table with the selected restrictions, but only one type of restriction will appear in the table - the first restriction type found.
ByronCinNZ
@ByronCinNZ

We would like both Legal and Security constraints to either

  • appear in the same table (preferred) or
  • appear in separate tables
    This does not work -
      <table for="mri:resourceConstraints">
    <header>
      <col label="mco:reference" />
      <col label="mco:useLimitation" />
      <col />
    </header>
    <row>
      <col xpath="*/mco:reference/cit:CI_Citation/cit:title" />
      <col xpath="*/mco:useLimitation" />
      <col del=".." />
    </row>
    </table>
    This does but adding the same for legal does not work
      <table for="mco:MD_SecurityConstraints">
    <header>
      <col label="mco:useLimitation" />
      <col label="mco:reference" />
      <col />
    </header>
    <row>
      <col xpath="mco:useLimitation" />
      <col xpath="mco:reference/cit:CI_Citation/cit:title" />
      <col del=".." />
    </row>
    When I add an identical section for legal, it seems to only display the constraint type it sees first but not the other.
    Can anyone suggest how I might display tables in editor that would show both types of constraints?

Thanks

ByronCinNZ
@ByronCinNZ
Another Managed Directory question -
I am creating managed directories for a couple of elements (srv:serviceStandard and mdb:referenceSystemInfo) that need the XML fragments to be inserted one level higher than where they are selected.
For instance, when I create a selection tool for srv:serviceStandard, it creates a child srv:serviceStandard under srv:serviceStandard to hold the fragment. I would like it to create a sibling element. Likewise for mdb:referenceSystemInfo. mdb:referenceSystemInfo resides just under root which makes it difficult to place this tool there.
Can anyone provide any ideas about how to fix this so I create sibling elements?
François Prunayre
@fxprunayre
The root of the fragment of srv:serviceStandard is a CI_Citation ? So the directory should be Citation (which makes it hard to filter in search...)
@ByronCinNZ we also made some improvements in geonetwork/core-geonetwork#5616 for DCAT https://github.com/metadata101/dcat2/blob/main/src/main/plugin/dcat2/layout/config-editor.xml#L29-L57 which has a more flat structure than ISO. Maybe it can helps on some cases.
howaskew
@howaskew
Hi @frippe12573 were you able to "add 'geonetwork categories' in the 'browse by' in the home page?" Any advice?
nancyva
@nancyva
Hello ... Has anyone printed a map with annotations? Have you encountered any problems? To me the print starts and the task goes into a loop.
GISDataMonkey
@GISDataMonkey
Hi there, I seem to have an issue with geonetwork displaying the "overview image" of a metadata record this is on GN 3.10.6 on a AWS debian server with Tomcat/8.5.63. I first noticed it when uploading an overview image for a new metadata record. But then double checked some of the sample/example records you can import. All the overview images show as broken links (File not found). When investigating I have so far noted:
1) When I have uploaded overview images they are successfully saved on the server but they are never successfully displayed either in the editing form after upload or anywhere the record is displayed.
2) Other images uploaded to Geonetwork have worked and are displayed correctly eg. custom Geonetwork logo and organisation logos.
3) The images successfully displayed in point 2 have the same permissions and owner on the linux file system as the overview images that are not displayed.
Any ideas what may be causing this would be appreciated. I include some output of the only log that was writing at the time of saving the overview image, the localhost_access_log. TY
129.67.118.44 - - [26/May/2021:14:38:28 +0000] "GET /geonetwork/srv/api/standards/iso19139/codelists/topicCategory HTTP/1.1" 200 640 129.67.118.44 - - [26/May/2021:14:38:28 +0000] "GET /geonetwork/srv/api/records/33f5472e-1ce0-44d4-9265-f23db6530743/related HTTP/1.1" 200 595 129.67.118.44 - - [26/May/2021:14:38:28 +0000] "GET /geonetwork/srv/api/standards/iso19139/codelists/indeterminatePosition/details HTTP/1.1" 200 365 129.67.118.44 - - [26/May/2021:14:38:28 +0000] "GET /geonetwork/srv/api/regions?categoryId=metadata HTTP/1.1" 200 64 129.67.118.44 - - [26/May/2021:14:38:28 +0000] "GET /geonetwork/srv/api/standards/iso19139/codelists/roleCode/details HTTP/1.1" 200 1600 129.67.118.44 - - [26/May/2021:14:38:28 +0000] "GET /geonetwork/srv/api/records/33f5472e-1ce0-44d4-9265-f23db6530743/related?thumbnail HTTP/1.1" 200 595 129.67.118.44 - - [26/May/2021:14:38:28 +0000] "GET /geonetwork/srv/api/standards/iso19139/codelists/roleCode/details HTTP/1.1" 200 1600 129.67.118.44 - - [26/May/2021:14:38:34 +0000] "GET /geonetwork/jolokia/read/geonetwork:name=batch-etf-inspire,idx=* HTTP/1.1" 200 7128 129.67.118.44 - - [26/May/2021:14:38:36 +0000] "POST /geonetwork/srv/api/0.1/records/33f5472e-1ce0-44d4-9265-f23db6530743/attachments?visibility=public HTTP/1.1" 201 389 129.67.118.44 - - [26/May/2021:14:38:36 +0000] "GET /geonetwork/srv/api/0.1/records/33f5472e-1ce0-44d4-9265-f23db6530743/attachments?_random=9693&approved=false&filter= HTTP/1.1" 200 1135 129.67.118.44 - - [26/May/2021:14:38:37 +0000] "POST /geonetwork/srv/api/records/152/editor?&commit=true HTTP/1.1" 200 - 129.67.118.44 - - [26/May/2021:14:38:37 +0000] "POST /geonetwork/srv/api/records/152/processes/thumbnail-add?thumbnail_url=http:%2F%2Flocalhost:8080%2Fgeonetwork%2Fsrv%2Fapi%2Frecords%2F33f5472e-1ce0-44d4-9265-f23db6530743%2Fattachments%2Fer1915a0v2.jpg&thumbnail_desc=&process=thumbnail-add&id=152 HTTP/1.1" 204 - 129.67.118.44 - - [26/May/2021:14:38:37 +0000] "GET /geonetwork/srv/api/records/152/editor?currTab=default HTTP/1.1" 200 221169 129.67.118.44 - - [26/May/2021:14:38:38 +0000] "GET /geonetwork/srv/api/standards/iso19139/codelists/topicCategory HTTP/1.1" 200 640 129.67.118.44 - - [26/May/2021:14:38:38 +0000] "GET /geonetwork/srv/api/records/33f5472e-1ce0-44d4-9265-f23db6530743/related HTTP/1.1" 200 879 129.67.118.44 - - [26/May/2021:14:38:38 +0000] "GET /geonetwork/srv/api/records/33f5472e-1ce0-44d4-9265-f23db6530743/related?thumbnail HTTP/1.1" 200 879
Juan Luis Rodríguez Ponce
@juanluisrp
do your settings for host, port and secure port matches your server url?
is this url right? http:%2F%2Flocalhost:8080%2Fgeonetwork%2Fsrv%2Fapi%2Frecords%2F33f5472e-1ce0-44d4-9265-f23db6530743%2Fattachments%2Fer1915a0v2.jpg
it points to localhost:8080
GISDataMonkey
@GISDataMonkey
Yes that will be it. Thank you for the super quick reply!
wonszopaionk
@wonszopaionk
Hello, I am wondering whether geonetwork support TMS? I've found in the docs, that it should be possible to use tms as viewer background. However can I harvest or make some records with TMS as source? I've tried pointing to my geoserver instance as online resource with resource protocol as TMS, however with no success. Is there any special steps I have to make? Cheers
in the UI settings, in Layer objects in JSON for the map you are configuring you would need to define something like
{
  "type": "tms",
  "url": "http://www.example.com/map/z/x/y.png"
}
for example
{
  "type": "tms",
  "url": "https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png"
}
frippe12573
@frippe12573
hi all, I need to migrate from gn 3.10.3 to 3.10.6. I backuped the old gn, and I set in the newer version the config to the db. I wonder what I have to do with the data directory, any help?
3 replies
ByronCinNZ
@ByronCinNZ
Nearly completed our simplified editor and will be ready to share in the next couple weeks. Just finishing the documentation. I would like to provide access (via http link) to this documentation in the GN top toolbar. What is the best way to a top toolbar option like this?
KoalaGeo
@KoalaGeo

Hi All, Little challenge

I've got metadata records for services - https://metadata-staging.bgs.ac.uk/geonetwork/srv/eng/catalog.search#/metadata/a028c1bb-594a-4837-e044-0003ba9b0d98

if I "Add service layer to map" I get an error:

Something went wrong while loading tile '- no tile URL found- ...' for layer 'BGS Detailed Bedrock and Superficial geology (OGC WxS INSPIRE)'.

If I go to the map tab > Add a Layer from > Services and use the same URL - https://map.bgs.ac.uk/arcgis/services/BGS_Detailed_Geology/MapServer/WMSServer? it finds the layers and I can add them

Have we got our metadata entering incorrectly? Or is it a Geonetwork limitation when there's multiples layers in a service & no root layer, or something else?

and the server answers with
<ServiceException code="LayerNotDefined"> Parameter 'layers' contains unacceptable layer names. </ServiceException>
Juan Luis Rodríguez Ponce
@juanluisrp
it's using the name in the gmd:CI_OnlineResource to fill the layers parameter in the request
Juan Luis Rodríguez Ponce
@juanluisrp
there is something strange in the service. If you set LAYERS to a valid layer in the service, for example LAYERS=BGS.detailed.geology the answer is the same
https://map.bgs.ac.uk/arcgis/services/BGS_Detailed_Geology/MapServer/WMSServer?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=BGS.detailed.geology&CRS=EPSG%3A3857&STYLES=&WIDTH=2033&HEIGHT=919&BBOX=-11935349.223968381%2C-1272967.7152372422%2C12279475.94809631%2C9673133.776709363
<ServiceException code="LayerNotDefined"> Parameter 'layers' contains unacceptable layer names. </ServiceException>
KoalaGeo
@KoalaGeo
@juanluisrp cheers for checking that - I'll looking into the service config
KoalaGeo
@KoalaGeo

@juanluisrp it's an issue with the WMS from ArcGIS Server, there's no layers listed, so geonetwork is I think trying to load the root layer when a user clicks "add service layer to map". This would work with Mapserver but doesn't work with ArcGIS which won't render the root layer.

I'm not sure if GeoNetwork trying to load the root layers is particularly useful (might not make a useful map like http://ogc.bgs.ac.uk/cgi-bin/BGS_Bedrock_and_Superficial_Geology/wms?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=BGS_EN_Bedrock_and_Superficial_Geology&STYLES&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=49.8639,-9.80586479568672,60.8622,2.92769479568672&WIDTH=1020&HEIGHT=881)

A better behavior might be be to offer the layers? (As it does if you go to the map tab > add layer from > services)

François Prunayre
@fxprunayre
Hi all, I'll make 4.0.5 https://github.com/geonetwork/core-geonetwork/milestone/54 tomorrow. If anything needs to be embedded in this release let me known. I'll update from transifex tomorrow morning.