|
*** Award Winning Software ***
1st Place, Best Desktop Application
2008 ESRI International User Conference, San Diego, CA, USA |
Topics: Sphere,
Vincenty, Geodesic, Great Circle, Spherical Triangle, Polygon,
Centroid, Center of Mass, Vector, Area, Haversine
Author:
Jeff Jenness
Wildlife Biologist, GIS Analyst
Jenness Enterprises
3020
N. Schevene Blvd.
Flagstaff, AZ, 86004 USA
(928)
607-4638
[email protected]
Description: This
extension includes a large suite of tools for calculating geometric
attributes of vector features and for selecting and naming graphics. All
tools are available at the ArcView license level.
Among many other functions, this extension offers
tools for calculating the true area and centroid of polygons as they lay
on the sphere, thereby avoiding errors caused by projection distortions.
This extension also offers tools to calculate true lengths of polylines
as they lie on the spheroid, using Vincenty’s equations. This manual
thoroughly explains all algorithms used to calculate geometric
attributes on the sphere and spheroid.
This extension also includes a tool to create a new
shapefile from within ArcMap, either by creating an empty shapefile or
by converting graphics.
Output: Several tools produce point, multipoint, polyline
or polygon shapefiles. Some geometry tools produce new shapefiles while
others add new fields to attribute tables.
Recommended Citation Format:
For those who wish to cite this extension, the author recommends something similar to:
Jenness, J. 2011. Tools for Graphics and Shapes: Extension for ArcGIS.
Jenness Enterprises. Available at:
http://www.jennessent.com/arcgis/shapes_graphics.htm
Current Citation List (from Google Scholar):
Requires: ArcGIS 9.1
or better (at any license level) or ArcGIS 10. The "Build Polygon"
function requires ArcView 9.2 or newer. This extension has not
been tested with ArcGIS 9.0, and I am sure it will not work with ArcGIS
8.x.
For detailed instructions on installation and
operation, view the on-line PDF version of
Tools for Graphics and
Shapes Manual
Acknowledgements
Partially funded by the US Geological Survey, Astrogeology Team (http://astrogeology.usgs.gov/).
Revisions
Version 1.0
| Build 1.0.291 (January 1, 2008): Initial Release |
| Build 1.0.293 (January 2, 2008): Minor aesthetic changes to dialogs;
fixed some typos in manual. |
| January 3, 2008: Corrected typo in manual.
|
Version 1.1
| Build 1.1.73 (January 9, 2008):
| Added “Build Polygon” function |
| Added Polyline Azimuth options to “Calculate Geometry” tool. |
| Added code to disable “Build Polygon” tool if user was running a
pre-9.2 version of ArcGIS. |
| Added code to prevent error messages when some functions were
cancelled. |
| Added code to force shapefile field names to conform to dBASE
restrictions, when field data were copied from non-shapefile sources. |
| Added scroll bars to the message section of the “Message Box”
dialog. |
| Added persistence code so the document would remember the last
save folder, and the Progress Dialog parameters, from one session to
the next. |
| Fixed the link in the “About” dialog so that it pointed to the
correct web page. |
|
| Build 1.1.76 (January 10, 2008) Corrects a bug where
the Spheroidal Length was being written to the wrong field. |
| Build 1.1.85 (March 28, 2008)
| Repaired a bug in the “Calculate Geometry” dialog
in which it might crash with the error message “Object variable or
With block variable not set”, occuring at line 48 of the form
frmGeometry.frm, if no layers are selected in the Map Table of
Contents. |
|
Version 2.0
| Build 2.0.57 (February 12, 2009)
| Modified sphere and spheroid functions to use
spheroid from actual data rather than defaulting to WGS 1984. |
| Added functions to transform between planetocentric
and planetographic coordinate systems. |
| Added functions to wrap data to pre-defined
longitude ranges. |
| Added functions to shift longitude values. |
| Added output options to save to personal and file
geodatabases as well as shapefiles. |
| Fixed a bug with the Spheroidal Multipoint Centroid
in which it was calculating on the sphere rather than the spheroid. |
| Modified “Graphics to Feature Class” tool so that
the new feature class would be symbolized with the symbol of the first
graphic, if available. |
| Fixed bug in “Graphics to Feature Class” tool which
caused a crash if there were grouped graphics available. |
| Disabled “Convert Graphics to Features” option if
either map document currently opened to Layout view, or if no graphics
were available in map view. |
| Fixed bug in “Calculate Geometry” function in which
spherical areas and centroids would occasionally crash if three
vertices were on the same line of longitude. |
| Fixed a bug in “Select Graphics” function in which
it always selected graphics from focus map, even if document was set
to Layout view. |
|
| Build 2.1.72 (October 21, 2010)
| Rearranged tools and menus |
| Added installation routines for ArcGIS 10.0. |
| Various cosmetic and efficiency modifications. |
|
| Build 2.1.72 (March 13, 2011)
| Wrote additional ArcGIS 10 installation functions
to fix problems in Windows Vista and Windows 7, and on 64-bit versions
of Windows. |
|
| Build 2.1.80 (April 11, 2011)
| Wrote work-arounds for an ArcGIS 10 bug which
produced an error referring to an unknown error in the geometry
system. |
|
| Build 2.1.81 (May 12, 2011)
| Fixed a bug in which spheroidal distances were
being calculated incorrectly by a small amount because the spheroid
flattening was incorrect. It was being calculated as (a-b)/b instead
of (a-b)/a. |
|
| Build 2.1.82 (May 12, 2011)
| Fixed a bug in which the suggested field names for
starting and ending azimuths for spheroidal polylines were reversed,
so the new “End Azimuth” values would (unless the user changed the
suggested field name manual) show up in a field named “Start_Az” and
vice versa |
|
| Build 2.1.85 (June 1, 2011)
| Fixed a bug in the “Split Multipart” tool in which
it would raise an error upon completion of splitting multipart
polylines, with the message “Subscript out of range” at line 1301. |
| Fixed a bug in the “Split Multipart” tool in which
it would crash when attempting to split a multipoint feature.
|
|
Enjoy! Please contact the author if you have problems or find bugs.
Jeff Jenness
[email protected]
Jenness Enterprises
http://www.jennessent.com
3020 N. Schevene Blvd.
(928) 607-4638
Flagstaff, AZ 86004
USA
Please visit Jenness Enterprises
ArcGIS
Tools site for more ArcGIS tools and other software by the author.
We also offer
GIS
consultation services for both ArcGIS and ArcView 3.x to help you
meet your specific data analysis and application development needs.
|