geoda
geoda copied to clipboard
Let the user select the name of the geometry column to be used
Is your feature request related to a problem? Please describe. Several times the dataset I want to use is stored in a database and includes more than one geometry columns. E.g. imagine one column that could contain Points/Lines/Polygons and another one that contains their centroids, therefore only Points). However, when trying to open such a table GeoDa only looks at the column name "geometry". If the "geometry" column includes line objects then it cannot open it. However, the user might want to use another column as the geometry column, e.g. the column "centroid" which has also the type "geometry".
Describe the solution you'd like I trust that it would be very handy if when opening a file we could also select which column we would like to be used as the "geometry" column.
Describe alternatives you've considered
In QGIS when connecting to a database it shows a separate instance of each table based on each geometry column. E.g. city_data.geometry, city_data.centroids. This automatic extraction of the columns of type "geometry" could also be an alternative handy (instead of selecting the name of the geometry column you are provided with the possible geometry type columns).
Additional context Add any other context or screenshots about the feature request here.