Back to Devexpress

UTMCartesianToGeoConverter Class

wpf-devexpress-dot-xpf-dot-map-8e4a03cb.md

latest3.2 KB
Original Source

UTMCartesianToGeoConverter Class

Converter that transforms data from the Universal Transverse Mercator projected coordinate system to the geographic coordinate system.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public class UTMCartesianToGeoConverter :
    CoordinateConverterCoreWrapper
vb
Public Class UTMCartesianToGeoConverter
    Inherits CoordinateConverterCoreWrapper

Example

View Example

xaml
<local:MapData FileUri="Shapefiles/TransverseMercator/israel.shp">
    <local:MapData.CoordinateSystem>
        <dxm:CartesianSourceCoordinateSystem>
            <dxm:CartesianSourceCoordinateSystem.CoordinateConverter>
                <dxm:UTMCartesianToGeoConverter UtmZone="36" Hemisphere="Northern"/>
            </dxm:CartesianSourceCoordinateSystem.CoordinateConverter>
        </dxm:CartesianSourceCoordinateSystem>
    </local:MapData.CoordinateSystem>
</local:MapData>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UTMCartesianToGeoConverter class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

map-wpf-manually-load-a-cartesian-map-shapefile/CS/BuildInCoordinateConverters/MainWindow.xaml#L77

xml
<dxm:CartesianSourceCoordinateSystem.CoordinateConverter>
    <dxm:UTMCartesianToGeoConverter UtmZone="36" Hemisphere="Northern"/>
</dxm:CartesianSourceCoordinateSystem.CoordinateConverter>

Inheritance

Object DispatcherObject DependencyObject Freezable MapDependencyObject CoordinateConverterBase DevExpress.Xpf.Map.CoordinateConverterCoreWrapper UTMCartesianToGeoConverter

See Also

UTMCartesianToGeoConverter Members

DevExpress.Xpf.Map Namespace