Add debug endpoint for looking at tiles via GPS coord
This commit is contained in:
parent
89eda187be
commit
8bfad892bc
3 changed files with 66 additions and 8 deletions
|
|
@ -46,7 +46,7 @@ func getComplianceRequestImagePool(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
ring := (*envelope)[0]
|
||||
p := ring[0]
|
||||
err = writeImage(ctx, w, org, 22, p[1], p[0])
|
||||
err = writeImage(ctx, w, org, 19, p[1], p[0])
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("write image")
|
||||
http.Error(w, "failed to write image", http.StatusInternalServerError)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue