Hello @RPGIS - would you be able to share how you used copilot to derive your expression? I ask because when I try to parametrize for Florida State Plane West HARN, the only differences are the centralMeridian, latitutudeOfOrigin and the scale factor.
var centralMeridian = -82.0 * (PI / 180); // Central meridian for NAD83 HARN Florida State Plane West (degrees to radians)
var latitudeOfOrigin = 24.33333333333333 // Latitude of origin (degrees to radians)
var scaleFactor = 0.9999411764705882; // Scale factor
Other than the scale factor for HARN carrying more precision than the NAD 83 above I cannot seem to find where HARN would cause my conversions to have a 0.1 degree shift north in latitude and 0.05 shift east in longitude.
For example, when I plug in the expressions for my respective lat and lon attributes:
Pro: 27.078110470, -82.43048022
Arcade: 27.505790, -82.383999
Its interesting too because the console returns different values from the actual calculation:
{"latitude":27.851679,"longitude":-82.409632}
Any insights you can provide are appreciated, (I just don't have the trig to keep up) -
Thanks,
David
Link to a similar post with an Arcade expression that works for State Plane North / South coordinate systems (Lambert Conformal Conic)
https://community.esri.com/t5/arcgis-pro-ideas/arcade-projectas-geometry-function/idi-p/1171382/page...
@TomNeer