private void UpdateVectorPtrs(Feature feature) { if (feature.VectorPtrs != null) { foreach (var vectorPtr in feature.VectorPtrs) { if (vectorPtr.Vector == null) { VectorName vectorName = vectorPtr.Name; string key = string.Format("{0}-{1}", mapIndex, vectorName.ToString()); if (Vectors.ContainsKey(key)) { var vector = Vectors[key]; vectorPtr.Vector = vector; } else { notFoundGeometries.Add(feature.lnam.ToString()); } } } } }
private string VectorKey(VectorName vectorName) { return(string.Format("{0}-{1}", mapIndex, vectorName.ToString())); }