[GeoNetwork-devel] Uploading attachments in develop branch

Hi

I have some questions/comments related to https://github.com/geonetwork/core-geonetwork/pull/1385. The feature looks good, but seem I misunderstood some stuff.

In the editor, the new upload resources form looks a bit confusing to me, but I should recognise that can be a matter of taste. There’s a panel for Metadata File Store on the right, that seem working independently of of Add Link/Add Thumbnail section on the left. You can add a file and click the link button, the form is closed and you can think easily the online resource has been added with the file you just attached, but no. That button is only for Add Link/Add Thumbnail section.

So the files uploaded are not added to the xml, just stored in the filesystem/database and also not displayed in the Associated Resources panel of the editor as in 3.0.x.

I thought the feature would store file list in the database, but also in the metadata xml as online resources. This can be ok, but the main issue I see is that seem there’s no way to access to the files in the search results or metadata detail page (at least I can’t find it).

For me this makes the file upload in develop pretty useless. Maybe I’m missing some stuff, so if someone can clarify these questions would be great:

  1. Is there any option to display the files in the metadata detail page? Or any API to access the files?

  2. Can be extended to manage the files as online resources in the metadata xml along as in the filesystem/database?

Regards,
Jose García

···

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.

Hola Jose,

···

2016-03-30 14:42 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi

I have some questions/comments related to https://github.com/geonetwork/core-geonetwork/pull/1385. The feature looks good, but seem I misunderstood some stuff.

In the editor, the new upload resources form looks a bit confusing to me, but I should recognise that can be a matter of taste. There’s a panel for Metadata File Store on the right, that seem working independently of of Add Link/Add Thumbnail section on the left. You can add a file and click the link button, the form is closed and you can think easily the online resource has been added with the file you just attached, but no. That button is only for Add Link/Add Thumbnail section.

So the files uploaded are not added to the xml, just stored in the filesystem/database and also not displayed in the Associated Resources panel of the editor as in 3.0.x.

See the doc http://geonetwork-opensource.org/manuals/trunk/eng/users/user-guide/associating-resources/using-filestore.html “A file once uploaded in the filestore will be exported in the metadata export file (MEF). Therefor, its URL will not be automatically added to the metadata. The URL is added when attaching the document to a specific element in the metadata (eg. overview, quality report, legend).”.

I thought the feature would store file list in the database, but also in the metadata xml as online resources. This can be ok, but the main issue I see is that seem there’s no way to access to the files in the search results or metadata detail page (at least I can’t find it).

For me this makes the file upload in develop pretty useless. Maybe I’m missing some stuff, so if someone can clarify these questions would be great:

  1. Is there any option to display the files in the metadata detail page? Or any API to access the files?

Could be, see the API doc but this PR was not changing the related documents still based on the relation service which is using references in the XML document.

  1. Can be extended to manage the files as online resources in the metadata xml along as in the filesystem/database?

The main goal for the project supporting this PR is described in the “Motivations & current limitations” but sure an option would be to mix the 2, but then it would be probably relevant to list all links in a db table (including URLs, uploaded files, …) ?

This PR also addressed the ISO19115-3 case were documents can be added in different locations in the document (eg. quality report, portrayal, feature catalog, licenses, specifications, …) and not only the 2 options in ISO19139 which are online source in distribution and graphic overview.

Cheers.

Francois

Regards,
Jose García

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.


Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Francois

Thanks for the feedback.

See some additional comments inline.

Regards,
Jose García

···

On Wed, Mar 30, 2016 at 3:16 PM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Hola Jose,

You mean that is still possible to link documents as in 3.0.x? If so I missed that option.

Sure the PR looks good, the biggest thing I miss is that from the UI seem (at least in iso19139) there’s no way to show the resources to the user. Can be addressed in the future, will check if some project can fund this work.

2016-03-30 14:42 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi

I have some questions/comments related to https://github.com/geonetwork/core-geonetwork/pull/1385. The feature looks good, but seem I misunderstood some stuff.

In the editor, the new upload resources form looks a bit confusing to me, but I should recognise that can be a matter of taste. There’s a panel for Metadata File Store on the right, that seem working independently of of Add Link/Add Thumbnail section on the left. You can add a file and click the link button, the form is closed and you can think easily the online resource has been added with the file you just attached, but no. That button is only for Add Link/Add Thumbnail section.

So the files uploaded are not added to the xml, just stored in the filesystem/database and also not displayed in the Associated Resources panel of the editor as in 3.0.x.

See the doc http://geonetwork-opensource.org/manuals/trunk/eng/users/user-guide/associating-resources/using-filestore.html “A file once uploaded in the filestore will be exported in the metadata export file (MEF). Therefor, its URL will not be automatically added to the metadata. The URL is added when attaching the document to a specific element in the metadata (eg. overview, quality report, legend).”.

I thought the feature would store file list in the database, but also in the metadata xml as online resources. This can be ok, but the main issue I see is that seem there’s no way to access to the files in the search results or metadata detail page (at least I can’t find it).

For me this makes the file upload in develop pretty useless. Maybe I’m missing some stuff, so if someone can clarify these questions would be great:

  1. Is there any option to display the files in the metadata detail page? Or any API to access the files?

Could be, see the API doc but this PR was not changing the related documents still based on the relation service which is using references in the XML document.

  1. Can be extended to manage the files as online resources in the metadata xml along as in the filesystem/database?

The main goal for the project supporting this PR is described in the “Motivations & current limitations” but sure an option would be to mix the 2, but then it would be probably relevant to list all links in a db table (including URLs, uploaded files, …) ?

This PR also addressed the ISO19115-3 case were documents can be added in different locations in the document (eg. quality report, portrayal, feature catalog, licenses, specifications, …) and not only the 2 options in ISO19139 which are online source in distribution and graphic overview.

Cheers.

Francois

Regards,
Jose García

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.


Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.

2016-03-30 15:23 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi Francois

Thanks for the feedback.

See some additional comments inline.

Regards,
Jose García

On Wed, Mar 30, 2016 at 3:16 PM, Francois Prunayre <fx.prunayre@anonymised.com>
wrote:

Hola Jose,

2016-03-30 14:42 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi

I have some questions/comments related to
https://github.com/geonetwork/core-geonetwork/pull/1385. The feature
looks good, but seem I misunderstood some stuff.

In the editor, the new upload resources form looks a bit confusing to
me, but I should recognise that can be a matter of taste. There's a panel
for *Metadata File Store *on the right, that seem working independently
of of *Add Link/Add Thumbnail* section on the left. You can add a file
and click the link button, the form is closed and you can think easily the
online resource has been added with the file you just attached, but no.
That button is only for Add Link/Add Thumbnail section.

So the files uploaded are not added to the xml, just stored in the
filesystem/database and also not displayed in the Associated Resources
panel of the editor as in 3.0.x.

See the doc
http://geonetwork-opensource.org/manuals/trunk/eng/users/user-guide/associating-resources/using-filestore.html
"A file once uploaded in the filestore will be exported in the metadata
export file (MEF). Therefor, its URL will not be automatically added to the
metadata. The URL is added when attaching the document to a specific
element in the metadata (eg. overview, quality report, legend).".

I thought the feature would store file list in the database, but also in
the metadata xml as online resources. This can be ok, but the main issue I
see is that seem there's no way to access to the files in the search
results or metadata detail page (at least I can't find it).

For me this makes the file upload in develop pretty useless. Maybe I'm
missing some stuff, so if someone can clarify these questions would be
great:

1) Is there any option to display the files in the metadata detail page?
Or any API to access the files?

Could be, see the API doc but this PR was not changing the related
documents still based on the relation service which is using references in
the XML document.

You mean that is still possible to link documents as in 3.0.x? If so I
missed that option.

The only difference is that you need to:
* first upload a file
* then click the uploaded file to set the URL.

2) Can be extended to manage the files as online resources in the metadata

xml along as in the filesystem/database?

The main goal for the project supporting this PR is described in the
"Motivations & current limitations" but sure an option would be to mix the
2, but then it would be probably relevant to list all links in a db table
(including URLs, uploaded files, ...) ?

This PR also addressed the ISO19115-3 case were documents can be added in
different locations in the document (eg. quality report, portrayal, feature
catalog, licenses, specifications, ...) and not only the 2 options in
ISO19139 which are online source in distribution and graphic overview.

Sure the PR looks good, the biggest thing I miss is that from the UI seem
(at least in iso19139) there's no way to show the resources to the user.
Can be addressed in the future, will check if some project can fund this
work.

After upload, you've to link that doc as an overview or an online resource
and that's it.

Francois

Hi Francois

I see, looks good, probably need to be more intuitive for users, but good that is supported.

Regards,
Jose García

···

On Wed, Mar 30, 2016 at 3:26 PM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

2016-03-30 15:23 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi Francois

Thanks for the feedback.

See some additional comments inline.

Regards,
Jose García

The only difference is that you need to:

  • first upload a file
  • then click the uploaded file to set the URL.

After upload, you’ve to link that doc as an overview or an online resource and that’s it.

Francois

On Wed, Mar 30, 2016 at 3:16 PM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Hola Jose,

You mean that is still possible to link documents as in 3.0.x? If so I missed that option.

2016-03-30 14:42 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi

I have some questions/comments related to https://github.com/geonetwork/core-geonetwork/pull/1385. The feature looks good, but seem I misunderstood some stuff.

In the editor, the new upload resources form looks a bit confusing to me, but I should recognise that can be a matter of taste. There’s a panel for Metadata File Store on the right, that seem working independently of of Add Link/Add Thumbnail section on the left. You can add a file and click the link button, the form is closed and you can think easily the online resource has been added with the file you just attached, but no. That button is only for Add Link/Add Thumbnail section.

So the files uploaded are not added to the xml, just stored in the filesystem/database and also not displayed in the Associated Resources panel of the editor as in 3.0.x.

See the doc http://geonetwork-opensource.org/manuals/trunk/eng/users/user-guide/associating-resources/using-filestore.html “A file once uploaded in the filestore will be exported in the metadata export file (MEF). Therefor, its URL will not be automatically added to the metadata. The URL is added when attaching the document to a specific element in the metadata (eg. overview, quality report, legend).”.

I thought the feature would store file list in the database, but also in the metadata xml as online resources. This can be ok, but the main issue I see is that seem there’s no way to access to the files in the search results or metadata detail page (at least I can’t find it).

For me this makes the file upload in develop pretty useless. Maybe I’m missing some stuff, so if someone can clarify these questions would be great:

  1. Is there any option to display the files in the metadata detail page? Or any API to access the files?

Could be, see the API doc but this PR was not changing the related documents still based on the relation service which is using references in the XML document.

Sure the PR looks good, the biggest thing I miss is that from the UI seem (at least in iso19139) there’s no way to show the resources to the user. Can be addressed in the future, will check if some project can fund this work.

  1. Can be extended to manage the files as online resources in the metadata xml along as in the filesystem/database?

The main goal for the project supporting this PR is described in the “Motivations & current limitations” but sure an option would be to mix the 2, but then it would be probably relevant to list all links in a db table (including URLs, uploaded files, …) ?

This PR also addressed the ISO19115-3 case were documents can be added in different locations in the document (eg. quality report, portrayal, feature catalog, licenses, specifications, …) and not only the 2 options in ISO19139 which are online source in distribution and graphic overview.

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.