Like written in [discussion:252794 Find Feature Geometry from attribute query](https://dotspatial.codeplex.com/discussions/252794) I got the Error
"The given key was not present in the dictionary." while trying to select features by attribute.
I wrote a fix, that populated the FeatureLookup if it is empty or it contains a different number of features than the features-Featurelist.
I uploaded the fixed FeatureSet.cs here instead of as a patch because I'm not sure, whether that is the correct way to remove this Error.
Comments: ** Comment from web user: mogikanin **
"The given key was not present in the dictionary." while trying to select features by attribute.
I wrote a fix, that populated the FeatureLookup if it is empty or it contains a different number of features than the features-Featurelist.
I uploaded the fixed FeatureSet.cs here instead of as a patch because I'm not sure, whether that is the correct way to remove this Error.
Comments: ** Comment from web user: mogikanin **
Hi, can you create a minimal sample (unit-test) to reproduce this issue? I think i need to investigate the problem a bit deeper.