in reply to Re: Solved! (was: Re^10: Geo Package files)
in thread Geo Package files

It would be useful to have a generalised WKB reader (and writer) on CPAN.

As I write this code, I shall bear in mind that a WKB decoder would be a useful addition to CPAN. However, WKB is much more extensive than the limited scope I am looking at so whatever I produce will be a limited version that will be useful to some people. Either to use as-is or to build upon.

The first requirement I have from this USRN data is to find the nearest USRN to a given point. For that, the centre of the envelope is sufficient. In future, I will be wanting to plot the LineStrings so proper decoding will be needed but that's for another day.

  • Comment on Re^2: Solved! (was: Re^10: Geo Package files)

Replies are listed 'Best First'.
Re^3: Solved! (was: Re^10: Geo Package files)
by swl (Prior) on Mar 12, 2022 at 02:08 UTC

    Even a limited version would be a very useful thing. The seven types supported by GEOS would cover more than 90% of use cases (points, polylines and polygons, their multi-part variants and geometry collections).