From: Sandro Santilli Date: Tue, 29 Sep 2015 12:31:03 +0000 (+0000) Subject: Add reference_temporal.xml translation resource X-Git-Tag: 2.2.0~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45e08edd14aa05b13191379f46d480bc5d6be6e7;p=postgis Add reference_temporal.xml translation resource git-svn-id: http://svn.osgeo.org/postgis/trunk@14129 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/.tx/config b/doc/.tx/config index fe05eecdf..864984239 100644 --- a/doc/.tx/config +++ b/doc/.tx/config @@ -166,3 +166,8 @@ file_filter = po//using_raster_dataman.xml.po source_file = po/templates/using_raster_dataman.xml.pot source_lang = en +[postgis.reference_temporalxmlpot] +file_filter = po//reference_temporal.xml.po +source_file = po/templates/reference_temporal.xml.pot +source_lang = en + diff --git a/doc/po/templates/reference_temporal.xml.pot b/doc/po/templates/reference_temporal.xml.pot new file mode 100644 index 000000000..b4bc432db --- /dev/null +++ b/doc/po/templates/reference_temporal.xml.pot @@ -0,0 +1,277 @@ +# SOME DESCRIPTIVE TITLE. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2015-09-29 12:15+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Tag: title +#: reference_temporal.xml:3 +#, no-c-format +msgid "Temporal Support" +msgstr "" + +#. Tag: refname +#: reference_temporal.xml:8 +#, no-c-format +msgid "ST_IsValidTrajectory" +msgstr "" + +#. Tag: refpurpose +#: reference_temporal.xml:9 +#, no-c-format +msgid "Returns true if the geometry is a valid trajectory." +msgstr "" + +#. Tag: funcprototype +#: reference_temporal.xml:16 +#, no-c-format +msgid "boolean ST_IsValidTrajectory geometry line" +msgstr "" + +#. Tag: title +#: reference_temporal.xml:24 reference_temporal.xml:76 reference_temporal.xml:132 reference_temporal.xml:185 +#, no-c-format +msgid "Description" +msgstr "" + +#. Tag: para +#: reference_temporal.xml:26 +#, no-c-format +msgid "Tell if a geometry encodes a valid trajectory. Valid trajectories are encoded as LINESTRING with M value growing from each vertex to the next." +msgstr "" + +#. Tag: para +#: reference_temporal.xml:32 +#, no-c-format +msgid "Valid trajectories are expected as input to some spatio-temporal queries like " +msgstr "" + +#. Tag: para +#: reference_temporal.xml:37 reference_temporal.xml:90 reference_temporal.xml:141 reference_temporal.xml:197 +#, no-c-format +msgid "Availability: 2.2.0" +msgstr "" + +#. Tag: para +#: reference_temporal.xml:38 reference_temporal.xml:91 reference_temporal.xml:142 reference_temporal.xml:198 +#, no-c-format +msgid "&Z_support;" +msgstr "" + +#. Tag: title +#: reference_temporal.xml:43 reference_temporal.xml:96 reference_temporal.xml:147 reference_temporal.xml:203 +#, no-c-format +msgid "Examples" +msgstr "" + +#. Tag: programlisting +#: reference_temporal.xml:44 +#, no-c-format +msgid "" + "-- A valid trajectory\n" + "SELECT ST_IsValidTrajectory(ST_MakeLine(\n" + " ST_MakePointM(0,0,1),\n" + " ST_MakePointM(0,1,2))\n" + ");\n" + " t\n" + "\n" + "-- An invalid trajectory\n" + "SELECT ST_IsValidTrajectory(ST_MakeLine(ST_MakePointM(0,0,1), ST_MakePointM(0,1,0)));\n" + "NOTICE: Measure of vertex 1 (0) not bigger than measure of vertex 0 (1)\n" + " st_isvalidtrajectory\n" + "----------------------\n" + " f" +msgstr "" + +#. Tag: title +#: reference_temporal.xml:49 reference_temporal.xml:102 reference_temporal.xml:153 reference_temporal.xml:209 +#, no-c-format +msgid "See Also" +msgstr "" + +#. Tag: refname +#: reference_temporal.xml:59 +#, no-c-format +msgid "ST_ClosestPointOfApproach" +msgstr "" + +#. Tag: refpurpose +#: reference_temporal.xml:60 +#, no-c-format +msgid "Returns the measure at which points interpolated along two lines are closest." +msgstr "" + +#. Tag: funcprototype +#: reference_temporal.xml:67 +#, no-c-format +msgid "float8 ST_ClosestPointOfApproach geometry track1 geometry track2" +msgstr "" + +#. Tag: para +#: reference_temporal.xml:78 +#, no-c-format +msgid "Returns the smallest measure at which point interpolated along the given lines are at the smallest distance. Inputs must be valid trajectories as checked by . Null is returned if the trajectories do not overlap on the M range." +msgstr "" + +#. Tag: para +#: reference_temporal.xml:85 +#, no-c-format +msgid "See for getting the actual points at the given measure." +msgstr "" + +#. Tag: programlisting +#: reference_temporal.xml:97 +#, no-c-format +msgid "" + "-- Return the time in which two objects moving between 10:00 and 11:00\n" + "-- are closest to each other and their distance at that point\n" + "WITH inp AS ( SELECT\n" + " ST_AddMeasure('LINESTRING Z (0 0 0, 10 0 5)'::geometry,\n" + " extract(epoch from '2015-05-26 10:00'::timestamptz),\n" + " extract(epoch from '2015-05-26 11:00'::timestamptz)\n" + " ) a,\n" + " ST_AddMeasure('LINESTRING Z (0 2 10, 12 1 2)'::geometry,\n" + " extract(epoch from '2015-05-26 10:00'::timestamptz),\n" + " extract(epoch from '2015-05-26 11:00'::timestamptz)\n" + " ) b\n" + "), cpa AS (\n" + " SELECT ST_ClosestPointOfApproach(a,b) m FROM inp\n" + "), points AS (\n" + " SELECT ST_Force3DZ(ST_GeometryN(ST_LocateAlong(a,m),1)) pa,\n" + " ST_Force3DZ(ST_GeometryN(ST_LocateAlong(b,m),1)) pb\n" + " FROM inp, cpa\n" + ")\n" + "SELECT to_timestamp(m) t,\n" + " ST_Distance(pa,pb) distance\n" + "FROM points, cpa;\n" + "\n" + " t | distance\n" + "-------------------------------+------------------\n" + " 2015-05-26 10:45:31.034483+02 | 1.96036833151395" +msgstr "" + +#. Tag: para +#: reference_temporal.xml:103 +#, no-c-format +msgid ", , , " +msgstr "" + +#. Tag: refname +#: reference_temporal.xml:115 +#, no-c-format +msgid "ST_DistanceCPA" +msgstr "" + +#. Tag: refpurpose +#: reference_temporal.xml:116 +#, no-c-format +msgid "Returns the distance between closest points of approach in two trajectories." +msgstr "" + +#. Tag: funcprototype +#: reference_temporal.xml:123 +#, no-c-format +msgid "float8 ST_DistanceCPA geometry track1 geometry track2" +msgstr "" + +#. Tag: para +#: reference_temporal.xml:134 +#, no-c-format +msgid "Returns the minimum distance two moving objects have ever been each-other. Inputs must be valid trajectories as checked by . Null is returned if the trajectories do not overlap on the M range." +msgstr "" + +#. Tag: programlisting +#: reference_temporal.xml:148 +#, no-c-format +msgid "" + "-- Return the minimum distance of two objects moving between 10:00 and 11:00\n" + "WITH inp AS ( SELECT\n" + " ST_AddMeasure('LINESTRING Z (0 0 0, 10 0 5)'::geometry,\n" + " extract(epoch from '2015-05-26 10:00'::timestamptz),\n" + " extract(epoch from '2015-05-26 11:00'::timestamptz)\n" + " ) a,\n" + " ST_AddMeasure('LINESTRING Z (0 2 10, 12 1 2)'::geometry,\n" + " extract(epoch from '2015-05-26 10:00'::timestamptz),\n" + " extract(epoch from '2015-05-26 11:00'::timestamptz)\n" + " ) b\n" + ")\n" + "SELECT ST_DistanceCPA(a,b) distance FROM inp;\n" + "\n" + " distance\n" + "------------------\n" + " 1.96036833151395" +msgstr "" + +#. Tag: para +#: reference_temporal.xml:154 +#, no-c-format +msgid ", , , " +msgstr "" + +#. Tag: refname +#: reference_temporal.xml:166 +#, no-c-format +msgid "ST_CPAWithin" +msgstr "" + +#. Tag: refpurpose +#: reference_temporal.xml:167 +#, no-c-format +msgid "Returns true if the trajectories' closest points of approach are within the specified distance." +msgstr "" + +#. Tag: funcprototype +#: reference_temporal.xml:175 +#, no-c-format +msgid "float8 ST_CPAWithin geometry track1 geometry track2 float8 maxdist" +msgstr "" + +#. Tag: para +#: reference_temporal.xml:187 +#, no-c-format +msgid "Checks whether two moving objects have ever been within the specified max distance." +msgstr "" + +#. Tag: para +#: reference_temporal.xml:191 +#, no-c-format +msgid "Inputs must be valid trajectories as checked by . False is returned if the trajectories do not overlap on the M range." +msgstr "" + +#. Tag: programlisting +#: reference_temporal.xml:204 +#, no-c-format +msgid "" + "WITH inp AS ( SELECT\n" + " ST_AddMeasure('LINESTRING Z (0 0 0, 10 0 5)'::geometry,\n" + " extract(epoch from '2015-05-26 10:00'::timestamptz),\n" + " extract(epoch from '2015-05-26 11:00'::timestamptz)\n" + " ) a,\n" + " ST_AddMeasure('LINESTRING Z (0 2 10, 12 1 2)'::geometry,\n" + " extract(epoch from '2015-05-26 10:00'::timestamptz),\n" + " extract(epoch from '2015-05-26 11:00'::timestamptz)\n" + " ) b\n" + ")\n" + "SELECT ST_CPAWithin(a,b,2), ST_DistanceCPA(a,b) distance FROM inp;\n" + "\n" + " st_cpawithin | distance\n" + "--------------+------------------\n" + " t | 1.96521473776207" +msgstr "" + +#. Tag: para +#: reference_temporal.xml:210 +#, no-c-format +msgid ", , , " +msgstr "" +