Select to view content in your preferred language

Planar vs. Euclidean distance measurements

497
14
Jump to solution
4 weeks ago
Craig_Eissler_Iceman
Frequent Contributor

I understand Planar vs. Geodesic measurements and Euclidean vs. Geodesic measurements.

However, is there a difference between Planar and Euclidean measurements, or are these just interchangeable terms that ArcGIS uses?

0 Kudos
3 Solutions

Accepted Solutions
AyanPalit
Esri Regular Contributor

@Craig_Eissler_Iceman my notes on this topic:

Euclidean distance is the straight-line distance between two points in Euclidean space (in theory this can be 2D or 3D). The distance is calculated using the Pythagorean theorem, relating the difference in coordinates along each axis.

AyanPalit_0-1750159120437.png

Reference: Understanding Euclidean distance analysis

Planar distance is straight-line Euclidean distance calculated in a 2D Cartesian coordinate system. Here calculations are always made on a flat, 2D plane; thereby planar distance equals Euclidean distance in 2D Euclidean space but may differ if  Euclidean space is 3D.

Reference: Geodesic versus planar distance

Ayan Palit | Principal Consultant Esri

View solution in original post

AyanPalit
Esri Regular Contributor

@Craig_Eissler_Iceman 

The Euclidean space can be 2D or 3D. Considering the 3D Cartesian coordinate system below, planar distance will be on the 2D orange plane. Note that, Euclidean distance can be calculated using the Pythagorean theorem in the 2D orange plane.

AyanPalit_0-1750763562920.png

Now consider 2 points on the green plane that are at different y-coordinates, and project them back to the orange plane (flattening them in the process). In this situation, the planar distance calculated on the projected orange plane will be different than the Euclidean distance calculated on the green plane. This example illustrates planar distance equals Euclidean distance in 2D Euclidean space, but may differ if Euclidean space is 3D.

With advances in data collection technologies, majority of GPS/GIS/location information, includes z-coordinates representing the elevation. ArcGIS has various capabilities around storing, managing, displaying as well as analysis like measurements using 3D data. Here's a good read:  Why you should think about coordinate systems when working in 3D

Ayan Palit | Principal Consultant Esri

View solution in original post

0 Kudos
JoshuaBixby
MVP Esteemed Contributor

Planar means the distance calculation will be done in two dimensions while Euclidean means the distance will be a straight line.  The two terms are related but are not synonyms.  Euclidean distances can be calculated in two dimensions, three dimensions, or even more dimensions; but the calculation will always be a straight line between points.  Planar distances don't have to be Euclidean but are often assumed to be when no qualifier or adjective further describes the distance.  For example, Euclidean and Manhattan (or taxi-cab) distances can both be calculated in a plane, which would make them forms of planar distance, but they represent difference distance measures.

ArcGIS Pro handles both vector and raster data, as well as other types, but different fields of study and different industries historically used the two types of data.  Just like anything that is studied or used by different groups, it is common for different groups to use different terms for the same or similar objects or ideas because each group interacts with those objects or ideas from different perspectives.  For spatial-based analysis, there are lots of non-Euclidean distances that can be measured based on barriers, cost surfaces, networks, etc...., so knowing whether something is straight-line (i.e., Euclidean) is important and saying "planar" would be ambiguous.

Is there perfect consistency and use of "Euclidean" and "planar" across all of Esri's documentation?  Probably not, but what is most important is how the term is defined for a given tool relative to the options/parameters that are available.  A vast majority of Esri's pages that use "Euclidean" or "planar" also give a brief definition of what that term means for that tool, and that is the definition that matters for that tool.

View solution in original post

0 Kudos
14 Replies
AyanPalit
Esri Regular Contributor

@Craig_Eissler_Iceman my notes on this topic:

Euclidean distance is the straight-line distance between two points in Euclidean space (in theory this can be 2D or 3D). The distance is calculated using the Pythagorean theorem, relating the difference in coordinates along each axis.

AyanPalit_0-1750159120437.png

Reference: Understanding Euclidean distance analysis

Planar distance is straight-line Euclidean distance calculated in a 2D Cartesian coordinate system. Here calculations are always made on a flat, 2D plane; thereby planar distance equals Euclidean distance in 2D Euclidean space but may differ if  Euclidean space is 3D.

Reference: Geodesic versus planar distance

Ayan Palit | Principal Consultant Esri
Craig_Eissler_Iceman
Frequent Contributor

Thanks, yes, I had already read all of that.

So I guess I should have re-framed my question to say, "why" is there potentially a difference between the two in 3D space?

0 Kudos
LetaFranklin
Emerging Contributor

Planar distance is like measuring the path along the surface accounting for the Earth's curvature but ignoring elevation changes. It treats the earth if it were a perfect 2D plane.

Euclidean distance is the direct, straight-line measurement, cutting through the Earth as if tunneling between the two points.

If you were flying between San Francisco and New York, your flight path would follow a curved trajectory due to the Earth’s shape (similar to planar distance). This is how a crow would fly between the two cities, if it could fly without stopping for breaks, of course. A Euclidean distance is a straight line through the earth, ignoring the planet’s curvature entirely. AI tells me that tunnel would be 6-9 miles below the surface at the midway point 🙂 

Craig_Eissler_Iceman
Frequent Contributor

Hmmm, OK, well if you're correct, that would explain the difference between Planar and Euclidean.

But you say, "Planar accounts for the curvature of the Earth". If so, then what's the difference between that and Geodesic? ...I ask because I've always thought it was Geodesic that accounts for the Earth's curvature? 

Or, are you saying that this is just the difference in 3D, not 2D?

0 Kudos
JoshuaBixby
MVP Esteemed Contributor

Focus on @AyanPalit's response, other responses offered today have either been wrong or poorly worded enough to be misleading.

0 Kudos
Craig_Eissler_Iceman
Frequent Contributor

...Yes, but my follow-up question to that was, "What is it that makes the possible difference in 3D"?

Admittedly, I am not familiar with using 3D in GIS.

Is the answer "elevation"? If so, that might make some sense.

0 Kudos
AyanPalit
Esri Regular Contributor

@Craig_Eissler_Iceman 

The Euclidean space can be 2D or 3D. Considering the 3D Cartesian coordinate system below, planar distance will be on the 2D orange plane. Note that, Euclidean distance can be calculated using the Pythagorean theorem in the 2D orange plane.

AyanPalit_0-1750763562920.png

Now consider 2 points on the green plane that are at different y-coordinates, and project them back to the orange plane (flattening them in the process). In this situation, the planar distance calculated on the projected orange plane will be different than the Euclidean distance calculated on the green plane. This example illustrates planar distance equals Euclidean distance in 2D Euclidean space, but may differ if Euclidean space is 3D.

With advances in data collection technologies, majority of GPS/GIS/location information, includes z-coordinates representing the elevation. ArcGIS has various capabilities around storing, managing, displaying as well as analysis like measurements using 3D data. Here's a good read:  Why you should think about coordinate systems when working in 3D

Ayan Palit | Principal Consultant Esri
0 Kudos
Craig_Eissler_Iceman
Frequent Contributor

OK Ayan, the illustration with description helps.

But two things:


1. Can you give me a real-life example? ...Or, can I just think of Z being elevation, to make things simple to visualize?

2. Why does it seem Euclidean is the term used for raster analysis and Planar for vector analysis? ...Or, is this merely coincidence?

0 Kudos
AyanPalit
Esri Regular Contributor

@Craig_Eissler_Iceman 

  1. Euclidean space can be 2D or 3D. Elevation is a great example in real world and is used in GIS modelling, digital twins etc. In engineering / drafting, height is primarily along the Z-axis, defining the vertical dimension of 3D objects.
  2.  The mathematical concepts of Euclidean geometry have wide and varied applications. How it's used in a specific software package like ArcGIS, AutoCAD and various modules therein, can vary. In short, Euclidean distance can be applied to any physical space (3D or 2D that is just a version of 3D, not using the third dimension); the concept can be applied to vectors and rasters.
Ayan Palit | Principal Consultant Esri
0 Kudos