C# Class IsraelHiking.API.Converters.GpxGeoJsonConverter

Inheritance: IGpxGeoJsonConverter
ファイルを表示 Open project: IsraelHikingMap/Site Class Usage Examples

Public Methods

Method Description
ToGeoJson ( gpxType gpx ) : NetTopologySuite.Features.FeatureCollection
ToGpx ( NetTopologySuite.Features.FeatureCollection collection ) : gpxType

Private Methods

Method Description
CreateGeoPosition ( wptType wayPoint ) : Coordinate
CreateMultiLineProperties ( string name, string creator ) : IAttributesTable
CreateNameProperties ( string name ) : IAttributesTable
CreateRouteFromLineString ( IFeature lineStringFeature ) : rteType
CreateRouteFromPolygon ( IFeature lineStringFeature ) : rteType
CreateRoutesFromMultiPolygon ( IFeature multiPolygonFeature ) : rteType[]
CreateTracksFromMultiLineString ( IFeature multiLineStringFeature ) : trkType[]
CreateWayPoint ( Coordinate position, string name ) : wptType
CreateWayPoint ( IFeature pointFeature ) : wptType
CreateWayPointsFromMultiPoint ( IFeature pointFeature ) : wptType[]
GetFeatureName ( IFeature feature ) : string

Method Details

ToGeoJson() public method

public ToGeoJson ( gpxType gpx ) : NetTopologySuite.Features.FeatureCollection
gpx gpxType
return NetTopologySuite.Features.FeatureCollection

ToGpx() public method

public ToGpx ( NetTopologySuite.Features.FeatureCollection collection ) : gpxType
collection NetTopologySuite.Features.FeatureCollection
return gpxType