[GeoNetwork-users] iso19115:2003 to iso19115-3 transformation

Hello,

I've deployed 3.2 with a 19115-3 plugin. The current default plugin from
metadata101/19115-3 does not work. That is the edit page does not appear.
Anyway,I got it to work through a workaround....

Currently I'm trying to do a transformation from 19115:2003 to 19115-3 when
I harvest.I'm not seeing the options in the dropdown list when I batch
import or harvest. Can someone please point me in the right direction as to
where I pick up the convert folder, or is this a two prong process where I
convert from 19115:2003 to 19139 and then from 19139 to 19115-3? If that is
the case, again, where are the convert files?

Thanks in advance
Suresh

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/iso19115-2003-to-iso19115-3-transformation-tp5302244.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi,

2017-01-06 4:58 GMT+01:00 sramayah <sureshramayah@anonymised.com>:

Hello,

I've deployed 3.2 with a 19115-3 plugin. The current default plugin from
metadata101/19115-3 does not work.

Could you check that you're not having the same problem as here
https://github.com/metadata101/iso19115-3/issues/25 ?

That is the edit page does not appear.
Anyway,I got it to work through a workaround....

Would be good to share the workaround or fix the problem if problem there
is?

Currently I'm trying to do a transformation from 19115:2003 to 19115-3 when
I harvest.I'm not seeing the options in the dropdown list when I batch
import or harvest. Can someone please point me in the right direction as to
where I pick up the convert folder, or is this a two prong process where I
convert from 19115:2003 to 19139 and then from 19139 to 19115-3? If that is
the case, again, where are the convert files?

Conversion for 19139<>19115-3 are here
https://github.com/metadata101/iso19115-3/tree/develop/src/main/plugin/iso19115-3/convert/ISO19139

Check that
https://github.com/metadata101/iso19115-3/blob/3.2.x/README.md#adding-the-conversion-to-the-import-record-page
and let me know if that works ok for both import record page and harvesters.

HTH.

Francois

Thanks in advance
Suresh

--
View this message in context: http://osgeo-org.1560.x6.
nabble.com/iso19115-2003-to-iso19115-3-transformation-tp5302244.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
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,Sorry for the late reply....Please see responses in >>>>Suresh
Francois Prunayre wrote

Hi,2017-01-06 4:58 GMT+01:00 sramayah &lt;

sureshramayah@

&gt;:> Hello,>> I've deployed 3.2 with a 19115-3 plugin. The current
default plugin from> metadata101/19115-3 does not work.Could you check
that you're not having the same problem as
herehttps://github.com/metadata101/iso19115-3/issues/25 ?>>>>No this is an
issue with the 19115-3 plugin itself I believe. I've had a quick look at
the service.xml in the template folder. The following seems to work, at
least from what I've implemented:

/

<?xml version="1.0" encoding="UTF-8"?>

service

service

AU/NZS ISO 19115-1:2014

ISO 19115-1:2014

ISO 19115-3 (Draft Schemas 2015)

2015-07-01T00:00:00

services

creation

geoscientificInformation

-180

180

-90

90

unknown

Creative Commons Attribution 4.0 International Licence

CC-BY

4.0

http://creativecommons.org/licenses/

tight

WebServices

TEXT

false

false

/

That is the edit page does not appear.> Anyway,I got it to work through a
workaround....>>>>>With the above service.xml I can now add a new record
from the template whereas previously I could not. I have not investigated
more dependencies around this yet....Would be good to share the
workaround or fix the problem if problem thereis?>>>>see above>>
Currently I'm trying to do a transformation from 19115:2003 to 19115-3
when> I harvest.I'm not seeing the options in the dropdown list when I
batch> import or harvest. Can someone please point me in the right
direction as to> where I pick up the convert folder, or is this a two
prong process where I> convert from 19115:2003 to 19139 and then from
19139 to 19115-3? If that is> the case, again, where are the convert
files?>Conversion for 19139<>19115-3 are
herehttps://github.com/metadata101/iso19115-3/tree/develop/src/main/plugin/iso19115-3/convert/ISO19139Check
thathttps://github.com/metadata101/iso19115-3/blob/3.2.x/README.md#adding-the-conversion-to-the-import-record-pageand
let me know if that works ok for both import record page and
harvesters.>>>>I implemented the transformation and am getting a
IllegalArgumentExceptionXML fragment is invalid. Error is Error on line
4: The prefix "gmd" for element "gmd:MD_Metadata" is not
bound.Error.......I will have to dig through this now....Will save me a
lot of time if anyone has come across this message and knows the fix
straight away.....HTH.Francois>> Thanks in advance> Suresh>>>> --> View
this message in context: http://osgeo-org.1560.x6.>
nabble.com/iso19115-2003-to-iso19115-3-transformation-tp5302244.html>
Sent from the GeoNetwork users mailing list archive at Nabble.com.>>
------------------------------------------------------------>
------------------> Check out the vibrant tech community on one of the
world's most> engaging tech sites, SlashDot.org!
http://sdm.link/slashdot&gt;
_______________________________________________> GeoNetwork-users mailing
list>

GeoNetwork-users@anonymised.com

https://lists.sourceforge.net/lists/listinfo/geonetwork-users&gt; GeoNetwork
OpenSource is maintained at http://sourceforge.net/&gt;
projects/geonetwork>------------------------------------------------------------------------------Check
out the vibrant tech community on one of the world's most engaging tech
sites, SlashDot.org!
http://sdm.link/slashdot_______________________________________________GeoNetwork-users
mailing list

GeoNetwork-users@anonymised.com

https://lists.sourceforge.net/lists/listinfo/geonetwork-usersGeoNetwork
OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/iso19115-2003-to-iso19115-3-transformation-tp5302244p5302552.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi Francois,

Apologies. Message got mangled. Reposting this for readability:

No this is an issue with the 19115-3 plugin itself I believe. I've had a

quick look at the service.xml in the template folder. The following seems to
work, at least from what I've implemented:

<?xml version="1.0" encoding="UTF-8"?>
<mdb:MD_Metadata xmlns:mdb="http://standards.iso.org/iso/19115/-3/mdb/1.0&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xmlns:cat="http://standards.iso.org/iso/19115/-3/cat/1.0&quot;
xmlns:cit="http://standards.iso.org/iso/19115/-3/cit/1.0&quot;
xmlns:gcx="http://standards.iso.org/iso/19115/-3/gcx/1.0&quot;
xmlns:gex="http://standards.iso.org/iso/19115/-3/gex/1.0&quot;
xmlns:lan="http://standards.iso.org/iso/19115/-3/lan/1.0&quot;
xmlns:srv="http://standards.iso.org/iso/19115/-3/srv/2.0&quot;
xmlns:mas="http://standards.iso.org/iso/19115/-3/mas/1.0&quot;
xmlns:mcc="http://standards.iso.org/iso/19115/-3/mcc/1.0&quot;
xmlns:mco="http://standards.iso.org/iso/19115/-3/mco/1.0&quot;
xmlns:mda="http://standards.iso.org/iso/19115/-3/mda/1.0&quot;
xmlns:mds="http://standards.iso.org/iso/19115/-3/mds/1.0&quot;
xmlns:mdt="http://standards.iso.org/iso/19115/-3/mdt/1.0&quot;
xmlns:mex="http://standards.iso.org/iso/19115/-3/mex/1.0&quot;
xmlns:mmi="http://standards.iso.org/iso/19115/-3/mmi/1.0&quot;
xmlns:mpc="http://standards.iso.org/iso/19115/-3/mpc/1.0&quot;
xmlns:mrc="http://standards.iso.org/iso/19115/-3/mrc/1.0&quot;
xmlns:mrd="http://standards.iso.org/iso/19115/-3/mrd/1.0&quot;
xmlns:mri="http://standards.iso.org/iso/19115/-3/mri/1.0&quot;
xmlns:mrl="http://standards.iso.org/iso/19115/-3/mrl/1.0&quot;
xmlns:mrs="http://standards.iso.org/iso/19115/-3/mrs/1.0&quot;
xmlns:msr="http://standards.iso.org/iso/19115/-3/msr/1.0&quot;
xmlns:mdq="http://standards.iso.org/iso/19157/-2/mdq/1.0&quot;
xmlns:mac="http://standards.iso.org/iso/19115/-3/mac/1.0&quot;
xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0&quot;
xmlns:gml="http://www.opengis.net/gml/3.2&quot;
xmlns:xlink="http://www.w3.org/1999/xlink&quot;
xmlns:geonet="http://www.fao.org/geonetwork&quot;
xsi:schemaLocation="http://standards.iso.org/iso/19115/-3/cat/1.0
http://standards.iso.org/iso/19115/-3/cat/1.0/cat.xsd
http://standards.iso.org/iso/19115/-3/cit/1.0
http://standards.iso.org/iso/19115/-3/cit/1.0/cit.xsd
http://standards.iso.org/iso/19115/-3/gcx/1.0
http://standards.iso.org/iso/19115/-3/gcx/1.0/gcx.xsd
http://standards.iso.org/iso/19115/-3/gex/1.0
http://standards.iso.org/iso/19115/-3/gex/1.0/gex.xsd
http://standards.iso.org/iso/19115/-3/lan/1.0
http://standards.iso.org/iso/19115/-3/lan/1.0/lan.xsd
http://standards.iso.org/iso/19115/-3/srv/2.0
http://standards.iso.org/iso/19115/-3/srv/2.0/srv.xsd
http://standards.iso.org/iso/19115/-3/mas/1.0
http://standards.iso.org/iso/19115/-3/mas/1.0/mas.xsd
http://standards.iso.org/iso/19115/-3/mcc/1.0
http://standards.iso.org/iso/19115/-3/mcc/1.0/mcc.xsd
http://standards.iso.org/iso/19115/-3/mco/1.0
http://standards.iso.org/iso/19115/-3/mco/1.0/mco.xsd
http://standards.iso.org/iso/19115/-3/mda/1.0
http://standards.iso.org/iso/19115/-3/mda/1.0/mda.xsd
http://standards.iso.org/iso/19115/-3/mdb/1.0
http://standards.iso.org/iso/19115/-3/mdb/1.0/mdb.xsd
http://standards.iso.org/iso/19115/-3/mds/1.0
http://standards.iso.org/iso/19115/-3/mds/1.0/mds.xsd
http://standards.iso.org/iso/19115/-3/mdt/1.0
http://standards.iso.org/iso/19115/-3/mdt/1.0/mdt.xsd
http://standards.iso.org/iso/19115/-3/mex/1.0
http://standards.iso.org/iso/19115/-3/mex/1.0/mex.xsd
http://standards.iso.org/iso/19115/-3/mmi/1.0
http://standards.iso.org/iso/19115/-3/mmi/1.0/mmi.xsd
http://standards.iso.org/iso/19115/-3/mpc/1.0
http://standards.iso.org/iso/19115/-3/mpc/1.0/mpc.xsd
http://standards.iso.org/iso/19115/-3/mrc/1.0
http://standards.iso.org/iso/19115/-3/mrc/1.0/mrc.xsd
http://standards.iso.org/iso/19115/-3/mrd/1.0
http://standards.iso.org/iso/19115/-3/mrd/1.0/mrd.xsd
http://standards.iso.org/iso/19115/-3/mri/1.0
http://standards.iso.org/iso/19115/-3/mri/1.0/mri.xsd
http://standards.iso.org/iso/19115/-3/mrl/1.0
http://standards.iso.org/iso/19115/-3/mrl/1.0/mrl.xsd
http://standards.iso.org/iso/19115/-3/mrs/1.0
http://standards.iso.org/iso/19115/-3/mrs/1.0/mrs.xsd
http://standards.iso.org/iso/19115/-3/msr/1.0
http://standards.iso.org/iso/19115/-3/msr/1.0/msr.xsd
http://standards.iso.org/iso/19157/-2/mdq/1.0
http://standards.iso.org/iso/19157/-2/mdq/1.0/mdq.xsd
http://standards.iso.org/iso/19115/-3/mac/1.0
http://standards.iso.org/iso/19115/-3/mac/1.0/mac.xsd
http://standards.iso.org/iso/19115/-3/gco/1.0
http://standards.iso.org/iso/19115/-3/gco/1.0/gco.xsd
http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/gml.xsd
http://www.w3.org/1999/xlink.xsd&quot;&gt;
  <mdb:metadataIdentifier>
    <mcc:MD_Identifier>
      <mcc:code>
        <gco:CharacterString></gco:CharacterString>
      </mcc:code>
    </mcc:MD_Identifier>
  </mdb:metadataIdentifier>
  <mdb:metadataScope>
    <mdb:MD_MetadataScope>
      <mdb:resourceScope>
        <mcc:MD_ScopeCode codeList="codeListLocation#MD_ScopeCode"
codeListValue="service">service</mcc:MD_ScopeCode>
      </mdb:resourceScope>
      <mdb:name>
        <gco:CharacterString>service</gco:CharacterString>
      </mdb:name>
    </mdb:MD_MetadataScope>
  </mdb:metadataScope>
  <mdb:contact
xlink:href="local://subtemplate?uuid=urn:ga-contacts:11&amp;process=cit:role/cit:CI_RoleCode/@codeListValue~author"/>
  <mdb:metadataStandard>
    <cit:CI_Citation>
      <cit:title>
        <gco:CharacterString>AU/NZS ISO 19115-1:2014</gco:CharacterString>
      </cit:title>
    </cit:CI_Citation>
  </mdb:metadataStandard>
  <mdb:metadataStandard>
    <cit:CI_Citation>
      <cit:title>
        <gco:CharacterString>ISO 19115-1:2014</gco:CharacterString>
      </cit:title>
    </cit:CI_Citation>
  </mdb:metadataStandard>
  <mdb:metadataStandard>
    <cit:CI_Citation>
      <cit:title>
        <gco:CharacterString>ISO 19115-3 (Draft Schemas
2015)</gco:CharacterString>
      </cit:title>
      <cit:editionDate>
        <gco:DateTime>2015-07-01T00:00:00</gco:DateTime>
      </cit:editionDate>
    </cit:CI_Citation>
  </mdb:metadataStandard>
  <mdb:identificationInfo>
    <srv:SV_ServiceIdentification>
      <mri:citation>
        <cit:CI_Citation>
          <cit:title>
            <gco:CharacterString>ABARES Draft Template for services in
19115-1:2014 and 19115-3</gco:CharacterString>
          </cit:title>
          <cit:date>
            <cit:CI_Date>
              <cit:date>
                <gco:DateTime></gco:DateTime>
              </cit:date>
              <cit:dateType>
                <cit:CI_DateTypeCode
codeList="codeListLocation#CI_DateTypeCode"
codeListValue="creation">creation</cit:CI_DateTypeCode>
              </cit:dateType>
            </cit:CI_Date>
          </cit:date>
        </cit:CI_Citation>
      </mri:citation>
      <mri:abstract>
        <gco:CharacterString></gco:CharacterString>
      </mri:abstract>
      <mri:pointOfContact
xlink:href="local://subtemplate?uuid=urn:ga-contacts:11&amp;process=cit:role/cit:CI_RoleCode/@codeListValue~pointOfContact"/>
      <mri:topicCategory>
       
<mri:MD_TopicCategoryCode>geoscientificInformation</mri:MD_TopicCategoryCode>
      </mri:topicCategory>
      <mri:extent>
        <gex:EX_Extent>
          <gex:geographicElement>
            <gex:EX_GeographicBoundingBox>
              <gex:westBoundLongitude>
                <gco:Decimal>-180</gco:Decimal>
              </gex:westBoundLongitude>
              <gex:eastBoundLongitude>
                <gco:Decimal>180</gco:Decimal>
              </gex:eastBoundLongitude>
              <gex:southBoundLatitude>
                <gco:Decimal>-90</gco:Decimal>
              </gex:southBoundLatitude>
              <gex:northBoundLatitude>
                <gco:Decimal>90</gco:Decimal>
              </gex:northBoundLatitude>
            </gex:EX_GeographicBoundingBox>
          </gex:geographicElement>
        </gex:EX_Extent>
      </mri:extent>
      <mri:resourceMaintenance>
        <mmi:MD_MaintenanceInformation>
          <mmi:maintenanceAndUpdateFrequency>
            <mmi:MD_MaintenanceFrequencyCode
codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_MaintenanceFrequencyCode&quot;
codeListValue="unknown"
codeSpace="ISOTC211/19115">unknown</mmi:MD_MaintenanceFrequencyCode>
          </mmi:maintenanceAndUpdateFrequency>
        </mmi:MD_MaintenanceInformation>
      </mri:resourceMaintenance>
      <mri:resourceConstraints>
            <mco:MD_LegalConstraints uuid="urn:ga-licences:232">
               <mco:reference>
                  <cit:CI_Citation>
                     <cit:title>
                        <gco:CharacterString>Creative Commons Attribution
4.0 International Licence</gco:CharacterString>
                     </cit:title>
                     <cit:alternateTitle>
                        <gco:CharacterString>CC-BY</gco:CharacterString>
                     </cit:alternateTitle>
                     <cit:edition>
                        <gco:CharacterString>4.0</gco:CharacterString>
                     </cit:edition>
                     <cit:onlineResource>
                        <cit:CI_OnlineResource>
                           <cit:linkage>
                             
<gco:CharacterString>http://creativecommons.org/licenses/&lt;/gco:CharacterString&gt;
                           </cit:linkage>
                        </cit:CI_OnlineResource>
                     </cit:onlineResource>
                  </cit:CI_Citation>
               </mco:reference>
               <mco:accessConstraints>
                  <mco:MD_RestrictionCode
codeList="codeListLocation#MD_RestrictionCode" codeListValue="license"/>
               </mco:accessConstraints>
               <mco:useConstraints>
                  <mco:MD_RestrictionCode
codeList="codeListLocation#MD_RestrictionCode" codeListValue="license"/>
               </mco:useConstraints>
            </mco:MD_LegalConstraints>
      </mri:resourceConstraints>
      <mri:resourceConstraints>
            <mco:MD_SecurityConstraints>
               <mco:classification>
                  <mco:MD_ClassificationCode
codeList="codeListLocation#MD_ClassificationCode"
codeListValue="unclassified"/>
               </mco:classification>
            </mco:MD_SecurityConstraints>
      </mri:resourceConstraints>
      <srv:serviceType>
        <gco:ScopedName></gco:ScopedName>
      </srv:serviceType>
      <srv:serviceTypeVersion>
        <gco:CharacterString></gco:CharacterString>
      </srv:serviceTypeVersion>
      <srv:couplingType>
        <srv:SV_CouplingType codeList="codeListLocation#SV_CouplingType"
codeListValue="tight">tight</srv:SV_CouplingType>
      </srv:couplingType>
      <srv:containsOperations>
        <srv:SV_OperationMetadata>
          <srv:operationName>
            <gco:CharacterString></gco:CharacterString>
          </srv:operationName>
          <srv:distributedComputingPlatform>
            <srv:DCPList codeList="codeListLocation#DCPList"
codeListValue="WebServices">WebServices</srv:DCPList>
          </srv:distributedComputingPlatform>
          <srv:operationDescription>
            <gco:CharacterString></gco:CharacterString>
          </srv:operationDescription>
          <srv:connectPoint>
            <cit:CI_OnlineResource>
              <cit:linkage>
                <gco:CharacterString></gco:CharacterString>
              </cit:linkage>
              <cit:protocol>
                <gco:CharacterString></gco:CharacterString>
              </cit:protocol>
            </cit:CI_OnlineResource>
          </srv:connectPoint>
                   <srv:parameter>
                  <srv:SV_Parameter>
                    <srv:name>
                      <gco:MemberName>
                        <gco:aName>
                          <gco:CharacterString></gco:CharacterString>
                        </gco:aName>
                        <gco:attributeType>
                          <gco:TypeName>
                            <gco:aName>
                              <gco:CharacterString>TEXT</gco:CharacterString>
                            </gco:aName>
                          </gco:TypeName>
                        </gco:attributeType>
                      </gco:MemberName>
                    </srv:name>
                    <srv:direction>
                      <srv:SV_ParameterDirection></srv:SV_ParameterDirection>
                    </srv:direction>
                    <srv:description>
                      <gco:CharacterString></gco:CharacterString>
                    </srv:description>
                    <srv:optionality>
                      <gco:Boolean>false</gco:Boolean>
                    </srv:optionality>
                    <srv:repeatability>
                      <gco:Boolean>false</gco:Boolean>
                    </srv:repeatability>
                  </srv:SV_Parameter>
                   </srv:parameter>
        </srv:SV_OperationMetadata>
      </srv:containsOperations>
    </srv:SV_ServiceIdentification>
  </mdb:identificationInfo>
  <mdb:resourceLineage>
    <mrl:LI_Lineage>
      <mrl:statement>
        <gco:CharacterString/>
      </mrl:statement>
      <mrl:scope>
        <mcc:MD_Scope>
          <mcc:level>
            <mcc:MD_ScopeCode codeList="codeListLocation#MD_ScopeCode"
codeListValue="service"/>
          </mcc:level>
        </mcc:MD_Scope>
      </mrl:scope>
    </mrl:LI_Lineage>
  </mdb:resourceLineage>
  <mdb:metadataConstraints>
     <mco:MD_SecurityConstraints>
       <mco:classification>
          <mco:MD_ClassificationCode
codeList="codeListLocation#MD_ClassificationCode"
codeListValue="unclassified"/>
        </mco:classification>
      </mco:MD_SecurityConstraints>
   </mdb:metadataConstraints>
</mdb:MD_Metadata>

With the above service.xml I can now add a new record from the template
whereas previously I could not. I have not investigated more dependencies
around this yet....

With the transformation from 19139 to 19115-3, I implemented the
transformation and am getting a IllegalArgumentException XML fragment is
invalid. Error is Error on line 4: The prefix "gmd" for element
"gmd:MD_Metadata" is not bound. Error....... I will have to dig through this
now....Will save me a lot of time if anyone has come across this message and
knows the fix straight away....

Suresh

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/iso19115-2003-to-iso19115-3-transformation-tp5302244p5302556.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.