diff --git a/go.mod b/go.mod index 7656460b..31c3bdb8 100644 --- a/go.mod +++ b/go.mod @@ -13,6 +13,6 @@ require ( github.com/whosonfirst/go-whosonfirst-spr/v2 v2.0.0 github.com/whosonfirst/go-whosonfirst-sqlite v0.1.7 github.com/whosonfirst/go-whosonfirst-sqlite-features v0.8.0 - github.com/whosonfirst/go-whosonfirst-sqlite-spr v0.0.10 + github.com/whosonfirst/go-whosonfirst-sqlite-spr v0.0.11 github.com/whosonfirst/go-whosonfirst-uri v1.0.1 ) diff --git a/go.sum b/go.sum index bc645118..61caabe6 100644 --- a/go.sum +++ b/go.sum @@ -202,6 +202,8 @@ github.com/whosonfirst/go-whosonfirst-sqlite-spr v0.0.6 h1:9Y3P9YAYGJQogi7ZNic3u github.com/whosonfirst/go-whosonfirst-sqlite-spr v0.0.6/go.mod h1:av6zq/jP7ACZqJ2dYjCmBH5Oea+eLLLq9u1agmYvMP8= github.com/whosonfirst/go-whosonfirst-sqlite-spr v0.0.10 h1:5bNZ8Wh1cip3GsWcUxx+vZPG0qbMl7/2nzPx+F1yp5Q= github.com/whosonfirst/go-whosonfirst-sqlite-spr v0.0.10/go.mod h1:MV6kulNQDSiFMYD/mWJsL719ZO1WAoNn/SySp7+Jxx8= +github.com/whosonfirst/go-whosonfirst-sqlite-spr v0.0.11 h1:WnLc8F5Wkzh6bEn92qZcn0d1smYwwAe12XJ8Yj8qMiE= +github.com/whosonfirst/go-whosonfirst-sqlite-spr v0.0.11/go.mod h1:MV6kulNQDSiFMYD/mWJsL719ZO1WAoNn/SySp7+Jxx8= github.com/whosonfirst/go-whosonfirst-uri v0.2.0 h1:iODHdyvW+8IXqHZTixZ/9GEZy1dVKGj6dMRg7fn0d2M= github.com/whosonfirst/go-whosonfirst-uri v0.2.0/go.mod h1:8eaDVcc4v+HHHEDaRbApdmhPwM4/JQllw2PktvZcPVs= github.com/whosonfirst/go-whosonfirst-uri v1.0.1 h1:hVEDRuW9WhqvTksDi092OO9UecX7PAMDrD47KPEqAg0= diff --git a/vendor/github.com/whosonfirst/go-whosonfirst-sqlite-spr/spr.go b/vendor/github.com/whosonfirst/go-whosonfirst-sqlite-spr/spr.go index 6e7854e3..de861f6a 100644 --- a/vendor/github.com/whosonfirst/go-whosonfirst-sqlite-spr/spr.go +++ b/vendor/github.com/whosonfirst/go-whosonfirst-sqlite-spr/spr.go @@ -186,14 +186,14 @@ func RetrieveSPR(ctx context.Context, spr_db *wof_database.SQLiteDatabase, spr_t spr_q := fmt.Sprintf(`SELECT id, parent_id, name, placetype, - country, repo, inception, cessation, + country, repo, latitude, longitude, min_latitude, min_longitude, max_latitude, max_longitude, - is_current, is_deprecated, is_ceased, - is_superseded, is_superseding, + is_current, is_deprecated, is_ceased,is_superseded, is_superseding, supersedes, superseded_by, belongsto, + is_alt, alt_label, lastmodified FROM %s WHERE id = ? AND alt_label = ?`, spr_table.Name()) diff --git a/vendor/modules.txt b/vendor/modules.txt index 1d68409e..110a8957 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -112,7 +112,7 @@ github.com/whosonfirst/go-whosonfirst-sqlite/utils ## explicit github.com/whosonfirst/go-whosonfirst-sqlite-features github.com/whosonfirst/go-whosonfirst-sqlite-features/tables -# github.com/whosonfirst/go-whosonfirst-sqlite-spr v0.0.10 +# github.com/whosonfirst/go-whosonfirst-sqlite-spr v0.0.11 ## explicit github.com/whosonfirst/go-whosonfirst-sqlite-spr # github.com/whosonfirst/go-whosonfirst-uri v1.0.1