Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/postgis-workshop/validity/en/units/?format=api
https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Validity" ], "previous_source": "", "target": [ "Validity" ], "id_hash": -2998093920626744199, "content_hash": -2998093920626744199, "location": "../../en/validity.rst:4", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "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/98520/?format=api", "priority": 100, "id": 98520, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=5664a176b9c8e479", "url": "https://weblate.osgeo.org/api/units/98520/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.405684Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "In 90% of the cases the answer to the question, \"why is my query giving me a 'TopologyException' error\" is \"one or more of the inputs are invalid\". Which begs the question: what does it mean to be invalid, and why should we care?" ], "previous_source": "", "target": [ "In 90% of the cases the answer to the question, \"why is my query giving me a 'TopologyException' error\" is \"one or more of the inputs are invalid\". Which begs the question: what does it mean to be invalid, and why should we care?" ], "id_hash": -5490007472188878121, "content_hash": -5490007472188878121, "location": "../../en/validity.rst:6", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 2, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 44, "source_unit": "https://weblate.osgeo.org/api/units/98525/?format=api", "priority": 100, "id": 98525, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=33cf934a95f112d7", "url": "https://weblate.osgeo.org/api/units/98525/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.439117Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "What is Validity" ], "previous_source": "", "target": [ "What is Validity" ], "id_hash": -1312699140463621817, "content_hash": -1312699140463621817, "location": "../../en/validity.rst:9", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 3, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://weblate.osgeo.org/api/units/98529/?format=api", "priority": 100, "id": 98529, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=6dc85b1633b48947", "url": "https://weblate.osgeo.org/api/units/98529/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.462265Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Validity is most important for polygons, which define bounded areas and require a good deal of structure. Lines are very simple and cannot be invalid, nor can points." ], "previous_source": "", "target": [ "Validity is most important for polygons, which define bounded areas and require a good deal of structure. Lines are very simple and cannot be invalid, nor can points." ], "id_hash": -1545514696988177758, "content_hash": -1545514696988177758, "location": "../../en/validity.rst:11", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 4, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 28, "source_unit": "https://weblate.osgeo.org/api/units/98533/?format=api", "priority": 100, "id": 98533, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=6a8d3a9252dfcaa2", "url": "https://weblate.osgeo.org/api/units/98533/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.485763Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Some of the rules of polygon validity feel obvious, and others feel arbitrary (and in fact, are arbitrary)." ], "previous_source": "", "target": [ "Some of the rules of polygon validity feel obvious, and others feel arbitrary (and in fact, are arbitrary)." ], "id_hash": 7135114083180974305, "content_hash": 7135114083180974305, "location": "../../en/validity.rst:13", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 5, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://weblate.osgeo.org/api/units/98537/?format=api", "priority": 100, "id": 98537, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=e305047487e390e1", "url": "https://weblate.osgeo.org/api/units/98537/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.512337Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Polygon rings must close." ], "previous_source": "", "target": [ "Polygon rings must close." ], "id_hash": -5219745363294212566, "content_hash": -5219745363294212566, "location": "../../en/validity.rst:15", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 6, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://weblate.osgeo.org/api/units/98540/?format=api", "priority": 100, "id": 98540, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=378fbd3f5adb2e2a", "url": "https://weblate.osgeo.org/api/units/98540/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.541716Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Rings that define holes should be inside rings that define exterior boundaries." ], "previous_source": "", "target": [ "Rings that define holes should be inside rings that define exterior boundaries." ], "id_hash": -80390890445372441, "content_hash": -80390890445372441, "location": "../../en/validity.rst:16", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 7, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://weblate.osgeo.org/api/units/98543/?format=api", "priority": 100, "id": 98543, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=7ee264e93bd383e7", "url": "https://weblate.osgeo.org/api/units/98543/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.569659Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Rings may not self-intersect (they may neither touch nor cross themselves)." ], "previous_source": "", "target": [ "Rings may not self-intersect (they may neither touch nor cross themselves)." ], "id_hash": -863404096831938247, "content_hash": -863404096831938247, "location": "../../en/validity.rst:17", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 8, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://weblate.osgeo.org/api/units/98545/?format=api", "priority": 100, "id": 98545, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=7404928c66b72139", "url": "https://weblate.osgeo.org/api/units/98545/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.595200Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Rings may not touch other rings, except at a point." ], "previous_source": "", "target": [ "Rings may not touch other rings, except at a point." ], "id_hash": -7558031804139206053, "content_hash": -7558031804139206053, "location": "../../en/validity.rst:18", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 9, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://weblate.osgeo.org/api/units/98547/?format=api", "priority": 100, "id": 98547, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=171c7a1e492d8a5b", "url": "https://weblate.osgeo.org/api/units/98547/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.619866Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Elements of multi-polygons may not touch each other." ], "previous_source": "", "target": [ "Elements of multi-polygons may not touch each other." ], "id_hash": 3097552135095748492, "content_hash": 3097552135095748492, "location": "../../en/validity.rst:19", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 10, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://weblate.osgeo.org/api/units/98550/?format=api", "priority": 100, "id": 98550, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=aafcb7415da2878c", "url": "https://weblate.osgeo.org/api/units/98550/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.643207Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "The last three rules are in the arbitrary category. There are other ways to define polygons that are equally self-consistent but the rules above are the ones used by the :term:`OGC` :term:`SFSQL` standard that PostGIS conforms to." ], "previous_source": "", "target": [ "The last three rules are in the arbitrary category. There are other ways to define polygons that are equally self-consistent but the rules above are the ones used by the :term:`OGC` :term:`SFSQL` standard that PostGIS conforms to." ], "id_hash": 5228853626058833738, "content_hash": 5228853626058833738, "location": "../../en/validity.rst:21", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 11, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 37, "source_unit": "https://weblate.osgeo.org/api/units/98553/?format=api", "priority": 100, "id": 98553, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=c8909eab53bfff4a", "url": "https://weblate.osgeo.org/api/units/98553/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.665071Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "The reason the rules are important is because algorithms for geometry calculations depend on consistent structure in the inputs. It is possible to build algorithms that have no structural assumptions, but those routines tend to be very slow, because the first step in any structure-free routine is to *analyze the inputs and build structure into them*." ], "previous_source": "", "target": [ "The reason the rules are important is because algorithms for geometry calculations depend on consistent structure in the inputs. It is possible to build algorithms that have no structural assumptions, but those routines tend to be very slow, because the first step in any structure-free routine is to *analyze the inputs and build structure into them*." ], "id_hash": 4422534044296147374, "content_hash": 4422534044296147374, "location": "../../en/validity.rst:23", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 12, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 56, "source_unit": "https://weblate.osgeo.org/api/units/98556/?format=api", "priority": 100, "id": 98556, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=bd5fff481d57f1ae", "url": "https://weblate.osgeo.org/api/units/98556/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.687485Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Here's an example of why structure matters. This polygon is invalid:" ], "previous_source": "", "target": [ "Here's an example of why structure matters. This polygon is invalid:" ], "id_hash": 2009734378421132725, "content_hash": 2009734378421132725, "location": "../../en/validity.rst:25", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 13, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://weblate.osgeo.org/api/units/98559/?format=api", "priority": 100, "id": 98559, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=9be402c4e6ae9db5", "url": "https://weblate.osgeo.org/api/units/98559/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.710784Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "You can see the invalidity a little more clearly in this diagram:" ], "previous_source": "", "target": [ "You can see the invalidity a little more clearly in this diagram:" ], "id_hash": -770122141746348536, "content_hash": -770122141746348536, "location": "../../en/validity.rst:31", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 14, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://weblate.osgeo.org/api/units/98562/?format=api", "priority": 100, "id": 98562, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=754ff9fe0b8bbe08", "url": "https://weblate.osgeo.org/api/units/98562/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.732830Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "The outer ring is actually a figure-eight, with a self-intersection in the middle. Note that the graphic routines successfully render the polygon fill, so that visually it is appears to be an \"area\": two one-unit squares, so a total area of two units of area." ], "previous_source": "", "target": [ "The outer ring is actually a figure-eight, with a self-intersection in the middle. Note that the graphic routines successfully render the polygon fill, so that visually it is appears to be an \"area\": two one-unit squares, so a total area of two units of area." ], "id_hash": -4809167315893454366, "content_hash": -4809167315893454366, "location": "../../en/validity.rst:35", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 15, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 45, "source_unit": "https://weblate.osgeo.org/api/units/98565/?format=api", "priority": 100, "id": 98565, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=3d4267ce66c079e2", "url": "https://weblate.osgeo.org/api/units/98565/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.755616Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Let's see what the database thinks the area of our polygon is:" ], "previous_source": "", "target": [ "Let's see what the database thinks the area of our polygon is:" ], "id_hash": -9116193529752297737, "content_hash": -9116193529752297737, "location": "../../en/validity.rst:37", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 16, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://weblate.osgeo.org/api/units/98578/?format=api", "priority": 100, "id": 98578, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=017cc648cb665ef7", "url": "https://weblate.osgeo.org/api/units/98578/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.778872Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "What's going on here? The algorithm that calculates area assumes that rings do not self-intersect. A well-behaved ring will always have the area that is bounded (the interior) on one side of the bounding line (it doesn't matter which side, just that it is on *one* side). However, in our (poorly behaved) figure-eight, the bounded area is to the right of the line for one lobe and to the left for the other. This causes the areas calculated for each lobe to cancel out (one comes out as 1, the other as -1) hence the \"zero area\" result." ], "previous_source": "", "target": [ "What's going on here? The algorithm that calculates area assumes that rings do not self-intersect. A well-behaved ring will always have the area that is bounded (the interior) on one side of the bounding line (it doesn't matter which side, just that it is on *one* side). However, in our (poorly behaved) figure-eight, the bounded area is to the right of the line for one lobe and to the left for the other. This causes the areas calculated for each lobe to cancel out (one comes out as 1, the other as -1) hence the \"zero area\" result." ], "id_hash": 5210100785638772101, "content_hash": 5210100785638772101, "location": "../../en/validity.rst:51", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 17, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 98, "source_unit": "https://weblate.osgeo.org/api/units/98594/?format=api", "priority": 100, "id": 98594, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=c84dff0f6bfb8d85", "url": "https://weblate.osgeo.org/api/units/98594/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.801273Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Detecting Validity" ], "previous_source": "", "target": [ "Detecting Validity" ], "id_hash": -3444696797709114683, "content_hash": -3444696797709114683, "location": "../../en/validity.rst:55", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 18, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://weblate.osgeo.org/api/units/98597/?format=api", "priority": 100, "id": 98597, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=5031fa83659f62c5", "url": "https://weblate.osgeo.org/api/units/98597/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.824830Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "In the previous example we had one polygon that we **knew** was invalid. How do we detect invalidity in a table with millions of geometries? With the :command:`ST_IsValid(geometry)` function. Used against our figure-eight, we get a quick answer:" ], "previous_source": "", "target": [ "In the previous example we had one polygon that we **knew** was invalid. How do we detect invalidity in a table with millions of geometries? With the :command:`ST_IsValid(geometry)` function. Used against our figure-eight, we get a quick answer:" ], "id_hash": 3857696549550151327, "content_hash": 3857696549550151327, "location": "../../en/validity.rst:57", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 19, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 38, "source_unit": "https://weblate.osgeo.org/api/units/98600/?format=api", "priority": 100, "id": 98600, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=b5894a92a72fd69f", "url": "https://weblate.osgeo.org/api/units/98600/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.847077Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Now we know that the feature is invalid, but we don't know why. We can use the :command:`ST_IsValidReason(geometry)` function to find out the source of the invalidity:" ], "previous_source": "", "target": [ "Now we know that the feature is invalid, but we don't know why. We can use the :command:`ST_IsValidReason(geometry)` function to find out the source of the invalidity:" ], "id_hash": 3287607699251323512, "content_hash": 3287607699251323512, "location": "../../en/validity.rst:69", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 20, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://weblate.osgeo.org/api/units/98603/?format=api", "priority": 100, "id": 98603, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=ad9fedc8b2b6e278", "url": "https://weblate.osgeo.org/api/units/98603/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.869672Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Note that in addition to the reason (self-intersection) the location of the invalidity (coordinate (1 1)) is also returned." ], "previous_source": "", "target": [ "Note that in addition to the reason (self-intersection) the location of the invalidity (coordinate (1 1)) is also returned." ], "id_hash": 5041198749437647816, "content_hash": 5041198749437647816, "location": "../../en/validity.rst:81", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 21, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://weblate.osgeo.org/api/units/98606/?format=api", "priority": 100, "id": 98606, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=c5f5ef8d9e5fdbc8", "url": "https://weblate.osgeo.org/api/units/98606/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.892919Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "We can use the :command:`ST_IsValid(geometry)` function to test our tables too:" ], "previous_source": "", "target": [ "We can use the :command:`ST_IsValid(geometry)` function to test our tables too:" ], "id_hash": 1952005204194092787, "content_hash": 1952005204194092787, "location": "../../en/validity.rst:83", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 22, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://weblate.osgeo.org/api/units/98609/?format=api", "priority": 100, "id": 98609, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=9b16ea641bb3e6f3", "url": "https://weblate.osgeo.org/api/units/98609/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.915304Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Repairing Invalidity" ], "previous_source": "", "target": [ "Repairing Invalidity" ], "id_hash": -2786271840764271704, "content_hash": -2786271840764271704, "location": "../../en/validity.rst:104", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 23, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://weblate.osgeo.org/api/units/98617/?format=api", "priority": 100, "id": 98617, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=59552c85eb9263a8", "url": "https://weblate.osgeo.org/api/units/98617/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.938244Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Repairing invalidity involves stripping a polygon down to its simplest structures (rings), ensuring the rings follow the rules of validity, then building up new polygons that follow the rules of ring enclosure. Frequently the results are intuitive, but in the case of extremely ill-behaved inputs, the valid outputs may not conform to your intuition of how they should look. Recent versions of PostGIS include different algorithms for geometry repair: read the `manual page <http://postgis.net/docs/ST_MakeValid.html>`_ carefully and choose the one you like best." ], "previous_source": "", "target": [ "Repairing invalidity involves stripping a polygon down to its simplest structures (rings), ensuring the rings follow the rules of validity, then building up new polygons that follow the rules of ring enclosure. Frequently the results are intuitive, but in the case of extremely ill-behaved inputs, the valid outputs may not conform to your intuition of how they should look. Recent versions of PostGIS include different algorithms for geometry repair: read the `manual page <http://postgis.net/docs/ST_MakeValid.html>`_ carefully and choose the one you like best." ], "id_hash": 1559508789939267829, "content_hash": 1559508789939267829, "location": "../../en/validity.rst:106", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 24, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 82, "source_unit": "https://weblate.osgeo.org/api/units/98632/?format=api", "priority": 100, "id": 98632, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=95a47cfb586de8f5", "url": "https://weblate.osgeo.org/api/units/98632/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.960676Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "For example, here's a classic invalidity -- the \"banana polygon\" -- a single ring that encloses an area but bends around to touch itself, leaving a \"hole\" which is not actually a hole." ], "previous_source": "", "target": [ "For example, here's a classic invalidity -- the \"banana polygon\" -- a single ring that encloses an area but bends around to touch itself, leaving a \"hole\" which is not actually a hole." ], "id_hash": 7283429983731129689, "content_hash": 7283429983731129689, "location": "../../en/validity.rst:108", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 25, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 33, "source_unit": "https://weblate.osgeo.org/api/units/98639/?format=api", "priority": 100, "id": 98639, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=e513f0fb1eb91d59", "url": "https://weblate.osgeo.org/api/units/98639/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:38.984160Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Running `ST_MakeValid <http://postgis.net/docs/ST_MakeValid.html>`_ on the polygon returns a valid :term:`OGC` polygon, consisting of an outer and inner ring that touch at one point." ], "previous_source": "", "target": [ "Running `ST_MakeValid <http://postgis.net/docs/ST_MakeValid.html>`_ on the polygon returns a valid :term:`OGC` polygon, consisting of an outer and inner ring that touch at one point." ], "id_hash": 3157907675901554270, "content_hash": 3157907675901554270, "location": "../../en/validity.rst:117", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 26, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://weblate.osgeo.org/api/units/98641/?format=api", "priority": 100, "id": 98641, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=abd3244cc7976e5e", "url": "https://weblate.osgeo.org/api/units/98641/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:39.006606Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "The \"banana polygon\" (or \"inverted shell\") is a case where the :term:`OGC` topology model for valid geometry and the model used internally by ESRI differ. The ESRI model considers rings that touch to be invalid, and prefers the banana form for this kind of shape. The OGC model is the reverse. Neither is \"correct\", they are just different ways to model the same situation." ], "previous_source": "", "target": [ "The \"banana polygon\" (or \"inverted shell\") is a case where the :term:`OGC` topology model for valid geometry and the model used internally by ESRI differ. The ESRI model considers rings that touch to be invalid, and prefers the banana form for this kind of shape. The OGC model is the reverse. Neither is \"correct\", they are just different ways to model the same situation." ], "id_hash": -2323535445004633694, "content_hash": -2323535445004633694, "location": "../../en/validity.rst:133", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 27, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 64, "source_unit": "https://weblate.osgeo.org/api/units/98642/?format=api", "priority": 100, "id": 98642, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=5fc124d2c97839a2", "url": "https://weblate.osgeo.org/api/units/98642/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:39.029116Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Bulk Validity Repair" ], "previous_source": "", "target": [ "Bulk Validity Repair" ], "id_hash": 5477333497647004473, "content_hash": 5477333497647004473, "location": "../../en/validity.rst:137", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 28, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://weblate.osgeo.org/api/units/98644/?format=api", "priority": 100, "id": 98644, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=cc0365cbc398fb39", "url": "https://weblate.osgeo.org/api/units/98644/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:39.052646Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Here's an example of SQL to flag invalid geometries for review while adding a repaired version to the table." ], "previous_source": "", "target": [ "Here's an example of SQL to flag invalid geometries for review while adding a repaired version to the table." ], "id_hash": 2955413762461315687, "content_hash": 2955413762461315687, "location": "../../en/validity.rst:139", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 29, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://weblate.osgeo.org/api/units/98646/?format=api", "priority": 100, "id": 98646, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=a903bd2893ceb267", "url": "https://weblate.osgeo.org/api/units/98646/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:39.075149Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "A good tool for visually repairing invalid geometry is OpenJump (http://openjump.org) which includes a validation routine under **Tools->QA->Validate Selected Layers**." ], "previous_source": "", "target": [ "A good tool for visually repairing invalid geometry is OpenJump (http://openjump.org) which includes a validation routine under **Tools->QA->Validate Selected Layers**." ], "id_hash": 5966027531022246766, "content_hash": 5966027531022246766, "location": "../../en/validity.rst:159", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 30, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 20, "source_unit": "https://weblate.osgeo.org/api/units/98653/?format=api", "priority": 100, "id": 98653, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=d2cb966e1ac8236e", "url": "https://weblate.osgeo.org/api/units/98653/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:39.098117Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "Function List" ], "previous_source": "", "target": [ "Function List" ], "id_hash": 2815949782297668712, "content_hash": 2815949782297668712, "location": "../../en/validity.rst:163", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 31, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://weblate.osgeo.org/api/units/98661/?format=api", "priority": 100, "id": 98661, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=a71443684f30ec68", "url": "https://weblate.osgeo.org/api/units/98661/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:39.121868Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "`ST_IsValid(geometry A) <http://postgis.net/docs/ST_IsValid.html>`_: Returns a boolean indiciting whether the geometery is valid." ], "previous_source": "", "target": [ "`ST_IsValid(geometry A) <http://postgis.net/docs/ST_IsValid.html>`_: Returns a boolean indiciting whether the geometery is valid." ], "id_hash": 3438303839431715192, "content_hash": 3438303839431715192, "location": "../../en/validity.rst:165", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 32, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://weblate.osgeo.org/api/units/98675/?format=api", "priority": 100, "id": 98675, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=afb74f2003306978", "url": "https://weblate.osgeo.org/api/units/98675/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:39.144709Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "`ST_IsValidReason(geometry A) <http://postgis.net/docs/ST_IsValidReason.html>`_: Returns a text string with the reason for the invalidity and a coordinate of invalidity." ], "previous_source": "", "target": [ "`ST_IsValidReason(geometry A) <http://postgis.net/docs/ST_IsValidReason.html>`_: Returns a text string with the reason for the invalidity and a coordinate of invalidity." ], "id_hash": -326275620254025405, "content_hash": -326275620254025405, "location": "../../en/validity.rst:167", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 33, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://weblate.osgeo.org/api/units/98677/?format=api", "priority": 100, "id": 98677, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=7b78d60d53e37943", "url": "https://weblate.osgeo.org/api/units/98677/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:39.168234Z" }, { "translation": "https://weblate.osgeo.org/api/translations/postgis-workshop/validity/en/?format=api", "source": [ "`ST_MakeValid(geometry A) <http://postgis.net/docs/ST_MakeValid.html>`_: Returns a geometry re-constructed to obey the validity rules." ], "previous_source": "", "target": [ "`ST_MakeValid(geometry A) <http://postgis.net/docs/ST_MakeValid.html>`_: Returns a geometry re-constructed to obey the validity rules." ], "id_hash": -8696826911945384347, "content_hash": -8696826911945384347, "location": "../../en/validity.rst:169", "context": "", "note": "", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 34, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://weblate.osgeo.org/api/units/98679/?format=api", "priority": 100, "id": 98679, "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/en/?checksum=074eaa0058701e65", "url": "https://weblate.osgeo.org/api/units/98679/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-14T01:14:39.191221Z" } ] }{ "count": 34, "next": null, "previous": null, "results": [ { "translation": "