JohnTigue / idots

A web data standard for Infectious Disease Outbreak Time Series (IDOTS), and related software
http://tigue.com/
Apache License 2.0
3 stars 0 forks source link

Geobase cache should be used to populate the typeahead #78

Open JohnTigue opened 9 years ago

JohnTigue commented 9 years ago

Bootleaf uses http://twitter.github.io/typeahead.js/

The Geobase (the textual files which map names to locations, and such) should be read in during init and the names pumped into typeahead. So this means all ADM level files being read...async for sure, or maybe brfs which would be easy but why load all that data? Don't need it until after init.

Ok, what is init? There are multiple parts to that.

So, when is ALL name-to-loc data needed? Probably not until just before that last step. So, inlining it with browserify would seem to be a mistake.

JohnTigue commented 9 years ago

I'm just using the term "geobase" as found in: http://gemecd.org/gemecd/RoughGuidetoBoundaryGeoreferencingforGEMECDDatabase_v1_1.pdf

I am not using the term to refer to the Canadian gov't initiative: http://www.geobase.ca/