[GeoNetwork-users] Import eml-gbif-sample.mef

Good afternoon,

I did eschema import eml-gbif in geonetwork 2.10.3, adding examples of this
scheme:

virtual-herbarium.mef
deeccw-atlas-nsw-wildlife.mef
birds-australia.mef
eml-gbif-sample.mef -> This is the example that does not add

Can you help me ??? There is another way to add ???

Thank you

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Import-eml-gbif-sample-mef-tp5178295.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi

2014-12-17 23:40 GMT+01:00 cbeltran <cbeltran@anonymised.com>:

Good afternoon,

I did eschema import eml-gbif in geonetwork 2.10.3, adding examples of this
scheme:

virtual-herbarium.mef
deeccw-atlas-nsw-wildlife.mef
birds-australia.mef
eml-gbif-sample.mef -> This is the example that does not add

Can you help me ??? There is another way to add ???

Unzip the MEF file, and try to load the XML directly and see if there is no
error in that file ?

HTH.

Francois

Thank you

--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Import-eml-gbif-sample-mef-tp5178295.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi Francois

Thanks for your reply.

How to unzip the MEF file??? I don't know

I need any software??

Regards

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Import-eml-gbif-sample-mef-tp5178295p5178423.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

2014-12-18 20:07 GMT+01:00 cbeltran <cbeltran@anonymised.com>:

Hi Francois

Thanks for your reply.

How to unzip the MEF file??? I don't know

I need any software??

hum, rename the file with a zip extension if your ZIP utility does not want
to unzip it.

HTH.

Francois

Regards

--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Import-eml-gbif-sample-mef-tp5178295p5178423.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi Francois

Thanks, It works.

I managed to import metadata as a template.

Now the following happens when I go to add a new metadata, the email field
does not have the box, a as can be enabled for this template ???

attached image

<http://osgeo-org.1560.x6.nabble.com/file/n5178456/eml-gbiftemplate.png&gt;

Thanks....

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Import-eml-gbif-sample-mef-tp5178295p5178456.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hello everyone

I made import eml-gbif-sample.mef as template for geonetwork. but I have an
issue when trying to insert a new metadata with this scheme, since the top
menu options: Save, Save & Review, Save and Close, Clean appear disabled.

attached xml code:

<eml:eml xmlns:eml="eml://ecoinformatics.org/eml-2.1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xmlns:dc="http://purl.org/dc/terms/&quot;
xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1
http://rs.gbif.org/schema/eml-gbif-profile/1.0/eml.xsd&quot; xml:lang="en"
packageId="619a4b95-1a82-4006-be6a-7dbe3c9b33c5/v7" system="http://gbif.org"
scope="system">

  <dataset>

<alternateIdentifier>f1a921f2-d207-4c22-8b22-128273706426</alternateIdentifier>

    <title xml:lang="en">Tanzanian Entomological Collection</title>

    <title xml:lang="de">Entymologische Sammlung Tansania</title>

    <creator>

      <individualName>

        <givenName>David</givenName>

        <surName>Remsen</surName>

      </individualName>

      <organizationName>GBIF</organizationName>

      <positionName>ECAT Programme Officer</positionName>

      <address>

        <deliveryPoint>Universitestparken 15</deliveryPoint>

        <city>Copenhagen</city>

        <administrativeArea>Sjaelland</administrativeArea>

        <postalCode>2100</postalCode>

        <country>DK</country>

      </address>

      <phone>+4528261487</phone>

      <electronicMailAddress>dremsen@anonymised.com</electronicMailAddress>

      <onlineUrl>http://www.gbif.org</onlineUrl>

    </creator>

    <metadataProvider>

      <individualName>

        <givenName>Tim</givenName>

        <surName>Robertson</surName>

      </individualName>

      <address>

        <deliveryPoint>Universitestparken 15</deliveryPoint>

        <city>Copenhagen</city>

        <administrativeArea>Copenhagen</administrativeArea>

        <postalCode>2100</postalCode>

        <country>DK</country>

      </address>

      <phone>+4528261487</phone>

      <electronicMailAddress>trobertson@anonymised.com</electronicMailAddress>

      <onlineUrl>http://www.gbif.org</onlineUrl>

    </metadataProvider>

    <associatedParty>

      <individualName>

        <surName>Doering</surName>

      </individualName>

      <phone>4535321487</phone>

      <role>principleInvestigator</role>

    </associatedParty>

    <associatedParty>

      <individualName>

        <surName>Hahn</surName>

      </individualName>

      <phone>4535321478</phone>

      <role>pointOfContact</role>

    </associatedParty>

    <pubDate>2010-02-02</pubDate>

    <language>en_US</language>

    <abstract>

      <para>Specimens in jars</para>

    </abstract>

    <keywordSet>

      <keyword>Insect</keyword>

      <keyword>Fly</keyword>

      <keyword>Bee</keyword>

      <keywordThesaurus>Zoology Vocabulary Version 1</keywordThesaurus>

    </keywordSet>

    <keywordSet>

      <keyword>Spider</keyword>

      <keywordThesaurus>Zoology Vocabulary Version 1</keywordThesaurus>

    </keywordSet>

    <additionalInfo>

      <para>Where can the additional information possibly come from?!</para>

    </additionalInfo>

    <intellectualRights>

      <para>Owner grants XXX a worldwide, non-exclusive right to: (i) use,
reproduce, perform,

                display, archive, transmit and distribute the Content
(including any trademarks,

                tradenames and logos in the Content) in electronic form in
connection with the Site,

                (ii) allow users of the Site to use, search, copy, download
and transmit the

                Content, and (iii) modify and reformat the Content, but
solely to the extent

                necessary and for the purposes of: (a) conforming to the
format and "look and feel"

                of the Site, and (b) creating snippets, headlines or teasers
consisting of selected

                lines or sections from the Content to be displayed on the
Site (or displayed on

                other websites owned by XXX for the purposes of directing
traffic to the Site).</para>

    </intellectualRights>

    <distribution scope="document">

      <online>

        <url
function="information">http://www.any.org/fauna/coleoptera/beetleList.html&lt;/url&gt;

      </online>

    </distribution>

    <coverage>

      <geographicCoverage>

        <geographicDescription>Bounding Box 1</geographicDescription>

        <boundingCoordinates>

          <westBoundingCoordinate>-1.564</westBoundingCoordinate>

          <eastBoundingCoordinate>0.703</eastBoundingCoordinate>

          <northBoundingCoordinate>23.975</northBoundingCoordinate>

          <southBoundingCoordinate>-22.745</southBoundingCoordinate>

        </boundingCoordinates>

      </geographicCoverage>

      <geographicCoverage>

        <geographicDescription>Bounding Box 2</geographicDescription>

        <boundingCoordinates>

          <westBoundingCoordinate>-10.703</westBoundingCoordinate>

          <eastBoundingCoordinate>11.564</eastBoundingCoordinate>

          <northBoundingCoordinate>43.975</northBoundingCoordinate>

          <southBoundingCoordinate>-32.745</southBoundingCoordinate>

        </boundingCoordinates>

      </geographicCoverage>

      <temporalCoverage>

        <rangeOfDates>

          <beginDate>

            <calendarDate>2009-12-01</calendarDate>

          </beginDate>

          <endDate>

            <calendarDate>2009-12-30</calendarDate>

          </endDate>

        </rangeOfDates>

      </temporalCoverage>

      <temporalCoverage>

        <singleDateTime>

          <calendarDate>2008-06-01</calendarDate>

        </singleDateTime>

      </temporalCoverage>

      <taxonomicCoverage>

        <generalTaxonomicCoverage>This is a general taxon coverage with only
the scientific name</generalTaxonomicCoverage>

        <taxonomicClassification>

          <taxonRankValue>Mammalia</taxonRankValue>

        </taxonomicClassification>

        <taxonomicClassification>

          <taxonRankValue>Reptilia</taxonRankValue>

        </taxonomicClassification>

        <taxonomicClassification>

          <taxonRankValue>Coleoptera</taxonRankValue>

        </taxonomicClassification>

      </taxonomicCoverage>

      <taxonomicCoverage>

        <generalTaxonomicCoverage>This is a second taxon coverage with all
fields</generalTaxonomicCoverage>

        <taxonomicClassification>

          <taxonRankName>Class</taxonRankName>

          <taxonRankValue>Aves</taxonRankValue>

          <commonName>Birds</commonName>

        </taxonomicClassification>

      </taxonomicCoverage>

    </coverage>

    <purpose>

      <para>Provide data to the whole world.</para>

    </purpose>

    <contact>

      <individualName>

        <givenName>David</givenName>

        <surName>Remsen</surName>

      </individualName>

      <organizationName>GBIF</organizationName>

      <positionName>ECAT Programme Officer</positionName>

      <address>

        <deliveryPoint>Universitestparken 15</deliveryPoint>

        <city>Copenhagen</city>

        <administrativeArea>Sjaelland</administrativeArea>

        <postalCode>2100</postalCode>

        <country>DK</country>

      </address>

      <phone>+4528261487</phone>

      <electronicMailAddress>dremsen@anonymised.com</electronicMailAddress>

      <onlineUrl>http://www.gbif.org</onlineUrl>

    </contact>

    <methods>

      <methodStep>

        <description>

          <para>Took picture, identified</para>

        </description>

      </methodStep>

      <sampling>

        <studyExtent>

          <description>

            <para>Daily Obersevation of Pigeons Eating Habits</para>

          </description>

        </studyExtent>

        <samplingDescription>

          <para>44KHz is what a CD has... I was more like one a day if I
felt like it</para>

        </samplingDescription>

      </sampling>

      <qualityControl>

        <description>

          <para>None</para>

        </description>

      </qualityControl>

      <methodStep>

        <description>

          <para>Themometer based test</para>

        </description>

      </methodStep>

      <methodStep>

        <description>

          <para>Visual based test</para>

        </description>

      </methodStep>

    </methods>

    <project>

      <title>Documenting Some Asian Birds and Insects</title>

      <personnel>

        <individualName>

          <surName>Remsen</surName>

        </individualName>

        <role>publisher</role>

      </personnel>

      <funding>

        <para>My Deep Pockets</para>

      </funding>

      <studyAreaDescription>

        <descriptor name="generic" citableClassificationSystem="false">

          <descriptorValue>Turkish Mountains</descriptorValue>

        </descriptor>

      </studyAreaDescription>

      <designDescription>

        <description>

          <para>This was done in Avian Migration patterns</para>

        </description>

      </designDescription>

    </project>

  </dataset>

  <additionalMetadata>

    <metadata>

      <gbif>

        <dateStamp>2002-10-23T18:13:51.235+01:00</dateStamp>

        <hierarchyLevel>dataset</hierarchyLevel>

        <citation identifier="doi:tims-ident.2135.ex43.33.d">Tims assembled
checklist</citation>

        <bibliography>

          <citation>title 1</citation>

          <citation>title 2</citation>

          <citation>title 3</citation>

        </bibliography>

        <physical>

          <objectName>INV-GCEM-0305a1_1_1.shp</objectName>

          <characterEncoding>ASCII</characterEncoding>

          <dataFormat>

            <externallyDefinedFormat>

              <formatName>shapefile</formatName>

              <formatVersion>2.0</formatVersion>

            </externallyDefinedFormat>

          </dataFormat>

          <distribution>

            <online>

              <url
function="download">http://metacat.lternet.edu/knb/dataAccessServlet?docid=knb-lter-gce.109.10&amp;urlTail=accession=INV-GCEM-0305a1&amp;filename=INV-GCEM-0305a1_1_1.TXT&lt;/url&gt;

            </online>

          </distribution>

        </physical>

        <physical>

          <objectName>INV-GCEM-0305a1_1_2.shp</objectName>

          <characterEncoding>ASCII</characterEncoding>

          <dataFormat>

            <externallyDefinedFormat>

              <formatName>shapefile</formatName>

              <formatVersion>2.0</formatVersion>

            </externallyDefinedFormat>

          </dataFormat>

          <distribution>

            <online>

              <url
function="download">http://metacat.lternet.edu/knb/dataAccessServlet?docid=knb-lter-gce.109.10&amp;urlTail=accession=INV-GCEM-0305a1&amp;filename=INV-GCEM-0305a1_1_2.TXT&lt;/url&gt;

            </online>

          </distribution>

        </physical>

        <resourceLogoUrl>http://www.tim.org/logo.jpg&lt;/resourceLogoUrl&gt;

        <collection>

<parentCollectionIdentifier>urn:lsid:tim.org:12:1</parentCollectionIdentifier>

          <collectionIdentifier>urn:lsid:tim.org:12:2</collectionIdentifier>

          <collectionName>Mammals</collectionName>

        </collection>

        <formationPeriod>During the 70s</formationPeriod>

        <specimenPreservationMethod>alcohol</specimenPreservationMethod>

        <livingTimePeriod>Jurassic</livingTimePeriod>

        <jgtiCuratorialUnit>

          <jgtiUnitType>jars</jgtiUnitType>

          <jgtiUnitRange>

            <beginRange>500</beginRange>

            <endRange>600</endRange>

          </jgtiUnitRange>

        </jgtiCuratorialUnit>

      </gbif>

    </metadata>

  </additionalMetadata>

</eml:eml>

I test through the database and delete the following lines:

<geographicCoverage>

     &lt;geographicDescription&gt; Bounding Box 1 &lt;/ geographicDescription&gt;

     &lt;boundingCoordinates&gt;

       &lt;westBoundingCoordinate&gt; 1564 &lt;/ westBoundingCoordinate&gt;

       &lt;eastBoundingCoordinate&gt; 0703 &lt;/ eastBoundingCoordinate&gt;

       &lt;northBoundingCoordinate&gt; 23,975 &lt;/ northBoundingCoordinate&gt;

       &lt;southBoundingCoordinate&gt; 22745 &lt;/ southBoundingCoordinate&gt;

     &lt;/ boundingCoordinates&gt;

   &lt;/ geographicCoverage&gt;

   &lt;geographicCoverage&gt;

     &lt;geographicDescription&gt; Bounding Box 2 &lt;/ geographicDescription&gt;

     &lt;boundingCoordinates&gt;

       &lt;westBoundingCoordinate&gt; 10703 &lt;/ westBoundingCoordinate&gt;

       &lt;eastBoundingCoordinate&gt; 11,564 &lt;/ eastBoundingCoordinate&gt;

       &lt;northBoundingCoordinate&gt; 43975 &lt;/ northBoundingCoordinate&gt;

       &lt;southBoundingCoordinate&gt; 32745 &lt;/ southBoundingCoordinate&gt;

     &lt;/ boundingCoordinates&gt;

   &lt;/ geographicCoverage&gt;

Restart tomcat, access to geonetwork, select template eml-gbif, insert a new
metadata, now if the top menu options appear. Apparently there are problems
with the module that represents the coverage

Additional there are several fields that can not be modified, in the case
of:

electronicMailAddress

Abstract

Additional info

Intellectual Rights

Begindate ->
Enddata ->

Purpose ->

Methods ---> Description -
description -
Sampling Description
description -
description -

Funding

By testing and I managed to have field "electronicMailAddress"

In the following path: / opt / tomcat / webapps / geonetwork / WEB-INF /
data / config / schema_plugins / eml-gbif / present

the metadata.xsl file, comment the following lines

<! - Mailto link ->

<xsl: template mode = "eml-gbif" match = "electronicMailAddress">
<xsl: param name = "schema" />
<xsl: param name = "edit" />

 &lt;xsl: apply\-templates mode = &quot;simpleElement&quot; select = &quot;\.&quot;&gt;
   &lt;xsl: with\-param name = &quot;schema&quot; select = &quot;$ schema&quot; /&gt;
   &lt;xsl: with\-param name = &quot;edit&quot; select = &quot;$ edit&quot; /&gt;
   &lt;xsl: with\-param name = &quot;text&quot;&gt;
       &lt;mailto:\{\.\}&gt; &lt;xsl: value\-of select = / &quot;\.&quot;&gt;  
   &lt;/ xsl: with\-param&gt;
 &lt;/ xsl: apply\-templates&gt;

</ xsl: template>

and file metadata-edit.xsl

<! - Mailto link ->

<xsl: template mode = "eml-gbif" match = "electronicMailAddress">
<xsl: param name = "schema" />
<xsl: param name = "edit" />

 &lt;xsl: apply\-templates mode = &quot;simpleElement&quot; select = &quot;\.&quot;&gt;
   &lt;xsl: with\-param name = &quot;schema&quot; select = &quot;$ schema&quot; /&gt;
   &lt;xsl: with\-param name = &quot;edit&quot; select = &quot;$ edit&quot; /&gt;
   &lt;xsl: with\-param name = &quot;text&quot;&gt;
       &lt;mailto:\{\.\}&gt; &lt;xsl: value\-of select = / &quot;\.&quot;&gt;  
   &lt;/ xsl: with\-param&gt;
 &lt;/ xsl: apply\-templates&gt;

</ xsl: template>

But I have not gotten to other fields.

Can you help me with this problem, it is important to have properly achieve
this template.

Thank you very much for your help.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Import-eml-gbif-sample-mef-tp5178295p5182388.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.