Skip to first unread message

CompSciRocks

unread,
Dec 11, 2018, 3:13:15 PM12/11/18
to MIT App Inventor Forum
Hello, 

My students have worked the state map tutorial which only has maps for the New England States.  We are from California!  How can we create, or where can we find JSON files for the other states?  Any ideas of a strategy, resource or where to start?   We aren't MIT wizards yet, but aspire to get there one day.  PTS



Abraham Getzler

unread,
Dec 11, 2018, 3:39:26 PM12/11/18
to MIT App Inventor Forum
I got some at http://eric.clst.org/tech/usgeojson/
but counter-intuitively, I had to use the 20m files to fit
into an AI2 upload.
The 20m is not a megabyte measure, but a feature size measure,
the coarser the feature, the smaller the file.

Even then, it was hefty.

I was unable to use the full file because the AI2 feature list
blocks did not have general purpose JSON data extraction
tags to match the US census data.

The MIT geojson files were jiggered to match the tutorial,
and also had an invisible BOM (Byte Order Marker) removed from the front of the file.

This is still a work in progress, from what I hear.

ABG

blocks.png
Designer.PNG
geojson_sample_structure.PNG
geojson_states_quiz.aia
lookup_error.PNG
us_statesfile.geojson
Reply all
Reply to author
Forward
0 new messages