On Oct 21, 2016, at 11:44 AM, rachel.melamed@gmail.com wrote:
I understand. It might be good to document the problem or remove those states, as it took me a while to figure out why everything looked so weird. There are county outlines in http://www2.census.gov/geo/tiger/GENZ2010/ i might use instead.
I do not know about their license.
Thanks for the reply.
On Friday, October 21, 2016 at 10:28:41 AM UTC-5, Bryan Van de ven wrote:
Hi,
The counties polygons were just taken from some online Google Fusion table that purported to have them. Unfortunately I can't vouch for the data beyond that. If you know of a more comprehensive or better source for this data with a permissive license to include in the project, we could look at updating things.
Thanks,
Bryan
> On Oct 20, 2016, at 3:20 PM, rachel....@gmail.com wrote:
>
> I couldn't find anything on this, so sorry if it's there. The sampledata for Alaska and hawaii have some weird county locations
>
> Here is alaska:
>
> from bokeh.sampledata.us_counties import data as counties2
> countysource = {'x':[counties2[k]['lons'] for k in sorted(counties2.keys()) if k[0]==2],
> 'y':[counties2[k]['lats'] for k in sorted(counties2.keys()) if k[0]==2],
> 'cty':[k for k in sorted(counties2.keys()) if k[0]==2]}
>
> source = ColumnDataSource(data=countysource)
> pusa = figure(tools="hover,box_zoom,save") #x_axis_location=None, y_axis_location=None)
> pusa.patches('x', 'y', source=source,
> line_color="black", line_width=0.05) #,alpha={'field':'missing'}
>
> show(pusa)
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
> To post to this group, send email to bo...@continuum.io.
> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/2ed0c126-0163-4e37-86ea-4a6948e110af%40continuum.io\.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/b63971fe-a28a-4c95-a94f-4eb8681e36b9%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.