[GRASS-SVN] r61656 - in grass-addons/grass7/gui/wxpython/wx.metadata: g.gui.metadata mdlib r.info.iso v.info.iso

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 15 13:27:10 PDT 2014


Author: neteler
Date: 2014-08-15 13:27:10 -0700 (Fri, 15 Aug 2014)
New Revision: 61656

Modified:
   grass-addons/grass7/gui/wxpython/wx.metadata/g.gui.metadata/g.gui.metadata.html
   grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/mdgrass.py
   grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.html
   grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.html
Log:
wx.metadata: further manual cosmetics

Modified: grass-addons/grass7/gui/wxpython/wx.metadata/g.gui.metadata/g.gui.metadata.html
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/g.gui.metadata/g.gui.metadata.html	2014-08-15 20:10:58 UTC (rev 61655)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/g.gui.metadata/g.gui.metadata.html	2014-08-15 20:27:10 UTC (rev 61656)
@@ -1,11 +1,22 @@
 <h2>DESCRIPTION</h2>
 
-Metadata editor according to EN ISO 19115. 
+Metadata editor according to according
+to <a href="http://www.iso.org/iso/catalogue_detail.htm?csnumber=26020">ISO
+19115</a>.
+
 <p>
 Metadata editor includes graphical interface for conversion metadata from r.info and v.info to ISO based metadata, editing metadata files and creating metadata templates. In addition, the graphical module allows validating of INSPIRE and Basic profile.
+
+<h2>NOTES</h2>
+
+For dependencies and installation instructions see
+<a href="http://grasswiki.osgeo.org/wiki/ISO/INSPIRE_Metadata_Support">wiki page</a>.
+
 <p>
 <em><b>Dependencies</b></em> 
 <p>
+Current development of metadata management requires external libraries:
+<p>
 <ul>
 <li>OWSLib development version 
 
@@ -23,9 +34,7 @@
 <em>cd jinja2 && sudo python setup.py install</em>
 </ul>
 
-<p>
-<em><b>Naming of metadata files and storage</b></em> 
-<p>
+<h3>Naming of metadata files and storage</h3> 
 
 The metadata product fully supports XML Default location of exported metadata uses folder “metadata”
  in GRASS Location. In case the metadata file name is not changed, the name is build from prefix 
@@ -59,7 +68,7 @@
 <ul>
 <li> basic
 <li> inspire
-<li>load custom – this option allows to load metadata profile from file. For example in case of use of predefined template. With this selection the editor make intersection of GRASS Basic profile(all available metadata for selected map) and loaded custom profile.
+<li> load custom - this option allows to load metadata profile from file. For example in case of use of predefined template. With this selection the editor make intersection of GRASS Basic profile(all available metadata for selected map) and loaded custom profile.
 </ul>
 
 
@@ -102,15 +111,21 @@
 
 <h2>SEE ALSO</h2>
 
-<em><a href="http://grasswiki.osgeo.org/wiki/ISO/INSPIRE_Metadata_Support">metadata wiki page</a></em>,
-<em><a href="v.info.iso.html">v.info.iso</a></em>,
-<em><a href="r.info.iso.html">r.info.iso</a></em>
+<em>
+  <a href="v.info.iso.html">v.info.iso</a>,
+  <a href="r.info.iso.html">r.info.iso</a>,
+  <a href="g.gui.metadata.html">g.gui.metadata</a>
+</em>
 
+<p>
+See also related <a href="http://grasswiki.osgeo.org/wiki/ISO/INSPIRE_Metadata_Support">wiki page</a>.
 
+
 <h2>AUTHOR</h2>
 
-Matej
-Krejci, <a href="http://trac.osgeo.org/grass/wiki/GSoC/2014/MetadataForGRASS">Google
+Matej Krejci, <a href="http://geo.fsv.cvut.cz/gwiki/osgeorel">OSGeoREL</a>
+at the Czech Technical University in Prague, developed
+during <a href="http://trac.osgeo.org/grass/wiki/GSoC/2014/MetadataForGRASS">Google
 Summer of Code 2014</a> (mentors: Margherita Di Leo, Martin Landa)
 
 <p>

Modified: grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/mdgrass.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/mdgrass.py	2014-08-15 20:10:58 UTC (rev 61655)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/mdgrass.py	2014-08-15 20:27:10 UTC (rev 61656)
@@ -195,7 +195,6 @@
         self.md.identification.uricodespace.append(n)
 
         # Geographic/BB
-        # TODO BUG?: minx=n/s and miny=w/e ?? reverted? FIXED
         self.md.identification.extent.boundingBox.minx = mdutil.replaceXMLReservedChar(self.md_grass['north'])
         self.md.identification.extent.boundingBox.maxx = mdutil.replaceXMLReservedChar(self.md_grass['south'])
         self.md.identification.extent.boundingBox.miny = mdutil.replaceXMLReservedChar(self.md_grass['east'])
@@ -518,4 +517,4 @@
                 Module('r.support',
                        map=self.map,
                        description=_comments,
-                       overwrite=True)
\ No newline at end of file
+                       overwrite=True)

Modified: grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.html
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.html	2014-08-15 20:10:58 UTC (rev 61655)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.html	2014-08-15 20:27:10 UTC (rev 61656)
@@ -1,22 +1,22 @@
 <h2>DESCRIPTION</h2>
 
-<em>r.info.iso</em> creates map's metadata according
+<em>r.info.iso</em> creates metadata of raster maps according
 to <a href="http://www.iso.org/iso/catalogue_detail.htm?csnumber=26020">ISO
 19115</a>.
 
 <p>
-The module also allows conversion of metadata from native GRASS format
+The module also allows conversion of metadata from native GRASS GIS format
 to ISO-based format.
 
 <h2>NOTES</h2>
 
-For dependencies and installation instructions see <a href="http://grasswiki.osgeo.org/wiki/ISO/INSPIRE_Metadata_Support">wiki page</a>.
+For dependencies and installation instructions see
+<a href="http://grasswiki.osgeo.org/wiki/ISO/INSPIRE_Metadata_Support">wiki page</a>.
 
 <h3>Naming of metadata files and storage</h3> 
 
 <!--
-
-what it means?
+what does it mean?
 The metadata product fully supports XML
 -->
 
@@ -28,8 +28,8 @@
 maps <em>vector</em>. File ends with <em>.xml</em> extension.
 
 <p>
-For example default metadata file name for vector map
-"roads" is <em>vector_roads.xml</em>.
+For example default metadata file name for raster map
+"elevation" is <em>raster_elevation.xml</em>.
 
 <h3>Metadata profile</h3>
 
@@ -40,27 +40,28 @@
 metadata attribute <em>abstract</em>. The <i>inspire</i> profile
 fulfills the criteria of INSPIRE profile. Values which are not able to
 get from native GRASS metadata are filled by text
-string <tt>'$NULL'</tt>. This rule applies for both profiles.
+string <tt>'$NULL'</tt>. This rule applies to both profiles.
 
 <h2>EXAMPLES</h2>
 
-Export metadata using <i>basic</i> profile (default).
+Export metadata using <i>basic</i> profile (default):
 
 <div class="code"><pre>
-r.info.iso map=basin 
+r.info.iso map=elevation
 </pre></div>
 
-Export metadata using <i>inspire</i> profile.
+<p>
+Export metadata using <i>inspire</i> profile:
 
 <div class="code"><pre>
-r.info.iso map=basin profile=inspire
+r.info.iso map=elevation profile=inspire
 </pre></div>
 
 <h2>SEE ALSO</h2>
 
 <em>
   <a href="r.info.html">r.info</a>,
-  <a href="v.info.iso.html">v.info.iso</a>
+  <a href="v.info.iso.html">v.info.iso</a>,
   <a href="g.gui.metadata.html">g.gui.metadata</a>
 </em>
 
@@ -70,8 +71,7 @@
 
 <h2>AUTHOR</h2>
 
-Matej
-Krejci, <a href="http://geo.fsv.cvut.cz/gwiki/osgeorel">OSGeoREL</a>
+Matej Krejci, <a href="http://geo.fsv.cvut.cz/gwiki/osgeorel">OSGeoREL</a>
 at the Czech Technical University in Prague, developed
 during <a href="http://trac.osgeo.org/grass/wiki/GSoC/2014/MetadataForGRASS">Google
 Summer of Code 2014</a> (mentors: Margherita Di Leo, Martin Landa)

Modified: grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.html
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.html	2014-08-15 20:10:58 UTC (rev 61655)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.html	2014-08-15 20:27:10 UTC (rev 61656)
@@ -1,13 +1,22 @@
 <h2>DESCRIPTION</h2>
 
-Metadata creator according to EN ISO 19115. 
+<em>v.info.iso</em> creates metadata of vector maps according
+to <a href="http://www.iso.org/iso/catalogue_detail.htm?csnumber=26020">ISO
+19115</a>.
+
 <p>
-Module support conversion from native GRASS metadata to ISO based. 
+The module also allows conversion of metadata from native GRASS GIS format
+to ISO-based format.
 
+<h2>NOTES</h2>
+
+For dependencies and installation instructions see
+<a href="http://grasswiki.osgeo.org/wiki/ISO/INSPIRE_Metadata_Support">wiki page</a>.
+
 <p>
 <em><b>Dependencies</b></em> 
 <p>
-Current development of metadata management has dependence on external libraries:
+Current development of metadata management requires external libraries:
 <p>
 <ul>
 <li>OWSLib development version 
@@ -26,9 +35,7 @@
 <em>cd jinja2 && sudo python setup.py install</em>
 </ul>
 
-<p>
-<em><b>Naming of metadata files and storage</b></em> 
-<p>
+<h3>Naming of metadata files and storage</h3> 
 
 The metadata product fully supports XML Default location of exported metadata uses folder “metadata”
  in GRASS Location. In case the metadata file name is not changed, the name is build from prefix 
@@ -39,40 +46,50 @@
 example: vector map - roads vector_roads.xml
 
 
-<p>
-<em><b>Metadata profile</b></em> 
-<p>
+<h3>Metadata profile</h3>
 
-The Basic profile is substituted from intersection between GRASS native metadata and INSPIRE profile.
- The intersect (subset) includes all available GRASS metadata. Metadata which cannot be assigned to ISO
- based attributes are stored in metadata attribute - abstract. The Inspire profile fulfills the criteria
- of INSPIRE profile. Values which are not able to get from native GRASS metadata are filled by text string
- '$NULL'. This rule applies for both profiles.
-</ul>
+The <i>basic</i> profile is substituted from intersection between
+items stored in GRASS native metadata format and INSPIRE profile. The
+intersect (subset) includes all available GRASS metadata. Metadata
+which cannot be assigned to ISO based attributes are stored in
+metadata attribute <em>abstract</em>. The <i>inspire</i> profile
+fulfills the criteria of INSPIRE profile. Values which are not able to
+get from native GRASS metadata are filled by text
+string <tt>'$NULL'</tt>. This rule applies to both profiles.
 
 
-<h2>Example</h2>
-<p>
+<h2>EXAMPLES</h2>
 
-By default is metadata file named and exported according to mentioned rules. 
+Export metadata using <i>basic</i> profile (default):
+
+<div class="code"><pre>
+v.info.iso map=basins
+</pre></div>
+
 <p>
-v.info.iso map=basin 
-<p>
-Exporting inspire profile
-<p>
-v.info.iso map=basin profile=inspire
+Export metadata using <i>inspire</i> profile:
 
+<div class="code"><pre>
+v.info.iso map=basins profile=inspire
+</pre></div>
 
-
 <h2>SEE ALSO</h2>
 
-<em><a href="http://grasswiki.osgeo.org/wiki/ISO/INSPIRE_Metadata_Support">metadata wiki page</a></em>,
-<em><a href="r.info.iso.html">r.info.iso</a></em>,
-<em><a href="g.gui.metadata.html">g.gui.metadata</a></em>
+<em>
+  <a href="v.info.html">v.info</a>,
+  <a href="r.info.iso.html">r.info.iso</a>,
+  <a href="g.gui.metadata.html">g.gui.metadata</a>
+</em>
 
+<p>
+See also related <a href="http://grasswiki.osgeo.org/wiki/ISO/INSPIRE_Metadata_Support">wiki page</a>.
+
+
 <h2>AUTHOR</h2>
 
-Matej Krejci, <a href="http://trac.osgeo.org/grass/wiki/GSoC/2014/MetadataForGRASS">Google
+Matej Krejci, <a href="http://geo.fsv.cvut.cz/gwiki/osgeorel">OSGeoREL</a>
+at the Czech Technical University in Prague, developed
+during <a href="http://trac.osgeo.org/grass/wiki/GSoC/2014/MetadataForGRASS">Google
 Summer of Code 2014</a> (mentors: Margherita Di Leo, Martin Landa)
 
 <p>



More information about the grass-commit mailing list