from pyproj import CRS
crs = CRS.from_epsg(102685)
Problem description
Code fails with the following error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "[/home/matt/.local/share/virtualenvs/openpolicedata-xNuCOb40/lib/python3.8/site-packages/pyproj/crs/crs.py]()", line 370, in from_epsg
return cls.from_user_input(_prepare_from_epsg(code))
File "[/home/matt/.local/share/virtualenvs/openpolicedata-xNuCOb40/lib/python3.8/site-packages/pyproj/crs/crs.py]()", line 479, in from_user_input
return cls(value, **kwargs)
File "[/home/matt/.local/share/virtualenvs/openpolicedata-xNuCOb40/lib/python3.8/site-packages/pyproj/crs/crs.py]()", line 326, in __init__
self._local.crs = _CRS(self.srs)
File "pyproj[/_crs.pyx]()", line 2352, in pyproj._crs._CRS.__init__
pyproj.exceptions.CRSError: Invalid projection: epsg:102685: (Internal Proj Error: proj_create: crs not found)
Code Sample, a copy-pastable example if possible
Problem description
Code fails with the following error:
Expected Output
Environment Information
pyproj -v
System: python: 3.8.10 (default, Nov 26 2021, 20:14:08) [GCC 9.3.0] executable: /home/matt/.local/share/virtualenvs/openpolicedata-xNuCOb40/bin/python machine: Linux-5.4.0-91-generic-x86_64-with-glibc2.29
Python deps: certifi: 2021.10.08 pip: 21.3.1 setuptools: 58.3.0 Cython: None