示例#1
0
 public static GeoRssWhere ToGeoRssWhere(this MultiLineString mlinestring)
 {
     if (mlinestring.LineStrings.Count() > 1)
     {
         return(new GeoRssWhere()
         {
             Item = new MultiLineStringType[] { mlinestring.ToGmlMultiLineString() }, Type = "multilinestring"
         });
     }
     else
     {
         return(new GeoRssWhere()
         {
             Item = new LineStringType[] { mlinestring.LineStrings.First().ToGmlLineString() }
         });
     }
 }