public static GeoRss10Where ToGeoRss10Where(this MultiPoint mpoint)
 {
     return(new GeoRss10Where()
     {
         Item = mpoint.ToGmlMultiPoint()
     });
 }
Ejemplo n.º 2
0
 public static GeoRssWhere ToGeoRssWhere(this MultiPoint mpoint)
 {
     if (mpoint.Points.Count() > 1)
     {
         return(new GeoRssWhere()
         {
             Item = new MultiPointType[] { mpoint.ToGmlMultiPoint() }, Type = "multipoint"
         });
     }
     else
     {
         return(new GeoRssWhere()
         {
             Item = new PointType[] { mpoint.Points.First().ToGmlPoint() }
         });
     }
 }