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

GEOS errors with fresh basemap install on Python 3.7 #437

Closed
hausfath opened this issue Nov 2, 2018 · 10 comments
Closed

GEOS errors with fresh basemap install on Python 3.7 #437

hausfath opened this issue Nov 2, 2018 · 10 comments

Comments

@hausfath
Copy link

hausfath commented Nov 2, 2018

I just purchased a new macbook pro and decided to use the opportunity to upgrade to Python 3. However, I'm having a set of apparently GEOS-related errors when installing basemap and I'm unable to figure out how to solve them.

Here were the steps I took:

brew install proj
brew install geos
pip install git+https://github.com/jswhit/pyproj.git

I also tried to make sure the correct version of GEOS was being used after getting an error (per this thread: #414):

rm -rf $SRC_DIR/geos-3.7.0
export GEOS_DIR=$PREFIX

Here is what I get when I try to install basemap via pip install https://github.com/matplotlib/basemap/archive/v1.1.0.tar.gz:

Collecting https://github.com/matplotlib/basemap/archive/v1.1.0.tar.gz
Downloading https://github.com/matplotlib/basemap/archive/v1.1.0.tar.gz
| 165.5MB 13.9MB/s
Requirement already satisfied: numpy>=1.2.1 in /usr/local/lib/python3.7/site-packages (from basemap==1.1.0) (1.15.3)
Requirement already satisfied: matplotlib>=1.0.0 in /usr/local/lib/python3.7/site-packages (from basemap==1.1.0) (3.0.1)
Requirement already satisfied: pyproj>=1.9.3 in /usr/local/lib/python3.7/site-packages (from basemap==1.1.0) (1.9.5.1)
Requirement already satisfied: pyshp>=1.2.0 in /usr/local/lib/python3.7/site-packages (from basemap==1.1.0) (1.2.12)
Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.7/site-packages (from matplotlib>=1.0.0->basemap==1.1.0) (2.7.5)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.7/site-packages (from matplotlib>=1.0.0->basemap==1.1.0) (0.10.0)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.7/site-packages (from matplotlib>=1.0.0->basemap==1.1.0) (2.3.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.7/site-packages (from matplotlib>=1.0.0->basemap==1.1.0) (1.0.1)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.7/site-packages (from python-dateutil>=2.1->matplotlib>=1.0.0->basemap==1.1.0) (1.11.0)
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/site-packages (from kiwisolver>=1.0.1->matplotlib>=1.0.0->basemap==1.1.0) (40.4.3)
Building wheels for collected packages: basemap
Running setup.py bdist_wheel for basemap ... error
Complete output from command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/q7/0ch63xb51csb87w6d18_xdhw0000gn/T/pip-req-build-hm07gt4n/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /private/var/folders/q7/0ch63xb51csb87w6d18_xdhw0000gn/T/pip-wheel-lzmdneo0 --python-tag cp37:
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "_geoslib" sources
build_src: building npy-pkg config files
running build_py
creating build
creating build/lib.macosx-10.13-x86_64-3.7
creating build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits
copying lib/mpl_toolkits/init.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits
creating build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/cm.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/init.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/test.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/diagnostic.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/proj.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/solar.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
creating build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.dbf -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.shx -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.shp -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/shadedrelief.jpg -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/bmng.jpg -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/etopo1.jpg -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.prj -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building '_geoslib' extension
compiling C sources
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers

creating build/temp.macosx-10.13-x86_64-3.7/src
compile options: '-Iinclude -I['/usr/local/lib/python3.7/site-packages/numpy/core/include'] -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
clang: src/_geoslib.c
In file included from src/_geoslib.c:247:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821:
/usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by "
^
src/_geoslib.c:1139:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_valid = GEOSisValid(__pyx_v_self->_geom);
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1924:54: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSisValid(const GEOSGeometry
g);
^
src/_geoslib.c:1239:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_1 = PyBytes_FromString(GEOSGeomType(__pyx_v_self->_geom)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:1330:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1749:53: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry
g1, const GEOSGeometry
g2);
^
src/_geoslib.c:1330:43: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1749:77: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry
g1, const GEOSGeometry
g2);
^
src/_geoslib.c:1468:26: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1601:61: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL GEOSUnion(const GEOSGeometry g1, const GEOSGeometry
g2);
^
src/_geoslib.c:1468:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1601:85: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL GEOSUnion(const GEOSGeometry g1, const GEOSGeometry
g2);
^
src/_geoslib.c:1468:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1477:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry
g);
^
src/_geoslib.c:1592:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:1601:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:1601:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1658:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:1667:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:1667:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1716:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 194; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:1751:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry
g);
^
src/_geoslib.c:1857:29: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1649:64: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL GEOSSimplify(const GEOSGeometry g, double tolerance);
^
src/_geoslib.c:1857:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1866:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry
g);
^
src/_geoslib.c:1981:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:1990:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:1990:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2047:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:2056:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2056:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2105:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_3 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:2140:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry
g);
^
src/_geoslib.c:2234:27: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1451:62: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL GEOSBuffer(const GEOSGeometry g,
^
src/_geoslib.c:2234:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2243:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry
g);
^
src/_geoslib.c:2358:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:2367:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2367:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2424:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:2433:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2433:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2482:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:2517:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry
g);
^
src/_geoslib.c:2620:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1747:57: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry
g1, const GEOSGeometry
g2);
^
src/_geoslib.c:2620:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1747:81: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry
g1, const GEOSGeometry
g2);
^
src/_geoslib.c:2761:33: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1554:68: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL GEOSIntersection(const GEOSGeometry g1, const GEOSGeometry
g2);
^
src/_geoslib.c:2761:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1554:92: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL GEOSIntersection(const GEOSGeometry g1, const GEOSGeometry
g2);
^
src/_geoslib.c:2761:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2770:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry
g);
^
src/_geoslib.c:2915:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:2946:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2946:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3013:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:3044:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:3044:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3103:22: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry
g);
^
src/_geoslib.c:3128:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry
g);
^
src/_geoslib.c:3258:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_self->_geom);
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry
g);
^
src/_geoslib.c:3683:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence
s,
^
src/_geoslib.c:3738:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence
s,
^
src/_geoslib.c:3776:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence
s,
^
src/_geoslib.c:3785:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence
s,
^
src/_geoslib.c:3803:42: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1521:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createLinearRing(GEOSCoordSequence s);
^
src/_geoslib.c:3803:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3812:59: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1531:68: note: passing argument to parameter 'shell' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createPolygon(GEOSGeometry shell,
^
src/_geoslib.c:3812:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3888:12: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSArea(__pyx_v_self->__pyx_base._geom, (&__pyx_v_area));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2055:50: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSArea(const GEOSGeometry
g, double *area);
^
src/_geoslib.c:4090:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4136:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence
s,
^
src/_geoslib.c:4145:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence
s,
^
src/_geoslib.c:4155:62: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1522:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createLineString(GEOSCoordSequence s);
^
src/_geoslib.c:4155:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4273:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(1, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4300:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, 0, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence
s,
^
src/_geoslib.c:4309:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, 0, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence
s,
^
src/_geoslib.c:4318:57: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1519:71: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createPoint(GEOSCoordSequence s);
^
src/_geoslib.c:4318:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4584:32: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_t_1 = ((GEOSGeomTypeId(__pyx_v_geom) == GEOS_POLYGON) != 0);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry
g);
^
src/_geoslib.c:4594:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2011:77: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetExteriorRing(const GEOSGeometry g);
^
src/_geoslib.c:4594:16: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4603:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL GEOSGeom_getCoordSeq(const GEOSGeometry g);
^
src/_geoslib.c:4603:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4623:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL GEOSGeom_getCoordSeq(const GEOSGeometry g);
^
src/_geoslib.c:4623:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4634:24: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getSize(__pyx_v_cs, (&__pyx_v_M));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1403:67: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getSize(const GEOSCoordSequence
s,
^
src/_geoslib.c:4720:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getX(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dx));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1391:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getX(const GEOSCoordSequence
s,
^
src/_geoslib.c:4729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getY(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dy));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1393:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getY(const GEOSCoordSequence
s,
^
src/_geoslib.c:5485:12: warning: incompatible pointer types passing 'void (char *, char )' to parameter of type 'GEOSMessageHandler' (aka 'void ()(const char *, ...)') [-Wincompatible-pointer-types]
initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1316:50: note: passing argument to parameter 'notice_function' here
extern void GEOS_DLL initGEOS(GEOSMessageHandler notice_function,
^
src/_geoslib.c:5485:40: warning: incompatible pointer types passing 'void (char *, char )' to parameter of type 'GEOSMessageHandler' (aka 'void ()(const char *, ...)') [-Wincompatible-pointer-types]
initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1317:24: note: passing argument to parameter 'error_function' here
GEOSMessageHandler error_function);
^
src/_geoslib.c:5552:21: error: no member named 'exc_type' in 'struct _ts'
*type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5553:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5554:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5566:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5567:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5568:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5569:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = type;
~~~~~~ ^
src/_geoslib.c:5570:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5571:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5614:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5615:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5616:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5617:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = local_type;
~~~~~~ ^
src/_geoslib.c:5618:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5619:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
86 warnings and 15 errors generated.
In file included from src/_geoslib.c:247:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821:
/usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by "
^
src/_geoslib.c:1139:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_valid = GEOSisValid(__pyx_v_self->_geom);
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1924:54: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSisValid(const GEOSGeometry
g);
^
src/_geoslib.c:1239:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_1 = PyBytes_FromString(GEOSGeomType(__pyx_v_self->_geom)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:1330:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1749:53: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry
g1, const GEOSGeometry
g2);
^
src/_geoslib.c:1330:43: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1749:77: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry
g1, const GEOSGeometry
g2);
^
src/_geoslib.c:1468:26: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1601:61: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL GEOSUnion(const GEOSGeometry g1, const GEOSGeometry
g2);
^
src/_geoslib.c:1468:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1601:85: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL GEOSUnion(const GEOSGeometry g1, const GEOSGeometry
g2);
^
src/_geoslib.c:1468:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1477:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry
g);
^
src/_geoslib.c:1592:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:1601:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:1601:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1658:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:1667:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:1667:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1716:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 194; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:1751:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry
g);
^
src/_geoslib.c:1857:29: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1649:64: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL GEOSSimplify(const GEOSGeometry g, double tolerance);
^
src/_geoslib.c:1857:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1866:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry
g);
^
src/_geoslib.c:1981:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:1990:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:1990:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2047:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:2056:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2056:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2105:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_3 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:2140:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry
g);
^
src/_geoslib.c:2234:27: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1451:62: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL GEOSBuffer(const GEOSGeometry g,
^
src/_geoslib.c:2234:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2243:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry
g);
^
src/_geoslib.c:2358:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:2367:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2367:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2424:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:2433:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2433:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2482:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:2517:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry
g);
^
src/_geoslib.c:2620:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1747:57: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry
g1, const GEOSGeometry
g2);
^
src/_geoslib.c:2620:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1747:81: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry
g1, const GEOSGeometry
g2);
^
src/_geoslib.c:2761:33: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1554:68: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL GEOSIntersection(const GEOSGeometry g1, const GEOSGeometry
g2);
^
src/_geoslib.c:2761:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1554:92: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL GEOSIntersection(const GEOSGeometry g1, const GEOSGeometry
g2);
^
src/_geoslib.c:2761:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2770:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry
g);
^
src/_geoslib.c:2915:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:2946:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2946:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3013:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry
g);
^
src/_geoslib.c:3044:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:3044:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3103:22: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry
g);
^
src/_geoslib.c:3128:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry
g);
^
src/_geoslib.c:3258:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_self->_geom);
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry
g);
^
src/_geoslib.c:3683:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence
s,
^
src/_geoslib.c:3738:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence
s,
^
src/_geoslib.c:3776:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence
s,
^
src/_geoslib.c:3785:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence
s,
^
src/_geoslib.c:3803:42: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1521:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createLinearRing(GEOSCoordSequence s);
^
src/_geoslib.c:3803:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3812:59: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1531:68: note: passing argument to parameter 'shell' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createPolygon(GEOSGeometry shell,
^
src/_geoslib.c:3812:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3888:12: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSArea(__pyx_v_self->__pyx_base._geom, (&__pyx_v_area));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2055:50: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSArea(const GEOSGeometry
g, double *area);
^
src/_geoslib.c:4090:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4136:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence
s,
^
src/_geoslib.c:4145:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence
s,
^
src/_geoslib.c:4155:62: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1522:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createLineString(GEOSCoordSequence s);
^
src/_geoslib.c:4155:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4273:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(1, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4300:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, 0, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence
s,
^
src/_geoslib.c:4309:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, 0, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence
s,
^
src/_geoslib.c:4318:57: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1519:71: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createPoint(GEOSCoordSequence s);
^
src/_geoslib.c:4318:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4584:32: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_t_1 = ((GEOSGeomTypeId(__pyx_v_geom) == GEOS_POLYGON) != 0);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry
g);
^
src/_geoslib.c:4594:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2011:77: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetExteriorRing(const GEOSGeometry g);
^
src/_geoslib.c:4594:16: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4603:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL GEOSGeom_getCoordSeq(const GEOSGeometry g);
^
src/_geoslib.c:4603:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4623:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL GEOSGeom_getCoordSeq(const GEOSGeometry g);
^
src/_geoslib.c:4623:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4634:24: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getSize(__pyx_v_cs, (&__pyx_v_M));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1403:67: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getSize(const GEOSCoordSequence
s,
^
src/_geoslib.c:4720:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getX(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dx));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1391:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getX(const GEOSCoordSequence
s,
^
src/_geoslib.c:4729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getY(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dy));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1393:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getY(const GEOSCoordSequence
s,
^
src/_geoslib.c:5485:12: warning: incompatible pointer types passing 'void (char *, char )' to parameter of type 'GEOSMessageHandler' (aka 'void ()(const char *, ...)') [-Wincompatible-pointer-types]
initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1316:50: note: passing argument to parameter 'notice_function' here
extern void GEOS_DLL initGEOS(GEOSMessageHandler notice_function,
^
src/_geoslib.c:5485:40: warning: incompatible pointer types passing 'void (char *, char )' to parameter of type 'GEOSMessageHandler' (aka 'void ()(const char *, ...)') [-Wincompatible-pointer-types]
initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1317:24: note: passing argument to parameter 'error_function' here
GEOSMessageHandler error_function);
^
src/_geoslib.c:5552:21: error: no member named 'exc_type' in 'struct _ts'
*type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5553:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5554:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5566:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5567:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5568:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5569:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = type;
~~~~~~ ^
src/_geoslib.c:5570:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5571:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5614:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5615:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5616:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5617:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = local_type;
~~~~~~ ^
src/_geoslib.c:5618:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5619:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
86 warnings and 15 errors generated.
error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Iinclude -I['/usr/local/lib/python3.7/site-packages/numpy/core/include'] -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/_geoslib.c -o build/temp.macosx-10.13-x86_64-3.7/src/_geoslib.o -MMD -MF build/temp.macosx-10.13-x86_64-3.7/src/_geoslib.o.d" failed with exit status 1


Failed building wheel for basemap
Running setup.py clean for basemap
Failed to build basemap
Installing collected packages: basemap
Running setup.py install for basemap ... error
Complete output from command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/q7/0ch63xb51csb87w6d18_xdhw0000gn/T/pip-req-build-hm07gt4n/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/q7/0ch63xb51csb87w6d18_xdhw0000gn/T/pip-record-dnwvlp1x/install-record.txt --single-version-externally-managed --compile:
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "_geoslib" sources
build_src: building npy-pkg config files
running build_py
creating build
creating build/lib.macosx-10.13-x86_64-3.7
creating build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits
copying lib/mpl_toolkits/init.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits
creating build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/cm.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/init.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/test.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/diagnostic.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/proj.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/solar.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
creating build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.dbf -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.shx -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.shp -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/shadedrelief.jpg -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/bmng.jpg -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/etopo1.jpg -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.prj -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building '_geoslib' extension
compiling C sources
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers

creating build/temp.macosx-10.13-x86_64-3.7/src
compile options: '-Iinclude -I['/usr/local/lib/python3.7/site-packages/numpy/core/include'] -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
clang: src/_geoslib.c
In file included from src/_geoslib.c:247:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821:
/usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by "          "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
 ^
src/_geoslib.c:1139:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_valid = GEOSisValid(__pyx_v_self->_geom);
                              ^~~~~~~~~~~~~~~~~~~
                              *
/usr/local/include/geos_c.h:1924:54: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSisValid(const GEOSGeometry* g);
                                                     ^
src/_geoslib.c:1239:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_t_1 = PyBytes_FromString(GEOSGeomType(__pyx_v_self->_geom)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                              ^~~~~~~~~~~~~~~~~~~
                                              *
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:1330:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
                              ^~~~~~~~~~
                              *
/usr/local/include/geos_c.h:1749:53: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                    ^
src/_geoslib.c:1330:43: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
                                          ^~~~~~~~~~
                                          *
/usr/local/include/geos_c.h:1749:77: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                                            ^
src/_geoslib.c:1468:26: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
                         ^~~~~~~~~~
                         *
/usr/local/include/geos_c.h:1601:61: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL *GEOSUnion(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                            ^
src/_geoslib.c:1468:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
                                     ^~~~~~~~~~
                                     *
/usr/local/include/geos_c.h:1601:85: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL *GEOSUnion(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                                                    ^
src/_geoslib.c:1468:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1477:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
                                  ^~~~~~~~~~
                                  *
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:1592:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:1601:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                                    ^~~~~~~~~~
                                    *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:1601:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1658:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:1667:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                                    ^~~~~~~~~~
                                    *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:1667:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1716:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                                ^~~~~~~~~~
                                                *
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:1751:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSGeom_destroy(__pyx_v_g3);
                   ^~~~~~~~~~
                   *
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
                                                    ^
src/_geoslib.c:1857:29: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
                            ^~~~~~~~~~
                            *
/usr/local/include/geos_c.h:1649:64: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL *GEOSSimplify(const GEOSGeometry* g, double tolerance);
                                                               ^
src/_geoslib.c:1857:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1866:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
                                  ^~~~~~~~~~
                                  *
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:1981:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:1990:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                                    ^~~~~~~~~~
                                    *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:1990:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2047:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:2056:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                                    ^~~~~~~~~~
                                    *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:2056:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2105:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_t_3 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                                ^~~~~~~~~~
                                                *
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:2140:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSGeom_destroy(__pyx_v_g3);
                   ^~~~~~~~~~
                   *
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
                                                    ^
src/_geoslib.c:2234:27: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
                          ^~~~~~~~~~
                          *
/usr/local/include/geos_c.h:1451:62: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL *GEOSBuffer(const GEOSGeometry* g,
                                                             ^
src/_geoslib.c:2234:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2243:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
                                  ^~~~~~~~~~
                                  *
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:2358:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:2367:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                                    ^~~~~~~~~~
                                    *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:2367:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2424:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:2433:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                                    ^~~~~~~~~~
                                    *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:2433:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2482:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                                ^~~~~~~~~~
                                                *
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:2517:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSGeom_destroy(__pyx_v_g3);
                   ^~~~~~~~~~
                   *
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
                                                    ^
src/_geoslib.c:2620:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
                                  ^~~~~~~~~~
                                  *
/usr/local/include/geos_c.h:1747:57: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                        ^
src/_geoslib.c:2620:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
                                              ^~~~~~~~~~
                                              *
/usr/local/include/geos_c.h:1747:81: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                                                ^
src/_geoslib.c:2761:33: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
                                ^~~~~~~~~~
                                *
/usr/local/include/geos_c.h:1554:68: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL *GEOSIntersection(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                                   ^
src/_geoslib.c:2761:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1554:92: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL *GEOSIntersection(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                                                           ^
src/_geoslib.c:2761:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2770:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
                                  ^~~~~~~~~~
                                  *
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:2915:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:2946:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
      __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
                                      ^~~~~~~~~~
                                      *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:2946:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
      __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3013:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:3044:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
      __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
                                      ^~~~~~~~~~
                                      *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:3044:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
      __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3103:22: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSGeom_destroy(__pyx_v_g3);
                     ^~~~~~~~~~
                     *
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
                                                    ^
src/_geoslib.c:3128:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSGeom_destroy(__pyx_v_g3);
                   ^~~~~~~~~~
                   *
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
                                                    ^
src/_geoslib.c:3258:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSGeom_destroy(__pyx_v_self->_geom);
                   ^~~~~~~~~~~~~~~~~~~
                   *
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
                                                    ^
src/_geoslib.c:3683:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
  __pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:3738:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:3776:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_setX(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dx);
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:3785:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_setY(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dy);
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:3803:42: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
                                         ^~~~~~~~~~
                                         *
/usr/local/include/geos_c.h:1521:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createLinearRing(GEOSCoordSequence* s);
                                                                           ^
src/_geoslib.c:3803:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3812:59: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
                                                          ^~~~~~~~~~
                                                          *
/usr/local/include/geos_c.h:1531:68: note: passing argument to parameter 'shell' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createPolygon(GEOSGeometry* shell,
                                                                   ^
src/_geoslib.c:3812:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
                                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3888:12: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSArea(__pyx_v_self->__pyx_base._geom, (&__pyx_v_area));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           *
/usr/local/include/geos_c.h:2055:50: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSArea(const GEOSGeometry* g, double *area);
                                                 ^
src/_geoslib.c:4090:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
  __pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4136:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:4145:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:4155:62: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
                                                             ^~~~~~~~~~
                                                             *
/usr/local/include/geos_c.h:1522:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createLineString(GEOSCoordSequence* s);
                                                                           ^
src/_geoslib.c:4155:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
                                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4273:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
  __pyx_v_cs = GEOSCoordSeq_create(1, 2);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4300:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSCoordSeq_setX(__pyx_v_cs, 0, __pyx_v_dx);
                    ^~~~~~~~~~
                    *
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:4309:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSCoordSeq_setY(__pyx_v_cs, 0, __pyx_v_dy);
                    ^~~~~~~~~~
                    *
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:4318:57: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
                                                        ^~~~~~~~~~
                                                        *
/usr/local/include/geos_c.h:1519:71: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createPoint(GEOSCoordSequence* s);
                                                                      ^
src/_geoslib.c:4318:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
                                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4584:32: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_t_1 = ((GEOSGeomTypeId(__pyx_v_geom) == GEOS_POLYGON) != 0);
                               ^~~~~~~~~~~~
                               *
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:4594:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
                                     ^~~~~~~~~~~~
                                     *
/usr/local/include/geos_c.h:2011:77: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetExteriorRing(const GEOSGeometry* g);
                                                                            ^
src/_geoslib.c:4594:16: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
    __pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4603:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
                                      ^~~~~~~~~~
                                      *
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL *GEOSGeom_getCoordSeq(const GEOSGeometry* g);
                                                                                  ^
src/_geoslib.c:4603:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
    __pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4623:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
                                      ^~~~~~~~~~~~
                                      *
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL *GEOSGeom_getCoordSeq(const GEOSGeometry* g);
                                                                                  ^
src/_geoslib.c:4623:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
    __pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4634:24: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSCoordSeq_getSize(__pyx_v_cs, (&__pyx_v_M));
                       ^~~~~~~~~~
                       *
/usr/local/include/geos_c.h:1403:67: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getSize(const GEOSCoordSequence* s,
                                                                  ^
src/_geoslib.c:4720:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_getX(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dx));
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1391:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getX(const GEOSCoordSequence* s,
                                                               ^
src/_geoslib.c:4729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_getY(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dy));
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1393:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getY(const GEOSCoordSequence* s,
                                                               ^
src/_geoslib.c:5485:12: warning: incompatible pointer types passing 'void (char *, char *)' to parameter of type 'GEOSMessageHandler' (aka 'void (*)(const char *, ...)') [-Wincompatible-pointer-types]
  initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1316:50: note: passing argument to parameter 'notice_function' here
extern void GEOS_DLL initGEOS(GEOSMessageHandler notice_function,
                                                 ^
src/_geoslib.c:5485:40: warning: incompatible pointer types passing 'void (char *, char *)' to parameter of type 'GEOSMessageHandler' (aka 'void (*)(const char *, ...)') [-Wincompatible-pointer-types]
  initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1317:24: note: passing argument to parameter 'error_function' here
    GEOSMessageHandler error_function);
                       ^
src/_geoslib.c:5552:21: error: no member named 'exc_type' in 'struct _ts'
    *type = tstate->exc_type;
            ~~~~~~  ^
src/_geoslib.c:5553:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    *value = tstate->exc_value;
                     ^~~~~~~~~
                     curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
    PyObject *curexc_value;
              ^
src/_geoslib.c:5554:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
    *tb = tstate->exc_traceback;
                  ^~~~~~~~~~~~~
                  curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
src/_geoslib.c:5566:24: error: no member named 'exc_type' in 'struct _ts'
    tmp_type = tstate->exc_type;
               ~~~~~~  ^
src/_geoslib.c:5567:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    tmp_value = tstate->exc_value;
                        ^~~~~~~~~
                        curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
    PyObject *curexc_value;
              ^
src/_geoslib.c:5568:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
    tmp_tb = tstate->exc_traceback;
                     ^~~~~~~~~~~~~
                     curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
src/_geoslib.c:5569:13: error: no member named 'exc_type' in 'struct _ts'
    tstate->exc_type = type;
    ~~~~~~  ^
src/_geoslib.c:5570:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    tstate->exc_value = value;
            ^~~~~~~~~
            curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
    PyObject *curexc_value;
              ^
src/_geoslib.c:5571:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
    tstate->exc_traceback = tb;
            ^~~~~~~~~~~~~
            curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
src/_geoslib.c:5614:24: error: no member named 'exc_type' in 'struct _ts'
    tmp_type = tstate->exc_type;
               ~~~~~~  ^
src/_geoslib.c:5615:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    tmp_value = tstate->exc_value;
                        ^~~~~~~~~
                        curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
    PyObject *curexc_value;
              ^
src/_geoslib.c:5616:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
    tmp_tb = tstate->exc_traceback;
                     ^~~~~~~~~~~~~
                     curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
src/_geoslib.c:5617:13: error: no member named 'exc_type' in 'struct _ts'
    tstate->exc_type = local_type;
    ~~~~~~  ^
src/_geoslib.c:5618:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    tstate->exc_value = local_value;
            ^~~~~~~~~
            curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
    PyObject *curexc_value;
              ^
src/_geoslib.c:5619:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
    tstate->exc_traceback = local_tb;
            ^~~~~~~~~~~~~
            curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
86 warnings and 15 errors generated.
In file included from src/_geoslib.c:247:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821:
/usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by "          "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
 ^
src/_geoslib.c:1139:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_valid = GEOSisValid(__pyx_v_self->_geom);
                              ^~~~~~~~~~~~~~~~~~~
                              *
/usr/local/include/geos_c.h:1924:54: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSisValid(const GEOSGeometry* g);
                                                     ^
src/_geoslib.c:1239:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_t_1 = PyBytes_FromString(GEOSGeomType(__pyx_v_self->_geom)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                              ^~~~~~~~~~~~~~~~~~~
                                              *
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:1330:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
                              ^~~~~~~~~~
                              *
/usr/local/include/geos_c.h:1749:53: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                    ^
src/_geoslib.c:1330:43: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
                                          ^~~~~~~~~~
                                          *
/usr/local/include/geos_c.h:1749:77: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                                            ^
src/_geoslib.c:1468:26: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
                         ^~~~~~~~~~
                         *
/usr/local/include/geos_c.h:1601:61: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL *GEOSUnion(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                            ^
src/_geoslib.c:1468:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
                                     ^~~~~~~~~~
                                     *
/usr/local/include/geos_c.h:1601:85: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL *GEOSUnion(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                                                    ^
src/_geoslib.c:1468:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1477:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
                                  ^~~~~~~~~~
                                  *
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:1592:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:1601:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                                    ^~~~~~~~~~
                                    *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:1601:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1658:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:1667:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                                    ^~~~~~~~~~
                                    *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:1667:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1716:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                                ^~~~~~~~~~
                                                *
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:1751:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSGeom_destroy(__pyx_v_g3);
                   ^~~~~~~~~~
                   *
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
                                                    ^
src/_geoslib.c:1857:29: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
                            ^~~~~~~~~~
                            *
/usr/local/include/geos_c.h:1649:64: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL *GEOSSimplify(const GEOSGeometry* g, double tolerance);
                                                               ^
src/_geoslib.c:1857:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1866:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
                                  ^~~~~~~~~~
                                  *
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:1981:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:1990:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                                    ^~~~~~~~~~
                                    *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:1990:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2047:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:2056:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                                    ^~~~~~~~~~
                                    *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:2056:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2105:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_t_3 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                                ^~~~~~~~~~
                                                *
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:2140:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSGeom_destroy(__pyx_v_g3);
                   ^~~~~~~~~~
                   *
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
                                                    ^
src/_geoslib.c:2234:27: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
                          ^~~~~~~~~~
                          *
/usr/local/include/geos_c.h:1451:62: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL *GEOSBuffer(const GEOSGeometry* g,
                                                             ^
src/_geoslib.c:2234:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2243:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
                                  ^~~~~~~~~~
                                  *
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:2358:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:2367:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                                    ^~~~~~~~~~
                                    *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:2367:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2424:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:2433:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                                    ^~~~~~~~~~
                                    *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:2433:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
    __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2482:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                                ^~~~~~~~~~
                                                *
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:2517:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSGeom_destroy(__pyx_v_g3);
                   ^~~~~~~~~~
                   *
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
                                                    ^
src/_geoslib.c:2620:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
                                  ^~~~~~~~~~
                                  *
/usr/local/include/geos_c.h:1747:57: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                        ^
src/_geoslib.c:2620:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
                                              ^~~~~~~~~~
                                              *
/usr/local/include/geos_c.h:1747:81: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                                                ^
src/_geoslib.c:2761:33: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
                                ^~~~~~~~~~
                                *
/usr/local/include/geos_c.h:1554:68: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL *GEOSIntersection(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                                   ^
src/_geoslib.c:2761:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1554:92: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL *GEOSIntersection(const GEOSGeometry* g1, const GEOSGeometry* g2);
                                                                                           ^
src/_geoslib.c:2761:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2770:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
                                  ^~~~~~~~~~
                                  *
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:2915:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:2946:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
      __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
                                      ^~~~~~~~~~
                                      *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:2946:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
      __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3013:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
                                            ^~~~~~~~~~
                                            *
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
                                                             ^
src/_geoslib.c:3044:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
      __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
                                      ^~~~~~~~~~
                                      *
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
                                                                         ^
src/_geoslib.c:3044:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
      __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3103:22: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSGeom_destroy(__pyx_v_g3);
                     ^~~~~~~~~~
                     *
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
                                                    ^
src/_geoslib.c:3128:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSGeom_destroy(__pyx_v_g3);
                   ^~~~~~~~~~
                   *
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
                                                    ^
src/_geoslib.c:3258:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSGeom_destroy(__pyx_v_self->_geom);
                   ^~~~~~~~~~~~~~~~~~~
                   *
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
                                                    ^
src/_geoslib.c:3683:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
  __pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:3738:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:3776:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_setX(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dx);
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:3785:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_setY(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dy);
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:3803:42: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
                                         ^~~~~~~~~~
                                         *
/usr/local/include/geos_c.h:1521:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createLinearRing(GEOSCoordSequence* s);
                                                                           ^
src/_geoslib.c:3803:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3812:59: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
                                                          ^~~~~~~~~~
                                                          *
/usr/local/include/geos_c.h:1531:68: note: passing argument to parameter 'shell' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createPolygon(GEOSGeometry* shell,
                                                                   ^
src/_geoslib.c:3812:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
                                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3888:12: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSArea(__pyx_v_self->__pyx_base._geom, (&__pyx_v_area));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           *
/usr/local/include/geos_c.h:2055:50: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSArea(const GEOSGeometry* g, double *area);
                                                 ^
src/_geoslib.c:4090:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
  __pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4136:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:4145:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:4155:62: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
                                                             ^~~~~~~~~~
                                                             *
/usr/local/include/geos_c.h:1522:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createLineString(GEOSCoordSequence* s);
                                                                           ^
src/_geoslib.c:4155:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
                                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4273:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
  __pyx_v_cs = GEOSCoordSeq_create(1, 2);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4300:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSCoordSeq_setX(__pyx_v_cs, 0, __pyx_v_dx);
                    ^~~~~~~~~~
                    *
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:4309:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSCoordSeq_setY(__pyx_v_cs, 0, __pyx_v_dy);
                    ^~~~~~~~~~
                    *
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
                                                         ^
src/_geoslib.c:4318:57: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
                                                        ^~~~~~~~~~
                                                        *
/usr/local/include/geos_c.h:1519:71: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createPoint(GEOSCoordSequence* s);
                                                                      ^
src/_geoslib.c:4318:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
  __pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
                                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4584:32: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
  __pyx_t_1 = ((GEOSGeomTypeId(__pyx_v_geom) == GEOS_POLYGON) != 0);
                               ^~~~~~~~~~~~
                               *
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
                                                       ^
src/_geoslib.c:4594:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
                                     ^~~~~~~~~~~~
                                     *
/usr/local/include/geos_c.h:2011:77: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetExteriorRing(const GEOSGeometry* g);
                                                                            ^
src/_geoslib.c:4594:16: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
    __pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4603:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
                                      ^~~~~~~~~~
                                      *
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL *GEOSGeom_getCoordSeq(const GEOSGeometry* g);
                                                                                  ^
src/_geoslib.c:4603:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
    __pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4623:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
    __pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
                                      ^~~~~~~~~~~~
                                      *
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL *GEOSGeom_getCoordSeq(const GEOSGeometry* g);
                                                                                  ^
src/_geoslib.c:4623:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
    __pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4634:24: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
  GEOSCoordSeq_getSize(__pyx_v_cs, (&__pyx_v_M));
                       ^~~~~~~~~~
                       *
/usr/local/include/geos_c.h:1403:67: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getSize(const GEOSCoordSequence* s,
                                                                  ^
src/_geoslib.c:4720:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_getX(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dx));
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1391:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getX(const GEOSCoordSequence* s,
                                                               ^
src/_geoslib.c:4729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
    GEOSCoordSeq_getY(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dy));
                      ^~~~~~~~~~
                      *
/usr/local/include/geos_c.h:1393:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getY(const GEOSCoordSequence* s,
                                                               ^
src/_geoslib.c:5485:12: warning: incompatible pointer types passing 'void (char *, char *)' to parameter of type 'GEOSMessageHandler' (aka 'void (*)(const char *, ...)') [-Wincompatible-pointer-types]
  initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1316:50: note: passing argument to parameter 'notice_function' here
extern void GEOS_DLL initGEOS(GEOSMessageHandler notice_function,
                                                 ^
src/_geoslib.c:5485:40: warning: incompatible pointer types passing 'void (char *, char *)' to parameter of type 'GEOSMessageHandler' (aka 'void (*)(const char *, ...)') [-Wincompatible-pointer-types]
  initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1317:24: note: passing argument to parameter 'error_function' here
    GEOSMessageHandler error_function);
                       ^
src/_geoslib.c:5552:21: error: no member named 'exc_type' in 'struct _ts'
    *type = tstate->exc_type;
            ~~~~~~  ^
src/_geoslib.c:5553:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    *value = tstate->exc_value;
                     ^~~~~~~~~
                     curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
    PyObject *curexc_value;
              ^
src/_geoslib.c:5554:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
    *tb = tstate->exc_traceback;
                  ^~~~~~~~~~~~~
                  curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
src/_geoslib.c:5566:24: error: no member named 'exc_type' in 'struct _ts'
    tmp_type = tstate->exc_type;
               ~~~~~~  ^
src/_geoslib.c:5567:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    tmp_value = tstate->exc_value;
                        ^~~~~~~~~
                        curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
    PyObject *curexc_value;
              ^
src/_geoslib.c:5568:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
    tmp_tb = tstate->exc_traceback;
                     ^~~~~~~~~~~~~
                     curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
src/_geoslib.c:5569:13: error: no member named 'exc_type' in 'struct _ts'
    tstate->exc_type = type;
    ~~~~~~  ^
src/_geoslib.c:5570:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    tstate->exc_value = value;
            ^~~~~~~~~
            curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
    PyObject *curexc_value;
              ^
src/_geoslib.c:5571:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
    tstate->exc_traceback = tb;
            ^~~~~~~~~~~~~
            curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
src/_geoslib.c:5614:24: error: no member named 'exc_type' in 'struct _ts'
    tmp_type = tstate->exc_type;
               ~~~~~~  ^
src/_geoslib.c:5615:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    tmp_value = tstate->exc_value;
                        ^~~~~~~~~
                        curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
    PyObject *curexc_value;
              ^
src/_geoslib.c:5616:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
    tmp_tb = tstate->exc_traceback;
                     ^~~~~~~~~~~~~
                     curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
src/_geoslib.c:5617:13: error: no member named 'exc_type' in 'struct _ts'
    tstate->exc_type = local_type;
    ~~~~~~  ^
src/_geoslib.c:5618:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    tstate->exc_value = local_value;
            ^~~~~~~~~
            curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
    PyObject *curexc_value;
              ^
src/_geoslib.c:5619:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
    tstate->exc_traceback = local_tb;
            ^~~~~~~~~~~~~
            curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
86 warnings and 15 errors generated.
error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Iinclude -I['/usr/local/lib/python3.7/site-packages/numpy/core/include'] -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/_geoslib.c -o build/temp.macosx-10.13-x86_64-3.7/src/_geoslib.o -MMD -MF build/temp.macosx-10.13-x86_64-3.7/src/_geoslib.o.d" failed with exit status 1

----------------------------------------

Command "/usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/q7/0ch63xb51csb87w6d18_xdhw0000gn/T/pip-req-build-hm07gt4n/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/q7/0ch63xb51csb87w6d18_xdhw0000gn/T/pip-record-dnwvlp1x/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/q7/0ch63xb51csb87w6d18_xdhw0000gn/T/pip-req-build-hm07gt4n/

@scyvipera
Copy link

scyvipera commented Nov 6, 2018

Hi,
Are you using macOSX Mojave?

I use Mojave, and install basemap by using source version 1.2.0. I use brew to install all of dependencies like you do :

brew install proj
brew install geos
pip3 install git+https://github.com/jswhit/pyproj.git
cd ../basemap
python3 setup.py install

everything is working fine. I use geos 3.7.0.

My only problems is it installed as :
/usr/local/lib/python3.7/site-packages/basemap-1.2.0-py3.7-macosx-10.14-x86_64.egg

not inside /usr/local/lib/python3.7/site-packages/mpl_toolkitif I installed it from source.

This is fix my problems :
pip3 install -U git+https://github.com/matplotlib/basemap.git

and you should use matplotlib < 3.0.1

@dobrych
Copy link

dobrych commented Nov 16, 2018

BTW, had the same issue, reinstalling pyproj from git solved it

pip3 install git+https://github.com/jswhit/pyproj.git

@JunoXD
Copy link

JunoXD commented Jun 23, 2019

_ * /usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence_ s,
^
src/_geoslib.c:3803:42: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct

Hi,

I'm trying to install basemap and experienced the same problem. Were you able to successfully install the package eventually?

Thank you!

@JunoXD
Copy link

JunoXD commented Jun 23, 2019

Hi @dobrych, I experienced the same problem as hausfath did. I tried reinstalling pyproj as you suggested but it didn't work. The errors seem to be related to geos. Is there a way to test if geos is installed properly? I tried "import geos" from python and got "No module named 'geos'". Any more suggestions? Thank you!

@JunoXD
Copy link

JunoXD commented Jun 23, 2019

Hi @wardhani, I'm using Mojave and did everything you did except that I'm using geos version is 3.7.2 because there's no 3.7.0 available. It didn't work. Got 15 error messages seemly about geos. And I tried pip3 install -U git+https://github.com/matplotlib/basemap.git that fixed your problem. It said "successfully installed" when I ran it but when I go to python and ran "from mpl_toolkits.basemap import Basemap", no module found. Any suggestions? Thank you!

@Zhwenjie
Copy link

Hello Guys,
I also encounter the same problem on my mac, did you solve it ?
Cheers,
Wenjie

@molinav
Copy link
Member

molinav commented Jan 22, 2022

In your case, basemap was failing to build because of the _geoslib wrapper around the GEOS library that is provided with basemap. Before basemap version 1.3.0, the repository contained a C file with the result of compiling the Cython file _geoslib.pyx into C code. This C code was generated running Cython in an older Python version (<3.7), and it contains symbols that have been removed from the CPython implementation in 3.7+ (exc_type, exc_value, exc_traceback).

To deal with this problem, I have removed this C file in the basemap 1.3.x series. Instead, only the Cython file _geoslib.pyx remains in the repository, and the C file is now generated at build time for your specific Python version. This means that you will need to have Cython installed to build basemap (apart from GEOS of course).

Maybe you can give another try by installing basemap directly from the latest version in the repository:

python -m pip install https://github.com/matplotlib/basemap/archive/refs/tags/v1.3.1.zip#subdirectory=packages/basemap

If you still encounter problems, feel free to comment it here and we can try to help.

@molinav
Copy link
Member

molinav commented Aug 10, 2022

I am closing this issue since the pre-generated C file for _geoslib was removed in basemap version 1.3.0 and is generated at build time for the running Python version. With the basemap release 1.3.4, it should be possible for Mac users to install basemap directly from the source distribution in PyPI (as long as there is a C compiler plus GEOS in the system):

python -m pip install basemap

@molinav molinav closed this as completed Aug 10, 2022
@miadadrashid
Copy link

I'm running Python 3.9.2 on macOS Big Sur 11.6.8. basemap is failing installation similar to the above comments. Here are the outputs from the installation attempt.

pipenv run python -m pip install basemap                   
Collecting basemap
  Using cached basemap-1.3.4.zip (155 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting basemap-data<1.4,>=1.3.2
  Using cached basemap_data-1.3.2-py2.py3-none-any.whl (30.5 MB)
Collecting matplotlib<3.6,>=1.5
  Using cached matplotlib-3.5.3-cp39-cp39-macosx_10_9_x86_64.whl (7.3 MB)
Collecting pyshp<2.4,>=1.2
  Using cached pyshp-2.3.1-py2.py3-none-any.whl (46 kB)
Requirement already satisfied: numpy<1.24,>=1.22 in ./.venv/lib/python3.9/site-packages (from basemap) (1.23.4)
Collecting pyproj<3.4.0,>=1.9.3
  Using cached pyproj-3.3.1-cp39-cp39-macosx_10_9_x86_64.whl (8.2 MB)
Requirement already satisfied: python-dateutil>=2.7 in ./.venv/lib/python3.9/site-packages (from matplotlib<3.6,>=1.5->basemap) (2.8.2)
Requirement already satisfied: pillow>=6.2.0 in ./.venv/lib/python3.9/site-packages (from matplotlib<3.6,>=1.5->basemap) (9.2.0)
Requirement already satisfied: cycler>=0.10 in ./.venv/lib/python3.9/site-packages (from matplotlib<3.6,>=1.5->basemap) (0.11.0)
Requirement already satisfied: kiwisolver>=1.0.1 in ./.venv/lib/python3.9/site-packages (from matplotlib<3.6,>=1.5->basemap) (1.4.4)
Requirement already satisfied: pyparsing>=2.2.1 in ./.venv/lib/python3.9/site-packages (from matplotlib<3.6,>=1.5->basemap) (3.0.9)
Requirement already satisfied: fonttools>=4.22.0 in ./.venv/lib/python3.9/site-packages (from matplotlib<3.6,>=1.5->basemap) (4.37.4)
Requirement already satisfied: packaging>=20.0 in ./.venv/lib/python3.9/site-packages (from matplotlib<3.6,>=1.5->basemap) (21.3)
Requirement already satisfied: certifi in ./.venv/lib/python3.9/site-packages (from pyproj<3.4.0,>=1.9.3->basemap) (2022.9.24)
Requirement already satisfied: six>=1.5 in ./.venv/lib/python3.9/site-packages (from python-dateutil>=2.7->matplotlib<3.6,>=1.5->basemap) (1.16.0)
Building wheels for collected packages: basemap
  Building wheel for basemap (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for basemap (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [37 lines of output]
      <string>:58: RuntimeWarning: Cannot find GEOS library and/or headers in standard locations ('/Users/mrashid/local', '/Users/mrashid', '/usr/local', '/usr', '/opt/local', '/opt', '/sw'). Please install the corresponding packages using your software management system or set the environment variable GEOS_DIR to point to the location where GEOS is installed (for example, if 'geos_c.h' is in '/usr/local/include' and 'libgeos_c' is in '/usr/local/lib', then you need to set GEOS_DIR to '/usr/local'
      /private/var/folders/d3/7z6xlz9n15b88h9j_s_f934jmczwvp/T/pip-build-env-ef8_o_8i/overlay/lib/python3.9/site-packages/setuptools/dist.py:286: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
        warnings.warn(msg, SetuptoolsDeprecationWarning)
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-11-x86_64-cpython-39
      creating build/lib.macosx-11-x86_64-cpython-39/mpl_toolkits
      copying src/mpl_toolkits/__init__.py -> build/lib.macosx-11-x86_64-cpython-39/mpl_toolkits
      creating build/lib.macosx-11-x86_64-cpython-39/mpl_toolkits/basemap
      copying src/mpl_toolkits/basemap/cm.py -> build/lib.macosx-11-x86_64-cpython-39/mpl_toolkits/basemap
      copying src/mpl_toolkits/basemap/__init__.py -> build/lib.macosx-11-x86_64-cpython-39/mpl_toolkits/basemap
      copying src/mpl_toolkits/basemap/test.py -> build/lib.macosx-11-x86_64-cpython-39/mpl_toolkits/basemap
      copying src/mpl_toolkits/basemap/diagnostic.py -> build/lib.macosx-11-x86_64-cpython-39/mpl_toolkits/basemap
      copying src/mpl_toolkits/basemap/proj.py -> build/lib.macosx-11-x86_64-cpython-39/mpl_toolkits/basemap
      copying src/mpl_toolkits/basemap/solar.py -> build/lib.macosx-11-x86_64-cpython-39/mpl_toolkits/basemap
      warning: build_py: byte-compiling is disabled, skipping.
      
      running build_ext
      cythoning src/_geoslib.pyx to src/_geoslib.c
      building '_geoslib' extension
      creating build/temp.macosx-11-x86_64-cpython-39
      creating build/temp.macosx-11-x86_64-cpython-39/src
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/private/var/folders/d3/7z6xlz9n15b88h9j_s_f934jmczwvp/T/pip-build-env-ef8_o_8i/overlay/lib/python3.9/site-packages/numpy/core/include -I/Users/mrashid/dev/bitbucket.trimble.tools/network_analysis_workbooks/.venv/include -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c src/_geoslib.c -o build/temp.macosx-11-x86_64-cpython-39/src/_geoslib.o
      In file included from src/_geoslib.c:744:
      In file included from /private/var/folders/d3/7z6xlz9n15b88h9j_s_f934jmczwvp/T/pip-build-env-ef8_o_8i/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h:4:
      In file included from /private/var/folders/d3/7z6xlz9n15b88h9j_s_f934jmczwvp/T/pip-build-env-ef8_o_8i/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
      In file included from /private/var/folders/d3/7z6xlz9n15b88h9j_s_f934jmczwvp/T/pip-build-env-ef8_o_8i/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969:
      /private/var/folders/d3/7z6xlz9n15b88h9j_s_f934jmczwvp/T/pip-build-env-ef8_o_8i/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
      #warning "Using deprecated NumPy API, disable it with " \
       ^
      src/_geoslib.c:745:10: fatal error: 'geos_c.h' file not found
      #include "geos_c.h"
               ^~~~~~~~~~
      1 warning and 1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for basemap
Failed to build basemap
ERROR: Could not build wheels for basemap, which is required to install pyproject.toml-based projects

Any help would be appreciated.

@molinav
Copy link
Member

molinav commented Oct 20, 2022

Hi @miadadrashid! At the moment, MacOS users need to build basemap from the source distribution, and this implies having GEOS preinstalled in your system and set the environment variable GEOS_DIR to point to the installation place.

What is the value of GEOS_DIR and where (if available) is your GEOS installation placed?

Hopefully at some point I can extend the GitHub workflows to also build the MacOS precompiled wheels in the future, I just did not have the time and knowledge yet.

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

7 participants