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

prj2epsg.org seems out of service #52

Open
HowcanoeWang opened this issue Jun 30, 2020 · 2 comments
Open

prj2epsg.org seems out of service #52

HowcanoeWang opened this issue Jun 30, 2020 · 2 comments

Comments

@HowcanoeWang
Copy link

As mentioned in

https://www.reddit.com/r/gis/comments/bdnir7/prj2epsgorgsearch_not_working_anymoreanyone_have/

It seems the prj2epsg/search will give 500 internal error, which makes utils.wkt_to_epgs() function doesn't work anymore, is it possible to change to another searching web as alternative (maybe epsg.io?) or provide an cached prj2epsg.json in the project file?

@karimbahgat
Copy link
Owner

Thanks for pointing this out @HowcanoeWang. I believe there's been some issues with that website before too. Seeing as now it's not working at all, we'd have to find another method. The only other sites are like you say, epsg.io, and spatialreference.org (which is slightly outdated). Unless I'm mistaken, neither of these are meant for searching crs string -> crs code, only for the reverse scenario of searching simple names or codes -> crs string. I tried to search both using a wkt string and both resulted in 502 Bad Gateway error (presumably from the search string being too long/overload??).

I suspect such a crs code lookup would have to be implemented from scratch, possibly using a local table as you suggest. I could try to look at it when I get some time, but that might be a while, so in the meanwhile I'd be happy to accept any PRs on this :)

@karimbahgat
Copy link
Owner

karimbahgat commented Aug 5, 2020

If you or anyone else is able to work on this, let me know, and I might have some ideas in terms of how to go about implementing such a feature.

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

No branches or pull requests

2 participants