zellige / hs-geojson

GeoJSON parsing library [Haskell]
BSD 3-Clause "New" or "Revised" License
23 stars 13 forks source link

Question: geo calculations #30

Closed petercoppensdatylon closed 1 year ago

petercoppensdatylon commented 1 year ago

Hello

At first sight hs-geojson does not have functionality to do geo calculations (mainly looking for containment of points in polygones), region overlap, ...)

Anyone has tips on how to go about that? Perhaps some other Haskell library can be combined to get there?

Tx!!

Peter

newmana commented 1 year ago

Last time I looked, there were no pure Haskell libraries that did this. It was a longer term goal we had (we did WKT and WKB parsing in Haskell for example). We ended up using PostGIS a lot too.

The main library people use is geos https://github.com/ewestern/geos which is a binding to the C library.