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

Error when attribute table contains geometry column #44

Open
anitagraser opened this issue Nov 15, 2024 · 0 comments
Open

Error when attribute table contains geometry column #44

anitagraser opened this issue Nov 15, 2024 · 0 comments
Labels
enhancement Improvement to existing feature

Comments

@anitagraser
Copy link
Collaborator

Traceback (most recent call last):
File "C:\Users/GraserA/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing-trajectory\qgis_processing\trajectoriesAlgorithm.py", line 193, in processAlgorithm
self.processTc(tc, parameters, context)
File "C:\Users/GraserA/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing-trajectory\qgis_processing\createTrajectoriesAlgorithm.py", line 42, in processTc
self.tc_to_sink(tc)
File "C:\Users/GraserA/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing-trajectory\qgis_processing\trajectoriesAlgorithm.py", line 287, in tc_to_sink
gdf = gdf[names]
File "C:\Users\GraserA\AppData\Local\miniconda3\envs\qgis\lib\site-packages\geopandas\geodataframe.py", line 1474, in __getitem__
result = super().__getitem__(key)
File "C:\Users\GraserA\AppData\Local\miniconda3\envs\qgis\lib\site-packages\pandas\core\frame.py", line 3908, in __getitem__
data = self._take_with_is_copy(indexer, axis=1)
File "C:\Users\GraserA\AppData\Local\miniconda3\envs\qgis\lib\site-packages\pandas\core\generic.py", line 4088, in _take_with_is_copy
result = self.take(indices=indices, axis=axis)
File "C:\Users\GraserA\AppData\Local\miniconda3\envs\qgis\lib\site-packages\pandas\core\generic.py", line 4073, in take
return self._constructor_from_mgr(new_data, axes=new_data.axes).__finalize__(
File "C:\Users\GraserA\AppData\Local\miniconda3\envs\qgis\lib\site-packages\pandas\core\frame.py", line 647, in _constructor_from_mgr
return self._constructor(mgr)
File "C:\Users\GraserA\AppData\Local\miniconda3\envs\qgis\lib\site-packages\geopandas\geodataframe.py", line 30, in _geodataframe_constructor_with_fallback
df = GeoDataFrame(*args, **kwargs)
File "C:\Users\GraserA\AppData\Local\miniconda3\envs\qgis\lib\site-packages\geopandas\geodataframe.py", line 163, in __init__
raise ValueError(
ValueError: GeoDataFrame does not support multiple columns using the geometry column name 'geometry'.
@anitagraser anitagraser added the enhancement Improvement to existing feature label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement to existing feature
Projects
None yet
Development

No branches or pull requests

1 participant