reproject
reproject copied to clipboard
SpatialReference site is https only
$ cat works.json | reproject --from=EPSG:27700 --to=EPSG:4326 --sr
[...]
Error: spatialreference.org responded with HTTP 301 when looking up "EPSG:27700".
The 301 redirect to https returned for the http request throws an error. The basic answer of switching the URL to https does not work because the http fetcher included only appears to support http. Thanks for this package :)
Hi! Thanks for the feedback. I guess it's time to deprecate the spatialreference.org code if there's no easy fix. I would recommend you to use the --use-epsg-io (or --eio) option instead, which works the same, but fetches data from epsg.io instead.