ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Select By Location 3D relationships

  • Example of 2D versus 3D results
  • Valid Input and Selecting Layers
  • Getting the Best Result

Example of 2D versus 3D results

Following is an example of the different results that occur when using WITHIN_A_DISTANCE or WITHIN_A_DISTANCE_3D spatial relationships with 3D data. The Input Feature Layer is the rooms (purple cubes) and the Selecting Features is the small yellow circle. The operation is trying to answer the question, Which rooms are within a distance of a specific x,y,z location (the yellow dot)? The result is quite different depending on which Relationship is used. If the WITHIN_A_DISTANCE relationship is used, all rooms within a distance (in the x- and y-coordinates only) are selected, so rooms from the bottom to the top floor get selected.

Result of selecting the rooms that are WITHIN_A_DISTANCE of the yellow dot

However, if the WITHIN_A_DISTANCE_3D relationship is used, the measurement of distance between the x,y,z location (the yellow dot) and the individual rooms is done using 3D measurements, resulting in only a few rooms within a true 3D distance of the point getting selected.

Result of selecting the rooms that are WITHIN_A_DISTANCE_3D of the yellow dot

Valid Input and Selecting Layers

Layers that meet one of the following criteria are valid as Input and Selecting Layers:

  • A layer from a feature class with the following geometry types: Point , Multipoint, Line, Multipatch, Polygon.
  • A layer in ArcScene or ArcGlobe that uses one of the following renderers: 3D Simple Marker, 3D Character Marker Symbol, 3D Line Symbol. In this situation, the renderer's symbol will be used instead of the feature's geometry.
  • A layer in ArcScene or ArcGlobe that uses a base height and/or extrusion.
  • A layer that points to a layer file (.lyr) that meets one of the above criteria is also valid. This can be useful when running an operation in a script (outside ArcScene and ArcGlobe).

Getting the Best Result

When using 3D renderers, the surface of the symbol is used when evaluating whether the relationship is met, since the 3D marker is implemented as a multipatch representing a surface, not a 3D solid.

Using WITHIN_A_DISTANCE_3D on data stored in an unprojected coordinate system (that is, data stored in a geographic coordinate system) may yield poor results due to the following:

  • The conversion from decimal degrees to linear units is not consistent across large geographic extents.
  • The global distances supported by the geographic coordinate system do not take into account the curvature of the surface of the earth (all measurements are done on a plane).
To get the best results, run the operation in a projected coordinate system, which minimizes distance distortion in the data.

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal