Versions in this module Expand all Collapse all v0 v0.0.5 Jan 21, 2021 Changes in this version + const FT_Binary + const FT_Date + const FT_DateTime + const FT_Integer + const FT_Integer64 + const FT_Integer64List + const FT_IntegerList + const FT_Real + const FT_RealList + const FT_String + const FT_StringList + const FT_Time + const GT_GeometryCollection + const GT_GeometryCollection25D + const GT_LineString + const GT_LineString25D + const GT_LinearRing + const GT_MultiLineString + const GT_MultiLineString25D + const GT_MultiPoint + const GT_MultiPoint25D + const GT_MultiPolygon + const GT_MultiPolygon25D + const GT_None + const GT_Null + const GT_Point + const GT_Point25D + const GT_Polygon + const GT_Polygon25D + const GT_Unknown + const J_Left + const J_Right + const J_Undefined + const OAMS_AUTHORITY_COMPLIANT + const OAMS_CUSTOM + const OAMS_TRADITIONAL_GIS_ORDER + var ErrCorruptData = errors.New("Corrupt Data Error") + var ErrDebug = errors.New("Debug Error") + var ErrFailure = errors.New("OGR Failure Error") + var ErrInvalidHandle = errors.New("Invalid Handle Error") + var ErrNonExistingFeature = errors.New("Non Existing Feature Error") + var ErrNotEnoughData = errors.New("Not Enough Data Error") + var ErrNotEnoughMemory = errors.New("Not Enough Memory Error") + var ErrUndefined = errors.New("Undefined Error") + var ErrUnsupportedGeometryType = errors.New("Unsupported Geometry Type Error") + var ErrUnsupportedOperation = errors.New("Unsupported Operation Error") + var ErrUnsupportedSRS = errors.New("Unsupported SRS Error") + func BoolToCInt(in bool) (out C.int) + func CleanupOGR() + func CleanupSR() + func IntSliceToCInt(data []int) []C.int + func OGRDriverCount() int + func OpenDataSourceCount() int + type AxisMappingStrategy uint32 + type CoordinateTransform struct + func CreateCoordinateTransform(source SpatialReference, dest SpatialReference) CoordinateTransform + func (ct CoordinateTransform) Destroy() + func (ct CoordinateTransform) Transform(numPoints int, xPoints []float64, yPoints []float64, zPoints []float64) bool + type DataSource struct + func OpenDataSource(name string, update int) (DataSource, bool) + func OpenDataSourceByIndex(index int) DataSource + func OpenSharedDataSource(name string, update int) (DataSource, bool) + func (ds DataSource) CopyLayer(source Layer, name string, options []string) Layer + func (ds DataSource) CreateLayer(name string, sr SpatialReference, geomType GeometryType, options []string) Layer + func (ds DataSource) Delete(index int) error + func (ds DataSource) Destroy() + func (ds DataSource) Driver() OGRDriver + func (ds DataSource) ExecuteSQL(sql string, filter Geometry, dialect string) Layer + func (ds DataSource) LayerByIndex(index int) Layer + func (ds DataSource) LayerByName(name string) Layer + func (ds DataSource) LayerCount() int + func (ds DataSource) Name() string + func (ds DataSource) Release() error + func (ds DataSource) ReleaseResultSet(layer Layer) + func (ds DataSource) Sync() error + func (ds DataSource) TestCapability(capability string) bool + type Envelope struct + func (env *Envelope) SetMaxX(val float64) + func (env *Envelope) SetMaxY(val float64) + func (env *Envelope) SetMinX(val float64) + func (env *Envelope) SetMinY(val float64) + func (env Envelope) Contains(other Envelope) bool + func (env Envelope) Intersect(other Envelope) Envelope + func (env Envelope) Intersects(other Envelope) bool + func (env Envelope) IsInit() bool + func (env Envelope) MaxX() float64 + func (env Envelope) MaxY() float64 + func (env Envelope) MinX() float64 + func (env Envelope) MinY() float64 + func (env Envelope) Union(other Envelope) Envelope + type Feature struct + func (f1 Feature) Equal(f2 Feature) bool + func (feature Feature) Clone() Feature + func (feature Feature) Definition() FeatureDefinition + func (feature Feature) Destroy() + func (feature Feature) FID() int64 + func (feature Feature) FieldAsBinary(index int) []uint8 + func (feature Feature) FieldAsDateTime(index int) (time.Time, bool) + func (feature Feature) FieldAsFloat64(index int) float64 + func (feature Feature) FieldAsFloat64List(index int) []float64 + func (feature Feature) FieldAsInteger(index int) int + func (feature Feature) FieldAsInteger64(index int) int64 + func (feature Feature) FieldAsInteger64List(index int) []int64 + func (feature Feature) FieldAsIntegerList(index int) []int + func (feature Feature) FieldAsString(index int) string + func (feature Feature) FieldAsStringList(index int) []string + func (feature Feature) FieldCount() int + func (feature Feature) FieldDefinition(index int) FieldDefinition + func (feature Feature) FieldIndex(name string) int + func (feature Feature) FillUnsetWithDefault(notNullableOnly bool) + func (feature Feature) Geometry() Geometry + func (feature Feature) GeometryField(index int) Geometry + func (feature Feature) GeometryFieldCount() int + func (feature Feature) GeometryFieldDefition(index int) GeomFieldDefinition + func (feature Feature) GeometryFieldIndex(name string) int + func (feature Feature) IsFieldNull(index int) bool + func (feature Feature) IsFieldSet(index int) bool + func (feature Feature) IsFieldSetAndNotNull(index int) bool + func (feature Feature) IsNull() bool + func (feature Feature) NativeData() string + func (feature Feature) NativeMediaType() string + func (feature Feature) RawField(index int) Field + func (feature Feature) SetFID(fid int64) error + func (feature Feature) SetFieldDateTime(index int, dt time.Time) + func (feature Feature) SetFieldDateTimeEx(index int, dt time.Time) + func (feature Feature) SetFieldFloat64(index int, value float64) + func (feature Feature) SetFieldFloat64List(index int, value []float64) + func (feature Feature) SetFieldInteger(index, value int) + func (feature Feature) SetFieldInteger64(index int, value int64) + func (feature Feature) SetFieldInteger64List(index int, value []int64) + func (feature Feature) SetFieldIntegerList(index int, value []int) + func (feature Feature) SetFieldNull(index int) + func (feature Feature) SetFieldRaw(index int, field Field) + func (feature Feature) SetFieldString(index int, value string) + func (feature Feature) SetFieldStringList(index int, value []string) + func (feature Feature) SetGeometry(geom Geometry) error + func (feature Feature) SetGeometryDirectly(geom Geometry) error + func (feature Feature) SetGeometryField(index int, geom Geometry) error + func (feature Feature) SetGeometryFieldDirectly(index int, geom Geometry) error + func (feature Feature) SetNativeData(nativeData string) + func (feature Feature) SetNativeMediaType(mediatype string) + func (feature Feature) SetStyleString(style string) + func (feature Feature) StealGeometry() Geometry + func (feature Feature) StlyeString() string + func (feature Feature) UnnsetField(index int) + func (feature Feature) Validate(validateFlags int, emitError int) int + func (this Feature) SetFrom(other Feature, forgiving int) error + func (this Feature) SetFromWithMap(other Feature, forgiving int, fieldMap []int) error + type FeatureDefinition struct + func CreateFeatureDefinition(name string) FeatureDefinition + func (fd FeatureDefinition) AddFieldDefinition(fieldDefn FieldDefinition) + func (fd FeatureDefinition) AddGeomFieldDefinition(gdf GeomFieldDefinition) + func (fd FeatureDefinition) Create() Feature + func (fd FeatureDefinition) DeleteFieldDefinition(index int) error + func (fd FeatureDefinition) DeleteGeomFieldDefinition(index int) error + func (fd FeatureDefinition) Dereference() int + func (fd FeatureDefinition) Destroy() + func (fd FeatureDefinition) FieldCount() int + func (fd FeatureDefinition) FieldDefinition(index int) FieldDefinition + func (fd FeatureDefinition) FieldIndex(name string) int + func (fd FeatureDefinition) GeomFieldCount() int + func (fd FeatureDefinition) GeomFieldIndex(name string) int + func (fd FeatureDefinition) GeometryType() GeometryType + func (fd FeatureDefinition) GetGeomFieldDefinition(index int) GeomFieldDefinition + func (fd FeatureDefinition) IsGeometryIgnored() bool + func (fd FeatureDefinition) IsSame(fd2 FeatureDefinition) bool + func (fd FeatureDefinition) IsStyleIgnored() bool + func (fd FeatureDefinition) Name() string + func (fd FeatureDefinition) Reference() int + func (fd FeatureDefinition) ReferenceCount() int + func (fd FeatureDefinition) Release() + func (fd FeatureDefinition) ReorderFieldDefinitions(panmap []int) error + func (fd FeatureDefinition) SetGeometryIgnored(val bool) + func (fd FeatureDefinition) SetGeometryType(geomType GeometryType) + func (fd FeatureDefinition) SetStyleIgnored(val bool) + type Field struct + type FieldDefinition struct + func CreateFieldDefinition(name string, fieldType FieldType) FieldDefinition + func (fd FieldDefinition) Destroy() + func (fd FieldDefinition) IsIgnored() bool + func (fd FieldDefinition) Justification() Justification + func (fd FieldDefinition) Name() string + func (fd FieldDefinition) Precision() int + func (fd FieldDefinition) Set(name string, fType FieldType, width, precision int, justify Justification) + func (fd FieldDefinition) SetIgnored(ignore bool) + func (fd FieldDefinition) SetJustification(justify Justification) + func (fd FieldDefinition) SetName(name string) + func (fd FieldDefinition) SetPrecision(precision int) + func (fd FieldDefinition) SetType(fType FieldType) + func (fd FieldDefinition) SetWidth(width int) + func (fd FieldDefinition) Type() FieldType + func (fd FieldDefinition) Width() int + type FieldType int + func (ft FieldType) Name() string + type GeomFieldDefinition struct + func CreateGeomFieldDefinition(name string, geomType GeometryType) GeomFieldDefinition + func (gfd GeomFieldDefinition) Destroy() + func (gfd GeomFieldDefinition) FieldIsIngored() bool + func (gfd GeomFieldDefinition) IsNullable() bool + func (gfd GeomFieldDefinition) Name() string + func (gfd GeomFieldDefinition) SetFieldIgnored(isIgnored bool) + func (gfd GeomFieldDefinition) SetName(name string) + func (gfd GeomFieldDefinition) SetNullable(isNullable bool) + func (gfd GeomFieldDefinition) SetSpatialReference(sr SpatialReference) + func (gfd GeomFieldDefinition) SetType(geomType GeometryType) + func (gfd GeomFieldDefinition) SpatialReference() SpatialReference + func (gfd GeomFieldDefinition) Type() GeometryType + type Geometry struct + func ApproximateArcAngles(...) Geometry + func Create(geomType GeometryType) Geometry + func CreateFromGML(gml string) Geometry + func CreateFromJson(_json string) Geometry + func CreateFromWKB(wkb []uint8, srs SpatialReference, bytes int) (Geometry, error) + func CreateFromWKT(wkt string, srs SpatialReference) (Geometry, error) + func (geom Geometry) AddGeometry(other Geometry) error + func (geom Geometry) AddGeometryDirectly(other Geometry) error + func (geom Geometry) AddPoint(x, y, z float64) + func (geom Geometry) AddPoint2D(x, y float64) + func (geom Geometry) Area() float64 + func (geom Geometry) Boundary() Geometry + func (geom Geometry) Buffer(distance float64, segments int) Geometry + func (geom Geometry) BuildPolygonFromEdges(autoClose bool, tolerance float64) (Geometry, error) + func (geom Geometry) Centroid() Geometry + func (geom Geometry) Clone() Geometry + func (geom Geometry) CloseRings() + func (geom Geometry) Contains(other Geometry) bool + func (geom Geometry) ConvexHull() Geometry + func (geom Geometry) CoordinateDimension() int + func (geom Geometry) Crosses(other Geometry) bool + func (geom Geometry) Difference(other Geometry) Geometry + func (geom Geometry) Dimension() int + func (geom Geometry) Disjoint(other Geometry) bool + func (geom Geometry) Distance(other Geometry) float64 + func (geom Geometry) Distance3D(other Geometry) float64 + func (geom Geometry) Empty() + func (geom Geometry) Envelope() Envelope + func (geom Geometry) Equals(other Geometry) bool + func (geom Geometry) FlattenTo2D() + func (geom Geometry) ForceToMultiLineString() Geometry + func (geom Geometry) ForceToMultiPoint() Geometry + func (geom Geometry) ForceToMultiPolygon() Geometry + func (geom Geometry) ForceToPolygon() Geometry + func (geom Geometry) FromWKB(wkb []uint8, bytes int) error + func (geom Geometry) FromWKT(wkt string) error + func (geom Geometry) Geometry(index int) Geometry + func (geom Geometry) GeometryCount() int + func (geom Geometry) Intersection(other Geometry) Geometry + func (geom Geometry) Intersects(other Geometry) bool + func (geom Geometry) IsEmpty() bool + func (geom Geometry) IsNull() bool + func (geom Geometry) IsRing() bool + func (geom Geometry) IsSimple() bool + func (geom Geometry) IsValid() bool + func (geom Geometry) Length() float64 + func (geom Geometry) Name() string + func (geom Geometry) Overlaps(other Geometry) bool + func (geom Geometry) Point(index int) (x, y, z float64) + func (geom Geometry) PointCount() int + func (geom Geometry) Polygonize() Geometry + func (geom Geometry) RemoveGeometry(index int, delete bool) error + func (geom Geometry) Segmentize(distance float64) + func (geom Geometry) SetCoordinateDimension(dim int) + func (geom Geometry) SetPoint(index int, x, y, z float64) + func (geom Geometry) SetPoint2D(index int, x, y float64) + func (geom Geometry) SetSpatialReference(spatialRef SpatialReference) + func (geom Geometry) Simplify(tolerance float64) Geometry + func (geom Geometry) SimplifyPreservingTopology(tolerance float64) Geometry + func (geom Geometry) SpatialReference() SpatialReference + func (geom Geometry) SymmetricDifference(other Geometry) Geometry + func (geom Geometry) ToGML() string + func (geom Geometry) ToGML_Ex(options []string) string + func (geom Geometry) ToJSON() string + func (geom Geometry) ToJSON_ex(options []string) string + func (geom Geometry) ToKML() string + func (geom Geometry) ToWKB() ([]uint8, error) + func (geom Geometry) ToWKT() (string, error) + func (geom Geometry) Touches(other Geometry) bool + func (geom Geometry) Transform(ct CoordinateTransform) error + func (geom Geometry) TransformTo(sr SpatialReference) error + func (geom Geometry) Type() GeometryType + func (geom Geometry) Union(other Geometry) Geometry + func (geom Geometry) UnionCascaded() Geometry + func (geom Geometry) WKBSize() int + func (geom Geometry) Within(other Geometry) bool + func (geom Geometry) X(index int) float64 + func (geom Geometry) Y(index int) float64 + func (geom Geometry) Z(index int) float64 + func (geometry Geometry) Destroy() + type GeometryType uint32 + type Justification int + type Layer struct + func (layer Layer) AlterFieldDefn(index int, newDefn FieldDefinition, flags int) error + func (layer Layer) CommitTransaction() error + func (layer Layer) Create(feature Feature) error + func (layer Layer) CreateField(fd FieldDefinition, approxOK bool) error + func (layer Layer) CreateGeomField(fd FieldDefinition, approxOK bool) error + func (layer Layer) Definition() FeatureDefinition + func (layer Layer) Delete(index int64) error + func (layer Layer) DeleteField(index int) error + func (layer Layer) Extent(force bool) (env Envelope, err error) + func (layer Layer) ExtentEx(index int, force bool) (env Envelope, err error) + func (layer Layer) FIDColumn() string + func (layer Layer) Feature(index int64) Feature + func (layer Layer) FeatureCount(force bool) (count int, ok bool) + func (layer Layer) FindFieldIndex(field string, exactMatch bool) int + func (layer Layer) GeometryColumn() string + func (layer Layer) IsNull() bool + func (layer Layer) Name() string + func (layer Layer) NextFeature() *Feature + func (layer Layer) ReorderField(oldIndex, newIndex int) error + func (layer Layer) ReorderFields(layerMap []int) error + func (layer Layer) ResetReading() + func (layer Layer) RollbackTransaction() error + func (layer Layer) SetAttributeFilter(filter string) error + func (layer Layer) SetFeature(feature Feature) error + func (layer Layer) SetIgnoredFields(names []string) error + func (layer Layer) SetNextByIndex(index int64) error + func (layer Layer) SetSpatialFilter(filter Geometry) + func (layer Layer) SetSpatialFilterEx(index int, filter Geometry) + func (layer Layer) SetSpatialFilterRect(minX, minY, maxX, maxY float64) + func (layer Layer) SetSpatialFilterRectEx(index int, minX, minY, maxX, maxY float64) + func (layer Layer) SpatialFilter() Geometry + func (layer Layer) SpatialReference() SpatialReference + func (layer Layer) StartTransaction() error + func (layer Layer) Sync() error + func (layer Layer) TestCapability(capability string) bool + func (layer Layer) Type() GeometryType + type OGRDriver struct + func OGRDriverByIndex(index int) OGRDriver + func OGRDriverByName(name string) OGRDriver + func (driver OGRDriver) Copy(source DataSource, name string, options []string) (newDS DataSource, ok bool) + func (driver OGRDriver) Create(name string, options []string) (newDS DataSource, ok bool) + func (driver OGRDriver) Delete(filename string) error + func (driver OGRDriver) Deregister() + func (driver OGRDriver) Name() string + func (driver OGRDriver) Open(filename string, update int) (newDS DataSource, ok bool) + func (driver OGRDriver) Register() + func (driver OGRDriver) TestCapability(capability string) bool + type SpatialReference struct + func CreateSpatialReference(wkt string) SpatialReference + func (sr SpatialReference) AngularUnits() (string, float64) + func (sr SpatialReference) AttrValue(key string, child int) (value string, ok bool) + func (sr SpatialReference) AuthorityCode(target string) string + func (sr SpatialReference) AuthorityName(target string) string + func (sr SpatialReference) AutoIdentifyEPSG() error + func (sr SpatialReference) Clone() SpatialReference + func (sr SpatialReference) CloneGeogCS() SpatialReference + func (sr SpatialReference) CopyGeographicCSFrom(other SpatialReference) error + func (sr SpatialReference) Dereference() int + func (sr SpatialReference) Destroy() + func (sr SpatialReference) EPSGTreatsAsLatLong() bool + func (sr SpatialReference) FromEPSG(code int) error + func (sr SpatialReference) FromEPSGA(code int) error + func (sr SpatialReference) FromERM(proj, datum, units string) error + func (sr SpatialReference) FromESRI(input string) error + func (sr SpatialReference) FromPCI(proj, units string, params []float64) error + func (sr SpatialReference) FromProj4(input string) error + func (sr SpatialReference) FromURL(url string) error + func (sr SpatialReference) FromUSGS(projsys, zone int, params []float64, datum int) error + func (sr SpatialReference) FromWKT(wkt string) error + func (sr SpatialReference) FromXML(xml string) error + func (sr SpatialReference) GetAxisMappingStrategy() AxisMappingStrategy + func (sr SpatialReference) GetPointer() C.OGRSpatialReferenceH + func (sr SpatialReference) InverseFlattening() (float64, error) + func (sr SpatialReference) IsCompound() bool + func (sr SpatialReference) IsGeocentric() bool + func (sr SpatialReference) IsGeographic() bool + func (sr SpatialReference) IsLocal() bool + func (sr SpatialReference) IsProjected() bool + func (sr SpatialReference) IsSame(other SpatialReference) bool + func (sr SpatialReference) IsSameGeographicCS(other SpatialReference) bool + func (sr SpatialReference) IsSameVerticalCS(other SpatialReference) bool + func (sr SpatialReference) IsVertical() bool + func (sr SpatialReference) LinearUnits() (string, float64) + func (sr SpatialReference) MorphFromESRI() error + func (sr SpatialReference) MorphToESRI() error + func (sr SpatialReference) NormalizedProjectionParameter(name string, defaultValue float64) (float64, error) + func (sr SpatialReference) PrimeMeridian() (string, float64) + func (sr SpatialReference) ProjectionParameter(name string, defaultValue float64) (float64, error) + func (sr SpatialReference) Reference() int + func (sr SpatialReference) Release() + func (sr SpatialReference) SemiMajorAxis() (float64, error) + func (sr SpatialReference) SemiMinorAxis() (float64, error) + func (sr SpatialReference) SetACEA(stdp1, stdp2, centerLat, centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetAE(centerLat, centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetAngularUnits(units string, radians float64) error + func (sr SpatialReference) SetAttrValue(path, value string) error + func (sr SpatialReference) SetAuthority(target, authority string, code int) error + func (sr SpatialReference) SetAxisMappingStrategy(ams AxisMappingStrategy) + func (sr SpatialReference) SetBonne(standardParallel, centralMeridian, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetCEA(stdp1, centralMeridian, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetCS(centerLat, centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetCompoundCS(name string, horizontal, vertical SpatialReference) error + func (sr SpatialReference) SetEC(stdp1, stdp2, centerLat, centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetEckert(variation int, centralMeridian, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetEquirectangular(centerLat, centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetEquirectangularGeneralized(centerLat, centerLong, psuedoStdParallel, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetFromUserInput(name string) error + func (sr SpatialReference) SetGEOS(centralMeridian, satelliteHeight, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetGH(centralMeridian, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetGS(centralMeridian, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetGSTM(centerLat, centerLong, scale, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetGeocentricCS(name string) error + func (sr SpatialReference) SetGeographicCS(geogName, datumName, spheroidName string, semiMajor, flattening float64, ...) error + func (sr SpatialReference) SetGnomonic(centerLat, centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetHOM(...) error + func (sr SpatialReference) SetHOM2PNO(...) error + func (sr SpatialReference) SetIGH() error + func (sr SpatialReference) SetIWMPolyconic(lat1, lat2, centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetKrovak(...) error + func (sr SpatialReference) SetLAEA(centerLat, centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetLCC(stdp1, stdp2, centerLat, centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetLCC1SP(centerLat, centerLong, scale, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetLCCB(stdp1, stdp2, centerLat, centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetLinearUnits(name string, toMeters float64) error + func (sr SpatialReference) SetLinearUnitsAndUpdateParameters(name string, toMeters float64) error + func (sr SpatialReference) SetLocalCS(name string) error + func (sr SpatialReference) SetMC(centerLat, centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetMercator(centerLat, centerLong, scale, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetMollweide(centralMeridian, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetNZMG(centerLat, centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetNormalizedProjectionParameter(name string, value float64) error + func (sr SpatialReference) SetOS(originLat, meridian, scale, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetOrthographic(centerLat, centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetPS(centerLat, centerLong, scale, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetPolyconic(centerLat, centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetProjectedCS(name string) error + func (sr SpatialReference) SetProjectionByName(name string) error + func (sr SpatialReference) SetProjectionParameter(name string, value float64) error + func (sr SpatialReference) SetRobinson(centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetSOC(latitudeOfOrigin, centralMeridian, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetSinusoidal(centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetStatePlane(zone int, nad83 bool) error + func (sr SpatialReference) SetStatePlaneWithUnits(zone int, nad83 bool, unitName string, factor float64) error + func (sr SpatialReference) SetStereographic(centerLat, centerLong, scale, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetTM(centerLat, centerLong, scale, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetTMG(centerLat, centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetTMSO(centerLat, centerLong, scale, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetTMVariant(variantName string, ...) error + func (sr SpatialReference) SetTOWGS84(dx, dy, dz, ex, ey, ez, ppm float64) error + func (sr SpatialReference) SetTargetLinearUnits(target, units string, toMeters float64) error + func (sr SpatialReference) SetUTM(zone int, north bool) error + func (sr SpatialReference) SetVDG(centerLong, falseEasting, falseNorthing float64) error + func (sr SpatialReference) SetVerticalCS(csName, datumName string, datumType int) error + func (sr SpatialReference) SetWellKnownGeographicCS(name string) error + func (sr SpatialReference) TOWGS84() (coeff [7]float64, err error) + func (sr SpatialReference) TargetLinearUnits(target string) (string, float64) + func (sr SpatialReference) ToMICoordSys() (output string, errVal error) + func (sr SpatialReference) ToPCI() (proj, units string, params []float64, errVal error) + func (sr SpatialReference) ToPrettyWKT(simplify bool) (string, error) + func (sr SpatialReference) ToProj4() (string, error) + func (sr SpatialReference) ToUSGS() (proj, zone int, params []float64, datum int, errVal error) + func (sr SpatialReference) ToWKT() (string, error) + func (sr SpatialReference) ToXML() (xml string, errVal error) + func (sr SpatialReference) UTMZone() (zone int, north bool) + func (sr SpatialReference) Validate() error + type StyleMgr struct + type StyleTable struct + type StyleTool struct