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

Check poligons of interest geojson schema #153

Open
alephcero opened this issue Jun 27, 2024 · 0 comments
Open

Check poligons of interest geojson schema #153

alephcero opened this issue Jun 27, 2024 · 0 comments

Comments

@alephcero
Copy link
Collaborator

Check geojson has the correct schema before running

Traceback (most recent call last):
  File "/home/pipe/proyectos/urbantrips/ciudades/amba_2023/UrbanTrips/urbantrips/create_viz.py", line 74, in <module>
    main()
  File "/home/pipe/proyectos/urbantrips/ciudades/amba_2023/UrbanTrips/urbantrips/create_viz.py", line 69, in main
    proceso_poligonos()
  File "/home/pipe/proyectos/urbantrips/ciudades/amba_2023/UrbanTrips/urbantrips/lineas_deseo/lineas_deseo.py", line 978, in proceso_poligonos
    etapas_selec, viajes_selec, polygons, polygons_h3 = select_cases_from_polygons(
  File "/home/pipe/proyectos/urbantrips/ciudades/amba_2023/UrbanTrips/urbantrips/lineas_deseo/lineas_deseo.py", line 254, in select_cases_from_polygons
    poly = polygons[polygons.id == row.id].copy()
  File "/home/pipe/proyectos/urbantrips/ciudades/amba_2023/UrbanTrips/venv/lib/python3.10/site-packages/pandas-2.1.1-py3.10-linux-x86_64.egg/pandas/core/generic.py", line 6204, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'GeoDataFrame' object has no attribute 'id'
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

1 participant