Commit Graph

61 Commits

Author SHA1 Message Date
Brendan Ward
04d08f1258
ENH: Add support for returning missing images as HTTP 404 instead of blank PNGs (#177) 2024-01-17 09:51:41 -08:00
Brendan Ward
c67091b652
ENH: Update interactive map preview (#176) 2023-10-19 17:17:04 -07:00
Brendan Ward
88ffb6cb2e
MNT: Upgrade Go and dependencies (#175) 2023-10-19 11:34:28 -07:00
Brendan Ward
8e61a6c3b5
MNT: Upgrade dependencies and Go versions (#166) 2023-03-10 17:47:54 -08:00
Brendan Ward
c4e7d1f8b5
ENH: Add auto-detection of tile size and return blank PNG of same size (#155) 2022-08-30 11:43:42 -07:00
Brendan Ward
15bd5afe18
ENH: Avoid protocol errors in log for handler (#151) 2022-06-13 15:28:47 -07:00
Brendan Ward
9824f563d2
ENH: Switch from gulp to esbuild (#150)
Switch from gulp to esbuild
2022-06-07 17:22:10 -07:00
Brendan Ward
1220c5da83
ENH: Switch to stamen basemaps (#148) 2022-06-07 16:00:11 -07:00
Ikko Ashimine
9542c55ae4
Fix typo in tileset.go
beging -> being
2022-02-18 23:50:39 +09:00
Brendan C. Ward
b8165a3e96
Fix map preview for vector tiles when center is not present in metadata 2022-02-17 08:49:54 -08:00
Brendan C. Ward
ecd7b51b22
Consolidate get of request host 2022-01-25 09:08:13 -08:00
Josh Lee
7958b4c208 Prefer X-Forwarded-Host over Host for generated URLs 2022-01-25 04:32:07 +00:00
Brendan C. Ward
f8a2d74446
make sure all tilejson / preview errors are handled 2021-12-30 11:51:47 -08:00
Brendan C. Ward
d0ea8479c0
Use correct gcc for Arm64 build, rename main build, relax floating point comparison test 2021-12-24 08:17:22 -08:00
Brendan Ward
26cd74b442
Add --enable-fs-watch to watch filesystem for changes to tilesets (#122) 2021-12-14 11:23:55 -08:00
Brendan Ward
fee83f0cc5
Migrate to mbtiles-go (#124) 2021-12-14 11:04:41 -08:00
Brendan Ward
dcf21b9a95
Switch to go:embed for embedding templates and static assets (#127) 2021-12-13 17:14:59 -08:00
Brendan C. Ward
f5a18b9bc1
Add attribution to preview maps, per #121 2021-10-30 11:46:08 -07:00
Brendan Ward
3536255a2a
Fix handlers for ArcGIS (#116) 2021-10-12 10:05:33 -07:00
Brendan C. Ward
761c302ecc
Bump JS dep versions for map previews, bring Mapbox GL 1.x into core instead of CDN hosted version 2021-08-06 20:23:30 -07:00
Brendan C. Ward
988a940403
Upgrade JS dependencies and rebuild static assets 2021-05-13 20:12:32 -07:00
Brendan C. Ward
07d552cdcb
Return 404 for service endpoints when service listing is disabled, upgrade docker base images 2020-12-17 14:38:16 -08:00
Brendan Ward
ca4a94e0c5
Refactor of handlers, middleware, command line options (#100) 2020-05-11 11:18:31 -07:00
Brendan C. Ward
a613fe59f4 Refactored how request auth keys are set on a ServiceSet 2020-02-14 06:14:14 -08:00
Nikolay Korotkiy
7e953bac4f
Fix goreportcard reported issues (#95) 2020-02-14 06:00:21 -08:00
Brendan C. Ward
d55a0bf60e Resolved #85 (template loading issues) 2020-02-12 20:51:01 -08:00
Brendan C. Ward
ab7ae02578 Remove redundant file walk of tile directory, always setup empty ServiceSets
Allows server to startup even if no services could be constructed
2020-02-12 14:16:01 -08:00
Brendan C. Ward
de40ed94a2 Fix bugs in map preview introduced by upgrading d3 deps; drop live examples (not maintained) 2020-02-12 13:23:40 -08:00
Brendan C. Ward
d6c3465ca0 Resolves #90, #91 2020-02-10 20:38:09 -08:00
Brendan C. Ward
6263c3010a Added compiled assets for #84 2019-11-19 20:40:47 -08:00
Nikolay Korotkiy
65d73d5600
Gracefully handle missing tile service bounds in map preview 2019-11-18 20:28:28 +03:00
Brendan C. Ward
f0c761e2be Added validation of tileset and associated tests 2019-11-07 17:59:57 -08:00
Nikolay Korotkiy
54f689c6a3
Fix crash caused by corrupted mbtiles file (#55) 2019-11-08 01:32:47 +03:00
Kristjan
b97143cc41
Fix tilesets with mixed case id not loading 2019-09-02 13:56:17 +02:00
Nik Molnar
55f887a895
Don’t try to load .mbtiles files during write (#73) 2019-07-03 17:25:22 -07:00
Nikolas Stevenson-Molnar
120d0eabe9 Bug fix 2019-03-13 08:56:06 -07:00
Nik Molnar
341c8024bf
Add support for HMAC-based per-service authentication (#68)
* Add suppor for hmac-based authentication

* Increase signature max age

* Refactor request handling, date errors

* Update readme with signature info

* Fix typo, add function comment
2019-03-13 08:52:49 -07:00
Brendan Ward
3e5ee0a2ab Resolves #57, adds Go 1.10 to Travis config, update mapbox GL basemap 2018-07-10 12:43:38 -07:00
Brendan Ward
734632f1ba Warn when no tiles are found instead of exiting with error 2018-04-12 19:52:42 -07:00
Brendan Ward
c88b48042f Add comments and tests to mbtiles package 2017-12-23 09:08:02 -08:00
Brendan Ward
6c5d466e62 Removed favicons, no longer needed 2017-12-22 20:00:20 -08:00
Brendan Ward
2f20652824 Fix bugs in arcgis handler 2017-12-22 19:15:49 -08:00
Brendan Ward
6b277870ef Merge branch 'master' into fawick-usingHandlerInMain 2017-12-22 17:36:06 -08:00
Brendan Ward
472e6e2324 fix comments 2017-12-22 17:25:07 -08:00
Brendan Ward
5c0f812e8c Addressed PR comments 2017-12-07 05:12:07 -08:00
Fabian Wickborn
d442779937 Unexport handlers.RootURL and handlers.Scheme
rootURL was reduced to be a method of ServiceSet.
2017-11-28 09:33:14 +01:00
Brendan Ward
f17ee2cba4 Added ArcGIS handlers 2017-11-26 20:33:32 -08:00
Fabian Wickborn
61e3086790 make some handler.Handler endpoints optional (#52) 2017-11-19 14:27:39 -08:00
Fabian Wickborn
a186200f94 Serve map templates (#50)
* handlers: Implement map for the service

* handlers: Return a valid HTTP status code everywhere
2017-11-16 08:32:52 -08:00
Fabian Wickborn
b7e662d704 Embed templates and statics into package (#48)
* Embed templates and statics into package
* Make mbtileserver 'go get'-able
2017-11-15 07:32:37 -08:00