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