Add specific location via geometry column on pool
This commit is contained in:
parent
121b880783
commit
f97e769d4b
5 changed files with 111 additions and 5 deletions
|
|
@ -69,6 +69,15 @@ var Pools = Table[
|
|||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Geometry: column{
|
||||
Name: "geometry",
|
||||
DBType: "geometry",
|
||||
Default: "NULL",
|
||||
Comment: "",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
},
|
||||
Indexes: poolIndexes{
|
||||
PoolPkey: index{
|
||||
|
|
@ -125,11 +134,12 @@ type poolColumns struct {
|
|||
ID column
|
||||
SiteID column
|
||||
SiteVersion column
|
||||
Geometry column
|
||||
}
|
||||
|
||||
func (c poolColumns) AsSlice() []column {
|
||||
return []column{
|
||||
c.Condition, c.Created, c.CreatorID, c.ID, c.SiteID, c.SiteVersion,
|
||||
c.Condition, c.Created, c.CreatorID, c.ID, c.SiteID, c.SiteVersion, c.Geometry,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue