Closed alexbruy closed 2 years ago
Not sure where is the right place for it, so I have put it in the same file where other functions related to geometry handling are located. As I have no prior experience with exposing and using C API in Python new function is not public yet.
You need to add C - wrapper to https://github.com/lutraconsulting/geodiff/blob/master/geodiff/src/geodiff.h and Python-wrapper in https://github.com/lutraconsulting/geodiff/blob/master/pygeodiff/main.py
please add tests too
Tried to add wrappers. Not sure if this is the correct way of doing it, but I have never worked with a such low-level stuff before.
looks good. can you add python test here? : https://github.com/lutraconsulting/geodiff/tree/master/pygeodiff/tests
can you rebase please from master and also add Geodiff context to the new function in this PR?
Tried to address comments. I have no idea whether this is correct way of doing it or not.
Add new function
createWkbFromGpkgHeader()
to extract geometry in WKB format from the geometry encoded according to GPKG spec.Fix #162.