# HG changeset patch # User Sascha L. Teichmann # Date 1532075262 -7200 # Node ID ee3093966a6ddabcc50daf07777413ad6f26bc3a # Parent 51addc0533fe37d6b5be95b14728f725cc57e475 ST_SetSRID should be not need as the map extent column does not have any SRID code. diff -r 51addc0533fe -r ee3093966a6d cmd/tokenserver/user.go --- a/cmd/tokenserver/user.go Fri Jul 20 07:05:11 2018 +0200 +++ b/cmd/tokenserver/user.go Fri Jul 20 10:27:42 2018 +0200 @@ -30,7 +30,7 @@ const ( createUserSQL = `SELECT create_user($1, $2, $3, $4, NULL, $5)` createUserExtentSQL = `SELECT create_user($1, $2, $3, $4, - ST_SetSRID(ST_MakeBox2D(ST_Point($5, $6), ST_Point($7, $8)), 4326), $9)` + ST_MakeBox2D(ST_Point($5, $6), ST_Point($7, $8)), $9)` ) func createUser(rw http.ResponseWriter, req *http.Request) {