Skip to content

geoda.cars geometry column not automatic #16

Open
@kylebarron

Description

@kylebarron

Unclear if you consider this an issue or not, but it would be nice if gpd.read_file(geodatasets.get_path()) always constructed a dataframe with a geometry column. For the geoda.cars dataset, the geometry column is full of None values, but there are lat/lon columns:

gdf = gpd.read_file(geodatasets.get_path("geoda.cars"))
image

Is the right solution:

  • Fix this under the hood somehow
  • Tell the user to construct a geometry column from the lat/lon columns after loading
  • Inform the user about the underlying CSV structure to pass the right OGR open options

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions