ProjectionConverter¶
Namespace: ThinkGeo.Core
This class represents a projection that you wish to apply to a FeatureSource.
public class ProjectionConverter
Inheritance object → ProjectionConverter
Remarks:
This class is abstract and designed to be inherited to create your own projection. The derived projection classes are typically used on a FeatureSource or Layer. It is used to project coordinates from one projection to another and back again. It is important to note that you need to implement the projection both ways.
Properties¶
SuppressException¶
Gets or sets whether exceptions are suppressed (default ). Enable this to skip invalid projections instead of throwing.
public bool SuppressException { get; set; }
Property Value¶
DecimalDegreeBoundary¶
Gets or sets the DecimalDegreeBoundary.
public RectangleShape DecimalDegreeBoundary { get; set; }
Property Value¶
InternalProjection¶
Gets or sets the Proj4 text parameter for the from projection. This parameter typically look like "+Proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs".
public Projection InternalProjection { get; set; }
Property Value¶
ExternalProjection¶
Gets or sets the Proj4 text parameter for the to projection. This parameter typically look like "+proj=utm +zone=33 +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs".
public Projection ExternalProjection { get; set; }
Property Value¶
IsOpen¶
This property gets the state of the projection (whether it is opened or closed).
public bool IsOpen { get; protected set; }
Property Value¶
Remarks:
This method will reflect whether the projection is opened or closed. It is set in the concrete methods Open and Close, so if you inherit from this class and override OpenCore or CloseCore, you will not need to be concerned with setting this property.
CanConvertRasterToExternalProjection¶
Gets or sets the CanConvertRasterToExternalProjection.
public bool CanConvertRasterToExternalProjection { get; protected set; }
Property Value¶
InternalProjectionUnit¶
Gets or sets the InternalProjectionUnit.
public GeographyUnit InternalProjectionUnit { get; }
Property Value¶
Constructors¶
ProjectionConverter()¶
This is the default constructor for this class.
public ProjectionConverter()
Remarks:
This conctructor pass nothing. After this cconstructor , you should set the InternalProjectionParametersString property and ExternalProjectionParametersString property before open to use.
ProjectionConverter(string, string)¶
Initializes a new instance of the ProjectionConverter class.
public ProjectionConverter(string internalProjString, string externalProjString)
Parameters¶
internalProjString string
externalProjString string
ProjectionConverter(int, int)¶
Initializes a new instance of the ProjectionConverter class.
public ProjectionConverter(int internalSrid, int externalSrid)
Parameters¶
internalSrid int
externalSrid int
ProjectionConverter(string, int)¶
Initializes a new instance of the ProjectionConverter class.
public ProjectionConverter(string internalProjString, int externalSrid)
Parameters¶
internalProjString string
externalSrid int
ProjectionConverter(int, string)¶
Initializes a new instance of the ProjectionConverter class.
public ProjectionConverter(int internalSridString, string externalProjString)
Parameters¶
internalSridString int
externalProjString string
ProjectionConverter(Projection, Projection)¶
This is a constructor for the class.
public ProjectionConverter(Projection internalProjection, Projection externalProjection)
Parameters¶
internalProjection Projection
This parameter is the projection parameters describing the data.
externalProjection Projection
This parameter is the projection parameters describing the projection you want to go to.
Remarks:
+no_defs" You should use this constructor when you know the parameters. If you know the SRID directly you can use the other constructor that takes the SRID.
Methods¶
Open()¶
This method opens the projection and gets it ready to use.
public void Open()
Returns¶
void
None
Remarks:
This method opens the projection and gets it ready to use.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
ConvertToExternalProjection(GeoImage, RectangleShape, RectangleShape, int, int)¶
Converts to external projection.
public RasterProjectionResult ConvertToExternalProjection(GeoImage image, RectangleShape imageExtent, RectangleShape targetExtent, int width, int height)
Parameters¶
image GeoImage
The image instance to operate on.
imageExtent RectangleShape
The image extent.
targetExtent RectangleShape
The target extent.
width int
The width, in pixels.
height int
The height, in pixels.
Returns¶
RasterProjectionResult
The result of the operation.
ConvertToExternalProjection(GeoImage, RectangleShape)¶
Converts to external projection.
public RasterProjectionResult ConvertToExternalProjection(GeoImage image, RectangleShape imageExtent)
Parameters¶
image GeoImage
The image instance to operate on.
imageExtent RectangleShape
The image extent.
Returns¶
RasterProjectionResult
The result of the operation.
ConvertToExternalProjection(GeoImage, RectangleShape, RectangleShape)¶
Converts to external projection.
public RasterProjectionResult ConvertToExternalProjection(GeoImage image, RectangleShape imageExtent, RectangleShape targetExtent)
Parameters¶
image GeoImage
The image instance to operate on.
imageExtent RectangleShape
The image extent.
targetExtent RectangleShape
The target extent.
Returns¶
RasterProjectionResult
The result of the operation.
ConvertToExternalProjectionCore(GeoImage, RectangleShape, RectangleShape, int, int)¶
Provides the overridable implementation that converts to external projection.
protected RasterProjectionResult ConvertToExternalProjectionCore(GeoImage image, RectangleShape imageExtent, RectangleShape targetExtent, int width, int height)
Parameters¶
image GeoImage
The image instance to operate on.
imageExtent RectangleShape
The image extent.
targetExtent RectangleShape
The target extent.
width int
The width, in pixels.
height int
The height, in pixels.
Returns¶
RasterProjectionResult
The result of the operation.
OpenCore()¶
This method opens the projection and gets it ready to use.
protected void OpenCore()
Returns¶
void
None
Remarks:
As this is the core version of the Open method, it is intended to be overridden in an inherited version of the class. When overriding, you will be responsible for getting the projection classes' state ready for doing projections.
Close()¶
This method closes the projection and gets it ready for serialization if necessary.
public void Close()
Returns¶
void
None
Remarks:
necessary.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
CloseCore()¶
This method closes the projection and gets it ready for serialization if necessary.
protected void CloseCore()
Returns¶
void
None
Remarks:
As this is the core version of the Close method, it is intended to be overridden in an inherited version of the class. When overriding, you will be responsible freeing any state you have maintained and getting the class ready for serialization if necessary. Note that the object may be opened again, so you want to make sure you can open and close the object multiple times without any ill effects.
ConvertToExternalProjection(double, double)¶
This method returns a projected vertex based on the coordinates passed in.
public Vertex ConvertToExternalProjection(double x, double y)
Parameters¶
x double
This parameter is the X decimalDegreesValue of the point that will be projected.
y double
This parameter is the Y decimalDegreesValue of the point that will be projected.
Returns¶
Vertex
This method returns a projected vertex based on the coordinates passed in.
Remarks:
This method returns a projected vertex based on the coordinates passed in.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
ConvertToExternalProjection(BaseShape)¶
This method returns a projected BaseShape based on the baseShape passed in.
public BaseShape ConvertToExternalProjection(BaseShape baseShape)
Parameters¶
baseShape BaseShape
This parameter is the baseShape (in decimalDegreesValue) to be projected.
Returns¶
BaseShape
This method returns a projected baseShape for the passed-in BaseShape.
Remarks:
This method returns a projected baseShape based on the BaseShape passed in.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
ConvertToExternalProjection(Feature)¶
This method returns a projected Feature based on the Feature passed in.
public Feature ConvertToExternalProjection(Feature feature)
Parameters¶
feature Feature
This parameter is the Feature that contains a BaseShape in decimalDegreesValue to be projected.
Returns¶
Feature
This method returns a projected Feature for the passed-in Feature.
Remarks:
This method returns a projected Feature based on the Feature passed in.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
ConvertToExternalProjection(IEnumerable<Feature>)¶
Converts to external projection.
public Collection<Feature> ConvertToExternalProjection(IEnumerable<Feature> features)
Parameters¶
features IEnumerable<Feature>
The features.
Returns¶
Collection<Feature>
The result of the operation.
DBs=(Feature)¶
internal void DBs=(Feature feature)
Parameters¶
feature Feature
Returns¶
ConvertToExternalProjection(RectangleShape)¶
This method returns a projected rectangle based on the rectangle passed in.
public RectangleShape ConvertToExternalProjection(RectangleShape rectangleShape)
Parameters¶
rectangleShape RectangleShape
This parameter represents the rectangle you want to project.
Returns¶
RectangleShape
This method returns a projected rectangle based on the rectangle passed in.
Remarks:
This method returns a projected rectangle based on the rectangle passed in.
ConvertToExternalProjectionCore(IEnumerable<Vertex>)¶
This method returns projected vertices based on the coordinates passed in.
protected Collection<Vertex> ConvertToExternalProjectionCore(IEnumerable<Vertex> verticies)
Parameters¶
verticies IEnumerable<Vertex>
Specifies the verticies.
Returns¶
Remarks:
This method returns a projected vertex based on the coordinates passed in. You will need to override this method for the Projection class. Typically, you can call the projection utility library that has interfaces for dozens of different types of projections.
ConvertToExternalProjection(IEnumerable<Vertex>)¶
This method returns projected vertices based on the coordinates passed in.
public Collection<Vertex> ConvertToExternalProjection(IEnumerable<Vertex> vertices)
Parameters¶
vertices IEnumerable<Vertex>
This parameter is the vertices that will be projected.
Returns¶
Remarks:
This method returns a projected vertex based on the coordinates passed in. You will need to override this method for the Projection class. Typically, you can call the projection utility library that has interfaces for dozens of different types of projections.
ConvertToInternalProjection(double, double)¶
This method returns a de-projected vertex based on the coordinates passed in.
public Vertex ConvertToInternalProjection(double x, double y)
Parameters¶
x double
This parameter is the X decimalDegreesValue of the point that will be de-projected.
y double
This parameter is the Y decimalDegreesValue of the point that will be de-projected.
Returns¶
Remarks:
in.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
ConvertToInternalProjection(BaseShape)¶
This method returns a de-projected BaseShape based on the BaseShape passed in.
public BaseShape ConvertToInternalProjection(BaseShape baseShape)
Parameters¶
baseShape BaseShape
This parameter is the baseShape (in decimalDegreesValue) to be de-projected.
Returns¶
BaseShape
This method returns a de-projected BaseShape for the passed in BaseShape.
Remarks:
in.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
ConvertToInternalProjection(Feature)¶
This method returns a de-projected Feature based on the Feature passed in.
public Feature ConvertToInternalProjection(Feature feature)
Parameters¶
feature Feature
This parameter is the Feature that contains a BaseShape in decimalDegreesValue to be de-projected.
Returns¶
Feature
This method returns a de-projected Feature for the passed-in Feature.
Remarks:
This method returns a de-projected Feature based on the Feature passed in.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
ConvertToInternalProjection(IEnumerable<Vertex>)¶
This method returns de-projected vertices based on the coordinates passed in.
public Collection<Vertex> ConvertToInternalProjection(IEnumerable<Vertex> vertices)
Parameters¶
vertices IEnumerable<Vertex>
This parameter is the vertices that will be de-projected.
Returns¶
Remarks:
This method returns a de-projected vertex based on the coordinates passed in. The de-projection is important because, inside of the FeatureSource, you will in many cases go to and from various projections.
ConvertToInternalProjection(RectangleShape)¶
This method returns a de-projected rectangle based on the rectangle passed in.
public RectangleShape ConvertToInternalProjection(RectangleShape rectangleShape)
Parameters¶
rectangleShape RectangleShape
This parameter represents the rectangle you want to de-project.
Returns¶
Remarks:
ConvertToInternalProjectionCore(IEnumerable<Vertex>)¶
This method returns de-projected vertices based on the coordinates passed in.
protected Collection<Vertex> ConvertToInternalProjectionCore(IEnumerable<Vertex> verticies)
Parameters¶
verticies IEnumerable<Vertex>
Specifies the verticies.
Returns¶
Remarks:
This method returns a de-projected vertex based on the coordinates passed in. You will need to override this method for the Projection class. Typically, you can call the projection utility library that has interfaces for dozens of different types of projections. The de-projection is important because, inside of the FeatureSource, you will in many cases go to and from various projections.
DRs=(Feature)¶
internal void DRs=(Feature feature)
Parameters¶
feature Feature
Returns¶
ConvertToExternalProjection(Byte[])¶
This method returns projected well-known binary based on the well-known binary passed in.
public Byte[] ConvertToExternalProjection(Byte[] wellKnownBinary)
Parameters¶
wellKnownBinary Byte[]
This parameter represents the well-known binary shape you wish to project.
Returns¶
Remarks:
This method will project an entire shape in well-known binary. It is useful when you need to convert a large block of points.
ConvertToInternalProjection(Byte[])¶
This method returns de-projected well-known binary based on the well-known binary passed in.
public Byte[] ConvertToInternalProjection(Byte[] wellKnownBinary)
Parameters¶
wellKnownBinary Byte[]
This parameter represents the well-known binary shape you wish to project.
Returns¶
Remarks:
This method will de-project an entire shape in well-known binary. It is useful when you need to convert a large block of points.
Convert(int, int, PointShape)¶
Converts the specified value.
public static PointShape Convert(int fromSrid, int toSrid, PointShape sourcePoint)
Parameters¶
fromSrid int
The from srid.
toSrid int
The to srid.
sourcePoint PointShape
The source point.
Returns¶
PointShape
The result of the operation.
Convert(int, int, Feature)¶
Converts the specified value.
public static Feature Convert(int fromSrid, int toSrid, Feature feature)
Parameters¶
fromSrid int
The from srid.
toSrid int
The to srid.
feature Feature
The feature.
Returns¶
Feature
The result of the operation.
Convert(int, int, RectangleShape)¶
Converts the specified value.
public static RectangleShape Convert(int fromSrid, int toSrid, RectangleShape rectangleShape)
Parameters¶
fromSrid int
The from srid.
toSrid int
The to srid.
rectangleShape RectangleShape
The rectangle that defines the area of interest.
Returns¶
RectangleShape
The result of the operation.
Convert(int, int, IEnumerable<Feature>)¶
Converts the specified value.
public static IEnumerable<Feature> Convert(int fromSrid, int toSrid, IEnumerable<Feature> features)
Parameters¶
fromSrid int
The from srid.
toSrid int
The to srid.
features IEnumerable<Feature>
The features.
Returns¶
IEnumerable<Feature>
The result of the operation.
Convert(int, int, IEnumerable<Vertex>)¶
Converts the specified value.
public static IEnumerable<Vertex> Convert(int fromSrid, int toSrid, IEnumerable<Vertex> vertices)
Parameters¶
fromSrid int
The from srid.
toSrid int
The to srid.
vertices IEnumerable<Vertex>
The vertices.
Returns¶
IEnumerable<Vertex>
The result of the operation.
Convert(int, int, double, double)¶
Converts the specified value.
public static Vertex Convert(int fromSrid, int toSrid, double x, double y)
Parameters¶
fromSrid int
The from srid.
toSrid int
The to srid.
x double
The x-coordinate, in pixels.
y double
The y-coordinate, in pixels.
Returns¶
Vertex
The result of the operation.
Convert(int, string, PointShape)¶
Converts the specified value.
public static PointShape Convert(int fromSrid, string toProjString, PointShape sourcePoint)
Parameters¶
fromSrid int
The from srid.
toProjString string
The to proj string.
sourcePoint PointShape
The source point.
Returns¶
PointShape
The result of the operation.
Convert(int, string, Feature)¶
Converts the specified value.
public static Feature Convert(int fromSrid, string toProjString, Feature feature)
Parameters¶
fromSrid int
The from srid.
toProjString string
The to proj string.
feature Feature
The feature.
Returns¶
Feature
The result of the operation.
Convert(int, string, RectangleShape)¶
Converts the specified value.
public static RectangleShape Convert(int fromSrid, string toProjString, RectangleShape rectangleShape)
Parameters¶
fromSrid int
The from srid.
toProjString string
The to proj string.
rectangleShape RectangleShape
The rectangle that defines the area of interest.
Returns¶
RectangleShape
The result of the operation.
Convert(int, string, IEnumerable<Feature>)¶
Converts the specified value.
public static IEnumerable<Feature> Convert(int fromSrid, string toProjString, IEnumerable<Feature> features)
Parameters¶
fromSrid int
The from srid.
toProjString string
The to proj string.
features IEnumerable<Feature>
The features.
Returns¶
IEnumerable<Feature>
The result of the operation.
Convert(int, string, IEnumerable<Vertex>)¶
Converts the specified value.
public static IEnumerable<Vertex> Convert(int fromSrid, string toProjString, IEnumerable<Vertex> vertices)
Parameters¶
fromSrid int
The from srid.
toProjString string
The to proj string.
vertices IEnumerable<Vertex>
The vertices.
Returns¶
IEnumerable<Vertex>
The result of the operation.
Convert(int, string, double, double)¶
Converts the specified value.
public static Vertex Convert(int fromSrid, string toProjString, double x, double y)
Parameters¶
fromSrid int
The from srid.
toProjString string
The to proj string.
x double
The x-coordinate, in pixels.
y double
The y-coordinate, in pixels.
Returns¶
Vertex
The result of the operation.
Convert(Projection, Projection, PointShape)¶
Converts the specified value.
public static PointShape Convert(Projection fromProjection, Projection toProjection, PointShape sourcePoint)
Parameters¶
fromProjection Projection
The from projection.
toProjection Projection
The to projection.
sourcePoint PointShape
The source point.
Returns¶
PointShape
The result of the operation.
Convert(Projection, Projection, Feature)¶
Converts the specified value.
public static Feature Convert(Projection fromProjection, Projection toProjection, Feature feature)
Parameters¶
fromProjection Projection
The from projection.
toProjection Projection
The to projection.
feature Feature
The feature.
Returns¶
Feature
The result of the operation.
Convert(Projection, Projection, RectangleShape)¶
Converts the specified value.
public static RectangleShape Convert(Projection fromProjection, Projection toProjection, RectangleShape rectangleShape)
Parameters¶
fromProjection Projection
The from projection.
toProjection Projection
The to projection.
rectangleShape RectangleShape
The rectangle that defines the area of interest.
Returns¶
RectangleShape
The result of the operation.
Convert(Projection, Projection, IEnumerable<Feature>)¶
Converts the specified value.
public static IEnumerable<Feature> Convert(Projection fromProjection, Projection toProjection, IEnumerable<Feature> features)
Parameters¶
fromProjection Projection
The from projection.
toProjection Projection
The to projection.
features IEnumerable<Feature>
The features.
Returns¶
IEnumerable<Feature>
The result of the operation.
Convert(Projection, Projection, IEnumerable<Vertex>)¶
Converts the specified value.
public static IEnumerable<Vertex> Convert(Projection fromProjection, Projection toProjection, IEnumerable<Vertex> vertices)
Parameters¶
fromProjection Projection
The from projection.
toProjection Projection
The to projection.
vertices IEnumerable<Vertex>
The vertices.
Returns¶
IEnumerable<Vertex>
The result of the operation.
Convert(Projection, Projection, double, double)¶
Converts the specified value.
public static Vertex Convert(Projection fromProjection, Projection toProjection, double x, double y)
Parameters¶
fromProjection Projection
The from projection.
toProjection Projection
The to projection.
x double
The x-coordinate, in pixels.
y double
The y-coordinate, in pixels.
Returns¶
Vertex
The result of the operation.
Convert(string, int, PointShape)¶
Converts the specified value.
public static PointShape Convert(string fromProjString, int toSrid, PointShape sourcePoint)
Parameters¶
fromProjString string
The from proj string.
toSrid int
The to srid.
sourcePoint PointShape
The source point.
Returns¶
PointShape
The result of the operation.
Convert(string, int, Feature)¶
Converts the specified value.
public static Feature Convert(string fromProjString, int toSrid, Feature feature)
Parameters¶
fromProjString string
The from proj string.
toSrid int
The to srid.
feature Feature
The feature.
Returns¶
Feature
The result of the operation.
Convert(string, int, RectangleShape)¶
Converts the specified value.
public static RectangleShape Convert(string fromProjString, int toSrid, RectangleShape rectangleShape)
Parameters¶
fromProjString string
The from proj string.
toSrid int
The to srid.
rectangleShape RectangleShape
The rectangle that defines the area of interest.
Returns¶
RectangleShape
The result of the operation.
Convert(string, int, IEnumerable<Feature>)¶
Converts the specified value.
public static IEnumerable<Feature> Convert(string fromProjString, int toSrid, IEnumerable<Feature> features)
Parameters¶
fromProjString string
The from proj string.
toSrid int
The to srid.
features IEnumerable<Feature>
The features.
Returns¶
IEnumerable<Feature>
The result of the operation.
Convert(string, int, IEnumerable<Vertex>)¶
Converts the specified value.
public static IEnumerable<Vertex> Convert(string fromProjString, int toSrid, IEnumerable<Vertex> vertices)
Parameters¶
fromProjString string
The from proj string.
toSrid int
The to srid.
vertices IEnumerable<Vertex>
The vertices.
Returns¶
IEnumerable<Vertex>
The result of the operation.
Convert(string, int, double, double)¶
Converts the specified value.
public static Vertex Convert(string fromProjString, int toSrid, double x, double y)
Parameters¶
fromProjString string
The from proj string.
toSrid int
The to srid.
x double
The x-coordinate, in pixels.
y double
The y-coordinate, in pixels.
Returns¶
Vertex
The result of the operation.
Convert(string, string, PointShape)¶
Converts the specified value.
public static PointShape Convert(string fromProjString, string toProjString, PointShape sourcePoint)
Parameters¶
fromProjString string
The from proj string.
toProjString string
The to proj string.
sourcePoint PointShape
The source point.
Returns¶
PointShape
The result of the operation.
Convert(string, string, Feature)¶
Converts the specified value.
public static Feature Convert(string fromProjString, string toProjString, Feature feature)
Parameters¶
fromProjString string
The from proj string.
toProjString string
The to proj string.
feature Feature
The feature.
Returns¶
Feature
The result of the operation.
Convert(string, string, RectangleShape)¶
Converts the specified value.
public static RectangleShape Convert(string fromProjString, string toProjString, RectangleShape rectangleShape)
Parameters¶
fromProjString string
The from proj string.
toProjString string
The to proj string.
rectangleShape RectangleShape
The rectangle that defines the area of interest.
Returns¶
RectangleShape
The result of the operation.
Convert(string, string, IEnumerable<Feature>)¶
Converts the specified value.
public static IEnumerable<Feature> Convert(string fromProjString, string toProjString, IEnumerable<Feature> features)
Parameters¶
fromProjString string
The from proj string.
toProjString string
The to proj string.
features IEnumerable<Feature>
The features.
Returns¶
IEnumerable<Feature>
The result of the operation.
Convert(string, string, IEnumerable<Vertex>)¶
Converts the specified value.
public static IEnumerable<Vertex> Convert(string fromProjString, string toProjString, IEnumerable<Vertex> vertices)
Parameters¶
fromProjString string
The from proj string.
toProjString string
The to proj string.
vertices IEnumerable<Vertex>
The vertices.
Returns¶
IEnumerable<Vertex>
The result of the operation.
Convert(string, string, double, double)¶
Converts the specified value.
public static Vertex Convert(string fromProjString, string toProjString, double x, double y)
Parameters¶
fromProjString string
The from proj string.
toProjString string
The to proj string.
x double
The x-coordinate, in pixels.
y double
The y-coordinate, in pixels.
Returns¶
Vertex
The result of the operation.