matplotlib / basemap

Plot on map projections (with coastlines and political boundaries) using matplotlib
MIT License
775 stars 392 forks source link

basemap developed to unusability #475

Closed 2sn closed 5 years ago

2sn commented 5 years ago

The 'goes' provided with basemap does not compile on standard linux system (Fedora 30).

It seem you have made it too big for Pypi.

Could you please provide a subset ('basemap light') that can be installed from Pypi on current Python distributions?

In file included from ../../../include/geos/geom/Geometry.h:26,
                 from IndexedPointInAreaLocator.cpp:18:
../../../include/geos/platform.h:110:2: error: #error "Can not compile without isnan function or macro"
  110 | #error "Can not compile without isnan function or macro"
      |  ^~~~~
In file included from ../../../include/geos/geom/Coordinate.h:161,
                 from ../../../include/geos/geom/Envelope.h:26,
                 from ../../../include/geos/geom/Geometry.h:28,
                 from IndexedPointInAreaLocator.cpp:18:
../../../include/geos/geom/Coordinate.inl: In member function 'bool geos::geom::Coordinate::isNull() const':
../../../include/geos/geom/Coordinate.inl:39:10: error: 'ISNAN' was not declared in this scope; did you mean 'SNAN'?
   39 |  return (ISNAN(x) && ISNAN(y) && ISNAN(z));
      |          ^~~~~
      |          SNAN
../../../include/geos/geom/Coordinate.inl: In member function 'bool geos::geom::Coordinate::equals3D(const geos::geom::Coordinate&) const':
../../../include/geos/geom/Coordinate.inl:83:21: error: 'ISNAN' was not declared in this scope; did you mean 'SNAN'?

and if I install geos/geos-devel on the system I end up from python setup.py install with

/home/alex/Python/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
/home/alex/Python/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'namespace_packages'
  warnings.warn(msg)
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.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/mpl_toolkits
copying lib/mpl_toolkits/__init__.py -> build/lib.linux-x86_64-3.7/mpl_toolkits
creating build/lib.linux-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/proj.py -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/diagnostic.py -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/__init__.py -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/cm.py -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/test.py -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/solar.py -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap
creating build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/etopo1.jpg -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_f.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_f.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_c.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_i.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_l.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.prj -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_h.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_l.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_c.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_h.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_l.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_l.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_f.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.shp -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_l.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_f.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_c.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_i.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_h.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_h.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_f.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_f.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_f.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_f.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_h.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_f.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_c.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_l.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_f.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_c.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.dbf -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_c.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_l.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_c.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_i.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_c.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_c.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_l.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_l.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_h.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_i.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_i.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_h.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_i.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/bmng.jpg -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_h.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_h.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_i.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_h.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_i.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_l.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_c.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_h.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_f.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_l.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_i.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_h.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_c.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_c.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_f.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.shx -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_i.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_i.bin -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_i.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_l.dat -> build/lib.linux-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/shadedrelief.jpg -> build/lib.linux-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: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC

creating build/temp.linux-x86_64-3.7/src
compile options: '-I/usr/local/include -I['/home/alex/Python/lib/python3.7/site-packages/numpy/core/include'] -I/home/alex/Python/lib/python3.7/site-packages/numpy/core/include -I/home/alex/Python/include/python3.7m -c'
gcc: src/_geoslib.c
In file included from /home/alex/Python/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1830,
                 from /home/alex/Python/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from /home/alex/Python/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from src/_geoslib.c:247:
/home/alex/Python/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   17 | #warning "Using deprecated NumPy API, disable it with " \
      |  ^~~~~~~
src/_geoslib.c: In function ‘__pyx_pf_8_geoslib_12BaseGeometry_is_valid’:
src/_geoslib.c:1139:43: warning: passing argument 1 of ‘GEOSisValid’ from incompatible pointer type [-Wincompatible-pointer-types]
 1139 |   __pyx_v_valid = GEOSisValid(__pyx_v_self->_geom);
      |                               ~~~~~~~~~~~~^~~~~~~
      |                                           |
      |                                           GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1924:54: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1924 | extern char GEOS_DLL GEOSisValid(const GEOSGeometry* g);
      |                                  ~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c: In function ‘__pyx_pf_8_geoslib_12BaseGeometry_2geom_type’:
src/_geoslib.c:1239:59: warning: passing argument 1 of ‘GEOSGeomType’ from incompatible pointer type [-Wincompatible-pointer-types]
 1239 |   __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;}
      |                                               ~~~~~~~~~~~~^~~~~~~
      |                                                           |
      |                                                           GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1945:23: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1945 | extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
      |                       ^~~~~~~~~~~~
src/_geoslib.c: In function ‘__pyx_pf_8_geoslib_12BaseGeometry_4within’:
src/_geoslib.c:1330:31: warning: passing argument 1 of ‘GEOSWithin’ from incompatible pointer type [-Wincompatible-pointer-type]
 1330 |   __pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
      |                               ^~~~~~~~~~
      |                               |
      |                               GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1749:53: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1749 | extern char GEOS_DLL GEOSWithin(const GEOSGeometry* g1, const GEOSGeometry* g2);
      |                                 ~~~~~~~~~~~~~~~~~~~~^~
src/_geoslib.c:1330:43: warning: passing argument 2 of ‘GEOSWithin’ from incompatible pointer type [-Wincompatible-pointer-type]
 1330 |   __pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
      |                                           ^~~~~~~~~~
      |                                           |
      |                                           GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1749:77: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1749 | extern char GEOS_DLL GEOSWithin(const GEOSGeometry* g1, const GEOSGeometry* g2);
      |                                                         ~~~~~~~~~~~~~~~~~~~~^~
src/_geoslib.c: In function ‘__pyx_pf_8_geoslib_12BaseGeometry_6union’:
src/_geoslib.c:1468:26: warning: passing argument 1 of ‘GEOSUnion’ from incompatible pointer type [-Wincompatible-pointer-types]
 1468 |   __pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
      |                          ^~~~~~~~~~
      |                          |
      |                          GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1601:31: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1601 | extern GEOSGeometry GEOS_DLL *GEOSUnion(const GEOSGeometry* g1, const GEOSGeometry* g2);
      |                               ^~~~~~~~~
src/_geoslib.c:1468:38: warning: passing argument 2 of ‘GEOSUnion’ from incompatible pointer type [-Wincompatible-pointer-types]
 1468 |   __pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
      |                                      ^~~~~~~~~~
      |                                      |
      |                                      GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1601:31: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1601 | extern GEOSGeometry GEOS_DLL *GEOSUnion(const GEOSGeometry* g1, const GEOSGeometry* g2);
      |                               ^~~~~~~~~
src/_geoslib.c:1468:14: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘GEOSGeometry *’ {aka ‘struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 1468 |   __pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
      |              ^
src/_geoslib.c:1477:35: warning: passing argument 1 of ‘GEOSGeomTypeId’ from incompatible pointer type [-Wincompatible-pointer-types]
 1477 |   __pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1948:56: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1948 | extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
      |                                    ~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:1592:45: warning: passing argument 1 of ‘GEOSGetNumGeometries’ from incompatible pointer type [-Wincompatible-pointer-types]
 1592 |     __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
      |                                             ^~~~~~~~~~
      |                                             |
      |                                             GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1966:62: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1966 | extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
      |                                          ~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:1601:37: warning: passing argument 1 of ‘GEOSGetGeometryN’ from incompatible pointer type [-Wincompatible-pointer-types]
 1601 |     __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
      |                                     ^~~~~~~~~~
      |                                     |
      |                                     GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1976:37: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1976 | extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
      |                                     ^~~~~~~~~~~~~~~~
src/_geoslib.c:1601:18: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 1601 |     __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
      |                  ^
src/_geoslib.c:1658:45: warning: passing argument 1 of ‘GEOSGetNumGeometries’ from incompatible pointer type [-Wincompatible-pointer-types]
 1658 |     __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
      |                                             ^~~~~~~~~~
      |                                             |
      |                                             GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1966:62: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1966 | extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
      |                                          ~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:1667:37: warning: passing argument 1 of ‘GEOSGetGeometryN’ from incompatible pointer type [-Wincompatible-pointer-types]
 1667 |     __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
      |                                     ^~~~~~~~~~
      |                                     |
      |                                     GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1976:37: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1976 | extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
      |                                     ^~~~~~~~~~~~~~~~
src/_geoslib.c:1667:18: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 1667 |     __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
      |                  ^
src/_geoslib.c:1716:49: warning: passing argument 1 of ‘GEOSGeomType’ from incompatible pointer type [-Wincompatible-pointer-types]
 1716 |     __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;}
      |                                                 ^~~~~~~~~~
      |                                                 |
      |                                                 GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1945:23: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1945 | extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
      |                       ^~~~~~~~~~~~
src/_geoslib.c:1751:20: warning: passing argument 1 of ‘GEOSGeom_destroy’ from incompatible pointer type [-Wincompatible-pointer-types]
 1751 |   GEOSGeom_destroy(__pyx_v_g3);
      |                    ^~~~~~~~~~
      |                    |
      |                    GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1545:53: note: expected ‘GEOSGeometry *’ {aka ‘struct GEOSGeom_t *’} but argument is of type ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1545 | extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
      |                                       ~~~~~~~~~~~~~~^
src/_geoslib.c: In function ‘__pyx_pf_8_geoslib_12BaseGeometry_8simplify’:
src/_geoslib.c:1857:29: warning: passing argument 1 of ‘GEOSSimplify’ from incompatible pointer type [-Wincompatible-pointer-types]
 1857 |   __pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
      |                             ^~~~~~~~~~
      |                             |
      |                             GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1649:31: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1649 | extern GEOSGeometry GEOS_DLL *GEOSSimplify(const GEOSGeometry* g, double tolerance);
      |                               ^~~~~~~~~~~~
src/_geoslib.c:1857:14: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘GEOSGeometry *’ {aka ‘struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 1857 |   __pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
      |              ^
src/_geoslib.c:1866:35: warning: passing argument 1 of ‘GEOSGeomTypeId’ from incompatible pointer type [-Wincompatible-pointer-types]
 1866 |   __pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1948:56: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1948 | extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
      |                                    ~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:1981:45: warning: passing argument 1 of ‘GEOSGetNumGeometries’ from incompatible pointer type [-Wincompatible-pointer-types]
 1981 |     __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
      |                                             ^~~~~~~~~~
      |                                             |
      |                                             GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1966:62: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1966 | extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
      |                                          ~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:1990:37: warning: passing argument 1 of ‘GEOSGetGeometryN’ from incompatible pointer type [-Wincompatible-pointer-types]
 1990 |     __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
      |                                     ^~~~~~~~~~
      |                                     |
      |                                     GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1976:37: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1976 | extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
      |                                     ^~~~~~~~~~~~~~~~
src/_geoslib.c:1990:18: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 1990 |     __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
      |                  ^
src/_geoslib.c:2047:45: warning: passing argument 1 of ‘GEOSGetNumGeometries’ from incompatible pointer type [-Wincompatible-pointer-types]
 2047 |     __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
      |                                             ^~~~~~~~~~
      |                                             |
      |                                             GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1966:62: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1966 | extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
      |                                          ~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:2056:37: warning: passing argument 1 of ‘GEOSGetGeometryN’ from incompatible pointer type [-Wincompatible-pointer-types]
 2056 |     __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
      |                                     ^~~~~~~~~~
      |                                     |
      |                                     GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1976:37: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1976 | extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
      |                                     ^~~~~~~~~~~~~~~~
src/_geoslib.c:2056:18: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 2056 |     __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
      |                  ^
src/_geoslib.c:2105:49: warning: passing argument 1 of ‘GEOSGeomType’ from incompatible pointer type [-Wincompatible-pointer-types]
 2105 |     __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;}
      |                                                 ^~~~~~~~~~
      |                                                 |
      |                                                 GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1945:23: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1945 | extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
      |                       ^~~~~~~~~~~~
src/_geoslib.c:2140:20: warning: passing argument 1 of ‘GEOSGeom_destroy’ from incompatible pointer type [-Wincompatible-pointer-types]
 2140 |   GEOSGeom_destroy(__pyx_v_g3);
      |                    ^~~~~~~~~~
      |                    |
      |                    GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1545:53: note: expected ‘GEOSGeometry *’ {aka ‘struct GEOSGeom_t *’} but argument is of type ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1545 | extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
      |                                       ~~~~~~~~~~~~~~^
src/_geoslib.c: In function ‘__pyx_pf_8_geoslib_12BaseGeometry_10fix’:
src/_geoslib.c:2234:27: warning: passing argument 1 of ‘GEOSBuffer’ from incompatible pointer type [-Wincompatible-pointer-type]
 2234 |   __pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
      |                           ^~~~~~~~~~
      |                           |
      |                           GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1451:31: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1451 | extern GEOSGeometry GEOS_DLL *GEOSBuffer(const GEOSGeometry* g,
      |                               ^~~~~~~~~~
src/_geoslib.c:2234:14: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘GEOSGeometry *’ {aka ‘struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 2234 |   __pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
      |              ^
src/_geoslib.c:2243:35: warning: passing argument 1 of ‘GEOSGeomTypeId’ from incompatible pointer type [-Wincompatible-pointer-types]
 2243 |   __pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1948:56: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1948 | extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
      |                                    ~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:2358:45: warning: passing argument 1 of ‘GEOSGetNumGeometries’ from incompatible pointer type [-Wincompatible-pointer-types]
 2358 |     __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
      |                                             ^~~~~~~~~~
      |                                             |
      |                                             GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1966:62: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1966 | extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
      |                                          ~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:2367:37: warning: passing argument 1 of ‘GEOSGetGeometryN’ from incompatible pointer type [-Wincompatible-pointer-types]
 2367 |     __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
      |                                     ^~~~~~~~~~
      |                                     |
      |                                     GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1976:37: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1976 | extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
      |                                     ^~~~~~~~~~~~~~~~
src/_geoslib.c:2367:18: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 2367 |     __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
      |                  ^
src/_geoslib.c:2424:45: warning: passing argument 1 of ‘GEOSGetNumGeometries’ from incompatible pointer type [-Wincompatible-pointer-types]
 2424 |     __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
      |                                             ^~~~~~~~~~
      |                                             |
      |                                             GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1966:62: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1966 | extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
      |                                          ~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:2433:37: warning: passing argument 1 of ‘GEOSGetGeometryN’ from incompatible pointer type [-Wincompatible-pointer-types]
 2433 |     __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
      |                                     ^~~~~~~~~~
      |                                     |
      |                                     GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1976:37: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1976 | extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
      |                                     ^~~~~~~~~~~~~~~~
src/_geoslib.c:2433:18: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 2433 |     __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
      |                  ^
src/_geoslib.c:2482:49: warning: passing argument 1 of ‘GEOSGeomType’ from incompatible pointer type [-Wincompatible-pointer-types]
 2482 |     __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;}
      |                                                 ^~~~~~~~~~
      |                                                 |
      |                                                 GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1945:23: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1945 | extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
      |                       ^~~~~~~~~~~~
src/_geoslib.c:2517:20: warning: passing argument 1 of ‘GEOSGeom_destroy’ from incompatible pointer type [-Wincompatible-pointer-types]
 2517 |   GEOSGeom_destroy(__pyx_v_g3);
      |                    ^~~~~~~~~~
      |                    |
      |                    GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1545:53: note: expected ‘GEOSGeometry *’ {aka ‘struct GEOSGeom_t *’} but argument is of type ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1545 | extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
      |                                       ~~~~~~~~~~~~~~^
src/_geoslib.c: In function ‘__pyx_pf_8_geoslib_12BaseGeometry_12intersects’:
src/_geoslib.c:2620:35: warning: passing argument 1 of ‘GEOSIntersects’ from incompatible pointer type [-Wincompatible-pointer-types]
 2620 |   __pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1747:57: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1747 | extern char GEOS_DLL GEOSIntersects(const GEOSGeometry* g1, const GEOSGeometry* g2);
      |                                     ~~~~~~~~~~~~~~~~~~~~^~
src/_geoslib.c:2620:47: warning: passing argument 2 of ‘GEOSIntersects’ from incompatible pointer type [-Wincompatible-pointer-types]
 2620 |   __pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
      |                                               ^~~~~~~~~~
      |                                               |
      |                                               GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1747:81: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1747 | extern char GEOS_DLL GEOSIntersects(const GEOSGeometry* g1, const GEOSGeometry* g2);
      |                                                             ~~~~~~~~~~~~~~~~~~~~^~
src/_geoslib.c: In function ‘__pyx_pf_8_geoslib_12BaseGeometry_14intersection’:
src/_geoslib.c:2761:33: warning: passing argument 1 of ‘GEOSIntersection’ from incompatible pointer type [-Wincompatible-pointer-types]
 2761 |   __pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
      |                                 ^~~~~~~~~~
      |                                 |
      |                                 GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1554:31: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1554 | extern GEOSGeometry GEOS_DLL *GEOSIntersection(const GEOSGeometry* g1, const GEOSGeometry* g2);
      |                               ^~~~~~~~~~~~~~~~
src/_geoslib.c:2761:45: warning: passing argument 2 of ‘GEOSIntersection’ from incompatible pointer type [-Wincompatible-pointer-types]
 2761 |   __pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
      |                                             ^~~~~~~~~~
      |                                             |
      |                                             GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1554:31: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1554 | extern GEOSGeometry GEOS_DLL *GEOSIntersection(const GEOSGeometry* g1, const GEOSGeometry* g2);
      |                               ^~~~~~~~~~~~~~~~
src/_geoslib.c:2761:14: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘GEOSGeometry *’ {aka ‘struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 2761 |   __pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
      |              ^
src/_geoslib.c:2770:35: warning: passing argument 1 of ‘GEOSGeomTypeId’ from incompatible pointer type [-Wincompatible-pointer-types]
 2770 |   __pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1948:56: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1948 | extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
      |                                    ~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:2915:45: warning: passing argument 1 of ‘GEOSGetNumGeometries’ from incompatible pointer type [-Wincompatible-pointer-types]
 2915 |     __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
      |                                             ^~~~~~~~~~
      |                                             |
      |                                             GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1966:62: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1966 | extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
      |                                          ~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:2946:39: warning: passing argument 1 of ‘GEOSGetGeometryN’ from incompatible pointer type [-Wincompatible-pointer-types]
 2946 |       __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
      |                                       ^~~~~~~~~~
      |                                       |
      |                                       GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1976:37: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1976 | extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
      |                                     ^~~~~~~~~~~~~~~~
src/_geoslib.c:2946:20: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 2946 |       __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
      |                    ^
src/_geoslib.c:3013:45: warning: passing argument 1 of ‘GEOSGetNumGeometries’ from incompatible pointer type [-Wincompatible-pointer-types]
 3013 |     __pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
      |                                             ^~~~~~~~~~
      |                                             |
      |                                             GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1966:62: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1966 | extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
      |                                          ~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:3044:39: warning: passing argument 1 of ‘GEOSGetGeometryN’ from incompatible pointer type [-Wincompatible-pointer-types]
 3044 |       __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
      |                                       ^~~~~~~~~~
      |                                       |
      |                                       GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1976:37: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1976 | extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
      |                                     ^~~~~~~~~~~~~~~~
src/_geoslib.c:3044:20: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 3044 |       __pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
      |                    ^
src/_geoslib.c:3103:22: warning: passing argument 1 of ‘GEOSGeom_destroy’ from incompatible pointer type [-Wincompatible-pointer-types]
 3103 |     GEOSGeom_destroy(__pyx_v_g3);
      |                      ^~~~~~~~~~
      |                      |
      |                      GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1545:53: note: expected ‘GEOSGeometry *’ {aka ‘struct GEOSGeom_t *’} but argument is of type ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1545 | extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
      |                                       ~~~~~~~~~~~~~~^
src/_geoslib.c:3128:20: warning: passing argument 1 of ‘GEOSGeom_destroy’ from incompatible pointer type [-Wincompatible-pointer-types]
 3128 |   GEOSGeom_destroy(__pyx_v_g3);
      |                    ^~~~~~~~~~
      |                    |
      |                    GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1545:53: note: expected ‘GEOSGeometry *’ {aka ‘struct GEOSGeom_t *’} but argument is of type ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1545 | extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
      |                                       ~~~~~~~~~~~~~~^
src/_geoslib.c: In function ‘__pyx_pf_8_geoslib_12BaseGeometry_18__dealloc__’:
src/_geoslib.c:3258:32: warning: passing argument 1 of ‘GEOSGeom_destroy’ from incompatible pointer type [-Wincompatible-pointer-types]
 3258 |   GEOSGeom_destroy(__pyx_v_self->_geom);
      |                    ~~~~~~~~~~~~^~~~~~~
      |                                |
      |                                GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1545:53: note: expected ‘GEOSGeometry *’ {aka ‘struct GEOSGeom_t *’} but argument is of type ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1545 | extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
      |                                       ~~~~~~~~~~~~~~^
src/_geoslib.c: In function ‘__pyx_pf_8_geoslib_7Polygon___init__’:
src/_geoslib.c:3683:14: warning: assignment to ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’} from incompatible pointer type ‘GEOSCoordSequence *’ {aka ‘struct GEOSCoordSeq_t *’} [-Wincompatible-pointer-types]
 3683 |   __pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
      |              ^
src/_geoslib.c:3729:23: warning: passing argument 1 of ‘GEOSCoordSeq_setX’ from incompatible pointer type [-Wincompatible-pointer-types]
 3729 |     GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
      |                       ^~~~~~~~~~
      |                       |
      |                       GEOSCoordSequence ** {aka struct GEOSCoordSeq_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1378:58: note: expected ‘GEOSCoordSequence *’ {aka ‘struct GEOSCoordSeq_t *’} but argument is of type ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’}
 1378 | extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
      |                                       ~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:3738:23: warning: passing argument 1 of ‘GEOSCoordSeq_setY’ from incompatible pointer type [-Wincompatible-pointer-types]
 3738 |     GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
      |                       ^~~~~~~~~~
      |                       |
      |                       GEOSCoordSequence ** {aka struct GEOSCoordSeq_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1380:58: note: expected ‘GEOSCoordSequence *’ {aka ‘struct GEOSCoordSeq_t *’} but argument is of type ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’}
 1380 | extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
      |                                       ~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:3776:23: warning: passing argument 1 of ‘GEOSCoordSeq_setX’ from incompatible pointer type [-Wincompatible-pointer-types]
 3776 |     GEOSCoordSeq_setX(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dx);
      |                       ^~~~~~~~~~
      |                       |
      |                       GEOSCoordSequence ** {aka struct GEOSCoordSeq_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1378:58: note: expected ‘GEOSCoordSequence *’ {aka ‘struct GEOSCoordSeq_t *’} but argument is of type ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’}
 1378 | extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
      |                                       ~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:3785:23: warning: passing argument 1 of ‘GEOSCoordSeq_setY’ from incompatible pointer type [-Wincompatible-pointer-types]
 3785 |     GEOSCoordSeq_setY(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dy);
      |                       ^~~~~~~~~~
      |                       |
      |                       GEOSCoordSequence ** {aka struct GEOSCoordSeq_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1380:58: note: expected ‘GEOSCoordSequence *’ {aka ‘struct GEOSCoordSeq_t *’} but argument is of type ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’}
 1380 | extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
      |                                       ~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:3803:42: warning: passing argument 1 of ‘GEOSGeom_createLinearRing’ from incompatible pointer type [-Wincompatible-pointer-types]
 3803 |   __pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
      |                                          ^~~~~~~~~~
      |                                          |
      |                                          GEOSCoordSequence ** {aka struct GEOSCoordSeq_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1521:31: note: expected ‘GEOSCoordSequence *’ {aka ‘struct GEOSCoordSeq_t *’} but argument is of type ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’}
 1521 | extern GEOSGeometry GEOS_DLL *GEOSGeom_createLinearRing(GEOSCoordSequence* s);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3803:14: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘GEOSGeometry *’ {aka ‘struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 3803 |   __pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
      |              ^
src/_geoslib.c:3812:59: warning: passing argument 1 of ‘GEOSGeom_createPolygon’ from incompatible pointer type [-Wincompatible-pointer-types]
 3812 |   __pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
      |                                                           ^~~~~~~~~~
      |                                                           |
      |                                                           GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1531:31: note: expected ‘GEOSGeometry *’ {aka ‘struct GEOSGeom_t *’} but argument is of type ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1531 | extern GEOSGeometry GEOS_DLL *GEOSGeom_createPolygon(GEOSGeometry* shell,
      |                               ^~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3812:34: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘GEOSGeometry *’ {aka ‘struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 3812 |   __pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
      |                                  ^
src/_geoslib.c: In function ‘__pyx_pf_8_geoslib_7Polygon_2area’:
src/_geoslib.c:3888:36: warning: passing argument 1 of ‘GEOSArea’ from incompatible pointer type [-Wincompatible-pointer-types]
 3888 |   GEOSArea(__pyx_v_self->__pyx_base._geom, (&__pyx_v_area));
      |            ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
      |                                    |
      |                                    GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:2055:50: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 2055 | extern int GEOS_DLL GEOSArea(const GEOSGeometry* g, double *area);
      |                              ~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c: In function ‘__pyx_pf_8_geoslib_10LineString___init__’:
src/_geoslib.c:4090:14: warning: assignment to ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’} from incompatible pointer type ‘GEOSCoordSequence *’ {aka ‘struct GEOSCoordSeq_t *’} [-Wincompatible-pointer-types]
 4090 |   __pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
      |              ^
src/_geoslib.c:4136:23: warning: passing argument 1 of ‘GEOSCoordSeq_setX’ from incompatible pointer type [-Wincompatible-pointer-types]
 4136 |     GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
      |                       ^~~~~~~~~~
      |                       |
      |                       GEOSCoordSequence ** {aka struct GEOSCoordSeq_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1378:58: note: expected ‘GEOSCoordSequence *’ {aka ‘struct GEOSCoordSeq_t *’} but argument is of type ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’}
 1378 | extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
      |                                       ~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:4145:23: warning: passing argument 1 of ‘GEOSCoordSeq_setY’ from incompatible pointer type [-Wincompatible-pointer-types]
 4145 |     GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
      |                       ^~~~~~~~~~
      |                       |
      |                       GEOSCoordSequence ** {aka struct GEOSCoordSeq_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1380:58: note: expected ‘GEOSCoordSequence *’ {aka ‘struct GEOSCoordSeq_t *’} but argument is of type ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’}
 1380 | extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
      |                                       ~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:4155:62: warning: passing argument 1 of ‘GEOSGeom_createLineString’ from incompatible pointer type [-Wincompatible-pointer-types]
 4155 |   __pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
      |                                                              ^~~~~~~~~~
      |                                                              |
      |                                                              GEOSCoordSequence ** {aka struct GEOSCoordSeq_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1522:31: note: expected ‘GEOSCoordSequence *’ {aka ‘struct GEOSCoordSeq_t *’} but argument is of type ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’}
 1522 | extern GEOSGeometry GEOS_DLL *GEOSGeom_createLineString(GEOSCoordSequence* s);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4155:34: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘GEOSGeometry *’ {aka ‘struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 4155 |   __pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
      |                                  ^
src/_geoslib.c: In function ‘__pyx_pf_8_geoslib_5Point___init__’:
src/_geoslib.c:4273:14: warning: assignment to ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’} from incompatible pointer type ‘GEOSCoordSequence *’ {aka ‘struct GEOSCoordSeq_t *’} [-Wincompatible-pointer-types]
 4273 |   __pyx_v_cs = GEOSCoordSeq_create(1, 2);
      |              ^
src/_geoslib.c:4300:21: warning: passing argument 1 of ‘GEOSCoordSeq_setX’ from incompatible pointer type [-Wincompatible-pointer-types]
 4300 |   GEOSCoordSeq_setX(__pyx_v_cs, 0, __pyx_v_dx);
      |                     ^~~~~~~~~~
      |                     |
      |                     GEOSCoordSequence ** {aka struct GEOSCoordSeq_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1378:58: note: expected ‘GEOSCoordSequence *’ {aka ‘struct GEOSCoordSeq_t *’} but argument is of type ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’}
 1378 | extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
      |                                       ~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:4309:21: warning: passing argument 1 of ‘GEOSCoordSeq_setY’ from incompatible pointer type [-Wincompatible-pointer-types]
 4309 |   GEOSCoordSeq_setY(__pyx_v_cs, 0, __pyx_v_dy);
      |                     ^~~~~~~~~~
      |                     |
      |                     GEOSCoordSequence ** {aka struct GEOSCoordSeq_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1380:58: note: expected ‘GEOSCoordSequence *’ {aka ‘struct GEOSCoordSeq_t *’} but argument is of type ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’}
 1380 | extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
      |                                       ~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:4318:57: warning: passing argument 1 of ‘GEOSGeom_createPoint’ from incompatible pointer type [-Wincompatible-pointer-types]
 4318 |   __pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
      |                                                         ^~~~~~~~~~
      |                                                         |
      |                                                         GEOSCoordSequence ** {aka struct GEOSCoordSeq_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1519:31: note: expected ‘GEOSCoordSequence *’ {aka ‘struct GEOSCoordSeq_t *’} but argument is of type ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’}
 1519 | extern GEOSGeometry GEOS_DLL *GEOSGeom_createPoint(GEOSCoordSequence* s);
      |                               ^~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4318:34: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘GEOSGeometry *’ {aka ‘struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 4318 |   __pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
      |                                  ^
src/_geoslib.c: In function ‘__pyx_f_8_geoslib__get_coords’:
src/_geoslib.c:4584:32: warning: passing argument 1 of ‘GEOSGeomTypeId’ from incompatible pointer type [-Wincompatible-pointer-types]
 4584 |   __pyx_t_1 = ((GEOSGeomTypeId(__pyx_v_geom) == GEOS_POLYGON) != 0);
      |                                ^~~~~~~~~~~~
      |                                |
      |                                GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1948:56: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 1948 | extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
      |                                    ~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:4594:38: warning: passing argument 1 of ‘GEOSGetExteriorRing’ from incompatible pointer type [-Wincompatible-pointer-types]
 4594 |     __pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
      |                                      ^~~~~~~~~~~~
      |                                      |
      |                                      GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:2011:37: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 2011 | extern const GEOSGeometry GEOS_DLL *GEOSGetExteriorRing(const GEOSGeometry* g);
      |                                     ^~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4594:16: warning: assignment to ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} from incompatible pointer type ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} [-Wincompatible-pointer-types]
 4594 |     __pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
      |                ^
src/_geoslib.c:4603:39: warning: passing argument 1 of ‘GEOSGeom_getCoordSeq’ from incompatible pointer type [-Wincompatible-pointer-types]
 4603 |     __pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
      |                                       ^~~~~~~~~~
      |                                       |
      |                                       GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:2020:42: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 2020 | extern const GEOSCoordSequence GEOS_DLL *GEOSGeom_getCoordSeq(const GEOSGeometry* g);
      |                                          ^~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4603:16: warning: assignment to ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’} from incompatible pointer type ‘const GEOSCoordSequence *’ {aka ‘const struct GEOSCoordSeq_t *’} [-Wincompatible-pointer-types]
 4603 |     __pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
      |                ^
src/_geoslib.c:4623:39: warning: passing argument 1 of ‘GEOSGeom_getCoordSeq’ from incompatible pointer type [-Wincompatible-pointer-types]
 4623 |     __pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
      |                                       ^~~~~~~~~~~~
      |                                       |
      |                                       GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:2020:42: note: expected ‘const GEOSGeometry *’ {aka ‘const struct GEOSGeom_t *’} but argument is of type GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
 2020 | extern const GEOSCoordSequence GEOS_DLL *GEOSGeom_getCoordSeq(const GEOSGeometry* g);
      |                                          ^~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4623:16: warning: assignment to ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’} from incompatible pointer type ‘const GEOSCoordSequence *’ {aka ‘const struct GEOSCoordSeq_t *’} [-Wincompatible-pointer-types]
 4623 |     __pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
      |                ^
src/_geoslib.c:4634:24: warning: passing argument 1 of ‘GEOSCoordSeq_getSize’ from incompatible pointer type [-Wincompatible-pointer-types]
 4634 |   GEOSCoordSeq_getSize(__pyx_v_cs, (&__pyx_v_M));
      |                        ^~~~~~~~~~
      |                        |
      |                        GEOSCoordSequence ** {aka struct GEOSCoordSeq_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1403:67: note: expected ‘const GEOSCoordSequence *’ {aka ‘const struct GEOSCoordSeq_t *’} but argument is of type ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’}
 1403 | extern int GEOS_DLL GEOSCoordSeq_getSize(const GEOSCoordSequence* s,
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:4720:23: warning: passing argument 1 of ‘GEOSCoordSeq_getX’ from incompatible pointer type [-Wincompatible-pointer-types]
 4720 |     GEOSCoordSeq_getX(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dx));
      |                       ^~~~~~~~~~
      |                       |
      |                       GEOSCoordSequence ** {aka struct GEOSCoordSeq_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1391:64: note: expected ‘const GEOSCoordSequence *’ {aka ‘const struct GEOSCoordSeq_t *’} but argument is of type ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’}
 1391 | extern int GEOS_DLL GEOSCoordSeq_getX(const GEOSCoordSequence* s,
      |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c:4729:23: warning: passing argument 1 of ‘GEOSCoordSeq_getY’ from incompatible pointer type [-Wincompatible-pointer-types]
 4729 |     GEOSCoordSeq_getY(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dy));
      |                       ^~~~~~~~~~
      |                       |
      |                       GEOSCoordSequence ** {aka struct GEOSCoordSeq_t **}
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1393:64: note: expected ‘const GEOSCoordSequence *’ {aka ‘const struct GEOSCoordSeq_t *’} but argument is of type ‘GEOSCoordSequence **’ {aka ‘struct GEOSCoordSeq_t **’}
 1393 | extern int GEOS_DLL GEOSCoordSeq_getY(const GEOSCoordSequence* s,
      |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c: In function ‘PyInit__geoslib’:
src/_geoslib.c:5485:12: warning: passing argument 1 of ‘initGEOS’ from incompatible pointer type [-Wincompatible-pointer-types]
 5485 |   initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |            |
      |            void (*)(char *, char *)
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1316:50: note: expected ‘GEOSMessageHandler’ {aka ‘void (*)(const char *, ...)’} but argument is of type void (*)(char *, char *)’
 1316 | extern void GEOS_DLL initGEOS(GEOSMessageHandler notice_function,
      |                               ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
src/_geoslib.c:5485:40: warning: passing argument 2 of ‘initGEOS’ from incompatible pointer type [-Wincompatible-pointer-types]
 5485 |   initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        |
      |                                        void (*)(char *, char *)
In file included from src/_geoslib.c:248:
/usr/include/geos_c.h:1317:24: note: expected ‘GEOSMessageHandler’ {aka ‘void (*)(const char *, ...)’} but argument is of type void (*)(char *, char *)’
 1317 |     GEOSMessageHandler error_function);
      |     ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/_geoslib.c: In function ‘__Pyx_ExceptionSave’:
src/_geoslib.c:5552:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
 5552 |     *type = tstate->exc_type;
      |                     ^~~~~~~~
      |                     curexc_type
src/_geoslib.c:5553:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
 5553 |     *value = tstate->exc_value;
      |                      ^~~~~~~~~
      |                      curexc_value
src/_geoslib.c:5554:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
 5554 |     *tb = tstate->exc_traceback;
      |                   ^~~~~~~~~~~~~
      |                   curexc_traceback
src/_geoslib.c: In function ‘__Pyx_ExceptionReset’:
src/_geoslib.c:5566:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
 5566 |     tmp_type = tstate->exc_type;
      |                        ^~~~~~~~
      |                        curexc_type
src/_geoslib.c:5567:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
 5567 |     tmp_value = tstate->exc_value;
      |                         ^~~~~~~~~
      |                         curexc_value
src/_geoslib.c:5568:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
 5568 |     tmp_tb = tstate->exc_traceback;
      |                      ^~~~~~~~~~~~~
      |                      curexc_traceback
src/_geoslib.c:5569:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
 5569 |     tstate->exc_type = type;
      |             ^~~~~~~~
      |             curexc_type
src/_geoslib.c:5570:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
 5570 |     tstate->exc_value = value;
      |             ^~~~~~~~~
      |             curexc_value
src/_geoslib.c:5571:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
 5571 |     tstate->exc_traceback = tb;
      |             ^~~~~~~~~~~~~
      |             curexc_traceback
src/_geoslib.c: In function ‘__Pyx_GetException’:
src/_geoslib.c:5614:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
 5614 |     tmp_type = tstate->exc_type;
      |                        ^~~~~~~~
      |                        curexc_type
src/_geoslib.c:5615:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
 5615 |     tmp_value = tstate->exc_value;
      |                         ^~~~~~~~~
      |                         curexc_value
src/_geoslib.c:5616:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
 5616 |     tmp_tb = tstate->exc_traceback;
      |                      ^~~~~~~~~~~~~
      |                      curexc_traceback
src/_geoslib.c:5617:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
 5617 |     tstate->exc_type = local_type;
      |             ^~~~~~~~
      |             curexc_type
src/_geoslib.c:5618:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
 5618 |     tstate->exc_value = local_value;
      |             ^~~~~~~~~
      |             curexc_value
src/_geoslib.c:5619:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
 5619 |     tstate->exc_traceback = local_tb;
      |             ^~~~~~~~~~~~~
      |             curexc_traceback
error: Command "gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include -I['/home/alex/Python/lib/python3.7/site-packages/numpy/core/include'] -I/home/alex/Python/lib/python3.7/site-packages/numpy/core/include -I/home/alex/Python/include/python3.7m -c src/_geoslib.c -o build/temp.linux-x86_64-3.7/src/_geoslib.o -MMD -MF build/temp.linux-x86_64-3.7/src/_geoslib.o.d" failed with exit status 1
2sn commented 5 years ago

The following, however, seems to work

pip3 install --user git+https://github.com/matplotlib/basemap.git
2sn commented 5 years ago

In order to install in defaul directory (so you can actually use it) one may want to use

pip3 install git+https://github.com/matplotlib/basemap.git
SpiralArray commented 4 years ago

@2sn - your recommendation worked for me perfectly. Thank you!