|Status:||Closed||Start date:||Nov 07, 2016|
|Assignee:||Panagiota Koltsida||% Done:|
Data that will be imported using the geopolis tool should be automatically published to the geonetwork.
#2 Updated by Fabio Sinibaldi almost 3 years ago
the gcube library used to generate and publish GIS metadata is documented here https://wiki.gcube-system.org/gcube/GeoNetwork_library.
If you also need to publish your data onto GeoServer, you might want to use this other library instead (which uses Geonetwork_library to publish metadata) https://wiki.gcube-system.org/gcube/GIS_Interface.
Let me know if you need any clarification.
#4 Updated by Fabio Sinibaldi almost 3 years ago
these information are already available in the page https://wiki.gcube-system.org/gcube/GeoNetwork_library
Login mechanism is explained here https://wiki.gcube-system.org/gcube/GeoNetwork_library#Login_2 (basically you just use "public void login(LoginLevel level)" declared by "GeoNetworkReader" interface).
To easily generate metadata I suggest to use the GcubeIsoMetadataClass explained here (https://wiki.gcube-system.org/gcube/GeoNetwork_library#GcubeISOMetadata_class). Obviously it is possible to extend its behavior for specific needs.
Common usage snippets (such as publishing and querying) are provided in the last section https://wiki.gcube-system.org/gcube/GeoNetwork_library#Example_Code.
These should meet your needs, let me know if you have more questions.
#5 Updated by Panagiota Koltsida almost 3 years ago
- % Done changed from 0 to 40
- Status changed from New to In Progress
Thanks @firstname.lastname@example.org for the information.
We are performing several tests on "devVRE" by providing some dummy metadata. Using the publisher we can retrieve the metadata back by using the ID, but if we go directly to geonetwork's page we cannot find them.
Is this normal?
#6 Updated by Fabio Sinibaldi almost 3 years ago
when publishing in a certain scope, you use both dedicated user and group. This feature is used to map a scope oriented visibility on metadata.
(More information here : https://wiki.gcube-system.org/gcube/GeoNetwork_Configuration#Security_in_gcube_4.X)
If you try to search on geonetwork for the same metadata you need to login using a user which have read rights in the group the metadata has been published into.
A faster way to check the metadata existence in a scope is to use the geoexplorer portlet on the same scope, which (by using the geonetwork library) performs query using the current scope's user.
#8 Updated by Panagiota Koltsida almost 3 years ago
- % Done changed from 40 to 90
The use of geonetwork library resulted to conflicts between the "geotoolkit" library used by the Geonetowrk library and the "geotools" library used by the geoanalytics components.
To resolve these issues all affected classes should be replaced by custom code which will use the "geotools" library.