public IEnumerable<IFeature> GetFeatures(IEnvelope bbox, string filter, double scale) { IGeometry geom = new Topology.Geometries.Polygon(new LinearRing(new Coordinate[] { new Coordinate(bbox.MinX, bbox.MinY), new Coordinate(bbox.MaxX, bbox.MinY), new Coordinate(bbox.MaxX, bbox.MaxY), new Coordinate(bbox.MinX, bbox.MaxY), new Coordinate(bbox.MinX, bbox.MinY) })); return GetFeatures(geom, filter, scale); }
public IEnumerable <IFeature> GetFeatures(IEnvelope bbox, string filter, double scale) { IGeometry geom = new Topology.Geometries.Polygon(new LinearRing(new Coordinate[] { new Coordinate(bbox.MinX, bbox.MinY), new Coordinate(bbox.MaxX, bbox.MinY), new Coordinate(bbox.MaxX, bbox.MaxY), new Coordinate(bbox.MinX, bbox.MaxY), new Coordinate(bbox.MinX, bbox.MinY) })); return(GetFeatures(geom, filter, scale)); }