You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 :)
As mentioned in
It seems the
prj2epsg/search
will give 500 internal error, which makesutils.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?The text was updated successfully, but these errors were encountered: