public static T ToGeoJSONObject <T>(this DbGeometry dbGeometry) where T : GeoJSONObject { return(dbGeometry.ToGeoJSONGeometry() as T); }