adjust
This commit is contained in:
28
producer/report.go
Normal file
28
producer/report.go
Normal file
@@ -0,0 +1,28 @@
|
||||
package imageproc
|
||||
|
||||
import "encoding/xml"
|
||||
|
||||
// Report represents the root XML element
|
||||
type Report struct {
|
||||
XMLName xml.Name `xml:"report"`
|
||||
Satellite string `xml:"satellite,attr"`
|
||||
Sensor string `xml:"sensor,attr"`
|
||||
ProductLevel string `xml:"productLevel,attr"`
|
||||
Scenes []ReportScene `xml:"scene"`
|
||||
}
|
||||
|
||||
// Scene represents each scene in the report
|
||||
type ReportScene struct {
|
||||
Name string `xml:"name,attr"`
|
||||
TiffData string `xml:"tiffData"`
|
||||
TfwData string `xml:"tfwData"`
|
||||
RpbData string `xml:"rpbData"`
|
||||
BrowserData string `xml:"browserData"`
|
||||
BrowserRpbData string `xml:"browserRpbData"`
|
||||
ThumbData string `xml:"thumbData"`
|
||||
ShpData string `xml:"shpData"`
|
||||
ShxData string `xml:"shxData"`
|
||||
DbfData string `xml:"dbfData"`
|
||||
MetaData string `xml:"metaData"`
|
||||
QualityData string `xml:"qualityData"`
|
||||
}
|
||||
Reference in New Issue
Block a user