Skip to content

GeoDataFrame support and unittesting

Compare
Choose a tag to compare
@linwoodc3 linwoodc3 released this 29 May 04:05
· 60 commits to master since this release

This update includes a geodataframe output. The format and syntax are the same; you set the output parameter equal to one of 3 values:

  1. 'geodateframe'
  2. 'geoframe'
  3. 'gpd'

Here is the syntax:

events = gd.Search(['2017 May 23','2017 May 25'],table='events',output='gpd',normcols=True,coverage=True)

And the major difference is the above code adds a geometry column. That means, it's possible to perform geosptial operations on this data (merge with shapefiles or other georeferenced data).

  • Enhancements
    • Removed date_parse sniffer from the dataframe read to speed up ingest/converstion
    • normcols parameter lets you normalize the columns for ingest into a sql database