Grasshopper

algorithmic modeling for Rhino

I'm trying to put together a series of maps looking at different metrics by census tract for a number of US cities (such as Median Income, Population, Unemployment Rate, etc for Chicago, NYC, Detroit, etc). All of these data sets seem to be available, but when I choose them it will only display up to 10 tracts, rather than displaying all of the tracts in the framed area.

Beyond that, some data sets don't display at all, and create an error with the RESTVector Component (for instance, Population Density creates this problem).

The file I am using is barely altered from the example file, but I will attach it here with screen shots of some of the issues.

Is there any way to fix these problems?

Views: 254

Attachments:

Replies to This Discussion

I have found some data sources are have a "MaxRecordCount" limitation for returning data.  The Esri Median Income source has a limit of 10 as can be found here: http://server.arcgisonline.com/ArcGIS/rest/services/Demographics/US...

A work around would be to send multiple requests so that each request doesn't hit the limit.  This could be done by subdividing the boundary you initially set and piping those boundaries into the RESTVector component (see attached definition).  The results then will need to be culled for duplicates.  I've done this by using the Create Set and Assign Paths (from TreeFrog) components.

The problem with Population Density is totally on my end!  I forgot to add a "/" to the end of the http string in the Value List I pre-populated.  You should be able to just right click the component and edit the text.

Attachments:

Thank you!

That clarifies everything, and now it all works smoothly now.

RSS

About

Translate

Search

© 2020   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service