Class PostGisWrapper
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Core.Data.Wrapper
Assembly: Mars.Core.dll
Syntax
public class PostGisWrapper : AbstractOperationWrapper, INearestOperation, ICircleQueryOperation, IWindowQueryOperation, IIntersectionOperation, IQueryOperation, IOperation, IPlatform, IDisposable
Constructors
| Improve this Doc View SourcePostGisWrapper(AbstractEndpointOptions, String, TypeElement)
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public PostGisWrapper(AbstractEndpointOptions connectionOptions, string simulationIdentifier, TypeElement typeElement)
Parameters
Type | Name | Description |
---|---|---|
AbstractEndpointOptions | connectionOptions | |
System.String | simulationIdentifier | |
TypeElement | typeElement |
PostGisWrapper(AbstractEndpointOptions, String, String)
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public PostGisWrapper(AbstractEndpointOptions connectionOptions, string simulationIdentifier, string sourceIdentifier)
Parameters
Type | Name | Description |
---|---|---|
AbstractEndpointOptions | connectionOptions | |
System.String | simulationIdentifier | |
System.String | sourceIdentifier |
PostGisWrapper(NpgsqlConnection, String, String)
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public PostGisWrapper(NpgsqlConnection connection, string simulationIdentifier, string sourceIdentifier)
Parameters
Type | Name | Description |
---|---|---|
Npgsql.NpgsqlConnection | connection | |
System.String | simulationIdentifier | |
System.String | sourceIdentifier |
Properties
| Improve this Doc View SourcePlatformDescriptor
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override ProcessingTargetType PlatformDescriptor { get; }
Property Value
Type | Description |
---|---|
ProcessingTargetType |
Overrides
Methods
| Improve this Doc View SourceCircle(Position, Double)
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public IEnumerable<int> Circle(Position source, double radius)
Parameters
Type | Name | Description |
---|---|---|
Position | source | |
System.Double | radius |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Clear()
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override void Clear()
Overrides
| Improve this Doc View SourceContains(Int32)
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override bool Contains(int key)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceDispose()
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override void Dispose()
Overrides
| Improve this Doc View SourceInsert(Int32, IDomainData)
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override void Insert(int key, IDomainData data)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key | |
IDomainData | data |
Overrides
| Improve this Doc View SourceIntersects(Geometry)
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public IEnumerable<int> Intersects(Geometry geometry)
Parameters
Type | Name | Description |
---|---|---|
NetTopologySuite.Geometries.Geometry | geometry |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Nearest(Position, Int32)
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public IEnumerable<int> Nearest(Position source, int k)
Parameters
Type | Name | Description |
---|---|---|
Position | source | |
System.Int32 | k |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
ReadKeys(Query)
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public IEnumerable<int> ReadKeys(Query query)
Parameters
Type | Name | Description |
---|---|---|
Query | query |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Remove(Int32)
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override void Remove(int key)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key |
Overrides
| Improve this Doc View SourceScanGeometries()
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override IEnumerable<IDomainData> ScanGeometries()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IDomainData> |
Overrides
| Improve this Doc View SourceScanKeys()
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override IEnumerable<int> ScanKeys()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Overrides
| Improve this Doc View SourceUpdate(Int32, IDomainData)
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override void Update(int key, IDomainData data)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key | |
IDomainData | data |
Overrides
| Improve this Doc View SourceWindow(Position, Position)
PostGIS database wrapper with active spatial RTree index to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public IEnumerable<int> Window(Position lowerLeft, Position upperRight)
Parameters
Type | Name | Description |
---|---|---|
Position | lowerLeft | |
Position | upperRight |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Implements
System.IDisposable