Click or drag to resize

Ptv.XServer.Controls.Map.Tools Namespace

This namespace contains tool classes for support.

The GeoTransform class contains methods to transform from world to map and screen coordinates.

The WkbToGdi and WkbToWpf classes contain methods to convert an OGC well-known-binary byte array to GDI and WPF geometry types.

The LineReductionClipping class can be used to reduce the number of points for complex line string. This can be used to display large routes for the vector layer.

The TileBasedPointClustererT class can be used to implement a clustering mechanism for a large amount of map locations.

Classes
  ClassDescription
Public classClusterT
This class holds the information for a cluster.
Public classCohenSutherlandClipping

Cohen-Sutherland clipping - initially taken from http://en.wikipedia.org/wiki/Cohen%E2%80%93Sutherland.

Slightly modified to incorporate the .Net data types System.Windows.Rect and System.Windows.Point.

Public classColorExtensions
Helper class for changing a color value.
Public classEndPointQueryT
Documentation in progress...
Public classGeoTransform
Native class performing transformations of different coordinate formats.
Public classImageExtensions
Extensions for the streaming API.
Public classImageTools
Tool class for handling writable bitmaps.
Public classLineClusterT
This class holds the information for a cluster.
Public classLineInfoT
This class holds the information for a single point.
Public classLineReductionClipping
This class can be used to clip polylines to a given rectangle.
Public classLineReductionClippingPolylineBuilderP
Class for building a polyline out of several single line snippets. Internally used by the clipping algorithm, this class does all the work of storing and reducing the points passed in from the clipping algorithm.
Public classLogger
Helper class which extends the System.Diagnostics.TraceSource class by an own customized layout of the messages. For example, a time stamp is added and unnecessary information (event id) is removed.
Public classMapElementExtensions
Helper functions for the visual tree.
Public classMemoryCacheTKey, TValue
Generic class for caching objects in memory.
Public classMemoryCacheMultiThreaded
Memory cache accessible in multiple threads.
Public classObservableDictionaryTKey, TValue
Helper class providing an observable dictionary which sends notifications on add, remove and change.
Public classPointInfoT
This class holds the information for a single point.
Public classRectExtensions
Helper class extending the functionality of rectangles/envelopes.
Public classResourceHelper
Helper functions for handling resources.
Public classStartPointQueryT
Documentation in progress...
Public classStreamExtensions
Extensions for the streaming API.
Public classStringBuilderExtensions
Extensions helpful for StringBuilder class.
Public classTileBasedLineClustererT
Documentation in progress...
Public classTileBasedPointClustererT
This class creates cluster objects for points.
Public classTileCache
Class for caching the tile images.
Public classTransformFactory
The TransformFactory creates WPF transformations which can be used as RenderTransform for child canvases of the GeoCanvas object.
Public classWgsExtensions
Helper class for converting points and distance into different coordinate formats.
Public classWkbToGdi
Converts Well-known Binary representations to a GraphicsPath instance.
Public classWkbToWpf
Converts Well-known Binary representations to a WPF Geometry instance.
Public classWrappingStream
A Stream that wraps another stream. The major feature of WrappingStream is that it does not dispose the underlying stream when it is disposed; this is useful when using classes such as BinaryReader and CryptoStream that take ownership of the stream passed to their constructors.
Public classXMapMetaInfo
This class fetches xMapServer meta-information by requesting the xmap .properties file and includes other information needed to operate on XMapServer.
Public classXMapTools
Collects tooling methods for the XMap server.
Public classXServerUrl
Helper class for converting URL address into the correct format.
Structures
  StructureDescription
Public structureLineTile
Struct for a tile key.
Public structureTile
Struct for a tile key.
Interfaces
Enumerations
  EnumerationDescription
Public enumerationSpatialReference
Spatial reference systems which can directly used for WPF map.
Public enumerationWkbByteOrder
Specifies the byte order value.
Public enumerationWKBGeometryType
Specifies the geometry type value.