Skip to content

Commit

Permalink
Merge pull request #1 from sfomuseum/campus
Browse files Browse the repository at this point in the history
Add ComplexToGeoJSONLayers method
  • Loading branch information
thisisaaronland authored Jul 9, 2024
2 parents 2375ac1 + 84881b7 commit 9fa6464
Show file tree
Hide file tree
Showing 3 changed files with 355 additions and 93 deletions.
11 changes: 5 additions & 6 deletions campus/campus.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ package campus

// type Campus is a lightweight data structure to represent the SFO campus with pointers its descendants.
type Campus struct {
WhosOnFirstId int64 `json:"id"`
SFOId string `json:"sfo:id"`
Complex *Complex `json:"complex"`
Garages []*Garage `json:"garages"`
// Buildings []*Building `json:"buildings,omitempty"`
PublicArt []*PublicArt `json:"buildings,omitempty"`
WhosOnFirstId int64 `json:"id"`
SFOId string `json:"sfo:id"`
Complex *Complex `json:"complex"`
Garages []*Garage `json:"garages"`
PublicArt []*PublicArt `json:"buildings,omitempty"`
}

// type Garage is a lightweight data structure to represent garages at SFO with pointers its descendants.
Expand Down
Loading

0 comments on commit 9fa6464

Please sign in to comment.