Uploaded image for project: 'Apache Sedona'
  1. Apache Sedona
  2. SEDONA-273

Set a upper bound for Shapely, Pandas and GeoPandas

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.1

    Description

      The toPandas function in Sedona got really messed up with the version of Shapely, Pandas and GeoPandas.

       

      Here is a summary. You need to make sure the versions match the summary below (use `pip freeze` to check):

       

      If you are using Python ==3.7:

      Shapely <= 1.8.5.post1

      Pandas <= 1.3.5

      GeoPandas <= 0.10.2

       

      If you are using Python >=3.8:

      Shapely <=1.8.5.post1

      Pandas <= 1.5.3

      GeoPandas <= 0.11.1

       

      If there is anything wrong with the 3 libraries, use `pip uninstall XXX` to uninstall it and then use `pip install XXX==` to install the correct version.

       

      This will also work: `pip install 'shapely<=1.8.5.post1' --force-reinstall`

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jiayu Jia Yu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m