public FeatureCollection GetCombinedBoundariesAndRates(int year, int quarter, int outSR = _defaultSrid) { ProjectionInfo targetProjection = outSR == _defaultSrid ? null : ProjectionInfo.FromEpsgCode(outSR); var boundaries = DorTaxRateReader.EnumerateLocationCodeBoundariesWithTaxRates(new QuarterYear(year, quarter), targetProjection); var featureCollection = boundaries.ToNtsFeatureCollection(outSR, _omittedFields); return(featureCollection); }
public void GetCombinedTaxBoundaryFeatures() { var boundaries = DorTaxRateReader.EnumerateLocationCodeBoundariesWithTaxRates(QuarterYear.Current); foreach (var feature in boundaries) { Assert.IsNotNull(feature, "No featurre should be null."); Assert.IsTrue(feature.DataRow.ItemArray.Length >= 8); CollectionAssert.AllItemsAreNotNull(feature.DataRow.ItemArray, "All columns should have values."); } }