OsmSharp/data-providers

SQLServerDataSource is querying all related ways|relations, even with a filter applied like 'only nodes'

farukterzioglu opened this issue · 0 comments

Even we use a filter like;
"var filterNode = OsmSharp.Osm.Filters.Filter.Type(OsmSharp.Osm.OsmGeoType.Node);"

this guy;
"public override IList Get(GeoCoordinateBox box, Filter filter)"

queries all ways and relations in here ;
"res.AddRange(this.GetWaysFor(nodeIds));"

and then filters it in here;
" if (filter != null)...."

Same for other "DataSourceReadOnlyBase" implementations.