コード例 #1
0
 static public byte[] GeometryToWkb(GeoJSON.Net.Geometry.IGeometryObject p_Geometry)
 {
     return(WkbEncode.Encode(p_Geometry));
 }
コード例 #2
0
 static public DbGeography GeometryToDbGeography(GeoJSON.Net.Geometry.IGeometryObject p_Geometry)
 {
     return(DbGeography.FromBinary(WkbEncode.Encode(p_Geometry)));
 }