mdenil

BearingDistanceToLine not supporting spatial_reference

Discussion created by mdenil on May 14, 2012
Latest reply on May 17, 2012 by dlee-esristaff
I have been getting disappointing results from BearingDistanceToLine_management in v10.0 when using a Polar Stereographic projection.

In, for example, the upper right quadrant (where the pole is to the lower left), feeding the tool a direction of, say 14° (measured clockwise from the y axis), plots the line traveling from the start point in a direction 14° clockwise from the direction of the pole (at 0,0)!

This behavior is rather less than useful.

I have tried feeding the spatial reference as a spatial reference string in a python script, and by Importing it from another feature class in the tool interface, with the same result either way.

The projection is:

Projection: Stereographic_North_Pole
False_Easting: 0.000000
False_Northing: 0.000000
Central_Meridian: 180.000000
Standard_Parallel_1: 60.000000
Linear Unit: Meter (1.000000)

Geographic Coordinate System: GCS_WGS_1984
Angular Unit: Degree (0.017453292519943299)
Prime Meridian: Greenwich (0.000000000000000000)
Datum: D_WGS_1984
   Spheroid: WGS_1984
     Semimajor Axis: 6378137.000000000000000000
     Semiminor Axis: 6356752.314245179300000000
     Inverse Flattening: 298.257223563000030000

or, if you prefer:
'PROJCS["WGS_1984_Stereographic_North_Pole",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Stereographic_North_Pole"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",180.0],PARAMETER["Standard_Parallel_1",60.0],UNIT["Meter",1.0]]'

Outcomes