NYGeog

Geography, GIS, Geospatial, NYC, etc.

Monday, September 26, 2011

Calculating Geometry Measurements in Python


Calculating Geometry Measurements in Python

from Esri - http://resources.esri.com/help/9.3/arcgisdesktop/com/gp_toolref/data_management_tools/calculate_field_data_management_.htm


All below from Esri:

Python expressions can use the geometry Area and Length properties with an areal or linear unit to convert the value to a different unit of measure.

!shape.area@acres! 
Areal unit of measure keywords: Unit of measure keywords: ACRES | ARES | HECTARES | SQUARECENTIMETERS | SQUAREDECIMETERS | SQUAREINCHES | SQUAREFEET | SQUAREKILOMETERS | SQUAREMETERS | SQUAREMILES | SQUAREMILLIMETERS | SQUAREYARDS | SQUAREMAPUNITSLinear unit of measure keywords: CENTIMETERS | DECIMALDEGREES | DECIMETERS | FEET | INCHES | KILOMETERS | METERS | MILES | MILLIMETERS | NAUTICALMILES | POINTS | YARDS

Monday, September 12, 2011

Split Layer By Attributes for ArcGIS 10


This is an update to a tool I used a lot before migrating over to 10. I just needed something similar recently - for some zonal stats stuff and saw it was updated for 10. Thanks Dan Patterson.

http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=37AEB018-1422-2418-A036-CA6D9920F808

Thursday, September 8, 2011

VBA: Link From ArcMap to Google Maps

The link below has a tool to link ArcMap to Google Maps and Streetview;

http://gis.utah.gov/code-visual-basic/vba-link-from-arcmap-to-google-maps

I've used this tool for a while at 9.3.1 but just started to use it again at ArcGIS 10.