Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/postgis-workshop/equality/zh_Hans/units/?format=api
https://weblate.osgeo.org/api/translations/postgis-workshop/equality/zh_Hans/?format=api", "source": [ "Equality" ], "previous_source": "", "target": [ "等同性" ], "id_hash": -2317610021497273498, "content_hash": -2317610021497273498, "location": "../../en/equality.rst:4, ../../en/equality.rst:7", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 1, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://weblate.osgeo.org/api/units/102565/?format=api", "priority": 100, "id": 2236646, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/equality/zh_Hans/?checksum=5fd631f6f4c50366", "url": "https://weblate.osgeo.org/api/units/2236646/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-23T02:53:21.962474Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/equality/zh_Hans/?format=api", "source": [ "Determining equality when dealing with geometries can be tricky. PostGIS supports three different functions that can be used to determine different levels of equality, though for clarity we will use the definitions below. To illustrate these functions, we will use the following polygons." ], "previous_source": "", "target": [ "在空间数据处理中,几何对象的等同性判断可能较为复杂。PostGIS 提供三种不同的函数来实现不同级别的等同性判断,为明确起见,我们采用以下定义。以下面这组多边形为例进行说明。" ], "id_hash": 7946780267764366538, "content_hash": 7946780267764366538, "location": "../../en/equality.rst:9", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 43, "source_unit": "https://weblate.osgeo.org/api/units/102570/?format=api", "priority": 100, "id": 2236647, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/equality/zh_Hans/?checksum=ee48a28cb82dbcca", "url": "https://weblate.osgeo.org/api/units/2236647/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-23T02:53:21.967358Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/equality/zh_Hans/?format=api", "source": [ "These polygons are loaded using the following commands." ], "previous_source": "", "target": [ "以下命令用于加载这些多边形数据。" ], "id_hash": -2042575161975514649, "content_hash": -2042575161975514649, "location": "../../en/equality.rst:14", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 3, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://weblate.osgeo.org/api/units/102572/?format=api", "priority": 100, "id": 2236648, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/equality/zh_Hans/?checksum=63a750b65369d9e7", "url": "https://weblate.osgeo.org/api/units/2236648/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-23T02:53:21.971040Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/equality/zh_Hans/?format=api", "source": [ "Exactly Equal" ], "previous_source": "", "target": [ "完全相等" ], "id_hash": 566985334275110919, "content_hash": 566985334275110919, "location": "../../en/equality.rst:36", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 4, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://weblate.osgeo.org/api/units/102575/?format=api", "priority": 100, "id": 2236649, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/equality/zh_Hans/?checksum=87de56285252f807", "url": "https://weblate.osgeo.org/api/units/2236649/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-23T02:53:21.974512Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/equality/zh_Hans/?format=api", "source": [ "Exact equality is determined by comparing two geometries, vertex by vertex, in order, to ensure they are identical in position. The following examples show how this method can be limited in its effectiveness." ], "previous_source": "", "target": [ "精确相等性通过逐顶点顺序比对两个几何图形的位置是否完全一致来确定。以下示例展示了该方法的局限性。" ], "id_hash": -5117845704595963143, "content_hash": -5117845704595963143, "location": "../../en/equality.rst:38", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 5, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 33, "source_unit": "https://weblate.osgeo.org/api/units/102578/?format=api", "priority": 100, "id": 2236650, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/equality/zh_Hans/?checksum=38f9c2727a4c82f9", "url": "https://weblate.osgeo.org/api/units/2236650/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-23T02:53:21.977662Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/equality/zh_Hans/?format=api", "source": [ "In this example, the polygons are only equal to themselves, not to other seemingly equivalent polygons (as in the case of Polygons 1 through 3). In the case of Polygons 1, 2, and 3, the vertices are in identical positions but are defined in differing orders. Polygon 4 has colinear (and thus redundant) vertices on the hexagon edges causing inequality with Polygon 1." ], "previous_source": "", "target": [ "在示例中,这些多边形仅与自身相等,而不会与其他看似相同的多边形相等(例如多边形 1 到 3 的情况)。对于多边形 1、2 和 3,它们的顶点位置相同,但定义顺序不同。而多边形 4 在六边形的边上包含共线(因此是多余的)顶点,导致它与多边形 1 不相等。" ], "id_hash": -5019757775024587984, "content_hash": -5019757775024587984, "location": "../../en/equality.rst:50", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 6, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 63, "source_unit": "https://weblate.osgeo.org/api/units/102581/?format=api", "priority": 100, "id": 2236651, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/equality/zh_Hans/?checksum=3a563ce641277b30", "url": "https://weblate.osgeo.org/api/units/2236651/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-23T02:53:21.981529Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/equality/zh_Hans/?format=api", "source": [ "Spatially Equal" ], "previous_source": "", "target": [ "空间相等" ], "id_hash": 4465434145767079290, "content_hash": 4465434145767079290, "location": "../../en/equality.rst:53", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 7, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://weblate.osgeo.org/api/units/102584/?format=api", "priority": 100, "id": 2236652, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/equality/zh_Hans/?checksum=bdf868b25a58bd7a", "url": "https://weblate.osgeo.org/api/units/2236652/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-23T02:53:21.984959Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/equality/zh_Hans/?format=api", "source": [ "As we saw above, exact equality does not take into account the spatial nature of the geometries. There is an function, aptly named :command:`ST_Equals`, available to test the spatial equality or equivalence of geometries." ], "previous_source": "", "target": [ "如前述所示,精确相等性检测并未考虑几何图形的空间特性。为此,系统专门提供:command:`ST_Equals`函数,用于检测几何图形间的空间相等性或等价关系。" ], "id_hash": -7674037832862139191, "content_hash": -7674037832862139191, "location": "../../en/equality.rst:55", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 8, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 34, "source_unit": "https://weblate.osgeo.org/api/units/102587/?format=api", "priority": 100, "id": 2236653, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/equality/zh_Hans/?checksum=1580573ff357fcc9", "url": "https://weblate.osgeo.org/api/units/2236653/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-23T02:53:21.988526Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/equality/zh_Hans/?format=api", "source": [ "These results are more in line with our intuitive understanding of equality. Polygons 1 through 4 are considered equal, since they enclose the same area. Note that neither the direction of the polygon is drawn, the starting point for defining the polygon, nor the number of points used are important here. What is important is that the polygons contain the same space." ], "previous_source": "", "target": [ "这一结果更符合我们对\"相等性\"的直观理解——多边形1至4因其包围的区域完全相同而被判定为相等。需特别注意:多边形的绘制方向、定义起点或顶点数量均不影响判定,关键在于多边形是否占据相同的空间范围。" ], "id_hash": 7416905116199256994, "content_hash": 7416905116199256994, "location": "../../en/equality.rst:67", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 9, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 62, "source_unit": "https://weblate.osgeo.org/api/units/102589/?format=api", "priority": 100, "id": 2236654, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/equality/zh_Hans/?checksum=e6ee23e81fd583a2", "url": "https://weblate.osgeo.org/api/units/2236654/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-23T02:53:21.992329Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/equality/zh_Hans/?format=api", "source": [ "Equal Bounds" ], "previous_source": "", "target": [ "边界相等" ], "id_hash": 6256841702375338629, "content_hash": 6256841702375338629, "location": "../../en/equality.rst:70", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 10, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://weblate.osgeo.org/api/units/102591/?format=api", "priority": 100, "id": 2236655, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/equality/zh_Hans/?checksum=d6d4c460cdeeb285", "url": "https://weblate.osgeo.org/api/units/2236655/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-23T02:53:21.996086Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/equality/zh_Hans/?format=api", "source": [ "Exact equality requires, in the worst case, comparison of each and every vertex in the geometry to determine equality. This can be slow, and may not be appropriate for comparing huge numbers of geometries. To allow for speedier comparison, the equal bounds operator, :command:`~=`, is provided. This operates only on the bounding box (rectangle), ensuring that the geometries occupy the same two dimensional extent, but not necessarily the same space." ], "previous_source": "", "target": [ "精确相等性检测在最坏情况下需要逐顶点比对几何图形的所有坐标点,这种计算可能较慢,尤其不适用于海量几何数据的比对。为提升比对效率,系统提供了边界相等运算符 :command:`~=`,该运算符仅对比几何图形的外包矩形(边界框),确保几何体占据相同的二维空间范围,但不保证实际空间位置完全一致。" ], "id_hash": -6645302249079624323, "content_hash": -6645302249079624323, "location": "../../en/equality.rst:72", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 11, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 70, "source_unit": "https://weblate.osgeo.org/api/units/102594/?format=api", "priority": 100, "id": 2236656, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/equality/zh_Hans/?checksum=23c724d012812d7d", "url": "https://weblate.osgeo.org/api/units/2236656/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-23T02:53:21.999556Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/equality/zh_Hans/?format=api", "source": [ "As you can see, all of our spatially equal geometries also have equal bounds. Unfortunately, Polygon 5 is also returned as equal under this test, because it shares the same bounding box as the other geometries. Why is this useful, then? Although this will be covered in detail later, the short answer is that this enables the use of spatial indexing that can quickly reduce huge comparison sets into more manageable blocks when joining or filtering data." ], "previous_source": "", "target": [ "如图所示,所有空间相等的几何图形必然具有相等的边界框。但值得注意的是,多边形5在此测试中也会被判定为相等——因其边界框与其他图形重合。这种机制的实用价值在于:虽然后续将详细阐述,但简而言之,它能利用空间索引在数据连接或过滤时,将海量比对集快速缩减至更易处理的区块规模。" ], "id_hash": -3816195773137581218, "content_hash": -3816195773137581218, "location": "../../en/equality.rst:84", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 12, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 77, "source_unit": "https://weblate.osgeo.org/api/units/102597/?format=api", "priority": 100, "id": 2236657, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/equality/zh_Hans/?checksum=4b0a2629d4c98b5e", "url": "https://weblate.osgeo.org/api/units/2236657/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-23T02:53:22.003281Z" } ] }{ "count": 12, "next": null, "previous": null, "results": [ { "translation": "