coa-project / pycoa

pycoa Python source code
MIT License
18 stars 0 forks source link

warning for map #208

Open NoamXD8 opened 5 months ago

NoamXD8 commented 5 months ago

pycoa.map(where=['Métropole'],which='tot_dchosp') /pycoa/coabook/../coa/display.py:2423: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if geometry.type == 'Polygon': /pycoa/coabook/../coa/display.py:2425: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if geometry.type == 'MultiPolygon':

odadoun commented 5 months ago

can't reproduce. I guess this is due somehow to the pandas version (I have '1.4.2') and/or geopandas version (I have '0.10.2').