JuliaGeo / Shapefile.jl

Parsing .shp files in Julia
http://juliageo.org/Shapefile.jl/
MIT License
82 stars 14 forks source link

Load .prj files if they exist #71

Closed rafaqz closed 2 years ago

rafaqz commented 2 years ago

Add handling for .prj files, so that GeoInterface.crs(handle_or_table) returns an GeoFormatTypes.ESRIWellKnownText wrapper around the .prj text.

Closes #31

@joshday this is kind of trivial, but having a look/review of the PR might be an ok introduction to Shapefile.jl.

evetion commented 2 years ago

Apart from the failing tests, LGTM.

rafaqz commented 2 years ago

Ah thats actually a GeoFormatTypes.jl bug that ESRIWellKnownText is missing the single argument constructor.

Its fixed in the PR.