Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

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

Open
farukterzioglu opened this issue Oct 21, 2015 · 0 comments

Comments

@farukterzioglu
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant