{"_id":"@andrewannex/planet-proj4","name":"@andrewannex/planet-proj4","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@andrewannex/planet-proj4","version":"0.0.1","description":"Providing Planetary IAU CRSs to Proj4js.","main":"dist/planet-proj4.min.js","scripts":{"build":"webpack --mode production","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/AndrewAnnex/planetproj4js.git"},"keywords":["proj4","coordinate systems","CRS","IAU","Planaetary"],"author":{"name":"Andrew Annex"},"license":"MIT","devDependencies":{"babel-core":"^7.0.0-bridge.0","babel-loader":"^8.0.0","@babel/preset-env":"^7.20.0","jest":"^27.0.0","webpack":"^5.0.0","webpack-cli":"^4.0.0"},"peerDependencies":{"proj4":"^2.12.0"},"_id":"@andrewannex/planet-proj4@0.0.1","gitHead":"35c9cfc3577ea23021749eac4d5bd20682e4e0c6","bugs":{"url":"https://github.com/AndrewAnnex/planetproj4js/issues"},"homepage":"https://github.com/AndrewAnnex/planetproj4js#readme","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-XndEFSmCFSZNe1Tsz1ZXNV+W0uY4R030C/UeVeaC7lK2OYGH7hZqRzABk3q1cdKJD3A11buppf4sOL+TTsgyfQ==","shasum":"a2e0ee04df1d8822b79f300e2bafcf5292899010","tarball":"https://registry.npmjs.org/@andrewannex/planet-proj4/-/planet-proj4-0.0.1.tgz","fileCount":9,"unpackedSize":431011,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@andrewannex%2fplanet-proj4@0.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBPedikFqc/9ABuEHwRtvXVUf6dyVEgrd5RoW7Lg3D0jAiEAqc2bCyMApAQTpfrP1wqDa6e9o/dWSVbZX8YGA8Tw+Bk="}]},"_npmUser":{"name":"andrewannex","email":"ama6fy@virginia.edu"},"directories":{},"maintainers":[{"name":"andrewannex","email":"ama6fy@virginia.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/planet-proj4_0.0.1_1723835998632_0.042851609377585254"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-16T19:19:58.535Z","0.0.1":"2024-08-16T19:19:58.818Z","modified":"2024-08-16T19:19:59.398Z"},"maintainers":[{"name":"andrewannex","email":"ama6fy@virginia.edu"}],"description":"Providing Planetary IAU CRSs to Proj4js.","homepage":"https://github.com/AndrewAnnex/planetproj4js#readme","keywords":["proj4","coordinate systems","CRS","IAU","Planaetary"],"repository":{"type":"git","url":"git+https://github.com/AndrewAnnex/planetproj4js.git"},"author":{"name":"Andrew Annex"},"bugs":{"url":"https://github.com/AndrewAnnex/planetproj4js/issues"},"license":"MIT","readme":"# PlanetProj4js\n\nA library providing IAU:2015 coordinate reference systems to proj4js.\n\n## Installation\n\n```bash\nnpm install planet-proj4 proj4\n```\n\n\n## Tests\n\n```bash\nnpm run test\n```\n\n## Build\n\n```bash\nnpm run build\n```\n\n### Generating the codes\n\n```python\nimport pyproj\nbad_codes = []\nfor code in pyproj.database.get_codes(auth_name=\"IAU_2015\", pj_type=\"CRS\"):\n    crs = pyproj.CRS(f'IAU_2015:{code}')\n    try:\n        projtext = crs.to_proj4()\n        print('[')\n        print(f\"  'IAU:2015:{code}',\")\n        print(f\"  '+title={crs.name} {projtext }'\")\n        print('],')\n    except pyproj.exceptions.CRSError as e:\n        bad_codes.append(code)\n    finally:\n        pass\n#############################################\nfor c in bad_codes:\n    print(c)\npass\n```\n\ncurrently codes ending with \"02\" are not included\n","readmeFilename":"README.md"}