gdalservice

package
v1.9.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package gdalservice is a generated protocol buffer package.

It is generated from these files:

gdalservice.proto

It has these top-level messages:

GeoRPCGranule
Raster
TimeSeries
Overview
GeoMetaData
GeoFile
WorkerInfo
WorkerMetrics
Result

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGDALServer

func RegisterGDALServer(s *grpc.Server, srv GDALServer)

Types

type GDALClient

type GDALClient interface {
	Process(ctx context.Context, in *GeoRPCGranule, opts ...grpc.CallOption) (*Result, error)
}

func NewGDALClient

func NewGDALClient(cc *grpc.ClientConn) GDALClient

type GDALServer

type GDALServer interface {
	Process(context.Context, *GeoRPCGranule) (*Result, error)
}

type GeoFile

type GeoFile struct {
	FileName string         `protobuf:"bytes,1,opt,name=fileName" json:"fileName,omitempty"`
	Driver   string         `protobuf:"bytes,2,opt,name=driver" json:"driver,omitempty"`
	DataSets []*GeoMetaData `protobuf:"bytes,3,rep,name=dataSets" json:"dataSets,omitempty"`
}

func (*GeoFile) Descriptor

func (*GeoFile) Descriptor() ([]byte, []int)

func (*GeoFile) GetDataSets

func (m *GeoFile) GetDataSets() []*GeoMetaData

func (*GeoFile) GetDriver

func (m *GeoFile) GetDriver() string

func (*GeoFile) GetFileName

func (m *GeoFile) GetFileName() string

func (*GeoFile) ProtoMessage

func (*GeoFile) ProtoMessage()

func (*GeoFile) Reset

func (m *GeoFile) Reset()

func (*GeoFile) String

func (m *GeoFile) String() string

type GeoMetaData

type GeoMetaData struct {
	DatasetName  string                       `protobuf:"bytes,1,opt,name=datasetName" json:"datasetName,omitempty"`
	NameSpace    string                       `protobuf:"bytes,2,opt,name=nameSpace" json:"nameSpace,omitempty"`
	Type         string                       `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"`
	RasterCount  int32                        `protobuf:"varint,4,opt,name=rasterCount" json:"rasterCount,omitempty"`
	TimeStamps   []*google_protobuf.Timestamp `protobuf:"bytes,5,rep,name=timeStamps" json:"timeStamps,omitempty"`
	Height       []float64                    `protobuf:"fixed64,6,rep,packed,name=height" json:"height,omitempty"`
	Overviews    []*Overview                  `protobuf:"bytes,7,rep,name=overviews" json:"overviews,omitempty"`
	XSize        int32                        `protobuf:"varint,8,opt,name=xSize" json:"xSize,omitempty"`
	YSize        int32                        `protobuf:"varint,9,opt,name=ySize" json:"ySize,omitempty"`
	GeoTransform []float64                    `protobuf:"fixed64,10,rep,packed,name=geoTransform" json:"geoTransform,omitempty"`
	Polygon      string                       `protobuf:"bytes,11,opt,name=polygon" json:"polygon,omitempty"`
	ProjWKT      string                       `protobuf:"bytes,12,opt,name=projWKT" json:"projWKT,omitempty"`
	Proj4        string                       `protobuf:"bytes,13,opt,name=proj4" json:"proj4,omitempty"`
}

func (*GeoMetaData) Descriptor

func (*GeoMetaData) Descriptor() ([]byte, []int)

func (*GeoMetaData) GetDatasetName

func (m *GeoMetaData) GetDatasetName() string

func (*GeoMetaData) GetGeoTransform

func (m *GeoMetaData) GetGeoTransform() []float64

func (*GeoMetaData) GetHeight

func (m *GeoMetaData) GetHeight() []float64

func (*GeoMetaData) GetNameSpace

func (m *GeoMetaData) GetNameSpace() string

func (*GeoMetaData) GetOverviews

func (m *GeoMetaData) GetOverviews() []*Overview

func (*GeoMetaData) GetPolygon

func (m *GeoMetaData) GetPolygon() string

func (*GeoMetaData) GetProj4

func (m *GeoMetaData) GetProj4() string

func (*GeoMetaData) GetProjWKT

func (m *GeoMetaData) GetProjWKT() string

func (*GeoMetaData) GetRasterCount

func (m *GeoMetaData) GetRasterCount() int32

func (*GeoMetaData) GetTimeStamps

func (m *GeoMetaData) GetTimeStamps() []*google_protobuf.Timestamp

func (*GeoMetaData) GetType

func (m *GeoMetaData) GetType() string

func (*GeoMetaData) GetXSize

func (m *GeoMetaData) GetXSize() int32

func (*GeoMetaData) GetYSize

func (m *GeoMetaData) GetYSize() int32

func (*GeoMetaData) ProtoMessage

func (*GeoMetaData) ProtoMessage()

func (*GeoMetaData) Reset

func (m *GeoMetaData) Reset()

func (*GeoMetaData) String

func (m *GeoMetaData) String() string

type GeoRPCGranule

type GeoRPCGranule struct {
	Operation        string    `protobuf:"bytes,1,opt,name=operation" json:"operation,omitempty"`
	Path             string    `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
	Geometry         string    `protobuf:"bytes,3,opt,name=geometry" json:"geometry,omitempty"`
	Bands            []int32   `protobuf:"varint,4,rep,packed,name=bands" json:"bands,omitempty"`
	Height           float32   `protobuf:"fixed32,5,opt,name=height" json:"height,omitempty"`
	Width            float32   `protobuf:"fixed32,6,opt,name=width" json:"width,omitempty"`
	SrcSRS           string    `protobuf:"bytes,7,opt,name=srcSRS" json:"srcSRS,omitempty"`
	SrcGeot          []float64 `protobuf:"fixed64,8,rep,packed,name=srcGeot" json:"srcGeot,omitempty"`
	DstSRS           string    `protobuf:"bytes,9,opt,name=dstSRS" json:"dstSRS,omitempty"`
	DstGeot          []float64 `protobuf:"fixed64,10,rep,packed,name=dstGeot" json:"dstGeot,omitempty"`
	BandStrides      int32     `protobuf:"varint,11,opt,name=bandStrides" json:"bandStrides,omitempty"`
	GeoLocOpts       []string  `protobuf:"bytes,12,rep,name=geoLocOpts" json:"geoLocOpts,omitempty"`
	DrillDecileCount int32     `protobuf:"varint,13,opt,name=drillDecileCount" json:"drillDecileCount,omitempty"`
	ClipUpper        float32   `protobuf:"fixed32,14,opt,name=clipUpper" json:"clipUpper,omitempty"`
	ClipLower        float32   `protobuf:"fixed32,15,opt,name=clipLower" json:"clipLower,omitempty"`
	SRSCf            int32     `protobuf:"varint,16,opt,name=sRSCf" json:"sRSCf,omitempty"`
	PixelCount       int32     `protobuf:"varint,17,opt,name=pixelCount" json:"pixelCount,omitempty"`
	VRT              string    `protobuf:"bytes,18,opt,name=vRT" json:"vRT,omitempty"`
}

func (*GeoRPCGranule) Descriptor

func (*GeoRPCGranule) Descriptor() ([]byte, []int)

func (*GeoRPCGranule) GetBandStrides

func (m *GeoRPCGranule) GetBandStrides() int32

func (*GeoRPCGranule) GetBands

func (m *GeoRPCGranule) GetBands() []int32

func (*GeoRPCGranule) GetClipLower

func (m *GeoRPCGranule) GetClipLower() float32

func (*GeoRPCGranule) GetClipUpper

func (m *GeoRPCGranule) GetClipUpper() float32

func (*GeoRPCGranule) GetDrillDecileCount

func (m *GeoRPCGranule) GetDrillDecileCount() int32

func (*GeoRPCGranule) GetDstGeot

func (m *GeoRPCGranule) GetDstGeot() []float64

func (*GeoRPCGranule) GetDstSRS

func (m *GeoRPCGranule) GetDstSRS() string

func (*GeoRPCGranule) GetGeoLocOpts

func (m *GeoRPCGranule) GetGeoLocOpts() []string

func (*GeoRPCGranule) GetGeometry

func (m *GeoRPCGranule) GetGeometry() string

func (*GeoRPCGranule) GetHeight

func (m *GeoRPCGranule) GetHeight() float32

func (*GeoRPCGranule) GetOperation

func (m *GeoRPCGranule) GetOperation() string

func (*GeoRPCGranule) GetPath

func (m *GeoRPCGranule) GetPath() string

func (*GeoRPCGranule) GetPixelCount

func (m *GeoRPCGranule) GetPixelCount() int32

func (*GeoRPCGranule) GetSRSCf

func (m *GeoRPCGranule) GetSRSCf() int32

func (*GeoRPCGranule) GetSrcGeot

func (m *GeoRPCGranule) GetSrcGeot() []float64

func (*GeoRPCGranule) GetSrcSRS

func (m *GeoRPCGranule) GetSrcSRS() string

func (*GeoRPCGranule) GetVRT

func (m *GeoRPCGranule) GetVRT() string

func (*GeoRPCGranule) GetWidth

func (m *GeoRPCGranule) GetWidth() float32

func (*GeoRPCGranule) ProtoMessage

func (*GeoRPCGranule) ProtoMessage()

func (*GeoRPCGranule) Reset

func (m *GeoRPCGranule) Reset()

func (*GeoRPCGranule) String

func (m *GeoRPCGranule) String() string

type Overview

type Overview struct {
	XSize int32 `protobuf:"varint,1,opt,name=xSize" json:"xSize,omitempty"`
	YSize int32 `protobuf:"varint,2,opt,name=ySize" json:"ySize,omitempty"`
}

func (*Overview) Descriptor

func (*Overview) Descriptor() ([]byte, []int)

func (*Overview) GetXSize

func (m *Overview) GetXSize() int32

func (*Overview) GetYSize

func (m *Overview) GetYSize() int32

func (*Overview) ProtoMessage

func (*Overview) ProtoMessage()

func (*Overview) Reset

func (m *Overview) Reset()

func (*Overview) String

func (m *Overview) String() string

type Raster

type Raster struct {
	Data       []byte  `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	NoData     float64 `protobuf:"fixed64,2,opt,name=noData" json:"noData,omitempty"`
	RasterType string  `protobuf:"bytes,3,opt,name=rasterType" json:"rasterType,omitempty"`
	Bbox       []int32 `protobuf:"varint,4,rep,packed,name=bbox" json:"bbox,omitempty"`
}

func (*Raster) Descriptor

func (*Raster) Descriptor() ([]byte, []int)

func (*Raster) GetBbox

func (m *Raster) GetBbox() []int32

func (*Raster) GetData

func (m *Raster) GetData() []byte

func (*Raster) GetNoData

func (m *Raster) GetNoData() float64

func (*Raster) GetRasterType

func (m *Raster) GetRasterType() string

func (*Raster) ProtoMessage

func (*Raster) ProtoMessage()

func (*Raster) Reset

func (m *Raster) Reset()

func (*Raster) String

func (m *Raster) String() string

type Result

type Result struct {
	TimeSeries []*TimeSeries  `protobuf:"bytes,1,rep,name=timeSeries" json:"timeSeries,omitempty"`
	Raster     *Raster        `protobuf:"bytes,2,opt,name=raster" json:"raster,omitempty"`
	Info       *GeoFile       `protobuf:"bytes,3,opt,name=info" json:"info,omitempty"`
	Error      string         `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"`
	Shape      []int32        `protobuf:"varint,5,rep,packed,name=shape" json:"shape,omitempty"`
	WorkerInfo *WorkerInfo    `protobuf:"bytes,6,opt,name=workerInfo" json:"workerInfo,omitempty"`
	Metrics    *WorkerMetrics `protobuf:"bytes,7,opt,name=metrics" json:"metrics,omitempty"`
}

func (*Result) Descriptor

func (*Result) Descriptor() ([]byte, []int)

func (*Result) GetError

func (m *Result) GetError() string

func (*Result) GetInfo

func (m *Result) GetInfo() *GeoFile

func (*Result) GetMetrics

func (m *Result) GetMetrics() *WorkerMetrics

func (*Result) GetRaster

func (m *Result) GetRaster() *Raster

func (*Result) GetShape

func (m *Result) GetShape() []int32

func (*Result) GetTimeSeries

func (m *Result) GetTimeSeries() []*TimeSeries

func (*Result) GetWorkerInfo

func (m *Result) GetWorkerInfo() *WorkerInfo

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) Reset

func (m *Result) Reset()

func (*Result) String

func (m *Result) String() string

type TimeSeries

type TimeSeries struct {
	Value float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
	Count int32   `protobuf:"varint,2,opt,name=count" json:"count,omitempty"`
}

func (*TimeSeries) Descriptor

func (*TimeSeries) Descriptor() ([]byte, []int)

func (*TimeSeries) GetCount

func (m *TimeSeries) GetCount() int32

func (*TimeSeries) GetValue

func (m *TimeSeries) GetValue() float64

func (*TimeSeries) ProtoMessage

func (*TimeSeries) ProtoMessage()

func (*TimeSeries) Reset

func (m *TimeSeries) Reset()

func (*TimeSeries) String

func (m *TimeSeries) String() string

type WorkerInfo

type WorkerInfo struct {
	PoolSize int32 `protobuf:"varint,1,opt,name=poolSize" json:"poolSize,omitempty"`
}

func (*WorkerInfo) Descriptor

func (*WorkerInfo) Descriptor() ([]byte, []int)

func (*WorkerInfo) GetPoolSize

func (m *WorkerInfo) GetPoolSize() int32

func (*WorkerInfo) ProtoMessage

func (*WorkerInfo) ProtoMessage()

func (*WorkerInfo) Reset

func (m *WorkerInfo) Reset()

func (*WorkerInfo) String

func (m *WorkerInfo) String() string

type WorkerMetrics

type WorkerMetrics struct {
	BytesRead int64 `protobuf:"varint,1,opt,name=bytesRead" json:"bytesRead,omitempty"`
	UserTime  int64 `protobuf:"varint,2,opt,name=userTime" json:"userTime,omitempty"`
	SysTime   int64 `protobuf:"varint,3,opt,name=sysTime" json:"sysTime,omitempty"`
}

func (*WorkerMetrics) Descriptor

func (*WorkerMetrics) Descriptor() ([]byte, []int)

func (*WorkerMetrics) GetBytesRead

func (m *WorkerMetrics) GetBytesRead() int64

func (*WorkerMetrics) GetSysTime

func (m *WorkerMetrics) GetSysTime() int64

func (*WorkerMetrics) GetUserTime

func (m *WorkerMetrics) GetUserTime() int64

func (*WorkerMetrics) ProtoMessage

func (*WorkerMetrics) ProtoMessage()

func (*WorkerMetrics) Reset

func (m *WorkerMetrics) Reset()

func (*WorkerMetrics) String

func (m *WorkerMetrics) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL