Closed JamesSaxon closed 5 years ago
Hi Yair --
This will make the county-level, sure -- but these are not the postgis-simplifed versions. What we want for faster visualization online is the simplified geo -- the export of what you've simplified. As you do this, please save just the geoid as an int and the geometry itself (i.e., files as small as possible).
See for example here:
Also, two side notes
completedCounties
variable does not get updated, so as you have it, this would make every county file once for each tract in it. A natural way to avoid this would be to do
for row in map['COUNTY'].unique()
.map
as a variable name, since it's a python function.Thanks --
Jamie
Also -- perhaps we should make a branch for this sort of “meta” work on the package??
I hope to be in, in a bit, to chat.
Jamie
Thanks Yair.
[x] GeoJSON geometries look perfect. Can you take the "1400000US" stuff off of the geoids? And make it geoid
, not geo_id
(we will end up using this variable a bunch, and it will be annoying if it's different).
[x] The scripts in meta just show what's needed to run Illinois. Can you update simplifier.sql with the loops needed, for the other states? The scripts should be able to run from scratch -- wget or curl the geometries, then loop over states.
[x] Thanks also, for making the meta branch. We can, perhaps empty out the "normal" stuff in that branch (do you see any reason to keep it)?
I have done all this before, for 2015. So do not flounder.