|
|
|
|
|
|
|
|
|
Reference Library > Wiki Pages > Common .NET SDK
|
Common .NET SDK
|
|
|
|
|
|
Overview
The ISC.MapDotNetServer.Common namespace contains the classes used to represent spatial data and to encapsulate communications between MapDotNet Server Controls and Web Services.
The Common SDK includes all the classes used to represent shapes, discussed in detail here. Shape classes include Coords, Hole, Multipoint, Path, Point, PoitSetShape (abstract), Polygon, Polyline, Ring, and Shape (abstract).
Other classes in the Common SDK include
- ConnectionTypes - enumeration of map layer connection types indicating what sort of data source hosts the layer data.
- CoordSys - used to provide coordinate reference information in certain classes used to communicate with MapDotNet Server web services.
- DefaultStyle - used by the MapControlBridge to set up default styles for displaying dynamically added spatial data on a map. The MapControlBridge's DefaultStyle property can be edited at design time.
- EditRequest - encapsulates a request to insert, update, or delete spatial data. Used as an argument to MapControlBridge.Edit. See Shape Editing for code samples.
- Envelope - represents rectangular spatial bounds. Not a shape class, but provides ToPolygon and ToPolyline to get equivalent shapes.
- Layer - represents a map layer, either from a baseline map state or added or modified dynamically.
- LayerClass - represents a layer "CLASS" object, that is, instructions on how to symbolize the layer.
- Legend - represents a map legend. Note the contained LegendStatus enumeration and the Status property- set the legend status to "Embed" to include a legend in a map image. MapDotNet Server applications usually don't do this- the MapTOC class is used in place of a map legend.
- Licensing - used to represent web service licensing models. Not generally used by client code.
- Map - represents a map. A map is initially read from a MapServer map file (the "baseline" map) and modified by the application using it.
- MapClientState - used in page script methods to represent control state data passed from the client page in an AJAX callback.
- MapClientStateUpdate - returned by page script methods to be used by client callback methods to update client state based on the result of the callback.
- MapRequest - encapsulates a request for map rendering passed to the MapDotNet Server Map Web Service. The Map property of the map request contains the collection of Layers to process.
- MapResponse - encapsulates the reponse from the MapDotNet Server Map Web Service to a MapRequest.
- MDNSerializer - used to serialize classes used by MapDotNet Server into binary or XML representations for transport between web services and calling applications.
- OutputFormat - represents an image format that maps can be rendered in.
- OverlayPNG - represents an overlay to render on top of a map image, including both the image and instructions for placement of the image.
- PointSymbols - static methods to create symbols (Polygon shapes) from Point shapes
- PolySimplifier - an implementation of the Douglas Peucker simplification routine. This is used to simplify polygons and polylines.
- Query - represents a single query within a QueryRequest object.
- QueryRequest - encapsulates one or more feature queries. Used as an argument to MapControlBridge.Query, which returns a QueryResponse object. In the Shape Editing code sample, the FindEditShape method calls MapControlBridge.Query.
- QueryResponse - encapsulates the results fromn a QueryRequest. The Error property represents a global error. The QueryResultTables property is a list of QueryResultTable objects.
- QueryResultTable - encapsulates the result of a single query within a QueryRequest. The Error property is an error that arose for the specific query. Name is the layer queried. Fields is an ordered list of fields returned. QueryResultRows is a list of QueryResultRow objects representing the rows returned by the query.
- QueryResultRow - encapsulates a single row of data returned for a query. ShapeSerial is the serialized shape. Values is a string list of field values in the same order as the Fields collection of the associated QueryResultTable.
- QuerySort - represents instructions on how to sort the results from a query.
- Scalebar - represents a scale bar for a map. Note the contained ScalebarStatus enumeration and the Status property- set the status to "Embed" to include a scale bar in a map image.
- Separators - a property of shape, used by the ToString property of the Coords object associated with certain shapes to indicate how to separate coordinate and tuple values.
- SerializableDictionary - an extension of the Dictionary<keyType, valueType> collection to support serialization of the collection.
- ShapeFilterOperations - enumeration of ways a shape can be used to locate other shapes in a QueryRequest.
- ShapeOperationException, ShapeOperationUnsupportedException - exceptions thrown when appropriate by methods of Shape classes.
- ShapeTypes.cs - enumeration of top-level shapes supported by MapServer, see Geometry and Shapes.
- Style - represents use of a particular symbol or line drawing style or polygon fill style or labelling style within a LayerClass. The LayerClass.Styles collection contains all relevant styles for the layer class except the labelling style which is held by the Label property.
- Symbol - represents a symbol used by a particular style. Map.SymbolSet is the collection of symbols used by a map. Style.SymbolIndex is a numeric index into this collection. Symbols may be point (marker), line, or fill symbols.
- TOCClientState - represents the client state of a MapTOC control. MapClientState.TOCState is an instance of this.
- TOCClientStateUpdate - represents an update to a MapTOC's client state. MapClientStateUpdate.TOCUpdate is an instance of this.
- TransformRequest - encapsulates a request to transform shapes from one coordinate system reference to another. Reference systems are represented by CoordSys objects..
- TransformResponse - encapsulates the results of a TransformRequest.
- Utility - static methods of use in mapping applications.
- Web - represents the WEB element of a map file.
- WellKnownText - static methods for converting between Shapes and their WKT (well known text) representations.
|
Last modified at 11/11/2008 6:09 PM by WEB\mark
|
|
|
|
 |
 |
 |
 |
|