Changes

Jump to navigation Jump to search
*Load the KML into the dbase using ogr2ogr [https://gdal.org/programs/ogr2ogr.html], note the the nln option creates a new layer (table)
*Note that you have to hit refresh on the dbase (or at least the table list) in DataGrip to get the new table to show up
*Also, you'll need to fix the date types in post-processing. Note that null dates are going to show up as year 0, which doesn't actually exist and is incorrect (try SELECT to_date('0', 'YYYY')) and again with -1. See https://github.com/sequelize/sequelize/issues/3762 and blame the pope.
ogr2ogr -f PostgreSQL PG:"dbname=vcdb3" Chicago.kml -nln tifchicago
</Placemark>
The ind variable might be useful if they are sufficiently systematic across jurisdictions. '''use''' was a messy version of '''ind'''. The '''sbif''' apprears to be a Small Business Improvement Fund grant specific to Chicago [https://somercor.com/sbif/]
SELECT sbif, count(*) FROM TifChicagoClean GROUP BY sbif;
sbif count
Y 92
N 45
 
SELECT DISTINCT ind FROM TifChicagoClean;
ind
Mixed-Use
Residential
Mixed-use
Industrial
Commercial
Transportation
 
===One by One===
 
Chicago -- credit Jonathan Levy, created Jul 17, 2013, updated Mar 19, 2019 [https://data.cityofchicago.org/Community-Economic-Development/Boundaries-Tax-Increment-Financing-Districts/fz5x-7zak], has 138 TIFs, approved from 1989-09-13 to 2018-10-31. Expiration ranges from 2018-07-13 to 2052-12-31.
==Other==

Navigation menu