Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line clipping panics when linestring has 0 points #290

Closed
erictheise opened this issue Feb 5, 2018 · 7 comments
Closed

Line clipping panics when linestring has 0 points #290

erictheise opened this issue Feb 5, 2018 · 7 comments
Assignees
Milestone

Comments

@erictheise
Copy link
Member

I am working with a Geofabrik country-level (Italy) extract. I have no problems running master which is at 43fa8d9 from Dec 22. Over the weekend I made a build from the v0.6.0 branch so that I could start using environment variables and now when I do the simplest things I get these panic messages

2018/02/05 12:20:46 server.go:2848: http: panic serving [::1]:50538: runtime error: index out of range

after seeing errors like these. I am not certain they always correspond to queries having 0 results.

2018/02/05 12:20:43 map.go:180: Error Getting MVTLayer for tile Z: 10, X: 545, Y: 379: error running layer (pylon_areas) SQL (SELECT ST_AsBinary(geometry) AS geometry, osm_id, type, name, category, water_level FROM osm_pylon_areas WHERE geometry && ST_MakeEnvelope(1.290868533500365e+06,5.205667373609009e+06,1.3312272844293201e+06,5.165308622680054e+06,3857)): read tcp [::1]:50749->[::1]:5432: read: connection reset by peer

Please let me know what I can do to help debug this.

@gdey
Copy link
Member

gdey commented Feb 6, 2018

Do you know what tile is causing the issue?
Is it possible for me to get the data set?

@erictheise
Copy link
Member Author

tegola behaves when I build at 661b81c but not after. So this is not currently a blocker for me. Happy to test after you've had a chance to look at it.

@erictheise
Copy link
Member Author

I've continued to have problems so I took @gdey's suggestion and ran git bisect. It landed me at 25b61e6 so I suggest you start there. Unfortunately, I had to disable the environment variable stuff to run the git bisect because that's not working for a number of commits and we're in a position where we need that.

So I'm building at 688a41d and hoping I'm not missing too much.

@erictheise
Copy link
Member Author

erictheise commented Feb 6, 2018

Built at 633a2e6 from the v0.6.0 branch.

Erics-MBP:tegola-openseamap erictheise$ nf start
[OKAY] Loaded ENV .env File as KEY=VALUE Format
3:54:39 PM tegola.1 |  2018/02/06 15:54:39 config.go:189: Loading local config (seamark.toml)
3:54:40 PM tegola.1 |  2018/02/06 15:54:40 server.go:41: Starting tegola server on port :7070
3:55:10 PM tegola.1 |  2018/02/06 15:55:10 map.go:180: Error Getting MVTLayer for tile Z: 10, X: 552, Y: 380: error running layer (admin_label_points_3-20) SQL (SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, scalerank, name FROM ne_50m_admin_1_states_provinces_lines WHERE wkb_geometry && ST_MakeEnvelope(1.5648188428363046e+06,5.166531615132446e+06,1.6051775937652597e+06,5.126172864203491e+06,3857)): write tcp [::1]:61007->[::1]:5432: write: broken pipe
3:55:10 PM tegola.1 |  2018/02/06 15:55:10 map.go:180: Error Getting MVTLayer for tile Z: 10, X: 552, Y: 380: error running layer (water_lines_gen0) SQL (SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, type, tags FROM osm_water_lines WHERE type IN ('river', 'canal') AND geometry && ST_MakeEnvelope(1.5648188428363046e+06,5.166531615132446e+06,1.6051775937652597e+06,5.126172864203491e+06,3857)): read tcp [::1]:61005->[::1]:5432: read: connection reset by peer
3:55:10 PM tegola.1 |  2018/02/06 15:55:10 map.go:180: Error Getting MVTLayer for tile Z: 10, X: 551, Y: 379: error running layer (other_areas) SQL (SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, class, type, tags FROM osm_other_areas WHERE geometry && ST_MakeEnvelope(1.5256830843597418e+06,5.205667373609009e+06,1.566041835288697e+06,5.165308622680054e+06,3857)): read tcp [::1]:60998->[::1]:5432: read: connection reset by peer
3:55:10 PM tegola.1 |  2018/02/06 15:55:10 map.go:180: Error Getting MVTLayer for tile Z: 10, X: 551, Y: 379: error running layer (transport_lines_gen1) SQL (SELECT ST_AsBinary(geometry) AS geometry, osm_id, ref, class, type, tags, tunnel, bridge FROM osm_transport_lines_gen1 WHERE type IN ('motorway', 'trunk', 'primary', 'primary_link', 'secondary', 'motorway_link', 'trunk_link') AND geometry && ST_MakeEnvelope(1.5256830843597418e+06,5.205667373609009e+06,1.566041835288697e+06,5.165308622680054e+06,3857)): read tcp [
3:55:10 PM tegola.1 |  >  ::1]:61000->[::1]:5432: read: connection reset by peer
3:55:10 PM tegola.1 |  2018/02/06 15:55:10 map.go:180: Error Getting MVTLayer for tile Z: 10, X: 552, Y: 380: error running layer (water_areas_gen1) SQL (SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, type, area, tags FROM osm_water_areas_gen1 WHERE type IN ('water', 'pond', 'basin', 'canal', 'mill_pond', 'riverbank') AND area > 1000 AND geometry && ST_MakeEnvelope(1.5648188428363046e+06,5.166531615132446e+06,1.6051775937652597e+06,5.126172864203491e+06,3857)): read tcp [::1]:60999->[::1]:5432: read: connecti
3:55:10 PM tegola.1 |  >  on reset by peer
3:55:10 PM tegola.1 |  2018/02/06 15:55:10 map.go:180: Error Getting MVTLayer for tile Z: 10, X: 553, Y: 379: error running layer (admin_label_points_5-20) SQL (SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, scalerank, name, adm0_sr, datarank FROM ne_10m_admin_1_label_points WHERE wkb_geometry && ST_MakeEnvelope(1.6039546013128674e+06,5.205667373609009e+06,1.6443133522418225e+06,5.165308622680054e+06,3857)): read tcp [::1]:61008->[::1]:5432: read: connection reset by peer
3:55:10 PM tegola.1 |  2018/02/06 15:55:10 map.go:180: Error Getting MVTLayer for tile Z: 10, X: 551, Y: 379: error running layer (admin_states_provinces_lines_5-6) SQL (SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, scalerank, name FROM ne_10m_admin_1_states_provinces_lines WHERE wkb_geometry && ST_MakeEnvelope(1.5256830843597418e+06,5.205667373609009e+06,1.566041835288697e+06,5.165308622680054e+06,3857)): read tcp [::1]:61006->[::1]:5432: read: connection reset by peer
3:55:13 PM tegola.1 |  2018/02/06 15:55:13 server.go:2848: http: panic serving [::1]:60809: runtime error: index out of range
3:55:13 PM tegola.1 |  goroutine 41 [running]:
3:55:13 PM tegola.1 |  net/http.(*conn).serve.func1(0xc420208140)
3:55:13 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1697 +0xd0
3:55:13 PM tegola.1 |  panic(0x166cba0, 0x1b412e0)
3:55:13 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/runtime/panic.go:491 +0x283
3:55:13 PM tegola.1 |  github.com/terranodo/tegola/maths/points.points.Extent.Contains(...)
3:55:13 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15
3:55:13 PM tegola.1 |  github.com/terranodo/tegola/maths/clip.LineString(0x1addf80, 0x1b71da0, 0xc420b50de8, 0x1addf80, 0x1b71da0, 0x1ae1801, 0xc420b50c70, 0x1ae1880)
3:55:13 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15 +0x1066
3:55:13 PM tegola.1 |  github.com/terranodo/tegola/maths/validate.CleanGeometry(0x1ae4140, 0xc4202ba240, 0x16ea320, 0x1b71da0, 0xc420b50de8, 0x1b71da0, 0x0, 0xc421ba7c78, 0xc4214f4240)
3:55:13 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/validate/validate.go:153 +0xc37
3:55:13 PM tegola.1 |  github.com/terranodo/tegola/mvt.encodeGeometry(0x1ae4140, 0xc4202ba240, 0x16ea320, 0xc420556e80, 0xc420b2dcc0, 0x200, 0xc420b51168, 0xc423a74080, 0x18, 0x20, ...)
3:55:13 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:593 +0x205
3:55:13 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Feature).VTileFeature(0xc420b51168, 0x1ae4140, 0xc4202ba240, 0xc422ef8000, 0x35, 0x40, 0xc423d82000, 0x152, 0x200, 0xc420b2dcc0, ...)
3:55:13 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:96 +0x16f
3:55:13 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Layer).VTileLayer(0xc420b51260, 0x1ae4140, 0xc4202ba240, 0xc420b2dcc0, 0x9, 0xc423041b00, 0x8)
3:55:13 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/layer.go:87 +0x316
3:55:13 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Tile).VTile(0xc4205e93d0, 0x1ae4140, 0xc4202ba240, 0xc420b2dcc0, 0x0, 0x0, 0xc4200bef00)
3:55:13 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/tile.go:47 +0x10d
3:55:13 PM tegola.1 |  github.com/terranodo/tegola/atlas.Map.Encode(0xc420303a98, 0x3, 0xc420315400, 0xf, 0xc066800000000000, 0xc055434538ef34d7, 0x4066800000000000, 0x4055434538ef34d7, 0x4028e5fb72658449, 0x4044daa4da982f34, ...)
3:55:13 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/atlas/map.go:209 +0x2f6
3:55:13 PM tegola.1 |  github.com/terranodo/tegola/server.HandleMapZXY.ServeHTTP(0xc42056c06a, 0x3, 0xa, 0x228, 0x17a, 0xc42056c079, 0x3, 0x0, 0x1ae2bc0, 0xc4202ba2a0, ...)
3:55:13 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/handle_map_zxy.go:114 +0x2d0
3:55:13 PM tegola.1 |  github.com/terranodo/tegola/server.(*HandleMapZXY).ServeHTTP(0xc4201f1cc0, 0x1ae2bc0, 0xc4202ba2a0, 0xc420212000)
3:55:13 PM tegola.1 |  	<autogenerated>:1 +0x6c
3:55:13 PM tegola.1 |  github.com/terranodo/tegola/server.TileCacheHandler.func1(0x1ae35c0, 0xc4205d2000, 0xc420212000)
3:55:13 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_tile_cache.go:51 +0x2ed
3:55:13 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d60, 0x1ae35c0, 0xc4205d2000, 0xc420212000)
3:55:13 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:13 PM tegola.1 |  github.com/terranodo/tegola/server.CORSHandler.func1(0x1ae35c0, 0xc4205d2000, 0xc420212000)
3:55:13 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_cors.go:16 +0x12b
3:55:13 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d80, 0x1ae35c0, 0xc4205d2000, 0xc420212000)
3:55:13 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:13 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*ContextGroup).Handler.func1(0x1ae35c0, 0xc4205d2000, 0xc420218100, 0xc4202ba210)
3:55:13 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/context.go:62 +0xe8
3:55:13 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*TreeMux).ServeHTTP(0xc42016c070, 0x1ae35c0, 0xc4205d2000, 0xc420218100)
3:55:13 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/router.go:252 +0x308
3:55:13 PM tegola.1 |  net/http.serverHandler.ServeHTTP(0xc42019b930, 0x1ae35c0, 0xc4205d2000, 0xc420218100)
3:55:13 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2619 +0xb4
3:55:13 PM tegola.1 |  net/http.(*conn).serve(0xc420208140, 0x1ae4080, 0xc4204de240)
3:55:13 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1801 +0x71d
3:55:13 PM tegola.1 |  created by net/http.(*Server).Serve
3:55:13 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2720 +0x288
3:55:14 PM tegola.1 |  2018/02/06 15:55:14 server.go:2848: http: panic serving [::1]:60806: runtime error: index out of range
3:55:14 PM tegola.1 |  goroutine 9 [running]:
3:55:14 PM tegola.1 |  net/http.(*conn).serve.func1(0xc4201e0aa0)
3:55:14 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1697 +0xd0
3:55:14 PM tegola.1 |  panic(0x166cba0, 0x1b412e0)
3:55:14 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/runtime/panic.go:491 +0x283
3:55:14 PM tegola.1 |  github.com/terranodo/tegola/maths/points.points.Extent.Contains(...)
3:55:14 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15
3:55:14 PM tegola.1 |  github.com/terranodo/tegola/maths/clip.LineString(0x1addf80, 0x1b71da0, 0xc421ca8de8, 0x1addf80, 0x1b71da0, 0x1ae1801, 0xc421ca8c70, 0x1ae1880)
3:55:14 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15 +0x1066
3:55:14 PM tegola.1 |  github.com/terranodo/tegola/maths/validate.CleanGeometry(0x1ae4140, 0xc420328900, 0x16ea320, 0x1b71da0, 0xc421ca8de8, 0x1b71da0, 0x0, 0xc4221f9478, 0xc4226c4c00)
3:55:14 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/validate/validate.go:153 +0xc37
3:55:14 PM tegola.1 |  github.com/terranodo/tegola/mvt.encodeGeometry(0x1ae4140, 0xc420328900, 0x16ea320, 0xc422216500, 0xc42130b9a0, 0x0, 0xc421ca9168, 0xc4234c6400, 0x12, 0x20, ...)
3:55:14 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:593 +0x205
3:55:14 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Feature).VTileFeature(0xc421ca9168, 0x1ae4140, 0xc420328900, 0xc425381000, 0x13, 0x20, 0xc4264a3000, 0x6d, 0x80, 0xc42130b9a0, ...)
3:55:14 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:96 +0x16f
3:55:14 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Layer).VTileLayer(0xc421ca9260, 0x1ae4140, 0xc420328900, 0xc42130b9a0, 0x9, 0xc425383e00, 0x8)
3:55:14 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/layer.go:87 +0x316
3:55:14 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Tile).VTile(0xc4204913d0, 0x1ae4140, 0xc420328900, 0xc42130b9a0, 0x0, 0x0, 0xc4201c8000)
3:55:14 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/tile.go:47 +0x10d
3:55:14 PM tegola.1 |  github.com/terranodo/tegola/atlas.Map.Encode(0xc420303a98, 0x3, 0xc420315400, 0xf, 0xc066800000000000, 0xc055434538ef34d7, 0x4066800000000000, 0x4055434538ef34d7, 0x4028e5fb72658449, 0x4044daa4da982f34, ...)
3:55:14 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/atlas/map.go:209 +0x2f6
3:55:14 PM tegola.1 |  github.com/terranodo/tegola/server.HandleMapZXY.ServeHTTP(0xc4205920ca, 0x3, 0xa, 0x228, 0x17b, 0xc4205920d9, 0x3, 0x0, 0x1ae2bc0, 0xc420328b10, ...)
3:55:14 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/handle_map_zxy.go:114 +0x2d0
3:55:14 PM tegola.1 |  github.com/terranodo/tegola/server.(*HandleMapZXY).ServeHTTP(0xc4201f1cc0, 0x1ae2bc0, 0xc420328b10, 0xc42020a700)
3:55:14 PM tegola.1 |  	<autogenerated>:1 +0x6c
3:55:14 PM tegola.1 |  github.com/terranodo/tegola/server.TileCacheHandler.func1(0x1ae35c0, 0xc4202b42a0, 0xc42020a700)
3:55:14 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_tile_cache.go:51 +0x2ed
3:55:14 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d60, 0x1ae35c0, 0xc4202b42a0, 0xc42020a700)
3:55:14 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:14 PM tegola.1 |  github.com/terranodo/tegola/server.CORSHandler.func1(0x1ae35c0, 0xc4202b42a0, 0xc42020a700)
3:55:14 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_cors.go:16 +0x12b
3:55:14 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d80, 0x1ae35c0, 0xc4202b42a0, 0xc42020a700)
3:55:14 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:14 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*ContextGroup).Handler.func1(0x1ae35c0, 0xc4202b42a0, 0xc42020a600, 0xc4203288d0)
3:55:14 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/context.go:62 +0xe8
3:55:14 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*TreeMux).ServeHTTP(0xc42016c070, 0x1ae35c0, 0xc4202b42a0, 0xc42020a600)
3:55:14 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/router.go:252 +0x308
3:55:14 PM tegola.1 |  net/http.serverHandler.ServeHTTP(0xc42019b930, 0x1ae35c0, 0xc4202b42a0, 0xc42020a600)
3:55:14 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2619 +0xb4
3:55:14 PM tegola.1 |  net/http.(*conn).serve(0xc4201e0aa0, 0x1ae4080, 0xc420060340)
3:55:14 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1801 +0x71d
3:55:14 PM tegola.1 |  created by net/http.(*Server).Serve
3:55:14 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2720 +0x288
3:55:17 PM tegola.1 |  2018/02/06 15:55:17 server.go:2848: http: panic serving [::1]:60808: runtime error: index out of range
3:55:17 PM tegola.1 |  goroutine 40 [running]:
3:55:17 PM tegola.1 |  net/http.(*conn).serve.func1(0xc4202080a0)
3:55:17 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1697 +0xd0
3:55:17 PM tegola.1 |  panic(0x166cba0, 0x1b412e0)
3:55:17 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/runtime/panic.go:491 +0x283
3:55:17 PM tegola.1 |  github.com/terranodo/tegola/maths/points.points.Extent.Contains(...)
3:55:17 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15
3:55:17 PM tegola.1 |  github.com/terranodo/tegola/maths/clip.LineString(0x1addf80, 0x1b71da0, 0xc421cacde8, 0x1addf80, 0x1b71da0, 0x1ae1801, 0xc421cacc70, 0x1ae1880)
3:55:17 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15 +0x1066
3:55:17 PM tegola.1 |  github.com/terranodo/tegola/maths/validate.CleanGeometry(0x1ae4140, 0xc4209cc0c0, 0x16ea320, 0x1b71da0, 0xc421cacde8, 0x1b71da0, 0x0, 0xc4242d2c88, 0xc421a5aba0)
3:55:17 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/validate/validate.go:153 +0xc37
3:55:17 PM tegola.1 |  github.com/terranodo/tegola/mvt.encodeGeometry(0x1ae4140, 0xc4209cc0c0, 0x16ea320, 0xc42154c4e0, 0xc42571df40, 0x0, 0xc421cad168, 0xc429e42b80, 0x14, 0x20, ...)
3:55:17 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:593 +0x205
3:55:17 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Feature).VTileFeature(0xc421cad168, 0x1ae4140, 0xc4209cc0c0, 0xc423154a00, 0x1b, 0x20, 0xc42223d800, 0x73, 0x80, 0xc42571df40, ...)
3:55:17 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:96 +0x16f
3:55:17 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Layer).VTileLayer(0xc421cad260, 0x1ae4140, 0xc4209cc0c0, 0xc42571df40, 0x9, 0xc424f08900, 0x8)
3:55:17 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/layer.go:87 +0x316
3:55:17 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Tile).VTile(0xc421cad3d0, 0x1ae4140, 0xc4209cc0c0, 0xc42571df40, 0x0, 0x0, 0xc421936500)
3:55:17 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/tile.go:47 +0x10d
3:55:17 PM tegola.1 |  github.com/terranodo/tegola/atlas.Map.Encode(0xc420303a98, 0x3, 0xc420315400, 0xf, 0xc066800000000000, 0xc055434538ef34d7, 0x4066800000000000, 0x4055434538ef34d7, 0x4028e5fb72658449, 0x4044daa4da982f34, ...)
3:55:17 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/atlas/map.go:209 +0x2f6
3:55:17 PM tegola.1 |  github.com/terranodo/tegola/server.HandleMapZXY.ServeHTTP(0xc42653c75a, 0x3, 0xa, 0x22a, 0x17c, 0xc42653c769, 0x3, 0x0, 0x1ae2bc0, 0xc4209cc180, ...)
3:55:17 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/handle_map_zxy.go:114 +0x2d0
3:55:17 PM tegola.1 |  github.com/terranodo/tegola/server.(*HandleMapZXY).ServeHTTP(0xc4201f1cc0, 0x1ae2bc0, 0xc4209cc180, 0xc424236a00)
3:55:17 PM tegola.1 |  	<autogenerated>:1 +0x6c
3:55:17 PM tegola.1 |  github.com/terranodo/tegola/server.TileCacheHandler.func1(0x1ae35c0, 0xc422b8f960, 0xc424236a00)
3:55:17 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_tile_cache.go:51 +0x2ed
3:55:17 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d60, 0x1ae35c0, 0xc422b8f960, 0xc424236a00)
3:55:17 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:17 PM tegola.1 |  github.com/terranodo/tegola/server.CORSHandler.func1(0x1ae35c0, 0xc422b8f960, 0xc424236a00)
3:55:17 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_cors.go:16 +0x12b
3:55:17 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d80, 0x1ae35c0, 0xc422b8f960, 0xc424236a00)
3:55:17 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:17 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*ContextGroup).Handler.func1(0x1ae35c0, 0xc422b8f960, 0xc424236900, 0xc4209cc090)
3:55:17 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/context.go:62 +0xe8
3:55:17 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*TreeMux).ServeHTTP(0xc42016c070, 0x1ae35c0, 0xc422b8f960, 0xc424236900)
3:55:17 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/router.go:252 +0x308
3:55:17 PM tegola.1 |  net/http.serverHandler.ServeHTTP(0xc42019b930, 0x1ae35c0, 0xc422b8f960, 0xc424236900)
3:55:17 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2619 +0xb4
3:55:17 PM tegola.1 |  net/http.(*conn).serve(0xc4202080a0, 0x1ae4080, 0xc4204de180)
3:55:17 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1801 +0x71d
3:55:17 PM tegola.1 |  created by net/http.(*Server).Serve
3:55:17 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2720 +0x288
3:55:18 PM tegola.1 |  2018/02/06 15:55:18 server.go:2848: http: panic serving [::1]:60810: runtime error: index out of range
3:55:18 PM tegola.1 |  goroutine 42 [running]:
3:55:18 PM tegola.1 |  net/http.(*conn).serve.func1(0xc4202081e0)
3:55:18 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1697 +0xd0
3:55:18 PM tegola.1 |  panic(0x166cba0, 0x1b412e0)
3:55:18 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/runtime/panic.go:491 +0x283
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/maths/points.points.Extent.Contains(...)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/maths/clip.LineString(0x1addf80, 0x1b71da0, 0xc422356de8, 0x1addf80, 0x1b71da0, 0x1ae1801, 0xc422356c70, 0x1ae1880)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15 +0x1066
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/maths/validate.CleanGeometry(0x1ae4140, 0xc4203813e0, 0x16ea320, 0x1b71da0, 0xc422356de8, 0x1b71da0, 0x100b932, 0xc422356f18, 0x0)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/validate/validate.go:153 +0xc37
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/mvt.encodeGeometry(0x1ae4140, 0xc4203813e0, 0x16ea320, 0xc428de56e0, 0xc4212e8aa0, 0x200, 0xc422357168, 0xc429527b80, 0x18, 0x20, ...)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:593 +0x205
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Feature).VTileFeature(0xc422357168, 0x1ae4140, 0xc4203813e0, 0xc422ef4400, 0x35, 0x40, 0xc420a2a000, 0x152, 0x200, 0xc4212e8aa0, ...)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:96 +0x16f
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Layer).VTileLayer(0xc422357260, 0x1ae4140, 0xc4203813e0, 0xc4212e8aa0, 0x9, 0xc421fdbc00, 0x8)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/layer.go:87 +0x316
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Tile).VTile(0xc4223573d0, 0x1ae4140, 0xc4203813e0, 0xc4212e8aa0, 0x0, 0x0, 0xc421afaa00)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/tile.go:47 +0x10d
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/atlas.Map.Encode(0xc420303a98, 0x3, 0xc420315400, 0xf, 0xc066800000000000, 0xc055434538ef34d7, 0x4066800000000000, 0x4055434538ef34d7, 0x4028e5fb72658449, 0x4044daa4da982f34, ...)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/atlas/map.go:209 +0x2f6
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/server.HandleMapZXY.ServeHTTP(0xc425e19daa, 0x3, 0xa, 0x228, 0x17a, 0xc425e19db9, 0x3, 0x0, 0x1ae2bc0, 0xc420381590, ...)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/handle_map_zxy.go:114 +0x2d0
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/server.(*HandleMapZXY).ServeHTTP(0xc4201f1cc0, 0x1ae2bc0, 0xc420381590, 0xc420d65c00)
3:55:18 PM tegola.1 |  	<autogenerated>:1 +0x6c
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/server.TileCacheHandler.func1(0x1ae35c0, 0xc4258d22a0, 0xc420d65c00)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_tile_cache.go:51 +0x2ed
3:55:18 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d60, 0x1ae35c0, 0xc4258d22a0, 0xc420d65c00)
3:55:18 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/server.CORSHandler.func1(0x1ae35c0, 0xc4258d22a0, 0xc420d65c00)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_cors.go:16 +0x12b
3:55:18 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d80, 0x1ae35c0, 0xc4258d22a0, 0xc420d65c00)
3:55:18 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*ContextGroup).Handler.func1(0x1ae35c0, 0xc4258d22a0, 0xc4243e1b00, 0xc420381350)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/context.go:62 +0xe8
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*TreeMux).ServeHTTP(0xc42016c070, 0x1ae35c0, 0xc4258d22a0, 0xc4243e1b00)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/router.go:252 +0x308
3:55:18 PM tegola.1 |  net/http.serverHandler.ServeHTTP(0xc42019b930, 0x1ae35c0, 0xc4258d22a0, 0xc4243e1b00)
3:55:18 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2619 +0xb4
3:55:18 PM tegola.1 |  net/http.(*conn).serve(0xc4202081e0, 0x1ae4080, 0xc4204de380)
3:55:18 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1801 +0x71d
3:55:18 PM tegola.1 |  created by net/http.(*Server).Serve
3:55:18 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2720 +0x288
3:55:18 PM tegola.1 |  2018/02/06 15:55:18 server.go:2848: http: panic serving [::1]:60807: runtime error: index out of range
3:55:18 PM tegola.1 |  goroutine 10 [running]:
3:55:18 PM tegola.1 |  net/http.(*conn).serve.func1(0xc4201e0b40)
3:55:18 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1697 +0xd0
3:55:18 PM tegola.1 |  panic(0x166cba0, 0x1b412e0)
3:55:18 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/runtime/panic.go:491 +0x283
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/maths/points.points.Extent.Contains(...)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/maths/clip.LineString(0x1addf80, 0x1b71da0, 0xc420b54de8, 0x1addf80, 0x1b71da0, 0x1ae1801, 0xc420b54c70, 0x1ae1880)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15 +0x1066
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/maths/validate.CleanGeometry(0x1ae4140, 0xc420312180, 0x16ea320, 0x1b71da0, 0xc420b54de8, 0x1b71da0, 0x0, 0xc420bd78c8, 0xc421b003c0)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/validate/validate.go:153 +0xc37
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/mvt.encodeGeometry(0x1ae4140, 0xc420312180, 0x16ea320, 0xc420775cc0, 0xc420d4d180, 0x0, 0xc420b55168, 0xc421d814a0, 0x6, 0x8, ...)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:593 +0x205
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Feature).VTileFeature(0xc420b55168, 0x1ae4140, 0xc420312180, 0xc4224bd180, 0x7, 0x8, 0xc423e69600, 0x12, 0x20, 0xc420d4d180, ...)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:96 +0x16f
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Layer).VTileLayer(0xc420b55260, 0x1ae4140, 0xc420312180, 0xc420d4d180, 0xc4224bd080, 0x0, 0x0)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/layer.go:87 +0x316
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Tile).VTile(0xc4203d93d0, 0x1ae4140, 0xc420312180, 0xc420d4d180, 0x0, 0x0, 0xc4201c8500)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/tile.go:47 +0x10d
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/atlas.Map.Encode(0xc420303a98, 0x3, 0xc420315400, 0xf, 0xc066800000000000, 0xc055434538ef34d7, 0x4066800000000000, 0x4055434538ef34d7, 0x4028e5fb72658449, 0x4044daa4da982f34, ...)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/atlas/map.go:209 +0x2f6
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/server.HandleMapZXY.ServeHTTP(0xc4202fc06a, 0x3, 0xa, 0x227, 0x17b, 0xc4202fc079, 0x3, 0x0, 0x1ae2bc0, 0xc420329b90, ...)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/handle_map_zxy.go:114 +0x2d0
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/server.(*HandleMapZXY).ServeHTTP(0xc4201f1cc0, 0x1ae2bc0, 0xc420329b90, 0xc420670000)
3:55:18 PM tegola.1 |  	<autogenerated>:1 +0x6c
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/server.TileCacheHandler.func1(0x1ae35c0, 0xc420662000, 0xc420670000)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_tile_cache.go:51 +0x2ed
3:55:18 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d60, 0x1ae35c0, 0xc420662000, 0xc420670000)
3:55:18 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/server.CORSHandler.func1(0x1ae35c0, 0xc420662000, 0xc420670000)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_cors.go:16 +0x12b
3:55:18 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d80, 0x1ae35c0, 0xc420662000, 0xc420670000)
3:55:18 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*ContextGroup).Handler.func1(0x1ae35c0, 0xc420662000, 0xc4205d8100, 0xc420312150)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/context.go:62 +0xe8
3:55:18 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*TreeMux).ServeHTTP(0xc42016c070, 0x1ae35c0, 0xc420662000, 0xc4205d8100)
3:55:18 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/router.go:252 +0x308
3:55:18 PM tegola.1 |  net/http.serverHandler.ServeHTTP(0xc42019b930, 0x1ae35c0, 0xc420662000, 0xc4205d8100)
3:55:18 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2619 +0xb4
3:55:18 PM tegola.1 |  net/http.(*conn).serve(0xc4201e0b40, 0x1ae4080, 0xc420060400)
3:55:18 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1801 +0x71d
3:55:18 PM tegola.1 |  created by net/http.(*Server).Serve
3:55:18 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2720 +0x288
3:55:19 PM tegola.1 |  2018/02/06 15:55:19 server.go:2848: http: panic serving [::1]:61055: runtime error: index out of range
3:55:19 PM tegola.1 |  goroutine 23589 [running]:
3:55:19 PM tegola.1 |  net/http.(*conn).serve.func1(0xc420208000)
3:55:19 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1697 +0xd0
3:55:19 PM tegola.1 |  panic(0x166cba0, 0x1b412e0)
3:55:19 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/runtime/panic.go:491 +0x283
3:55:19 PM tegola.1 |  github.com/terranodo/tegola/maths/points.points.Extent.Contains(...)
3:55:19 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15
3:55:19 PM tegola.1 |  github.com/terranodo/tegola/maths/clip.LineString(0x1addf80, 0x1b71da0, 0xc421cacde8, 0x1addf80, 0x1b71da0, 0x1ae1801, 0xc421cacc70, 0x1ae1880)
3:55:19 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15 +0x1066
3:55:19 PM tegola.1 |  github.com/terranodo/tegola/maths/validate.CleanGeometry(0x1ae4140, 0xc420fe10e0, 0x16ea320, 0x1b71da0, 0xc421cacde8, 0x1b71da0, 0x0, 0xc42095cb98, 0xc4209cdd40)
3:55:19 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/validate/validate.go:153 +0xc37
3:55:19 PM tegola.1 |  github.com/terranodo/tegola/mvt.encodeGeometry(0x1ae4140, 0xc420fe10e0, 0x16ea320, 0xc42208d700, 0xc422a614a0, 0x0, 0xc421cad168, 0xc4253f6c00, 0x14, 0x20, ...)
3:55:19 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:593 +0x205
3:55:19 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Feature).VTileFeature(0xc421cad168, 0x1ae4140, 0xc420fe10e0, 0xc42616ca00, 0x1b, 0x20, 0xc421966000, 0x73, 0x80, 0xc422a614a0, ...)
3:55:19 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:96 +0x16f
3:55:19 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Layer).VTileLayer(0xc421cad260, 0x1ae4140, 0xc420fe10e0, 0xc422a614a0, 0x9, 0xc42356dc00, 0x8)
3:55:19 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/layer.go:87 +0x316
3:55:19 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Tile).VTile(0xc4282893d0, 0x1ae4140, 0xc420fe10e0, 0xc422a614a0, 0x0, 0x0, 0xc42799e500)
3:55:19 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/tile.go:47 +0x10d
3:55:19 PM tegola.1 |  github.com/terranodo/tegola/atlas.Map.Encode(0xc420303a98, 0x3, 0xc420315400, 0xf, 0xc066800000000000, 0xc055434538ef34d7, 0x4066800000000000, 0x4055434538ef34d7, 0x4028e5fb72658449, 0x4044daa4da982f34, ...)
3:55:19 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/atlas/map.go:209 +0x2f6
3:55:19 PM tegola.1 |  github.com/terranodo/tegola/server.HandleMapZXY.ServeHTTP(0xc42796fada, 0x3, 0xa, 0x22a, 0x17c, 0xc42796fae9, 0x3, 0x0, 0x1ae2bc0, 0xc420fe1200, ...)
3:55:19 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/handle_map_zxy.go:114 +0x2d0
3:55:19 PM tegola.1 |  github.com/terranodo/tegola/server.(*HandleMapZXY).ServeHTTP(0xc4201f1cc0, 0x1ae2bc0, 0xc420fe1200, 0xc423c5e300)
3:55:19 PM tegola.1 |  	<autogenerated>:1 +0x6c
3:55:19 PM tegola.1 |  github.com/terranodo/tegola/server.TileCacheHandler.func1(0x1ae35c0, 0xc420fbddc0, 0xc423c5e300)
3:55:19 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_tile_cache.go:51 +0x2ed
3:55:19 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d60, 0x1ae35c0, 0xc420fbddc0, 0xc423c5e300)
3:55:19 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:19 PM tegola.1 |  github.com/terranodo/tegola/server.CORSHandler.func1(0x1ae35c0, 0xc420fbddc0, 0xc423c5e300)
3:55:19 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_cors.go:16 +0x12b
3:55:19 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d80, 0x1ae35c0, 0xc420fbddc0, 0xc423c5e300)
3:55:19 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:19 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*ContextGroup).Handler.func1(0x1ae35c0, 0xc420fbddc0, 0xc423c5e200, 0xc420fe0f90)
3:55:19 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/context.go:62 +0xe8
3:55:19 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*TreeMux).ServeHTTP(0xc42016c070, 0x1ae35c0, 0xc420fbddc0, 0xc423c5e200)
3:55:19 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/router.go:252 +0x308
3:55:19 PM tegola.1 |  net/http.serverHandler.ServeHTTP(0xc42019b930, 0x1ae35c0, 0xc420fbddc0, 0xc423c5e200)
3:55:19 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2619 +0xb4
3:55:19 PM tegola.1 |  net/http.(*conn).serve(0xc420208000, 0x1ae4080, 0xc42171ba40)
3:55:19 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1801 +0x71d
3:55:19 PM tegola.1 |  created by net/http.(*Server).Serve
3:55:19 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2720 +0x288
3:55:20 PM tegola.1 |  2018/02/06 15:55:20 server.go:2848: http: panic serving [::1]:61042: runtime error: index out of range
3:55:20 PM tegola.1 |  goroutine 9723 [running]:
3:55:20 PM tegola.1 |  net/http.(*conn).serve.func1(0xc4200a20a0)
3:55:20 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1697 +0xd0
3:55:20 PM tegola.1 |  panic(0x166cba0, 0x1b412e0)
3:55:20 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/runtime/panic.go:491 +0x283
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/maths/points.points.Extent.Contains(...)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/maths/clip.LineString(0x1addf80, 0x1b71da0, 0xc421ca8de8, 0x1addf80, 0x1b71da0, 0x1ae1801, 0xc421ca8c70, 0x1ae1880)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15 +0x1066
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/maths/validate.CleanGeometry(0x1ae4140, 0xc42235ea50, 0x16ea320, 0x1b71da0, 0xc421ca8de8, 0x1b71da0, 0x0, 0xc4231f1d48, 0xc421eade30)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/validate/validate.go:153 +0xc37
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/mvt.encodeGeometry(0x1ae4140, 0xc42235ea50, 0x16ea320, 0xc424f91a20, 0xc42571caa0, 0x0, 0xc421ca9168, 0xc4264c9800, 0x12, 0x20, ...)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:593 +0x205
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Feature).VTileFeature(0xc421ca9168, 0x1ae4140, 0xc42235ea50, 0xc422136600, 0x13, 0x20, 0xc424000000, 0x6d, 0x80, 0xc42571caa0, ...)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:96 +0x16f
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Layer).VTileLayer(0xc421ca9260, 0x1ae4140, 0xc42235ea50, 0xc42571caa0, 0x9, 0xc4214eb200, 0x8)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/layer.go:87 +0x316
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Tile).VTile(0xc421ca93d0, 0x1ae4140, 0xc42235ea50, 0xc42571caa0, 0x0, 0x0, 0xc422840000)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/tile.go:47 +0x10d
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/atlas.Map.Encode(0xc420303a98, 0x3, 0xc420315400, 0xf, 0xc066800000000000, 0xc055434538ef34d7, 0x4066800000000000, 0x4055434538ef34d7, 0x4028e5fb72658449, 0x4044daa4da982f34, ...)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/atlas/map.go:209 +0x2f6
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/server.HandleMapZXY.ServeHTTP(0xc429ca962a, 0x3, 0xa, 0x228, 0x17b, 0xc429ca9639, 0x3, 0x0, 0x1ae2bc0, 0xc42235eb70, ...)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/handle_map_zxy.go:114 +0x2d0
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/server.(*HandleMapZXY).ServeHTTP(0xc4201f1cc0, 0x1ae2bc0, 0xc42235eb70, 0xc42a29c200)
3:55:20 PM tegola.1 |  	<autogenerated>:1 +0x6c
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/server.TileCacheHandler.func1(0x1ae35c0, 0xc42353d880, 0xc42a29c200)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_tile_cache.go:51 +0x2ed
3:55:20 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d60, 0x1ae35c0, 0xc42353d880, 0xc42a29c200)
3:55:20 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/server.CORSHandler.func1(0x1ae35c0, 0xc42353d880, 0xc42a29c200)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_cors.go:16 +0x12b
3:55:20 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d80, 0x1ae35c0, 0xc42353d880, 0xc42a29c200)
3:55:20 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*ContextGroup).Handler.func1(0x1ae35c0, 0xc42353d880, 0xc42a29c100, 0xc42235e960)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/context.go:62 +0xe8
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*TreeMux).ServeHTTP(0xc42016c070, 0x1ae35c0, 0xc42353d880, 0xc42a29c100)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/router.go:252 +0x308
3:55:20 PM tegola.1 |  net/http.serverHandler.ServeHTTP(0xc42019b930, 0x1ae35c0, 0xc42353d880, 0xc42a29c100)
3:55:20 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2619 +0xb4
3:55:20 PM tegola.1 |  net/http.(*conn).serve(0xc4200a20a0, 0x1ae4080, 0xc421029d00)
3:55:20 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1801 +0x71d
3:55:20 PM tegola.1 |  created by net/http.(*Server).Serve
3:55:20 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2720 +0x288
3:55:20 PM tegola.1 |  2018/02/06 15:55:20 server.go:2848: http: panic serving [::1]:61056: runtime error: index out of range
3:55:20 PM tegola.1 |  goroutine 26626 [running]:
3:55:20 PM tegola.1 |  net/http.(*conn).serve.func1(0xc4200a26e0)
3:55:20 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1697 +0xd0
3:55:20 PM tegola.1 |  panic(0x166cba0, 0x1b412e0)
3:55:20 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/runtime/panic.go:491 +0x283
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/maths/points.points.Extent.Contains(...)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/maths/clip.LineString(0x1addf80, 0x1b71da0, 0xc422356de8, 0x1addf80, 0x1b71da0, 0x1ae1801, 0xc422356c70, 0x1ae1880)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15 +0x1066
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/maths/validate.CleanGeometry(0x1ae4140, 0xc421d8aae0, 0x16ea320, 0x1b71da0, 0xc422356de8, 0x1b71da0, 0x0, 0xc4224c9e58, 0xc420c6cb40)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/validate/validate.go:153 +0xc37
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/mvt.encodeGeometry(0x1ae4140, 0xc421d8aae0, 0x16ea320, 0xc4290c6b60, 0xc4211eee60, 0x200, 0xc422357168, 0xc4263fc080, 0x18, 0x20, ...)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:593 +0x205
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Feature).VTileFeature(0xc422357168, 0x1ae4140, 0xc421d8aae0, 0xc426a03c00, 0x35, 0x40, 0xc429c9e000, 0x152, 0x200, 0xc4211eee60, ...)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:96 +0x16f
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Layer).VTileLayer(0xc422357260, 0x1ae4140, 0xc421d8aae0, 0xc4211eee60, 0x9, 0xc425e03d00, 0x8)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/layer.go:87 +0x316
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Tile).VTile(0xc422e913d0, 0x1ae4140, 0xc421d8aae0, 0xc4211eee60, 0x0, 0x0, 0xc422d06000)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/tile.go:47 +0x10d
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/atlas.Map.Encode(0xc420303a98, 0x3, 0xc420315400, 0xf, 0xc066800000000000, 0xc055434538ef34d7, 0x4066800000000000, 0x4055434538ef34d7, 0x4028e5fb72658449, 0x4044daa4da982f34, ...)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/atlas/map.go:209 +0x2f6
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/server.HandleMapZXY.ServeHTTP(0xc42657c09a, 0x3, 0xa, 0x228, 0x17a, 0xc42657c0a9, 0x3, 0x0, 0x1ae2bc0, 0xc421d8ab40, ...)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/handle_map_zxy.go:114 +0x2d0
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/server.(*HandleMapZXY).ServeHTTP(0xc4201f1cc0, 0x1ae2bc0, 0xc421d8ab40, 0xc42657e200)
3:55:20 PM tegola.1 |  	<autogenerated>:1 +0x6c
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/server.TileCacheHandler.func1(0x1ae35c0, 0xc422c3b960, 0xc42657e200)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_tile_cache.go:51 +0x2ed
3:55:20 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d60, 0x1ae35c0, 0xc422c3b960, 0xc42657e200)
3:55:20 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/server.CORSHandler.func1(0x1ae35c0, 0xc422c3b960, 0xc42657e200)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_cors.go:16 +0x12b
3:55:20 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d80, 0x1ae35c0, 0xc422c3b960, 0xc42657e200)
3:55:20 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*ContextGroup).Handler.func1(0x1ae35c0, 0xc422c3b960, 0xc42657e100, 0xc421d8aa50)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/context.go:62 +0xe8
3:55:20 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*TreeMux).ServeHTTP(0xc42016c070, 0x1ae35c0, 0xc422c3b960, 0xc42657e100)
3:55:20 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/router.go:252 +0x308
3:55:20 PM tegola.1 |  net/http.serverHandler.ServeHTTP(0xc42019b930, 0x1ae35c0, 0xc422c3b960, 0xc42657e100)
3:55:20 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2619 +0xb4
3:55:20 PM tegola.1 |  net/http.(*conn).serve(0xc4200a26e0, 0x1ae4080, 0xc4233c6900)
3:55:20 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1801 +0x71d
3:55:20 PM tegola.1 |  created by net/http.(*Server).Serve
3:55:20 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2720 +0x288
3:55:22 PM tegola.1 |  2018/02/06 15:55:22 server.go:2848: http: panic serving [::1]:61066: runtime error: index out of range
3:55:22 PM tegola.1 |  goroutine 34576 [running]:
3:55:22 PM tegola.1 |  net/http.(*conn).serve.func1(0xc427db60a0)
3:55:22 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1697 +0xd0
3:55:22 PM tegola.1 |  panic(0x166cba0, 0x1b412e0)
3:55:22 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/runtime/panic.go:491 +0x283
3:55:22 PM tegola.1 |  github.com/terranodo/tegola/maths/points.points.Extent.Contains(...)
3:55:22 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15
3:55:22 PM tegola.1 |  github.com/terranodo/tegola/maths/clip.LineString(0x1addf80, 0x1b71da0, 0xc4235f6de8, 0x1addf80, 0x1b71da0, 0x1ae1801, 0xc4235f6c70, 0x1ae1880)
3:55:22 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15 +0x1066
3:55:22 PM tegola.1 |  github.com/terranodo/tegola/maths/validate.CleanGeometry(0x1ae4140, 0xc423004780, 0x16ea320, 0x1b71da0, 0xc4235f6de8, 0x1b71da0, 0x0, 0xc420e9b9f8, 0xc421bc4a50)
3:55:22 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/validate/validate.go:153 +0xc37
3:55:22 PM tegola.1 |  github.com/terranodo/tegola/mvt.encodeGeometry(0x1ae4140, 0xc423004780, 0x16ea320, 0xc421af3620, 0xc423661cc0, 0x0, 0xc4235f7168, 0xc420394900, 0x12, 0x20, ...)
3:55:22 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:593 +0x205
3:55:22 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Feature).VTileFeature(0xc4235f7168, 0x1ae4140, 0xc423004780, 0xc426421c00, 0x13, 0x20, 0xc423b45800, 0x6d, 0x80, 0xc423661cc0, ...)
3:55:22 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:96 +0x16f
3:55:22 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Layer).VTileLayer(0xc4235f7260, 0x1ae4140, 0xc423004780, 0xc423661cc0, 0x9, 0xc4206e9e00, 0x8)
3:55:22 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/layer.go:87 +0x316
3:55:22 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Tile).VTile(0xc420eaf3d0, 0x1ae4140, 0xc423004780, 0xc423661cc0, 0x0, 0x0, 0xc425c32000)
3:55:22 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/tile.go:47 +0x10d
3:55:22 PM tegola.1 |  github.com/terranodo/tegola/atlas.Map.Encode(0xc420303a98, 0x3, 0xc420315400, 0xf, 0xc066800000000000, 0xc055434538ef34d7, 0x4066800000000000, 0x4055434538ef34d7, 0x4028e5fb72658449, 0x4044daa4da982f34, ...)
3:55:22 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/atlas/map.go:209 +0x2f6
3:55:22 PM tegola.1 |  github.com/terranodo/tegola/server.HandleMapZXY.ServeHTTP(0xc425e564ea, 0x3, 0xa, 0x228, 0x17b, 0xc425e564f9, 0x3, 0x0, 0x1ae2bc0, 0xc423004930, ...)
3:55:22 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/handle_map_zxy.go:114 +0x2d0
3:55:22 PM tegola.1 |  github.com/terranodo/tegola/server.(*HandleMapZXY).ServeHTTP(0xc4201f1cc0, 0x1ae2bc0, 0xc423004930, 0xc423b3ec00)
3:55:22 PM tegola.1 |  	<autogenerated>:1 +0x6c
3:55:22 PM tegola.1 |  github.com/terranodo/tegola/server.TileCacheHandler.func1(0x1ae35c0, 0xc4242b3180, 0xc423b3ec00)
3:55:22 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_tile_cache.go:51 +0x2ed
3:55:22 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d60, 0x1ae35c0, 0xc4242b3180, 0xc423b3ec00)
3:55:22 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:22 PM tegola.1 |  github.com/terranodo/tegola/server.CORSHandler.func1(0x1ae35c0, 0xc4242b3180, 0xc423b3ec00)
3:55:22 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_cors.go:16 +0x12b
3:55:22 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d80, 0x1ae35c0, 0xc4242b3180, 0xc423b3ec00)
3:55:22 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:22 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*ContextGroup).Handler.func1(0x1ae35c0, 0xc4242b3180, 0xc423b3eb00, 0xc4230046f0)
3:55:22 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/context.go:62 +0xe8
3:55:22 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*TreeMux).ServeHTTP(0xc42016c070, 0x1ae35c0, 0xc4242b3180, 0xc423b3eb00)
3:55:22 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/router.go:252 +0x308
3:55:22 PM tegola.1 |  net/http.serverHandler.ServeHTTP(0xc42019b930, 0x1ae35c0, 0xc4242b3180, 0xc423b3eb00)
3:55:22 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2619 +0xb4
3:55:22 PM tegola.1 |  net/http.(*conn).serve(0xc427db60a0, 0x1ae4080, 0xc4264026c0)
3:55:22 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1801 +0x71d
3:55:22 PM tegola.1 |  created by net/http.(*Server).Serve
3:55:22 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2720 +0x288
3:55:23 PM tegola.1 |  2018/02/06 15:55:23 server.go:2848: http: panic serving [::1]:60803: runtime error: index out of range
3:55:23 PM tegola.1 |  goroutine 51 [running]:
3:55:23 PM tegola.1 |  net/http.(*conn).serve.func1(0xc4201e00a0)
3:55:23 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1697 +0xd0
3:55:23 PM tegola.1 |  panic(0x166cba0, 0x1b412e0)
3:55:23 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/runtime/panic.go:491 +0x283
3:55:23 PM tegola.1 |  github.com/terranodo/tegola/maths/points.points.Extent.Contains(...)
3:55:23 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15
3:55:23 PM tegola.1 |  github.com/terranodo/tegola/maths/clip.LineString(0x1addf80, 0x1b71da0, 0xc42235ade8, 0x1addf80, 0x1b71da0, 0x1ae1801, 0xc42235ac70, 0x1ae1880)
3:55:23 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15 +0x1066
3:55:23 PM tegola.1 |  github.com/terranodo/tegola/maths/validate.CleanGeometry(0x1ae4140, 0xc420312240, 0x16ea320, 0x1b71da0, 0xc42235ade8, 0x1b71da0, 0x0, 0xc4208abd78, 0xc4210446c0)
3:55:23 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/validate/validate.go:153 +0xc37
3:55:23 PM tegola.1 |  github.com/terranodo/tegola/mvt.encodeGeometry(0x1ae4140, 0xc420312240, 0x16ea320, 0xc421b36740, 0xc421e47900, 0x0, 0xc42235b168, 0xc4257dc940, 0x10, 0x10, ...)
3:55:23 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:593 +0x205
3:55:23 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Feature).VTileFeature(0xc42235b168, 0x1ae4140, 0xc420312240, 0xc4222ac800, 0x11, 0x20, 0xc420d2a800, 0x56, 0x80, 0xc421e47900, ...)
3:55:23 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:96 +0x16f
3:55:23 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Layer).VTileLayer(0xc42235b260, 0x1ae4140, 0xc420312240, 0xc421e47900, 0xc42309bc00, 0x0, 0x0)
3:55:23 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/layer.go:87 +0x316
3:55:23 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Tile).VTile(0xc4203d73d0, 0x1ae4140, 0xc420312240, 0xc421e47900, 0x0, 0x0, 0xc42037e500)
3:55:23 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/tile.go:47 +0x10d
3:55:23 PM tegola.1 |  github.com/terranodo/tegola/atlas.Map.Encode(0xc420303a98, 0x3, 0xc420315400, 0xf, 0xc066800000000000, 0xc055434538ef34d7, 0x4066800000000000, 0x4055434538ef34d7, 0x4028e5fb72658449, 0x4044daa4da982f34, ...)
3:55:23 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/atlas/map.go:209 +0x2f6
3:55:23 PM tegola.1 |  github.com/terranodo/tegola/server.HandleMapZXY.ServeHTTP(0xc4202fc00a, 0x3, 0xa, 0x228, 0x17c, 0xc4202fc019, 0x3, 0x0, 0x1ae2bc0, 0xc4203122d0, ...)
3:55:23 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/handle_map_zxy.go:114 +0x2d0
3:55:23 PM tegola.1 |  github.com/terranodo/tegola/server.(*HandleMapZXY).ServeHTTP(0xc4201f1cc0, 0x1ae2bc0, 0xc4203122d0, 0xc4205d8300)
3:55:23 PM tegola.1 |  	<autogenerated>:1 +0x6c
3:55:23 PM tegola.1 |  github.com/terranodo/tegola/server.TileCacheHandler.func1(0x1ae35c0, 0xc4200a0540, 0xc4205d8300)
3:55:23 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_tile_cache.go:51 +0x2ed
3:55:23 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d60, 0x1ae35c0, 0xc4200a0540, 0xc4205d8300)
3:55:23 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:23 PM tegola.1 |  github.com/terranodo/tegola/server.CORSHandler.func1(0x1ae35c0, 0xc4200a0540, 0xc4205d8300)
3:55:23 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_cors.go:16 +0x12b
3:55:23 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d80, 0x1ae35c0, 0xc4200a0540, 0xc4205d8300)
3:55:23 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:23 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*ContextGroup).Handler.func1(0x1ae35c0, 0xc4200a0540, 0xc420212100, 0xc420312210)
3:55:23 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/context.go:62 +0xe8
3:55:23 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*TreeMux).ServeHTTP(0xc42016c070, 0x1ae35c0, 0xc4200a0540, 0xc420212100)
3:55:23 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/router.go:252 +0x308
3:55:23 PM tegola.1 |  net/http.serverHandler.ServeHTTP(0xc42019b930, 0x1ae35c0, 0xc4200a0540, 0xc420212100)
3:55:23 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2619 +0xb4
3:55:23 PM tegola.1 |  net/http.(*conn).serve(0xc4201e00a0, 0x1ae4080, 0xc4201f1e80)
3:55:23 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1801 +0x71d
3:55:23 PM tegola.1 |  created by net/http.(*Server).Serve
3:55:23 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2720 +0x288
3:55:24 PM tegola.1 |  2018/02/06 15:55:24 server.go:2848: http: panic serving [::1]:61057: runtime error: index out of range
3:55:24 PM tegola.1 |  goroutine 26788 [running]:
3:55:24 PM tegola.1 |  net/http.(*conn).serve.func1(0xc426558000)
3:55:24 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1697 +0xd0
3:55:24 PM tegola.1 |  panic(0x166cba0, 0x1b412e0)
3:55:24 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/runtime/panic.go:491 +0x283
3:55:24 PM tegola.1 |  github.com/terranodo/tegola/maths/points.points.Extent.Contains(...)
3:55:24 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15
3:55:24 PM tegola.1 |  github.com/terranodo/tegola/maths/clip.LineString(0x1addf80, 0x1b71da0, 0xc420b54de8, 0x1addf80, 0x1b71da0, 0x1ae1801, 0xc420b54c70, 0x1ae1880)
3:55:24 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15 +0x1066
3:55:24 PM tegola.1 |  github.com/terranodo/tegola/maths/validate.CleanGeometry(0x1ae4140, 0xc4202c7bc0, 0x16ea320, 0x1b71da0, 0xc420b54de8, 0x1b71da0, 0x0, 0xc420fd4a38, 0xc422c3dd40)
3:55:24 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/validate/validate.go:153 +0xc37
3:55:24 PM tegola.1 |  github.com/terranodo/tegola/mvt.encodeGeometry(0x1ae4140, 0xc4202c7bc0, 0x16ea320, 0xc427b18640, 0xc421f18000, 0x0, 0xc420b55168, 0xc4258a4d60, 0x6, 0x8, ...)
3:55:24 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:593 +0x205
3:55:24 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Feature).VTileFeature(0xc420b55168, 0x1ae4140, 0xc4202c7bc0, 0xc421f80400, 0x7, 0x8, 0xc424e57200, 0x12, 0x20, 0xc421f18000, ...)
3:55:24 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:96 +0x16f
3:55:24 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Layer).VTileLayer(0xc420b55260, 0x1ae4140, 0xc4202c7bc0, 0xc421f18000, 0xc421f80300, 0x0, 0x0)
3:55:24 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/layer.go:87 +0x316
3:55:24 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Tile).VTile(0xc429e033d0, 0x1ae4140, 0xc4202c7bc0, 0xc421f18000, 0x0, 0x0, 0xc422d06500)
3:55:24 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/tile.go:47 +0x10d
3:55:24 PM tegola.1 |  github.com/terranodo/tegola/atlas.Map.Encode(0xc420303a98, 0x3, 0xc420315400, 0xf, 0xc066800000000000, 0xc055434538ef34d7, 0x4066800000000000, 0x4055434538ef34d7, 0x4028e5fb72658449, 0x4044daa4da982f34, ...)
3:55:24 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/atlas/map.go:209 +0x2f6
3:55:24 PM tegola.1 |  github.com/terranodo/tegola/server.HandleMapZXY.ServeHTTP(0xc424dae72a, 0x3, 0xa, 0x227, 0x17b, 0xc424dae739, 0x3, 0x0, 0x1ae2bc0, 0xc4202c7c50, ...)
3:55:24 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/handle_map_zxy.go:114 +0x2d0
3:55:24 PM tegola.1 |  github.com/terranodo/tegola/server.(*HandleMapZXY).ServeHTTP(0xc4201f1cc0, 0x1ae2bc0, 0xc4202c7c50, 0xc4209aab00)
3:55:24 PM tegola.1 |  	<autogenerated>:1 +0x6c
3:55:24 PM tegola.1 |  github.com/terranodo/tegola/server.TileCacheHandler.func1(0x1ae35c0, 0xc4258d2e00, 0xc4209aab00)
3:55:24 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_tile_cache.go:51 +0x2ed
3:55:24 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d60, 0x1ae35c0, 0xc4258d2e00, 0xc4209aab00)
3:55:24 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:24 PM tegola.1 |  github.com/terranodo/tegola/server.CORSHandler.func1(0x1ae35c0, 0xc4258d2e00, 0xc4209aab00)
3:55:24 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_cors.go:16 +0x12b
3:55:24 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d80, 0x1ae35c0, 0xc4258d2e00, 0xc4209aab00)
3:55:24 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:24 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*ContextGroup).Handler.func1(0x1ae35c0, 0xc4258d2e00, 0xc4209aaa00, 0xc4202c7b30)
3:55:24 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/context.go:62 +0xe8
3:55:24 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*TreeMux).ServeHTTP(0xc42016c070, 0x1ae35c0, 0xc4258d2e00, 0xc4209aaa00)
3:55:24 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/router.go:252 +0x308
3:55:24 PM tegola.1 |  net/http.serverHandler.ServeHTTP(0xc42019b930, 0x1ae35c0, 0xc4258d2e00, 0xc4209aaa00)
3:55:24 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2619 +0xb4
3:55:24 PM tegola.1 |  net/http.(*conn).serve(0xc426558000, 0x1ae4080, 0xc4207b1500)
3:55:24 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1801 +0x71d
3:55:24 PM tegola.1 |  created by net/http.(*Server).Serve
3:55:24 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2720 +0x288
3:55:30 PM tegola.1 |  2018/02/06 15:55:30 server.go:2848: http: panic serving [::1]:61037: runtime error: index out of range
3:55:30 PM tegola.1 |  goroutine 8467 [running]:
3:55:30 PM tegola.1 |  net/http.(*conn).serve.func1(0xc4228d8140)
3:55:30 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1697 +0xd0
3:55:30 PM tegola.1 |  panic(0x166cba0, 0x1b412e0)
3:55:30 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/runtime/panic.go:491 +0x283
3:55:30 PM tegola.1 |  github.com/terranodo/tegola/maths/points.points.Extent.Contains(...)
3:55:30 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15
3:55:30 PM tegola.1 |  github.com/terranodo/tegola/maths/clip.LineString(0x1addf80, 0x1b71da0, 0xc420b50de8, 0x1addf80, 0x1b71da0, 0x1ae1801, 0xc420b50c70, 0x1ae1880)
3:55:30 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15 +0x1066
3:55:30 PM tegola.1 |  github.com/terranodo/tegola/maths/validate.CleanGeometry(0x1ae4140, 0xc4212fc240, 0x16ea320, 0x1b71da0, 0xc420b50de8, 0x1b71da0, 0x0, 0xc4227306f8, 0xc421044330)
3:55:30 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/validate/validate.go:153 +0xc37
3:55:30 PM tegola.1 |  github.com/terranodo/tegola/mvt.encodeGeometry(0x1ae4140, 0xc4212fc240, 0x16ea320, 0xc4202f24e0, 0xc42a54a1e0, 0x0, 0xc420b51168, 0xc421a50000, 0x10, 0x10, ...)
3:55:30 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:593 +0x205
3:55:30 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Feature).VTileFeature(0xc420b51168, 0x1ae4140, 0xc4212fc240, 0xc421c3d000, 0x11, 0x20, 0xc42099c800, 0x56, 0x80, 0xc42a54a1e0, ...)
3:55:30 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:96 +0x16f
3:55:30 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Layer).VTileLayer(0xc420b51260, 0x1ae4140, 0xc4212fc240, 0xc42a54a1e0, 0x9, 0xc420875d80, 0x8)
3:55:30 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/layer.go:87 +0x316
3:55:30 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Tile).VTile(0xc4232f33d0, 0x1ae4140, 0xc4212fc240, 0xc42a54a1e0, 0x0, 0x0, 0xc4200bef00)
3:55:30 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/tile.go:47 +0x10d
3:55:30 PM tegola.1 |  github.com/terranodo/tegola/atlas.Map.Encode(0xc420303a98, 0x3, 0xc420315400, 0xf, 0xc066800000000000, 0xc055434538ef34d7, 0x4066800000000000, 0x4055434538ef34d7, 0x4028e5fb72658449, 0x4044daa4da982f34, ...)
3:55:30 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/atlas/map.go:209 +0x2f6
3:55:30 PM tegola.1 |  github.com/terranodo/tegola/server.HandleMapZXY.ServeHTTP(0xc4226cc0ca, 0x3, 0xa, 0x228, 0x17c, 0xc4226cc0d9, 0x3, 0x0, 0x1ae2bc0, 0xc4212fc2a0, ...)
3:55:30 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/handle_map_zxy.go:114 +0x2d0
3:55:30 PM tegola.1 |  github.com/terranodo/tegola/server.(*HandleMapZXY).ServeHTTP(0xc4201f1cc0, 0x1ae2bc0, 0xc4212fc2a0, 0xc4226ce400)
3:55:30 PM tegola.1 |  	<autogenerated>:1 +0x6c
3:55:30 PM tegola.1 |  github.com/terranodo/tegola/server.TileCacheHandler.func1(0x1ae35c0, 0xc422c3b960, 0xc4226ce400)
3:55:30 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_tile_cache.go:51 +0x2ed
3:55:30 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d60, 0x1ae35c0, 0xc422c3b960, 0xc4226ce400)
3:55:30 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:30 PM tegola.1 |  github.com/terranodo/tegola/server.CORSHandler.func1(0x1ae35c0, 0xc422c3b960, 0xc4226ce400)
3:55:30 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_cors.go:16 +0x12b
3:55:30 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d80, 0x1ae35c0, 0xc422c3b960, 0xc4226ce400)
3:55:30 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:30 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*ContextGroup).Handler.func1(0x1ae35c0, 0xc422c3b960, 0xc423c5fd00, 0xc4212fc210)
3:55:30 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/context.go:62 +0xe8
3:55:30 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*TreeMux).ServeHTTP(0xc42016c070, 0x1ae35c0, 0xc422c3b960, 0xc423c5fd00)
3:55:30 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/router.go:252 +0x308
3:55:30 PM tegola.1 |  net/http.serverHandler.ServeHTTP(0xc42019b930, 0x1ae35c0, 0xc422c3b960, 0xc423c5fd00)
3:55:30 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2619 +0xb4
3:55:30 PM tegola.1 |  net/http.(*conn).serve(0xc4228d8140, 0x1ae4080, 0xc420061b00)
3:55:30 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1801 +0x71d
3:55:30 PM tegola.1 |  created by net/http.(*Server).Serve
3:55:30 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2720 +0x288
3:55:37 PM tegola.1 |  2018/02/06 15:55:37 server.go:2848: http: panic serving [::1]:61109: runtime error: index out of range
3:55:37 PM tegola.1 |  goroutine 44839 [running]:
3:55:37 PM tegola.1 |  net/http.(*conn).serve.func1(0xc4201e1220)
3:55:37 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1697 +0xd0
3:55:37 PM tegola.1 |  panic(0x166cba0, 0x1b412e0)
3:55:37 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/runtime/panic.go:491 +0x283
3:55:37 PM tegola.1 |  github.com/terranodo/tegola/maths/points.points.Extent.Contains(...)
3:55:37 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15
3:55:37 PM tegola.1 |  github.com/terranodo/tegola/maths/clip.LineString(0x1addf80, 0x1b71da0, 0xc4208fede8, 0x1addf80, 0x1b71da0, 0x1ae1801, 0xc4208fec70, 0x1ae1880)
3:55:37 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/clip/clip.go:15 +0x1066
3:55:37 PM tegola.1 |  github.com/terranodo/tegola/maths/validate.CleanGeometry(0x1ae4140, 0xc420d946c0, 0x16ea320, 0x1b71da0, 0xc4208fede8, 0x1b71da0, 0x0, 0xc420f63818, 0xc4209cc390)
3:55:37 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/maths/validate/validate.go:153 +0xc37
3:55:37 PM tegola.1 |  github.com/terranodo/tegola/mvt.encodeGeometry(0x1ae4140, 0xc420d946c0, 0x16ea320, 0xc420ea3420, 0xc4282a1cc0, 0x0, 0xc4208ff168, 0xc4216f3ac0, 0x10, 0x10, ...)
3:55:37 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:593 +0x205
3:55:37 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Feature).VTileFeature(0xc4208ff168, 0x1ae4140, 0xc420d946c0, 0xc42a2a2200, 0x11, 0x20, 0xc420676800, 0x56, 0x80, 0xc4282a1cc0, ...)
3:55:37 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/feature.go:96 +0x16f
3:55:37 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Layer).VTileLayer(0xc4208ff260, 0x1ae4140, 0xc420d946c0, 0xc4282a1cc0, 0x9, 0xc42056ef00, 0x8)
3:55:37 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/layer.go:87 +0x316
3:55:37 PM tegola.1 |  github.com/terranodo/tegola/mvt.(*Tile).VTile(0xc42588f3d0, 0x1ae4140, 0xc420d946c0, 0xc4282a1cc0, 0x0, 0x0, 0xc4201c8000)
3:55:37 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/mvt/tile.go:47 +0x10d
3:55:37 PM tegola.1 |  github.com/terranodo/tegola/atlas.Map.Encode(0xc420303a98, 0x3, 0xc420315400, 0xf, 0xc066800000000000, 0xc055434538ef34d7, 0x4066800000000000, 0x4055434538ef34d7, 0x4028e5fb72658449, 0x4044daa4da982f34, ...)
3:55:37 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/atlas/map.go:209 +0x2f6
3:55:37 PM tegola.1 |  github.com/terranodo/tegola/server.HandleMapZXY.ServeHTTP(0xc4216edf5a, 0x3, 0xa, 0x228, 0x17c, 0xc4216edf69, 0x3, 0x0, 0x1ae2bc0, 0xc420d94720, ...)
3:55:37 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/handle_map_zxy.go:114 +0x2d0
3:55:37 PM tegola.1 |  github.com/terranodo/tegola/server.(*HandleMapZXY).ServeHTTP(0xc4201f1cc0, 0x1ae2bc0, 0xc420d94720, 0xc421404600)
3:55:37 PM tegola.1 |  	<autogenerated>:1 +0x6c
3:55:37 PM tegola.1 |  github.com/terranodo/tegola/server.TileCacheHandler.func1(0x1ae35c0, 0xc428f7ca80, 0xc421404600)
3:55:37 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_tile_cache.go:51 +0x2ed
3:55:37 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d60, 0x1ae35c0, 0xc428f7ca80, 0xc421404600)
3:55:37 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:37 PM tegola.1 |  github.com/terranodo/tegola/server.CORSHandler.func1(0x1ae35c0, 0xc428f7ca80, 0xc421404600)
3:55:37 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/server/middleware_cors.go:16 +0x12b
3:55:37 PM tegola.1 |  net/http.HandlerFunc.ServeHTTP(0xc420283d80, 0x1ae35c0, 0xc428f7ca80, 0xc421404600)
3:55:37 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1918 +0x44
3:55:37 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*ContextGroup).Handler.func1(0x1ae35c0, 0xc428f7ca80, 0xc421404500, 0xc420d94630)
3:55:37 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/context.go:62 +0xe8
3:55:37 PM tegola.1 |  github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux.(*TreeMux).ServeHTTP(0xc42016c070, 0x1ae35c0, 0xc428f7ca80, 0xc421404500)
3:55:37 PM tegola.1 |  	/Users/erictheise/go/src/github.com/terranodo/tegola/vendor/github.com/dimfeld/httptreemux/router.go:252 +0x308
3:55:37 PM tegola.1 |  net/http.serverHandler.ServeHTTP(0xc42019b930, 0x1ae35c0, 0xc428f7ca80, 0xc421404500)
3:55:37 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2619 +0xb4
3:55:37 PM tegola.1 |  net/http.(*conn).serve(0xc4201e1220, 0x1ae4080, 0xc4205f9c00)
3:55:37 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:1801 +0x71d
3:55:37 PM tegola.1 |  created by net/http.(*Server).Serve
3:55:37 PM tegola.1 |  	/usr/local/Cellar/go/1.9.3/libexec/src/net/http/server.go:2720 +0x288

@gdey
Copy link
Member

gdey commented Feb 6, 2018

Thanks

@ARolek
Copy link
Member

ARolek commented Feb 7, 2018

@gdey also to note with this issue is that the error log statement of "Error Getting MVTLayer for tile" should be changed to: err fetching tile (z: %v, x: %v, y: %v) features: %v

@gdey gdey assigned gdey and unassigned ARolek Feb 8, 2018
@ARolek ARolek changed the title "Error Getting MVTLayer for tile" leads to "index out of range" panic when there are 0 results in layer. Line clipping panics when linestring has 0 points Feb 8, 2018
@ARolek ARolek added this to the v0.6.0 milestone Feb 8, 2018
@ARolek ARolek closed this as completed Feb 8, 2018
@erictheise
Copy link
Member Author

erictheise commented Feb 8, 2018

First indications are that the issue’s been resolved building at d83ed1f. I’m going to use it locally, install it for the openseamap project on AWS, and I’ll try cross-compiling for @PetersonGIS to try.

Thanks for the speedy resolution, @gdey and @ARolek!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants