GISarabia.org
PostGIS › الدليل الرسمي › 9. الطوبولوجيا › 9.3. إدارة الطوبولوجيا وTopoGeometry
PostGIS 3.6 · Official Manual · ترجمة عربية

MakeTopologyPrecise

الصفحة الأصلية بالإنجليزية postgis.net ↗

الاسم

MakeTopologyPrecise — التقاط رؤوس الطوبولوجيا إلى شبكة الدقة.

المختصر

void MakeTopologyPrecise(name toponame, geometry bbox, float8 gridSize);

الوصف

تلتقط جميع رؤوس الطوبولوجيا إلى شبكة دقة الطوبولوجيا أو إلى الشبكة التي يُحدَّد حجمها بالوسيط gridSize، مع إمكانية قصر العملية على الكائنات التي تتقاطع مع المنطقة المحددة بالوسيط bbox.

Using a gridSize larger than the smallest edge extent raises an exception rather than collapsing the edge into an empty geometry. This safeguards adjacent topological relationships by preventing precision snapping from removing primitives altogether.

[ملاحظة]

قد يجعل الالتقاط الطوبولوجيا غير صالحة، لذا يُنصح بفحص نتيجة العملية باستخدام ValidateTopology.

متاحة منذ: 3.6.0

أمثلة

SELECT topology.MakeTopologyPrecise(
    'city_data',
    gridSize =
> 2
);
 maketopologyprecise
---------------------

(1 row)