source: addons/HeuristicLab.Problems.BioBoost/HeuristicLab.Problems.BioBoost/3.3/Persistence/StorableTypeMap.cs @ 17777

Last change on this file since 17777 was 17777, checked in by epitzer, 13 months ago

#3086 add transformers for GeometryFeatureProvider and IGeometry

File size: 1.6 KB
Line 
1using GeoAPI.Geometries;
2using HEAL.Attic;
3using SharpMap.Data.Providers;
4using System;
5using System.Collections.Generic;
6
7namespace HeuristicLab.Problems.BioBoost.Persistence {
8  public class StorableTypeMap : IStorableTypeMap {
9    public IEnumerable<Tuple<Guid, Type>> KnownStorableTypes {
10      get {
11        yield return Tuple.Create(new Guid("C0423505-BFE3-441A-B859-9414E5DA8843"), typeof(GeometryFeatureProvider));
12        yield return Tuple.Create(new Guid("9668D7D3-8EB1-4C78-B35E-206A1A967F05"), typeof(IGeometry));
13        yield return Tuple.Create(new Guid("46AD44B0-25ED-4193-8B62-3FCEBFB4397E"), typeof(NetTopologySuite.Geometries.Point));
14        yield return Tuple.Create(new Guid("8C7605E3-485D-4BC2-931D-F9CFD0462987"), typeof(NetTopologySuite.Geometries.MultiPoint));
15        yield return Tuple.Create(new Guid("79699D23-2B0C-4470-99FD-5B08B3E62314"), typeof(NetTopologySuite.Geometries.LineString));
16        yield return Tuple.Create(new Guid("EDB0B8F6-AFE0-4225-A0ED-F11D06AA590C"), typeof(NetTopologySuite.Geometries.MultiLineString));
17        yield return Tuple.Create(new Guid("80929154-A48A-4CEB-B23A-952F3026F925"), typeof(NetTopologySuite.Geometries.Polygon));
18        yield return Tuple.Create(new Guid("15191D96-A005-4BDE-BFFB-C011D4FCEE6B"), typeof(NetTopologySuite.Geometries.MultiPolygon));
19        yield return Tuple.Create(new Guid("F9A1463F-FCAB-4D7B-B9EE-513564EA4D4A"), typeof(NetTopologySuite.Geometries.Geometry));
20        yield return Tuple.Create(new Guid("1500FC16-421B-4FAB-89A0-7DA92C441F64"), typeof(NetTopologySuite.Geometries.GeometryCollection));
21
22      }
23    }
24  }
25}
Note: See TracBrowser for help on using the repository browser.