Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dealing with missing EPSG code (EPSG:41001) #21

Open
epifanio opened this issue May 27, 2021 · 0 comments
Open

dealing with missing EPSG code (EPSG:41001) #21

epifanio opened this issue May 27, 2021 · 0 comments

Comments

@epifanio
Copy link

Hi,

I am trying to get the following projection EPSG:4001

import pyepsg

pyepsg.get(41001)

But I get:

Traceback (most recent call last):

  File "/opt/conda/envs/rapids-0.20/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3441, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)

  File "<ipython-input-3-9526ddd0d1ad>", line 1, in <module>
    pyepsg.get(41001)

  File "/opt/conda/envs/rapids-0.20/lib/python3.8/site-packages/pyepsg.py", line 288, in get
    root = ET.fromstring(xml)

  File "/opt/conda/envs/rapids-0.20/lib/python3.8/xml/etree/ElementTree.py", line 1321, in XML
    return parser.close()

  File "<string>", line unknown
ParseError: no element found: line 2, column 1

Any clue on what I am doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant