use school district point for clipped geoms too

This commit is contained in:
John Krauss 2016-05-16 15:32:40 -04:00
parent 8563ca7e45
commit cd82837a51

View File

@ -51,7 +51,9 @@ def default_point(column_id):
elif column_id == 'whosonfirst.wof_marinearea_geom': elif column_id == 'whosonfirst.wof_marinearea_geom':
return 'CDB_LatLng(43.33, -68.47)' return 'CDB_LatLng(43.33, -68.47)'
elif column_id in ('us.census.tiger.school_district_elementary', elif column_id in ('us.census.tiger.school_district_elementary',
'us.census.tiger.school_district_secondary'): 'us.census.tiger.school_district_secondary',
'us.census.tiger.school_district_elementary_clipped',
'us.census.tiger.school_district_secondary_clipped'):
return 'CDB_LatLng(40.7025, -73.7067)' return 'CDB_LatLng(40.7025, -73.7067)'
elif column_id.startswith('es.ine'): elif column_id.startswith('es.ine'):
return 'CDB_LatLng(40.39, -3.7)' return 'CDB_LatLng(40.39, -3.7)'