[geotk] Reading MD_BrowseGraphic element
Vincent Gaudissart
Vincent.Gaudissart at c-s.fr
Fri Jul 12 09:27:28 PDT 2013
Dear Martin,
> Apparently JAXB complains about the 'src' attribute not being a
> text-like object. I'm a little bit surprised, because I though that JAXB
> was mapping URI to String by itself. But just in case, did you tried to
> change the type of the 'src' field from URI to String?
>
> Martin
Unfortunately, this does not change anything.
The next block is read perfectly.
<gmd:graphicOverview>
<gmd:MD_BrowseGraphic>
<gmd:fileName>
<gco:CharacterString>http://test.jpg</gco:CharacterString>
</gmd:fileName>
</gmd:MD_BrowseGraphic>
</gmd:graphicOverview>
But my file has this form:
<gmd:graphicOverview>
<gmd:MD_BrowseGraphic>
<gmd:fileName>
<gmx:FileName
src="OVERVIEW.JPG">OVERVIEW</gmx:FileName>
</gmd:fileName>
<gmd:fileDescription>
<mf:DG_BrowseGraphicType
codeList="http://codelist.xml#DG_BrowseGraphicType"
codeListValue="overview"
codeSpace="CARGENE">Overview</mf:DG_BrowseGraphicType>
</gmd:fileDescription>
<gmd:fileType>
<gmx:MimeFileType type="image/jpg">JPEG
image</gmx:MimeFileType>
</gmd:fileType>
</gmd:MD_BrowseGraphic>
</gmd:graphicOverview>
I would find a way to read this block without changing anything in
GeoToolkit, just adding the good classesand their adapter...
unfortunately without success so far.
Can you help me to read the block "gmx:FileName"? Next, I should be able
to read other missing nodes (some Quality nodes)?
Best regards,
Vincent
--
------------------------------------------------------------------------
<www.c-s.fr> *Vincent GAUDISSART*
Architecte Système d'Information
*Business Unit E-SPACE & GEO Information*
<https://thor.si.c-s.fr/blogs/cs-blogs-business/>
*CS Systèmes d'Information*
Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
Tel : +33 561 17 62 72 / Accueil : +33 561 17 66 66
Email : vincent.gaudissart at c-s.fr
------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geotoolkit/attachments/20130712/d0766fa2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo_cs.png
Type: image/png
Size: 19066 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geotoolkit/attachments/20130712/d0766fa2/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qrcode.png
Type: image/png
Size: 824 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geotoolkit/attachments/20130712/d0766fa2/attachment-0003.png>
More information about the Geotoolkit
mailing list