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: jany_ **
"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: jany_ **
Hi mogikani,
I'm sorry, but I don't know how to create a unit-test. Furthermore I don't think that it would be possible with VS 2012 Express.