sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r933764 - in /websites/staging/sis/trunk/content: ./ code-patterns.html contributor.html
Date Tue, 23 Dec 2014 12:36:08 GMT
Author: buildbot
Date: Tue Dec 23 12:36:07 2014
New Revision: 933764

Log:
Staging update by buildbot for sis

Modified:
    websites/staging/sis/trunk/content/   (props changed)
    websites/staging/sis/trunk/content/code-patterns.html
    websites/staging/sis/trunk/content/contributor.html

Propchange: websites/staging/sis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Dec 23 12:36:07 2014
@@ -1 +1 @@
-1647504
+1647565

Modified: websites/staging/sis/trunk/content/code-patterns.html
==============================================================================
--- websites/staging/sis/trunk/content/code-patterns.html (original)
+++ websites/staging/sis/trunk/content/code-patterns.html Tue Dec 23 12:36:07 2014
@@ -106,12 +106,11 @@
 <h2 id="axisOrder">Never explicitely swap ordinates for axis order</h2>
 <p>The <a href="faq.html#axisOrder">axis order issue</a> causes lot of
confusion,
 and developers are sometime tempted to swap their ordinate values in order to comply with
some expected axis ordering.
-It should never be necessary, since the Apache SIS referencing engine manages axis order
transparently - provided that
+It should never be necessary, since the Apache SIS referencing engine manages axis order
transparently — provided that
 the Coordinate Reference System (<abbr title="Coordinate Reference System">CRS</abbr>)
definition is accurate. If a code needs to swap ordinates, this is probably an
 indication that the <abbr title="Coordinate Reference System">CRS</abbr> has
not been properly defined. Instead than patching the coordinate values, try to make sure
 that the <em>Source <abbr title="Coordinate Reference System"><abbr title="Coordinate
Reference System">CRS</abbr></abbr></em> (associated to the original
data) and the <em>Target <abbr title="Coordinate Reference System"><abbr title="Coordinate
Reference System">CRS</abbr></abbr></em> (the coordinate space where
to perform the
-work) are properly defined, and let the referencing engine performs the conversion from the
source to the target <abbr title="Coordinate Reference System">CRS</abbr>.
-For example when fetching the <abbr title="Coordinate Reference System">CRS</abbr>,
make sure that the proper boolean value is given to the <code>CRS.forCode(…)</code>
method.</p>
+work) are properly defined, and let the referencing engine performs the conversion from the
source to the target <abbr title="Coordinate Reference System">CRS</abbr>.</p>
 <h1 id="coverage">Coverages</h1>
 <p>Recommended code pattern when using the <code>sis-coverage</code> module.</p>
 <h2 id="gridToCRS">Georeference images with affine transforms, <em>not</em>
bounding boxes</h2>

Modified: websites/staging/sis/trunk/content/contributor.html
==============================================================================
--- websites/staging/sis/trunk/content/contributor.html (original)
+++ websites/staging/sis/trunk/content/contributor.html Tue Dec 23 12:36:07 2014
@@ -185,40 +185,45 @@ Developers can specify default propertie
 <ul>
 <li>Open <code>~/.subversion/config</code> in an editor, where <code>~</code>
is the user home directory.</li>
 <li>Set the <code>enable-auto-props</code> value to <code>yes</code>.</li>
-<li>
-<p>Scroll down to the <code>[auto-props]</code> section and add the following
lines:</p>
-<div class="codehilite"><pre>*.java       = svn:mime-type=text/plain;svn:eol-style=native
-*.sql        = svn:mime-type=text/plain;svn:eol-style=native
-*.txt        = svn:mime-type=text/plain;svn:eol-style=native
-*.properties = svn:mime-type=text/plain;svn:eol-style=native
-*.xml        = svn:mime-type=text/xml;svn:eol-style=native
-*.xsd        = svn:mime-type=text/xml;svn:eol-style=native
-*.sld        = svn:mime-type=text/xml;svn:eol-style=native
-*.gml        = svn:mime-type=text/xml;svn:eol-style=native
-*.xsl        = svn:mime-type=text/xsl;svn:eol-style=native
-*.html       = svn:mime-type=text/html;svn:eol-style=native
-*.xhtml      = svn:mime-type=text/html;svn:eol-style=native
-*.css        = svn:mime-type=text/css;svn:eol-style=native
-*.bat        = svn:eol-style=CRLF
-*.sh         = svn:eol-style=native;svn:executable
-*.bmp        = svn:mime-type=image/bmp
-*.png        = svn:mime-type=image/png
-*.jpg        = svn:mime-type=image/jpeg
-*.jpeg       = svn:mime-type=image/jpeg
-*.gif        = svn:mime-type=image/gif
-*.tif        = svn:mime-type=image/tiff
-*.tiff       = svn:mime-type=image/tiff
-*.zip        = svn:mime-type=application/zip
-*.utf        = svn:mime-type=application/octet-stream
-*.shp        = svn:mime-type=application/octet-stream
-*.shx        = svn:mime-type=application/octet-stream
-*.dbf        = svn:mime-type=application/octet-stream
-README       = svn:mime-type=text/plain;svn:eol-style=native
-</pre></div>
-
-
-</li>
+<li>Scroll down to the <code>[auto-props]</code> section and make sure
to assign the appropriate
+    (usually <code>native</code>) value to the End Of Line (EOL) style of the
files to be edited.</li>
 </ul>
+<p>Below is an example of a portion of Subversion configuration file:</p>
+<div class="codehilite"><pre><span class="k">[miscellany]</span>
+<span class="na">enable-auto-props</span> <span class="o">=</span>
<span class="s">yes</span>
+
+<span class="c"># Section for configuring automatic properties.</span>
+<span class="c"># The file-name-pattern can contain wildcards such as &#39;*&#39;
and &#39;?&#39;.</span>
+<span class="c"># All entries which match will be applied to the file.</span>
+<span class="k">[auto-props]</span>
+<span class="na">*.java</span>       <span class="o">=</span> <span
class="s">svn:mime-type=text/plain;svn:eol-style=native</span>
+<span class="na">*.sql</span>        <span class="o">=</span> <span
class="s">svn:mime-type=text/plain;svn:eol-style=native</span>
+<span class="na">*.txt</span>        <span class="o">=</span> <span
class="s">svn:mime-type=text/plain;svn:eol-style=native</span>
+<span class="na">*.properties</span> <span class="o">=</span> <span
class="s">svn:mime-type=text/plain;svn:eol-style=native</span>
+<span class="na">*.xml</span>        <span class="o">=</span> <span
class="s">svn:mime-type=text/xml;svn:eol-style=native</span>
+<span class="na">*.xsd</span>        <span class="o">=</span> <span
class="s">svn:mime-type=text/xml;svn:eol-style=native</span>
+<span class="na">*.sld</span>        <span class="o">=</span> <span
class="s">svn:mime-type=text/xml;svn:eol-style=native</span>
+<span class="na">*.gml</span>        <span class="o">=</span> <span
class="s">svn:mime-type=text/xml;svn:eol-style=native</span>
+<span class="na">*.xsl</span>        <span class="o">=</span> <span
class="s">svn:mime-type=text/xsl;svn:eol-style=native</span>
+<span class="na">*.html</span>       <span class="o">=</span> <span
class="s">svn:mime-type=text/html;svn:eol-style=native</span>
+<span class="na">*.xhtml</span>      <span class="o">=</span> <span
class="s">svn:mime-type=text/html;svn:eol-style=native</span>
+<span class="na">*.css</span>        <span class="o">=</span> <span
class="s">svn:mime-type=text/css;svn:eol-style=native</span>
+<span class="na">*.bat</span>        <span class="o">=</span> <span
class="s">svn:eol-style=CRLF</span>
+<span class="na">*.sh</span>         <span class="o">=</span> <span
class="s">svn:eol-style=native;svn:executable</span>
+<span class="na">*.bmp</span>        <span class="o">=</span> <span
class="s">svn:mime-type=image/bmp</span>
+<span class="na">*.png</span>        <span class="o">=</span> <span
class="s">svn:mime-type=image/png</span>
+<span class="na">*.jpg</span>        <span class="o">=</span> <span
class="s">svn:mime-type=image/jpeg</span>
+<span class="na">*.jpeg</span>       <span class="o">=</span> <span
class="s">svn:mime-type=image/jpeg</span>
+<span class="na">*.gif</span>        <span class="o">=</span> <span
class="s">svn:mime-type=image/gif</span>
+<span class="na">*.tif</span>        <span class="o">=</span> <span
class="s">svn:mime-type=image/tiff</span>
+<span class="na">*.tiff</span>       <span class="o">=</span> <span
class="s">svn:mime-type=image/tiff</span>
+<span class="na">*.zip</span>        <span class="o">=</span> <span
class="s">svn:mime-type=application/zip</span>
+<span class="na">*.utf</span>        <span class="o">=</span> <span
class="s">svn:mime-type=application/octet-stream</span>
+<span class="na">*.shp</span>        <span class="o">=</span> <span
class="s">svn:mime-type=application/octet-stream</span>
+<span class="na">*.shx</span>        <span class="o">=</span> <span
class="s">svn:mime-type=application/octet-stream</span>
+<span class="na">*.dbf</span>        <span class="o">=</span> <span
class="s">svn:mime-type=application/octet-stream</span>
+<span class="na">README</span>       <span class="o">=</span> <span
class="s">svn:mime-type=text/plain;svn:eol-style=native</span>
+</pre></div>
             </article>
           </section>
         </div><!--/span-->



Mime
View raw message