This module provides a method for looking up information about the Coordinate Reference Systems (CRS) shipped with ArcGIS.
Provide a Well Known ID (WKID) to the
lookup() method and the CRS Name, Well Known Text (WKT) and other metadata will be returned.
npm install @esri/proj-codes
Then require the module, call the
lookup method and pass in your well known id of choice.
const codes =const crs = codescrsname> 'WGS_1984_Web_Mercator_Auxiliary_Sphere'crswkt> 'PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984"...'crsdescription> 'WGS 1984 Web Mercator Major Auxiliary Sphere'crsauthority> 'EPSG'crsdeprecated> 'no'crsextent> "slat": -8506 "nlat": 8506 "llon": -1800 "rlon": 1800// this works toocodesname> 'WGS_1984_Web_Mercator_Auxiliary_Sphere'
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.
Copyright © 2010-2020 Esri
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
A copy of the license is available in the repository's LICENSE file.