{"id":12940,"date":"2025-02-09T11:33:36","date_gmt":"2025-02-09T08:03:36","guid":{"rendered":"https:\/\/www.geobox.ir\/doc\/?post_type=docs&#038;p=12940"},"modified":"2025-02-11T10:09:55","modified_gmt":"2025-02-11T06:39:55","slug":"distance-to-nearest","status":"publish","type":"docs","link":"https:\/\/www.geobox.ir\/doc\/v1\/%d9%be%d8%b1%d8%af%d8%a7%d8%b2%d8%b4%d9%87%d8%a7%db%8c-%d9%85%da%a9%d8%a7%d9%86%db%8c-geoprocessings\/distance-to-nearest\/","title":{"rendered":"Distance to Nearest"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"12940\" class=\"elementor elementor-12940\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f042aba elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"f042aba\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4bafd07 ot-flex-column-vertical\" data-id=\"4bafd07\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0ff48f6 elementor-widget elementor-widget-text-editor\" data-id=\"0ff48f6\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.13.3 - 28-05-2023 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#69727d;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:right;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>\t\t\t\t<p>\u0627\u0628\u0632\u0627\u0631 <strong>Distance to Nearest<\/strong> \u0628\u0631\u0627\u06cc \u0645\u062d\u0627\u0633\u0628\u0647 \u0641\u0627\u0635\u0644\u0647 \u0647\u0631 \u0646\u0642\u0637\u0647 \u0627\u0632 \u0646\u0632\u062f\u06cc\u06a9\u200c\u062a\u0631\u06cc\u0646 \u0639\u0627\u0631\u0636\u0647 \u062f\u0631 \u06cc\u06a9 \u0644\u0627\u06cc\u0647 \u062f\u06cc\u06af\u0631 \u062f\u0631 \u06cc\u06a9 \u0634\u0639\u0627\u0639 \u0645\u0634\u062e\u0635 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u0639\u0627\u0631\u0636\u0647\u200c\u0647\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u0634\u0627\u0645\u0644 \u0646\u0642\u0627\u0637\u060c \u062e\u0637\u0648\u0637 \u06cc\u0627 \u0686\u0646\u062f\u0636\u0644\u0639\u06cc\u200c\u0647\u0627 \u0628\u0627\u0634\u0646\u062f.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e8ef221 elementor-widget elementor-widget-text-editor\" data-id=\"e8ef221\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><strong>\u0686\u0646\u062f \u062d\u0627\u0644\u062a \u0645\u0645\u06a9\u0646 \u062f\u0631 \u0627\u0628\u0632\u0627\u0631 Distance to Nearest:<\/strong><\/p><ul><li style=\"list-style-type: none;\"><ul><li><strong>Point to Polyline:<\/strong> \u0645\u062d\u0627\u0633\u0628\u0647 \u0641\u0627\u0635\u0644\u0647 \u0627\u0632 \u0647\u0631 \u0646\u0642\u0637\u0647 \u062f\u0631 \u0644\u0627\u06cc\u0647 \u0645\u0628\u062f\u0627 \u0628\u0647 \u0646\u0632\u062f\u06cc\u06a9\u200c\u062a\u0631\u06cc\u0646 \u0646\u0642\u0637\u0647 \u0628\u0631 \u0631\u0648\u06cc \u062e\u0637 \u062f\u0631 \u0644\u0627\u06cc\u0647 \u0645\u0642\u0635\u062f.<strong><br \/><\/strong><\/li><li><strong>Point to Polygon:<\/strong> \u0645\u062d\u0627\u0633\u0628\u0647 \u0641\u0627\u0635\u0644\u0647 \u0627\u0632 \u0647\u0631 \u0646\u0642\u0637\u0647 \u062f\u0631 \u0644\u0627\u06cc\u0647 \u0645\u0628\u062f\u0627 \u0628\u0647 \u0646\u0632\u062f\u06cc\u06a9\u200c\u062a\u0631\u06cc\u0646 \u0644\u0628\u0647 \u06cc\u0627 \u0645\u0631\u0632 \u0686\u0646\u062f\u0636\u0644\u0639\u06cc \u062f\u0631 \u0644\u0627\u06cc\u0647 \u0645\u0642\u0635\u062f.<strong><br \/><\/strong><\/li><li><strong>Polyline to Polyline: <\/strong>\u0645\u062d\u0627\u0633\u0628\u0647 \u0641\u0627\u0635\u0644\u0647 \u0646\u0632\u062f\u06cc\u06a9\u200c\u062a\u0631\u06cc\u0646 \u0646\u0642\u0637\u0647 \u0627\u0632 \u06cc\u06a9 \u062e\u0637 \u062f\u0631 \u0644\u0627\u06cc\u0647 \u0645\u0628\u062f\u0627 \u0628\u0647 \u0646\u0632\u062f\u06cc\u06a9\u200c\u062a\u0631\u06cc\u0646 \u0646\u0642\u0637\u0647 \u0627\u0632 \u062e\u0637 \u062f\u06cc\u06af\u0631 \u062f\u0631 \u0644\u0627\u06cc\u0647 \u0645\u0642\u0635\u062f.<strong><br \/><\/strong><\/li><li><strong>Polygon to Polygon: <\/strong>\u0645\u062d\u0627\u0633\u0628\u0647 \u0641\u0627\u0635\u0644\u0647 \u0627\u0632 \u0644\u0628\u0647 \u06cc\u06a9 \u0686\u0646\u062f\u0636\u0644\u0639\u06cc \u062f\u0631 \u0644\u0627\u06cc\u0647 \u0645\u0628\u062f\u0627 \u0628\u0647 \u0644\u0628\u0647 \u0646\u0632\u062f\u06cc\u06a9\u200c\u062a\u0631\u06cc\u0646 \u0686\u0646\u062f\u0636\u0644\u0639\u06cc \u062f\u06cc\u06af\u0631 \u062f\u0631 \u0644\u0627\u06cc\u0647 \u0645\u0642\u0635\u062f.<\/li><\/ul><\/li><\/ul>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2628367 elementor-widget elementor-widget-image\" data-id=\"2628367\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.13.3 - 28-05-2023 *\/\n.elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=\".svg\"]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block}<\/style>\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"394\" src=\"https:\/\/www.geobox.ir\/doc\/wp-content\/uploads\/2025\/02\/nearest_to_distance_2.jpg\" class=\"attachment-full size-full wp-image-13914\" alt=\"nearest to distance\" srcset=\"https:\/\/www.geobox.ir\/doc\/wp-content\/uploads\/2025\/02\/nearest_to_distance_2.jpg 400w, https:\/\/www.geobox.ir\/doc\/wp-content\/uploads\/2025\/02\/nearest_to_distance_2-300x296.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4df5739 elementor-widget elementor-widget-text-editor\" data-id=\"4df5739\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>\u062f\u0631 \u06cc\u06a9 \u067e\u0631\u0648\u0698\u0647 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0631\u06cc\u0632\u06cc \u0634\u0647\u0631\u06cc \u0628\u0631\u0627\u06cc \u0628\u0647\u0628\u0648\u062f \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0645\u0631\u0627\u06a9\u0632 \u062e\u0631\u06cc\u062f\u060c \u062a\u062d\u0644\u06cc\u0644\u06af\u0631\u0627\u0646 GIS \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u0628\u0632\u0627\u0631 Distance to Nearest \u0641\u0627\u0635\u0644\u0647 \u0646\u0632\u062f\u06cc\u06a9\u200c\u062a\u0631\u06cc\u0646 \u0627\u06cc\u0633\u062a\u06af\u0627\u0647\u200c\u0647\u0627\u06cc \u062d\u0645\u0644\u200c\u0648\u0646\u0642\u0644 \u0639\u0645\u0648\u0645\u06cc \u0628\u0647 \u0645\u0631\u0627\u06a9\u0632 \u062e\u0631\u06cc\u062f \u0631\u0627 \u062f\u0631 \u06cc\u06a9 \u0634\u0639\u0627\u0639 \u0645\u0634\u062e\u0635 \u0645\u062d\u0627\u0633\u0628\u0647 \u06a9\u0631\u062f\u0647 \u0648 \u06a9\u0627\u0631\u0634\u0646\u0627\u0633\u0627\u0646 \u062d\u0645\u0644\u200c\u0648\u0646\u0642\u0644 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u0628\u0631\u0627\u0633\u0627\u0633 \u0627\u06cc\u0646 \u062a\u062d\u0644\u06cc\u0644\u200c\u0647\u0627 \u0627\u06cc\u0633\u062a\u06af\u0627\u0647\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647 \u06af\u0648\u0646\u0647\u200c\u0627\u06cc \u0627\u0633\u062a\u0642\u0631\u0627\u0631 \u062f\u0647\u0646\u062f \u06a9\u0647 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0645\u0631\u0627\u06a9\u0632 \u062e\u0631\u06cc\u062f \u0628\u0647\u06cc\u0646\u0647 \u0634\u0648\u062f.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-943f647 elementor-widget elementor-widget-image\" data-id=\"943f647\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1258\" src=\"https:\/\/www.geobox.ir\/doc\/wp-content\/uploads\/2025\/01\/distance_to_nearest_tool-scaled.jpg\" class=\"attachment-full size-full wp-image-12946\" alt=\"\u0627\u0628\u0632\u0627\u0631 distance to nearest\" srcset=\"https:\/\/www.geobox.ir\/doc\/wp-content\/uploads\/2025\/01\/distance_to_nearest_tool-scaled.jpg 2560w, https:\/\/www.geobox.ir\/doc\/wp-content\/uploads\/2025\/01\/distance_to_nearest_tool-300x147.jpg 300w, https:\/\/www.geobox.ir\/doc\/wp-content\/uploads\/2025\/01\/distance_to_nearest_tool-1024x503.jpg 1024w, https:\/\/www.geobox.ir\/doc\/wp-content\/uploads\/2025\/01\/distance_to_nearest_tool-768x377.jpg 768w, https:\/\/www.geobox.ir\/doc\/wp-content\/uploads\/2025\/01\/distance_to_nearest_tool-1536x755.jpg 1536w, https:\/\/www.geobox.ir\/doc\/wp-content\/uploads\/2025\/01\/distance_to_nearest_tool-2048x1007.jpg 2048w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5864b0c elementor-widget elementor-widget-text-editor\" data-id=\"5864b0c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>\u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0627\u0628\u0632\u0627\u0631 \u0645\u0637\u0627\u0628\u0642 \u0628\u0627 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627\u0644\u0627\u060c \u0627\u0632 \u06a9\u0645\u0628\u0648\u0628\u0627\u06a9\u0633\u200c\u0647\u0627\u06cc layer \u0648 nearest_layer \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u0644\u0627\u06cc\u0647 \u0645\u0628\u062f\u0627 \u0648 \u0644\u0627\u06cc\u0647 \u0645\u0628\u0646\u0627 \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0644\u0627\u06cc\u0647 \u0645\u0628\u062f\u0627 \u0644\u0627\u06cc\u0647\u200c\u0627\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u0645 \u0641\u0627\u0635\u0644\u0647 \u0646\u0632\u062f\u06cc\u06a9\u200c\u062a\u0631\u06cc\u0646 \u0639\u0648\u0627\u0631\u0636 \u0622\u0646 \u0646\u0633\u0628\u062a \u0628\u0647 \u0644\u0627\u06cc\u0647 \u0645\u0628\u0646\u0627 \u0645\u062d\u0627\u0633\u0628\u0647 \u0634\u0648\u062f. \u062f\u0631 \u0641\u06cc\u0644\u062f search_radius\u060c \u0634\u0639\u0627\u0639 \u062c\u0633\u062a\u062c\u0648\u06cc \u0645\u0646\u0627\u0633\u0628 \u0628\u0631\u0627\u06cc \u06cc\u0627\u0641\u062a\u0646 \u0646\u0632\u062f\u06cc\u06a9\u200c\u062a\u0631\u06cc\u0646 \u0639\u0648\u0627\u0631\u0636 \u0648\u0627\u0631\u062f \u0645\u06cc\u200c\u0634\u0648\u062f. \u067e\u0633 \u0627\u0632 \u0632\u062f\u0646 \u062f\u06a9\u0645\u0647 Run\u060c \u0641\u0627\u0635\u0644\u0647 \u0646\u0632\u062f\u06cc\u06a9\u200c\u062a\u0631\u06cc\u0646 \u0639\u0648\u0627\u0631\u0636 \u0627\u0632 \u0644\u0627\u06cc\u0647 \u0645\u0628\u0646\u0627 \u062f\u0631 \u0633\u062a\u0648\u0646 nearest_distance \u062f\u0631\u062c \u062e\u0648\u0627\u0647\u062f \u0634\u062f \u0648 id \u0647\u0627\u06cc \u0622\u0646\u200c\u0647\u0627 \u062f\u0631 \u0633\u062a\u0648\u0646 nearest_id \u062f\u0631\u062c \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u0627\u0628\u0632\u0627\u0631 Distance to Nearest \u0628\u0631\u0627\u06cc \u0645\u062d\u0627\u0633\u0628\u0647 \u0641\u0627\u0635\u0644\u0647 \u0647\u0631 \u0646\u0642\u0637\u0647 \u0627\u0632 \u0646\u0632\u062f\u06cc\u06a9\u200c\u062a\u0631\u06cc\u0646 \u0639\u0627\u0631\u0636\u0647 \u062f\u0631 \u06cc\u06a9 \u0644\u0627\u06cc\u0647 \u062f\u06cc\u06af\u0631 \u062f\u0631 \u06cc\u06a9 \u0634\u0639\u0627\u0639 \u0645\u0634\u062e\u0635 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u0639\u0627\u0631\u0636\u0647\u200c\u0647\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u0634\u0627\u0645\u0644 \u0646\u0642\u0627\u0637\u060c \u062e\u0637\u0648\u0637 \u06cc\u0627 \u0686\u0646\u062f\u0636\u0644\u0639\u06cc\u200c\u0647\u0627 \u0628\u0627\u0634\u0646\u062f. \u0686\u0646\u062f \u062d\u0627\u0644\u062a \u0645\u0645\u06a9\u0646 \u062f\u0631 \u0627\u0628\u0632\u0627\u0631 Distance to Nearest: Point to Polyline: \u0645\u062d\u0627\u0633\u0628\u0647 \u0641\u0627\u0635\u0644\u0647 \u0627\u0632 \u0647\u0631 \u0646\u0642\u0637\u0647 \u062f\u0631 \u0644\u0627\u06cc\u0647 \u0645\u0628\u062f\u0627 \u0628\u0647 \u0646\u0632\u062f\u06cc\u06a9\u200c\u062a\u0631\u06cc\u0646 \u0646\u0642\u0637\u0647 \u0628\u0631 [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[67],"doc_tag":[],"class_list":["post-12940","docs","type-docs","status-publish","hentry","doc_category---geoprocessings"],"_links":{"self":[{"href":"https:\/\/www.geobox.ir\/doc\/wp-json\/wp\/v2\/docs\/12940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.geobox.ir\/doc\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.geobox.ir\/doc\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.geobox.ir\/doc\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.geobox.ir\/doc\/wp-json\/wp\/v2\/comments?post=12940"}],"version-history":[{"count":30,"href":"https:\/\/www.geobox.ir\/doc\/wp-json\/wp\/v2\/docs\/12940\/revisions"}],"predecessor-version":[{"id":15734,"href":"https:\/\/www.geobox.ir\/doc\/wp-json\/wp\/v2\/docs\/12940\/revisions\/15734"}],"wp:attachment":[{"href":"https:\/\/www.geobox.ir\/doc\/wp-json\/wp\/v2\/media?parent=12940"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.geobox.ir\/doc\/wp-json\/wp\/v2\/doc_category?post=12940"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.geobox.ir\/doc\/wp-json\/wp\/v2\/doc_tag?post=12940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}