Magnetic Isolines (Production Mapping)

Summary

Creates isomagnetic lines in an extent for a date between 1/1/2005 and 12/31/2014 based on the World Magnetic Model. The tool uses a magnetic field parameter and line generation method to create a new polyline feature class.

Usage

Syntax

MagneticIsolines_production (in_extent, {in_where_clause}, in_altitude, in_altitude_unit, in_date, {out_features}, {in_output_subtype}, {in_output_field}, in_magnetic_field, in_cell_size, {in_base_value}, {in_isoline_interval}, {in_isoline_values})
ParameterExplanationData Type
in_extent

The feature class, feature layer, elevation raster, or elevation raster dataset for which you want to generate isolines.

Feature Layer; Raster Layer
in_where_clause
(Optional)

A Structured Query Language (SQL) where clause that filters in_extent features based on attribute values.

SQL Expression
in_altitude

The elevation data required by the tool. The tool ignores this value if in_extent is an elevation raster.

Double
in_altitude_unit

The linear unit of measurement to use for altitude. Linear units include CENTIMETERS | DECIMAL DEGREES | DECIMETERS | FEET | INCHES | KILOMETERS | METERS | MILES | MILLIMETERS | NAUTICAL MILES | POINTS | UNKNOWN | YARDS.

String
in_date

The date for which you want magnetic field values to be calculated. The date must be between 1/1/2005 and 12/31/2014. Type the date in MM/DD/YYYY format.

Date
out_features
(Optional)

The output polyline feature class. This feature class will contain the isomagnetic data created by the tool. The tool will create a feature layer from the feature class. The tool will overwrite existing data with the same name.

Feature Class
in_output_subtype
(Optional)

The subtype in the out_features that will store the isomagnetic data. You can set this parameter if out_features already exists.

String
in_output_field
(Optional)

The output field that will store the magnetic values. You can set this parameter if out_features already exists.

Field
in_magnetic_field

The magnetic field value computation type and output units.

  • Declination(Decimal Degrees)Connects points with the same angle between magnetic north and true north.
  • Inclination(Decimal Degrees)Connects points with the same angle between a compass needle and the plane of the horizon. Inclination changes as latitude changes.
  • Annual drift(Decimal Degrees per year)The change in a year in magnetic field intensity due to changes in currents in the earth's core. Connects points with the same annual drift value.
  • Northerly(nanoTesla)Connects points with the same northerly intensity of the geomagnetic field, also known as X.
  • Easterly(nanoTesla)Connects points with the same easterly intensity of the geomagnetic field, also known as Y.
  • Vertical(nanoTesla)Connects points with the same vertical intensity of the geomagnetic field, also known as Z.
  • Horizontal Intensity(nanoTesla)Connects points with the same strength value computed from northerly and easterly values, also known as H.
  • Total intensity(nanoTesla)Connects points with the same strength value computed using horizontal intensity and vertical values.
  • Grid variation(Decimal Degrees)Connects points with the same angle between magnetic north and grid north. Requires use of Lambert Conformal Conic projection set in input feature class, data frame, or geoprocessing environment.
String
in_cell_size

The cell size for either the input data or a temporary raster created by the tool for non-raster input data.

Double
in_base_value
(Optional)

The base value used to start generating lines. The tool computes values based on the generation method chosen in magnetic_field. The tool then creates a line from all points that match the base value. For example, if you choose Declination(Decimal Degrees) from magnetic_field and a base value of 0, the tool will first create isolines from all points with a declination value of 0.

This parameter requires that you set the isoline_interval parameter.

Double
in_isoline_interval
(Optional)

Specifies the increment value used to generate lines after the base_value line. For example, if you set Declination(Decimal Degrees) for magnetic_field, a base_value of 0 and an isoline_interval of 2, the tool creates a base isoline from all points with a declination value of 0, then isolines from points with declination values of 2. Use this parameter with base_value.

Double
in_isoline_values
[in_isoline_values,...]
(Optional)

A list of magnetic values used by the tool to create isolines. The tool creates an isoline for each magnetic value in the list. Do not use this parameter with the base_value and isoline_interval parameters.

Double

Code Sample

MagneticIsolines example (Python window)

The following Python window example demonstrates how to execute the MagneticIsolines function using Production Mapping sample data. Run this script from either ArcMap or ArcCatalog. Make sure you enable the Production Mapping and Spatial Analyst extensions.

# paths to data
ElevP = "C:\\data\\SoCal_sample.gdb\\SoCal\\ElevP"
ElevP_Layer1 = "ElevP_Layer1"
magneticOut = "C:\\data\\work.gdb\\magneticOut"

# make a feature layer from the ElevP feature class
arcpy.MakeFeatureLayer_management(ElevP, ElevP_Layer1, "\"OBJECTID\" < 11")

# import the production mapping toolbox - you may have to alter this path
arcpy.ImportToolbox('C:/Program Files/ArcGIS/Desktop10.0/ArcToolbox/Toolboxes/Production Mapping Tools.tbx')

# Execute MagneticIsolines, writing the output to magneticOut
arcpy.MagneticIsolines_production(ElevP_Layer1, "", "100", "Feet", "3/10/2009", magneticOut, "", "", "Declination(Decimal Degrees)", "0.005", "0", "0.002", "")

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcView: Requires Production Mapping and Spatial Analyst
ArcEditor: Requires Production Mapping and Spatial Analyst
ArcInfo: Requires Production Mapping and Spatial Analyst

1/13/2011