You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var featureSource=new PBFOsmStreamSource("pbf file").Where((osm)=>osm.Visible??true).ToComplete().ToFeatureSource();
int count=0;
foreach( var feature in featureSource)
{
count++;
}
When count is 71588, the osm object will be an realtion which id is 2988513, it will cause access violation exception.
It occur when run function CompleteRing in DefaultFeatureInterpreter.cs. It seems CompleteRing run in recursively, cause the stack overflow.
The text was updated successfully, but these errors were encountered:
Enumerate a pbf file (https://download.geofabrik.de/antarctica-latest.osm.pbf) by the following code:
var featureSource=new PBFOsmStreamSource("pbf file").Where((osm)=>osm.Visible??true).ToComplete().ToFeatureSource();
int count=0;
foreach( var feature in featureSource)
{
count++;
}
When count is 71588, the osm object will be an realtion which id is 2988513, it will cause access violation exception.
It occur when run function CompleteRing in DefaultFeatureInterpreter.cs. It seems CompleteRing run in recursively, cause the stack overflow.
The text was updated successfully, but these errors were encountered: