User Tools

Site Tools


thinkgeo.mapsuite.portablecore.tinygeofeaturelayer

ThinkGeo.MapSuite.Core.TinyGeoFeatureLayer

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

This class represents a FeatureLayer of TinyGeo File by ThinkGeo.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Core.Layer
      • ThinkGeo.MapSuite.Core.FeatureLayer
        • ThinkGeo.MapSuite.Core.TinyGeoFeatureLayer

Members Summary

Public Constructors

TinyGeoFeatureLayer()

  • This is the class constructor.
Remarks
  • None
Parameters

TinyGeoFeatureLayer(String)

  • This is the class constructor.
Remarks
  • None
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:N/A

TinyGeoFeatureLayer(String,String)

  • This is the class constructor.
Remarks
  • None
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:N/A
  • password
    • Type:String
    • Description:This parameter represents the password to the .tgeo file.

Protected Constructors

Public Methods

GetTinyGeoFileType()

  • N/A
Remarks
  • N/A
Return Value
Parameters

GetThreadSafetyLevel()

  • N/A
Remarks
  • N/A
Return Value
Parameters

CloneDeep()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Layer
  • Description:N/A
Parameters

Open()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

Close()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetBoundingBox()

  • N/A
Remarks
  • N/A
Return Value
Parameters

Draw(GeoCanvas,Collection<SimpleCandidate>)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

RequestDrawing()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

RequestDrawing(RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

RequestDrawing(IEnumerable<RectangleShape>)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

RequestDrawing(TimeSpan)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

RequestDrawing(RectangleShape,TimeSpan)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

RequestDrawing(IEnumerable<RectangleShape>,TimeSpan)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

CreateTinyGeoFile(String,String,GeographyUnit,ReturningColumnsType)

  • Static API to create a new TinyGeo file from an existed shape file.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target TinyGeo file.
  • shapePathFileName
    • Type:String
    • Description:This parameter specifies the file name for the existed shape file.
  • unitOfData
    • Description:This parameter specifies the Geography Unit of the data.
  • returningColumnType
    • Description:This parameter specifies whether the columns info in shape file will be copied to TinyGeo file.

CreateTinyGeoFile(String,String,GeographyUnit,ReturningColumnsType,Double)

  • Static API to create a new TinyGeo file from an existed shape file.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target TinyGeo file.
  • shapePathFileName
    • Type:String
    • Description:This parameter specifies the file name for the existed shape file.
  • unitOfData
    • Description:This parameter specifies the Geography Unit of the data.
  • returningColumnType
    • Description:This parameter specifies whether the columns info in shape file will be copied to TinyGeo file.
  • precisionInMeter
    • Type:Double
    • Description:This parameter spcifies in double what is the precision in Meter of the target TinyGeo file.

CreateTinyGeoFile(String,String,GeographyUnit,ReturningColumnsType,String)

  • Static API to create a new TinyGeo file from an existed shape file.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target TinyGeo file.
  • shapePathFileName
    • Type:String
    • Description:This parameter specifies the file name for the existed shape file.
  • unitOfData
    • Description:This parameter specifies the Geography Unit of the data.
  • returningColumnType
    • Description:This parameter specifies whether the columns info in shape file will be copied to TinyGeo file.
  • password
    • Type:String
    • Description:This parameter spcifies the password of the target TinyGeo file.

CreateTinyGeoFile(String,String,GeographyUnit,ReturningColumnsType,String,Double)

  • Static API to create a new TinyGeo file from an existed shape file.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target TinyGeo file.
  • shapePathFileName
    • Type:String
    • Description:This parameter specifies the file name for the existed shape file.
  • unitOfData
    • Description:This parameter specifies the Geography Unit of the data.
  • returningColumnType
    • Description:This parameter specifies whether the columns info in shape file will be copied to TinyGeo file.
  • password
    • Type:String
    • Description:This parameter spcifies the password of the target TinyGeo file.
  • precisionInMeter
    • Type:Double
    • Description:This parameter spcifies in double what is the precision in Meter of the target TinyGeo file.

CreateTinyGeoFile(String,String,GeographyUnit,IEnumerable<String>)

  • Static API to create a new TinyGeo file from an existed shape file.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target TinyGeo file.
  • shapePathFileName
    • Type:String
    • Description:This parameter specifies the file name for the existed shape file.
  • unitOfData
    • Description:This parameter specifies the Geography Unit of the data.
  • columnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the columns in shape file which will be copied to TinyGeo file.

CreateTinyGeoFile(String,String,GeographyUnit,IEnumerable<String>,Double)

  • Static API to create a new TinyGeo file from an existed shape file.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target TinyGeo file.
  • shapePathFileName
    • Type:String
    • Description:This parameter specifies the file name for the existed shape file.
  • unitOfData
    • Description:This parameter specifies the Geography Unit of the data.
  • columnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the columns in shape file which will be copied to TinyGeo file.
  • precisionInMeter
    • Type:Double
    • Description:This parameter spcifies in double what is the precision in Meter of the target TinyGeo file.

CreateTinyGeoFile(String,String,GeographyUnit,IEnumerable<String>,String)

  • Static API to create a new TinyGeo file from an existed shape file.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target TinyGeo file.
  • shapePathFileName
    • Type:String
    • Description:This parameter specifies the file name for the existed shape file.
  • unitOfData
    • Description:This parameter specifies the Geography Unit of the data.
  • columnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the columns in shape file which will be copied to TinyGeo file.
  • password
    • Type:String
    • Description:This parameter spcifies the password of the target TinyGeo file.

CreateTinyGeoFile(String,String,GeographyUnit,IEnumerable<String>,String,Double)

  • Static API to create a new TinyGeo file from an existed shape file.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target TinyGeo file.
  • shapePathFileName
    • Type:String
    • Description:This parameter specifies the file name for the existed shape file.
  • unitOfData
    • Description:This parameter specifies the Geography Unit of the data.
  • columnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the columns in shape file which will be copied to TinyGeo file.
  • password
    • Type:String
    • Description:This parameter spcifies the password of the target TinyGeo file.
  • precisionInMeter
    • Type:Double
    • Description:This parameter spcifies in double what is the precision in Meter of the target TinyGeo file.

CreateTinyGeoFile(String,String,GeographyUnit,IEnumerable<String>,String,Double,Encoding)

  • Static API to create a new TinyGeo file from an existed shape file.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target TinyGeo file.
  • shapePathFileName
    • Type:String
    • Description:This parameter specifies the file name for the existed shape file.
  • unitOfData
    • Description:This parameter specifies the Geography Unit of the data.
  • columnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the columns in shape file which will be copied to TinyGeo file.
  • password
    • Type:String
    • Description:This parameter spcifies the password of the target TinyGeo file.
  • precisionInMeter
    • Type:Double
    • Description:This parameter spcifies in double what is the precision in Meter of the target TinyGeo file.
  • shapeEncoding
    • Type:Encoding
    • Description:This parameter specifies the encoding of the existed shape file.

CreateTinyGeoFile(String,FeatureLayer,GeographyUnit,IEnumerable<String>,String,Double,Encoding,WellKnownType)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tinyGeoPathFilename
    • Type:String
    • Description:N/A
  • columnNames
    • Type:IEnumerable<String>
    • Description:N/A
  • password
    • Type:String
    • Description:N/A
  • precisionInMeter
    • Type:Double
    • Description:N/A
  • shapeEncoding
    • Type:Encoding
    • Description:N/A

GetOptimalPrecision(String,GeographyUnit,DistanceUnit,TinyGeoPrecisionMode)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double
  • Description:N/A
Parameters
  • shapePathFileName
    • Type:String
    • Description:N/A

GetOptimalPrecision(FeatureLayer,GeographyUnit,DistanceUnit,TinyGeoPrecisionMode)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double
  • Description:N/A
Parameters

EncryptTinyGeoFile(String,String,String)

  • Encrypt an existed TinyGeo File and save it as a new TinyGeo File.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • unencryptedTinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the source unencrypted TinyGeo file.
  • encryptedTinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target encrypted TinyGeo file.
  • password
    • Type:String
    • Description:This parameter specified the password of the target encrypted TinyGeo file.

DecryptTinyGeoFile(String,String,String)

  • Decrypt an existed encrypted TinyGeo File and save it as a new TinyGeo File.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • encryptedTinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the source encrypted TinyGeo file.
  • decryptedTinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target decrypted TinyGeo file.
  • password
    • Type:String
    • Description:This parameter specified the password of the source encrypted TinyGeo file.

Protected Methods

OnDrawingFeatures(DrawingFeaturesEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawingWrappingFeatures(DrawingWrappingFeaturesFeatureLayerEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

SetupTools()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

SetupToolsCore()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OpenCore()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

CloseCore()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetBoundingBoxCore()

  • N/A
Remarks
  • N/A
Return Value
Parameters

DrawCore(GeoCanvas,Collection<SimpleCandidate>)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnRequestingDrawing(RequestingDrawingLayerEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetThreadSafetyLevelCore()

  • N/A
Remarks
  • N/A
Return Value
Parameters

CloneDeepCore()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Layer
  • Description:N/A
Parameters

DrawException(GeoCanvas,Exception)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e
    • Type:Exception
    • Description:N/A

DrawExceptionCore(GeoCanvas,Exception)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e
    • Type:Exception
    • Description:N/A

OnDrawingException(DrawingExceptionLayerEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawnException(DrawnExceptionLayerEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

DrawAttributionCore(GeoCanvas,String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • attribution
    • Type:String
    • Description:N/A

OnDrawingAttribution(DrawingAttributionLayerEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawnAttribution(DrawnAttributionLayerEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawingProgressChanged(DrawingProgressChangedEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnRequestedDrawing(RequestedDrawingLayerEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

HasBoundingBox

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

TinyGeoPathFileName

  • This property returns the path and file of the TinyGeo file you want to use.
Remarks
  • When you specify the path and file name it should be in the correct format as such however the file does not need to exists on the file system. This is to allow us to accept streams supplied by the developer at runtime. If you choose to provide a file that exists then we will attempt to use it. If we cannot find it then we will raise the SteamLoading event and allow you to supply the stream. For example you can pass in “C:\NotARealPath\File1.tgeo” which does not exists on the file system. When we raise the event for you to supply a stream we will pass to you the path and file name for you to differentiate the files.
Return Value
  • Type:String

Password

  • This property gets or sets the password of the TinyGeo file.
Remarks
  • N/A
Return Value
  • Type:String

WrappingExtent

  • N/A
Remarks
  • N/A
Return Value

WrappingMode

  • N/A
Remarks
  • N/A
Return Value

EditTools

  • N/A
Remarks
  • N/A
Return Value

FeatureIdsToExclude

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<String>

QueryTools

  • N/A
Remarks
  • N/A
Return Value

MaxRecordsToDraw

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32

DrawingMarginInPixel

  • N/A
Remarks
  • N/A
Return Value
  • Type:Single

FeatureSource

  • N/A
Remarks
  • N/A
Return Value

DrawingQuality

  • N/A
Remarks
  • N/A
Return Value

ZoomLevelSet

  • N/A
Remarks
  • N/A
Return Value

DrawingMarginPercentage

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double

IsOpen

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

DrawingTime

  • N/A
Remarks
  • N/A
Return Value
  • Type:TimeSpan

Name

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

IsVisible

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

Transparency

  • N/A
Remarks
  • N/A
Return Value
  • Type:Single

IsNegative

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

IsGrayscale

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

DrawingExceptionMode

  • N/A
Remarks
  • N/A
Return Value

Attribution

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

RequestDrawingInterval

  • N/A
Remarks
  • N/A
Return Value
  • Type:TimeSpan

Protected Properties

FetchedCount

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int64

FetchedBytes

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int64

StyleTime

  • N/A
Remarks
  • N/A
Return Value
  • Type:TimeSpan

FetchTime

  • N/A
Remarks
  • N/A
Return Value
  • Type:TimeSpan

IsOpenCore

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

Public Events

StreamLoading

  • This event allows you to pass in your own stream to represent the files.
Remarks
  • If you choose you can pass in your own stream to represent the file. The stream can come from a variety of places such as isolated storage, a compressed file, and encrypted stream. When the Image is finished with the stream it will dispose of it so be sure to keep this in mind when passing the stream in. If you do not pass in a alternate stream the class will attempt to load the file from the file system using the TinyGeoPathFileName property.

Event Arguments:StreamLoadingEventArgs

DrawingFeatures

  • N/A
Remarks
  • N/A

Event Arguments:DrawingFeaturesEventArgs

DrawingWrappingFeatures

  • N/A
Remarks
  • N/A

Event Arguments:DrawingWrappingFeaturesFeatureLayerEventArgs

DrawingException

  • N/A
Remarks
  • N/A

Event Arguments:DrawingExceptionLayerEventArgs

DrawingProgressChanged

  • N/A
Remarks
  • N/A

Event Arguments:DrawingProgressChangedEventArgs

DrawnException

  • N/A
Remarks
  • N/A

Event Arguments:DrawnExceptionLayerEventArgs

DrawingAttribution

  • N/A
Remarks
  • N/A

Event Arguments:DrawingAttributionLayerEventArgs

DrawnAttribution

  • N/A
Remarks
  • N/A

Event Arguments:DrawnAttributionLayerEventArgs

RequestedDrawing

  • N/A
Remarks
  • N/A

Event Arguments:RequestedDrawingLayerEventArgs

RequestingDrawing

  • N/A
Remarks
  • N/A

Event Arguments:RequestingDrawingLayerEventArgs

thinkgeo.mapsuite.portablecore.tinygeofeaturelayer.txt · Last modified: 2017/03/16 21:59 (external edit)