This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import math | |
CHUNK = 100 | |
if len(sys.argv) > 1: | |
CHUNK = int(sys.argv[1]) | |
s = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# on a unix-type system, it runs like this: | |
# ./parse_csv.py INPUTFILE > OUTPUTFILE | |
# where INPUTFILE is a .csv file like the dump we were given | |
# it creates OUTPUTFILE, which is a .csv file like the input file, | |
# but with the additional parsed-out fields (OWNER_ADDR, | |
# OWNER_APT_SUITE, SITE_ADDR, and SITE_APT_SUITE). | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Make changes to the table that we created in the ESRI model builder script | |
-- Eden contains null values set metro empty values to null so they will match during union | |
UPDATE sde_vector.cowgis.GG_TEMP_TAXLOTS_METRO | |
SET RNO = NULL | |
WHERE RNO = '' | |
-- Eden contains null values set metro empty values to null so they will match during union | |
UPDATE sde_vector.cowgis.GG_TEMP_TAXLOTS_METRO | |
SET OWNER1 = NULL | |
WHERE OWNER1 = '' | |
-- Eden contains null values set metro empty values to null so they will match during union |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Make changes to the table that we created in the ESRI model builder script | |
-- Eden contains null values set metro empty values to null so they will match during union | |
UPDATE sde_vector.cowgis.GG_TEMP_TAXLOTS_METRO | |
SET RNO = NULL | |
WHERE RNO = '' | |
-- Eden contains null values set metro empty values to null so they will match during union | |
UPDATE sde_vector.cowgis.GG_TEMP_TAXLOTS_METRO | |
SET OWNER1 = NULL | |
WHERE OWNER1 = '' | |
-- Eden contains null values set metro empty values to null so they will match during union |