{"action":"created","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/7825","repository_url":"https://api.github.com/repos/bokeh/bokeh","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/7825/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/7825/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/7825/events","html_url":"https://github.com/bokeh/bokeh/issues/7825","id":316944255,"number":7825,"title":"BBoxTileSource Not Rendering WMS Imagery","user":{"login":"mccarthyryanc","id":997120,"avatar_url":"https://avatars0.githubusercontent.com/u/997120?v=4","gravatar_id":"","url":"https://api.github.com/users/mccarthyryanc","html_url":"https://github.com/mccarthyryanc","followers_url":"https://api.github.com/users/mccarthyryanc/followers","following_url":"https://api.github.com/users/mccarthyryanc/following{/other_user}","gists_url":"https://api.github.com/users/mccarthyryanc/gists{/gist_id}","starred_url":"https://api.github.com/users/mccarthyryanc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccarthyryanc/subscriptions","organizations_url":"https://api.github.com/users/mccarthyryanc/orgs","repos_url":"https://api.github.com/users/mccarthyryanc/repos","events_url":"https://api.github.com/users/mccarthyryanc/events{/privacy}","received_events_url":"https://api.github.com/users/mccarthyryanc/received_events","type":"User","site_admin":false},"labels":[{"id":165234083,"url":"https://api.github.com/repos/bokeh/bokeh/labels/tag:%20component:%20bokehjs","name":"tag: component: bokehjs","color":"D0CBB8","default":false},{"id":122911089,"url":"https://api.github.com/repos/bokeh/bokeh/labels/tag:%20regression","name":"tag: regression","color":"D0CBB8","default":false},{"id":2031795,"url":"https://api.github.com/repos/bokeh/bokeh/labels/type:%20bug","name":"type: bug","color":"C02942","default":false}],"state":"open","locked":false,"assignee":{"login":"brendancol","id":433221,"avatar_url":"https://avatars1.githubusercontent.com/u/433221?v=4","gravatar_id":"","url":"https://api.github.com/users/brendancol","html_url":"https://github.com/brendancol","followers_url":"https://api.github.com/users/brendancol/followers","following_url":"https://api.github.com/users/brendancol/following{/other_user}","gists_url":"https://api.github.com/users/brendancol/gists{/gist_id}","starred_url":"https://api.github.com/users/brendancol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendancol/subscriptions","organizations_url":"https://api.github.com/users/brendancol/orgs","repos_url":"https://api.github.com/users/brendancol/repos","events_url":"https://api.github.com/users/brendancol/events{/privacy}","received_events_url":"https://api.github.com/users/brendancol/received_events","type":"User","site_admin":false},"assignees":[{"login":"brendancol","id":433221,"avatar_url":"https://avatars1.githubusercontent.com/u/433221?v=4","gravatar_id":"","url":"https://api.github.com/users/brendancol","html_url":"https://github.com/brendancol","followers_url":"https://api.github.com/users/brendancol/followers","following_url":"https://api.github.com/users/brendancol/following{/other_user}","gists_url":"https://api.github.com/users/brendancol/gists{/gist_id}","starred_url":"https://api.github.com/users/brendancol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendancol/subscriptions","organizations_url":"https://api.github.com/users/brendancol/orgs","repos_url":"https://api.github.com/users/brendancol/repos","events_url":"https://api.github.com/users/brendancol/events{/privacy}","received_events_url":"https://api.github.com/users/brendancol/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/bokeh/bokeh/milestones/11","html_url":"https://github.com/bokeh/bokeh/milestone/11","labels_url":"https://api.github.com/repos/bokeh/bokeh/milestones/11/labels","id":811343,"number":11,"title":"short-term","description":"Collects issues that need to be resolved soon, but not before the next release.\r\nThis milestone is always open and it gets populated from the either the long-term milestone or from new (unmilestoned) issues.\r\n\r\nRef: https://github.com/ContinuumIO/bokeh/wiki/BEP-1:-Issues-and-PRs-management#issue-times","creator":{"login":"damianavila","id":1640669,"avatar_url":"https://avatars2.githubusercontent.com/u/1640669?v=4","gravatar_id":"","url":"https://api.github.com/users/damianavila","html_url":"https://github.com/damianavila","followers_url":"https://api.github.com/users/damianavila/followers","following_url":"https://api.github.com/users/damianavila/following{/other_user}","gists_url":"https://api.github.com/users/damianavila/gists{/gist_id}","starred_url":"https://api.github.com/users/damianavila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianavila/subscriptions","organizations_url":"https://api.github.com/users/damianavila/orgs","repos_url":"https://api.github.com/users/damianavila/repos","events_url":"https://api.github.com/users/damianavila/events{/privacy}","received_events_url":"https://api.github.com/users/damianavila/received_events","type":"User","site_admin":false},"open_issues":156,"closed_issues":0,"state":"open","created_at":"2014-10-02T12:30:03Z","updated_at":"2018-04-25T19:21:16Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-04-23T19:07:16Z","updated_at":"2018-04-26T14:57:00Z","closed_at":null,"author_association":"NONE","body":"I started a discussion on the [Google Group](https://groups.google.com/a/continuum.io/forum/#!topic/bokeh/qtIlSlad0og) and it was suggested I create bug post here.\r\n\r\nI'm trying to add a BBoxTileSource in Bokeh where the imagery is exposed via WMS, so I'm testing against the USGS Topo [data](https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer). However, I am getting an `NS_ERROR_NOT_AVAILABLE` message from the Firefox console when I try to pan and zoom:\r\n![image](https://user-images.githubusercontent.com/997120/39147184-d1989b4a-46ed-11e8-8cc6-8f2078f09b10.png)\r\n\r\nHere is my app:\r\n```python\r\n#! /usr/bin/env python\r\nimport sys\r\nimport logging\r\nfrom bokeh.plotting import figure\r\nfrom bokeh.layouts import row\r\nfrom bokeh.models import ColumnDataSource, Range1d, BBoxTileSource\r\nfrom bokeh.io import curdoc\r\n\r\nlogging.basicConfig(stream=sys.stdout, level=logging.DEBUG)\r\n\r\n# USGS TOPO\r\nurl = ('https://basemap.nationalmap.gov/arcgis/services/'\r\n       'USGSTopo/MapServer/WMSServer?service=WMS&'\r\n       'request=GetMap&version=1.3.0&BGCOLOR=0xFFFFFF&&format=image/png&'\r\n       'crs={crs}&layers={layer}&width={width}&height={height}')\r\n\r\n# USGS Test\r\ncrs = 'EPSG:3857'\r\nxmin = -8904681\r\nymin = 3863947\r\nxmax = -8894269\r\nymax = 3870320\r\n\r\nlayer = '0'\r\nwidth = 900\r\nheight = 600\r\n\r\nurl_set = url.format(crs=crs, width=width, height=height, layer=layer) + \\\r\n          '&bbox={XMIN},{YMIN},{XMAX},{YMAX}'\r\n\r\nx_range = Range1d(start=xmin, end=xmax, bounds=None)\r\ny_range = Range1d(start=ymin, end=ymax, bounds=None)\r\n \r\nfig = figure(tools='wheel_zoom,pan',\r\n              x_range=x_range,\r\n              lod_threshold=None,\r\n              plot_width=width,\r\n              plot_height=height,\r\n              background_fill_color='white',\r\n              y_range=y_range,)\r\n\r\ntile_source = BBoxTileSource(url=url_set)\r\nfig.add_tile(tile_source)\r\n\r\n# Some Testing glyphs\r\nsource = ColumnDataSource(\r\n    data=dict(lat=[ymin, ymin, ymax, ymax ],\r\n              lon=[xmin, xmax, xmin, xmax ])\r\n)\r\n\r\nfig.circle(x=\"lon\", y=\"lat\", size=15, fill_color=\"blue\", fill_alpha=0.8,\r\n           source=source)\r\n\r\nlayout = row(fig)\r\ncurdoc().add_root(layout)\r\ncurdoc().title = \"WMS Viewer\"\r\n```\r\n\r\nSystem Specs:\r\n  * Ubuntu 16.04\r\n  * python 3.6\r\n  * Bokeh 0.12.15\r\n\r\nInstalled via conda:\r\n```bash\r\nconda create -n wms-env bokeh python=3.6 -c conda-forge\r\n```"},"comment":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/comments/384671343","html_url":"https://github.com/bokeh/bokeh/issues/7825#issuecomment-384671343","issue_url":"https://api.github.com/repos/bokeh/bokeh/issues/7825","id":384671343,"user":{"login":"mccarthyryanc","id":997120,"avatar_url":"https://avatars0.githubusercontent.com/u/997120?v=4","gravatar_id":"","url":"https://api.github.com/users/mccarthyryanc","html_url":"https://github.com/mccarthyryanc","followers_url":"https://api.github.com/users/mccarthyryanc/followers","following_url":"https://api.github.com/users/mccarthyryanc/following{/other_user}","gists_url":"https://api.github.com/users/mccarthyryanc/gists{/gist_id}","starred_url":"https://api.github.com/users/mccarthyryanc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccarthyryanc/subscriptions","organizations_url":"https://api.github.com/users/mccarthyryanc/orgs","repos_url":"https://api.github.com/users/mccarthyryanc/repos","events_url":"https://api.github.com/users/mccarthyryanc/events{/privacy}","received_events_url":"https://api.github.com/users/mccarthyryanc/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T14:57:00Z","updated_at":"2018-04-26T14:57:00Z","author_association":"NONE","body":"@brendancol thanks for the fix and tip on the tile width/height!"}}
{"actor":{"display_login":"mccarthyryanc"}}