comparison pkg/controllers/geostyling.go @ 913:876d1f5433be geo-style

Started with direct applying style after modification via controller. WIP.
author Sascha L. Teichmann <teichmann@intevation.de>
date Tue, 02 Oct 2018 23:29:55 +0200
parents ad9272460ef3
children 4bf3a3a20ce1
comparison
equal deleted inserted replaced
912:85b2648066d7 913:876d1f5433be
5 "fmt" 5 "fmt"
6 "io" 6 "io"
7 "log" 7 "log"
8 "net/http" 8 "net/http"
9 9
10 "gemma.intevation.de/gemma/pkg/geoserver"
10 "gemma.intevation.de/gemma/pkg/models" 11 "gemma.intevation.de/gemma/pkg/models"
11 "github.com/gorilla/mux" 12 "github.com/gorilla/mux"
12 ) 13 )
13 14
14 const ( 15 const (
62 log.Printf("error: %v\n", err) 63 log.Printf("error: %v\n", err)
63 http.Error(rw, "error: "+err.Error(), http.StatusInternalServerError) 64 http.Error(rw, "error: "+err.Error(), http.StatusInternalServerError)
64 return 65 return
65 } 66 }
66 67
67 // TODO: Configure GeoServer 68 geoserver.ReconfigureStyle(feature)
68 } 69 }