Maps with patches

Hey,
my project is offline, and I need to visualize a map.
I saw in the bokeh gallery and examples of the states and texas with patches.
have someone done something similar worldwide?

Bokeh is a general plotting tool that can plot any set of patches data. The project itself does not have any built int "world borders" data sets. For one thing, world borders are often contentious and disputed and political. There's no guarantee that any "world borders" data set that we might make available would be one that everyone would agree with. So we avoid that, because it amounts to editorializing, and that's not the business we want to be in. We make a tool that can display lots of kinds if data, but leave it up to users to bring their own data. A GIS search for "world polygons" will turn up lots of potential sources of data that you could possibly use to draw counties as patches. Other folks here on the list might have other specific suggestions as well.

Thanks,

Bryan

···

On Feb 13, 2016, at 8:15 PM, Daniel Starobinski <[email protected]> wrote:

Hey,
my project is offline, and I need to visualize a map.
I saw in the bokeh gallery and examples of the states and texas with patches.
have someone done something similar worldwide?

--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/4324cf0f-7a3f-4654-815a-f2baa0d6cc59%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Thanks for the answer, still I was wondering if somebody already done sometיing like this

···

On Sunday, February 14, 2016 at 3:15:17 AM UTC+2, Daniel Starobinski wrote:

Hey,
my project is offline, and I need to visualize a map.
I saw in the bokeh gallery and examples of the states and texas with patches.
have someone done something similar worldwide?

Any world borders GeoJSON search will get you what you need for this

···

On Sat, Feb 20, 2016, 11:59 AM Daniel Starobinski [email protected] wrote:

Thanks for the answer, still I was wondering if somebody already done sometיing like this

On Sunday, February 14, 2016 at 3:15:17 AM UTC+2, Daniel Starobinski wrote:

Hey,
my project is offline, and I need to visualize a map.
I saw in the bokeh gallery and examples of the states and texas with patches.
have someone done something similar worldwide?

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 [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/4aff3b7c-ad78-49dc-942b-17c08e72f7cd%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

You could have a look at Natural Earth:
http://www.naturalearthdata.com/

Or GADM:
http://gadm.org/

I have some old experiments with Bokeh. But a lot has changed since then, so they’re probably not the best showcase of what Bokeh currently can do. Here is mashup of Sarah’s ‘washmap’ example:
http://nbviewer.jupyter.org/urls/gist.githubusercontent.com/RutgerK/e707239e1f82b3287a5d/raw/Bokeh_test

And showing a Bokeh equivelent of Matplotlib’s ‘pcolormesh’, displaying a grid of quadrilaterals.
http://nbviewer.jupyter.org/gist/RutgerK/db5dbc46943989bb8a05

  Bokeh currently has the limitation that patches cannot contain holes, which is not uncommon in GIS. There already is a pull request resolving this issue (PR #3399). Once it is merged i wouldn't mind updating and improving the examples above to create some simple GIS examples.

Regards,
Rutger

···

On Sunday, February 14, 2016 at 2:15:17 AM UTC+1, Daniel Starobinski wrote:

Hey,
my project is offline, and I need to visualize a map.
I saw in the bokeh gallery and examples of the states and texas with patches.
have someone done something similar worldwide?

Hi Rutger,

Thanks for the heads up and all the info! Yes, there is current work to improve the support (and user experience) when it comes to GIS/Geo features related features. The work on the patches with holes PR has been delayed since we want to add a definite good solution (and not just a “patch” solution :slight_smile: ) but will leave others more involved in the real work comment on this.

Btw, great notebooks!

Best

Fabio

···

On Tue, Feb 23, 2016 at 7:40 AM, Rutger Kassies [email protected] wrote:

You could have a look at Natural Earth:
http://www.naturalearthdata.com/

Or GADM:
http://gadm.org/

I have some old experiments with Bokeh. But a lot has changed since then, so they’re probably not the best showcase of what Bokeh currently can do. Here is mashup of Sarah’s ‘washmap’ example:
http://nbviewer.jupyter.org/urls/gist.githubusercontent.com/RutgerK/e707239e1f82b3287a5d/raw/Bokeh_test

And showing a Bokeh equivelent of Matplotlib’s ‘pcolormesh’, displaying a grid of quadrilaterals.
http://nbviewer.jupyter.org/gist/RutgerK/db5dbc46943989bb8a05

  Bokeh currently has the limitation that patches cannot contain holes, which is not uncommon in GIS. There already is a pull request resolving this issue (PR #3399). Once it is merged i wouldn't mind updating and improving the examples above to create some simple GIS examples.

Regards,
Rutger

On Sunday, February 14, 2016 at 2:15:17 AM UTC+1, Daniel Starobinski wrote:

Hey,
my project is offline, and I need to visualize a map.
I saw in the bokeh gallery and examples of the states and texas with patches.
have someone done something similar worldwide?

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 [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/11e3f551-6b8f-4272-86e0-d0207a8bc9ee%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Fabio Pliger

Senior Software Engineer, Bokeh