Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 2147483649 can't be converted to OGRwkbGeometryType #1

Open
benboughton1 opened this issue Jan 1, 2021 · 0 comments
Open

Error: 2147483649 can't be converted to OGRwkbGeometryType #1

benboughton1 opened this issue Jan 1, 2021 · 0 comments

Comments

@benboughton1
Copy link

Hi not sure if you are still using this one but I'd love get get GDAL going in Nim. I am trying to get this working for GDAL 3.2.

Any help appreciated. Thanks

nimterop throws an error:

PS C:\Users\bboug\nim_tests\gdal\nimgdal-master\tests> nim c "test.nim"
Hint: used config file 'C:\Apps\nim-1.4.2\config\nim.cfg' [Conf]
Hint: used config file 'C:\Apps\nim-1.4.2\config\config.nims' [Conf]
Hint: used config file 'C:\Users\bboug\nim_tests\gdal\nimgdal-master\tests\config.nims' [Conf]
...........................................
-----------C:\Users\bboug\nim_tests\gdal\nimgdal-master\src\wrap\gdal
# Importing C:\Users\bboug\nim_tests\gdal\nimgdal-master\src\wrap\gdal\gcore\gdal.h
# Saved to C:/Users/bboug/nimcache/nimterop/toastCache/nimterop_1349008159.nim
C:\Users\bboug\nim_tests\gdal\nimgdal-master\src\wrap\gdal.nim(179, 8) template/generic instantiation of `cImport` from here
C:\Users\bboug\.nimble\pkgs\nimterop-0.6.13\nimterop\cimport.nim(704, 10) template/generic instantiation of `cImport` from here
C:\Users\bboug\nimcache\nimterop\toastCache\nimterop_1349008159.nim(569, 42) Error: 2147483649 can't be converted to OGRwkbGeometryType
PS C:\Users\bboug\nim_tests\gdal\nimgdal-master\tests> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant