Giter Site home page Giter Site logo

Comments (3)

kylebarron avatar kylebarron commented on June 12, 2024

It looks like part of the issue is that the dependencies haven't been touched in a year and some are old and possibly harder to install. Like it looks like the lockfile is bringing in pyarrow==7.0 and that doesn't have a wheel for Python 3.11 (that's the error I'm hitting)

from geoparquet.

tschaub avatar tschaub commented on June 12, 2024

In an effort to get though this, I tried poetry update. After that, this is the result of poetry run python generate_example.py:

/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/geopandas/_compat.py:111: UserWarning: The Shapely GEOS version (3.11.1-CAPI-1.17.1) is incompatible with the GEOS version PyGEOS was compiled with (3.10.1-CAPI-1.16.0). Conversions between both will be slow.
  warnings.warn(
Traceback (most recent call last):
  File "/Users/tim/projects/geoparquet/scripts/generate_example.py", line 21, in <module>
    df = df.to_crs("crs84")
  File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/geopandas/geodataframe.py", line 1275, in to_crs
    geom = df.geometry.to_crs(crs=crs, epsg=epsg)
  File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/geopandas/geoseries.py", line 1120, in to_crs
    self.values.to_crs(crs=crs, epsg=epsg), index=self.index, name=self.name
  File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/geopandas/array.py", line 768, in to_crs
    crs = CRS.from_user_input(crs)
  File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/pyproj/crs/crs.py", line 501, in from_user_input
    return cls(value, **kwargs)
  File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/pyproj/crs/crs.py", line 348, in __init__
    self._local.crs = _CRS(self.srs)
  File "pyproj/_crs.pyx", line 2366, in pyproj._crs._CRS.__init__
pyproj.exceptions.CRSError: Invalid projection: crs84: (Internal Proj Error: proj_create: unrecognized format / unknown name)

from geoparquet.

kylebarron avatar kylebarron commented on June 12, 2024

I made #179. I think the crs84 is supposed to be "ogc:84"

from geoparquet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.