EPSG
ftp://ftp.ngs.noaa.gov/pub/pcsoft/nadcon/samoa_readme.txt
2004-04-27
Geodesy.
NADCON method which expects longitudes positive west; EPSG GeogCRSs American Samoa 1962 and NAD83(HARN) (codes 4169 and 4152) have longitudes positive east. NADCON expects latitudes in northern hemisphere and values must be made positive prior to input.
American Samoa - Tutuila island.
(0,)
Definition: OGC Well Known Text 2 (2019)
COORDINATEOPERATION["American Samoa 1962 to NAD83(HARN) (1)", VERSION["NGS-Asm W"], SOURCECRS[ GEOGCRS["American Samoa 1962", DATUM["American Samoa 1962", ELLIPSOID["Clarke 1866",6378206.4,294.978698213898, LENGTHUNIT["metre",1]]], PRIMEM["Greenwich",0, ANGLEUNIT["degree",0.0174532925199433]], CS[ellipsoidal,2], AXIS["geodetic latitude (Lat)",north, ORDER[1], ANGLEUNIT["degree",0.0174532925199433]], AXIS["geodetic longitude (Lon)",east, ORDER[2], ANGLEUNIT["degree",0.0174532925199433]], ID["EPSG",4169]]], TARGETCRS[ GEOGCRS["NAD83(HARN)", DATUM["NAD83 (High Accuracy Reference Network)", ELLIPSOID["GRS 1980",6378137,298.257222101, LENGTHUNIT["metre",1]]], PRIMEM["Greenwich",0, ANGLEUNIT["degree",0.0174532925199433]], CS[ellipsoidal,2], AXIS["geodetic latitude (Lat)",north, ORDER[1], ANGLEUNIT["degree",0.0174532925199433]], AXIS["geodetic longitude (Lon)",east, ORDER[2], ANGLEUNIT["degree",0.0174532925199433]], ID["EPSG",4152]]], METHOD["NADCON", ID["EPSG",9613]], PARAMETERFILE["Latitude difference file","wshpgn.las"], PARAMETERFILE["Longitude difference file","wshpgn.los"], OPERATIONACCURACY[5.0], USAGE[ SCOPE["Geodesy."], AREA["American Samoa - Tutuila island."], BBOX[-14.43,-170.88,-14.2,-170.51]], ID["EPSG",1578], REMARK["NADCON method which expects longitudes positive west; EPSG GeogCRSs American Samoa 1962 and NAD83(HARN) (codes 4169 and 4152) have longitudes positive east. NADCON expects latitudes in northern hemisphere and values must be made positive prior to input."]]
Definition: JavaScript (Proj4js)
proj4.defs("EPSG:1578","+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=hgridshift +grids=us_noaa_wshpgn.tif +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1");
Definition: JSON
{ "$schema": "https://proj.org/schemas/v0.7/projjson.schema.json", "type": "Transformation", "name": "American Samoa 1962 to NAD83(HARN) (1)", "source_crs": { "type": "GeographicCRS", "name": "American Samoa 1962", "datum": { "type": "GeodeticReferenceFrame", "name": "American Samoa 1962", "ellipsoid": { "name": "Clarke 1866", "semi_major_axis": 6378206.4, "semi_minor_axis": 6356583.8 } }, "coordinate_system": { "subtype": "ellipsoidal", "axis": [ { "name": "Geodetic latitude", "abbreviation": "Lat", "direction": "north", "unit": "degree" }, { "name": "Geodetic longitude", "abbreviation": "Lon", "direction": "east", "unit": "degree" } ] }, "id": { "authority": "EPSG", "code": 4169 } }, "target_crs": { "type": "GeographicCRS", "name": "NAD83(HARN)", "datum": { "type": "GeodeticReferenceFrame", "name": "NAD83 (High Accuracy Reference Network)", "ellipsoid": { "name": "GRS 1980", "semi_major_axis": 6378137, "inverse_flattening": 298.257222101 } }, "coordinate_system": { "subtype": "ellipsoidal", "axis": [ { "name": "Geodetic latitude", "abbreviation": "Lat", "direction": "north", "unit": "degree" }, { "name": "Geodetic longitude", "abbreviation": "Lon", "direction": "east", "unit": "degree" } ] }, "id": { "authority": "EPSG", "code": 4152 } }, "method": { "name": "NADCON", "id": { "authority": "EPSG", "code": 9613 } }, "parameters": [ { "name": "Latitude difference file", "value": "wshpgn.las", "id": { "authority": "EPSG", "code": 8657 } }, { "name": "Longitude difference file", "value": "wshpgn.los", "id": { "authority": "EPSG", "code": 8658 } } ], "accuracy": "5.0", "scope": "Geodesy.", "area": "American Samoa - Tutuila island.", "bbox": { "south_latitude": -14.43, "west_longitude": -170.88, "north_latitude": -14.2, "east_longitude": -170.51 }, "id": { "authority": "EPSG", "code": 1578 }, "remarks": "NADCON method which expects longitudes positive west; EPSG GeogCRSs American Samoa 1962 and NAD83(HARN) (codes 4169 and 4152) have longitudes positive east. NADCON expects latitudes in northern hemisphere and values must be made positive prior to input." }
Definition: MapServer - MAPfile
PROJECTION "proj=pipeline" "step" "proj=axisswap" "order=2,1" "step" "proj=unitconvert" "xy_in=deg" "xy_out=rad" "step" "proj=hgridshift" "grids=us_noaa_wshpgn.tif" "step" "proj=unitconvert" "xy_in=rad" "xy_out=deg" "step" "proj=axisswap" "order=2,1" END
Definition: Mapnik
<?xml version="1.0" encoding="utf-8"?> <Map srs="+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=hgridshift +grids=us_noaa_wshpgn.tif +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1"> <Layer srs="+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=hgridshift +grids=us_noaa_wshpgn.tif +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1"> </Layer> </Map>
Definition: SQL (PostGIS)
INSERT into spatial_ref_sys (srid, auth_name, auth_srid, proj4text, srtext) values ( 1578, 'EPSG', 1578, '+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=hgridshift +grids=us_noaa_wshpgn.tif +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1', 'None');