You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2015/09/12 01:59:41 UTC
svn commit: r1702574 - in /sis/site/trunk/content: command-line.mdtext
release-management.mdtext
Author: desruisseaux
Date: Fri Sep 11 23:59:41 2015
New Revision: 1702574
URL: http://svn.apache.org/r1702574
Log:
Add CRS example.
Modified:
sis/site/trunk/content/command-line.mdtext
sis/site/trunk/content/release-management.mdtext
Modified: sis/site/trunk/content/command-line.mdtext
URL: http://svn.apache.org/viewvc/sis/site/trunk/content/command-line.mdtext?rev=1702574&r1=1702573&r2=1702574&view=diff
==============================================================================
--- sis/site/trunk/content/command-line.mdtext [UTF-8] (original)
+++ sis/site/trunk/content/command-line.mdtext [UTF-8] Fri Sep 11 23:59:41 2015
@@ -65,7 +65,41 @@ The set of legal options and the expecte
However all commands support the `--help` option, which lists the options available for that command.
-Extracting ISO 19115 metadata {#metadata}
+Extracting ISO 19111 Coordinate Reference System (CRS) {#crs}
+----------------------------------------------------------------
+
+SIS can read a Coordinate Reference System definition from the _Well Known Text_ (WKT) format version 1 and 2,
+or from _Geographic Markup Language_ (GML) version 3.2.
+The following example show the CRS of a GML file accessible from the web:
+
+ :::bash
+ sis crs http://svn.apache.org/repos/asf/sis/trunk/core/sis-referencing/src/test/resources/org/apache/sis/referencing/crs/ProjectedCRS.xml --format WKT
+
+The above command output should produce the following output:
+
+ :::text
+ PROJCRS["NTF (Paris) / Lambert zone II",
+ BASEGEODCRS["NTF (Paris)",
+ DATUM["Nouvelle Triangulation Francaise",
+ ELLIPSOID["Clarke 1880 (IGN)", 6378249.2, 293.4660212936269, LENGTHUNIT["metre", 1]]],
+ PRIMEM["Paris", 2.5969213, ANGLEUNIT["grade", 0.015707963267948967]]],
+ CONVERSION["Lambert zone II",
+ METHOD["Lambert Conic Conformal (1SP)", ID["EPSG", 9801]],
+ PARAMETER["Latitude of natural origin", 52.0, ANGLEUNIT["grade", 0.015707963267948967], ID["EPSG", 8801]],
+ PARAMETER["Longitude of natural origin", 0.0, ANGLEUNIT["grade", 0.015707963267948967], ID["EPSG", 8802]],
+ PARAMETER["Scale factor at natural origin", 0.99987742, SCALEUNIT["unity", 1], ID["EPSG", 8805]],
+ PARAMETER["False easting", 600000.0, LENGTHUNIT["metre", 1], ID["EPSG", 8806]],
+ PARAMETER["False northing", 2200000.0, LENGTHUNIT["metre", 1], ID["EPSG", 8807]]],
+ CS[Cartesian, 2],
+ AXIS["Easting (E)", east, ORDER[1]],
+ AXIS["Northing (N)", north, ORDER[2]],
+ LENGTHUNIT["metre", 1],
+ SCOPE["Large and medium scale topographic mapping and engineering survey."],
+ ID["EPSG", 27572, URI["urn:ogc:def:crs:EPSG::27572"]]]
+
+
+
+Extracting ISO 19115 Metadata {#metadata}
--------------------------------------------
SIS can read the header of a data file and print the metadata in an ISO 19115 structure.
Modified: sis/site/trunk/content/release-management.mdtext
URL: http://svn.apache.org/viewvc/sis/site/trunk/content/release-management.mdtext?rev=1702574&r1=1702573&r2=1702574&view=diff
==============================================================================
--- sis/site/trunk/content/release-management.mdtext [UTF-8] (original)
+++ sis/site/trunk/content/release-management.mdtext [UTF-8] Fri Sep 11 23:59:41 2015
@@ -490,6 +490,7 @@ Execute the following commands in any te
bin/sis about --verbose
bin/sis metadata http://catalog.data.gov/harvest/object/df138a1b-e7cb-4ca4-b7c3-316135e81b16
bin/sis metadata https://github.com/opengeospatial/geoapi/raw/master/geoapi-netcdf/src/test/resources/org/opengis/wrapper/netcdf/NCEP-SST.nc
+ bin/sis crs http://svn.apache.org/repos/asf/sis/trunk/core/sis-referencing/src/test/resources/org/apache/sis/referencing/crs/ProjectedCRS.xml --format WKT