Beispiel #1
0
        public void GisVectorLayerTest_Intersects_false()
        {
            var parkBorder = new GisVectorLayer.GisVectorLayer(ParkBorder);
            var agentPaths = new GisVectorLayer.GisVectorLayer(AgentPaths);

            Assert.False(parkBorder.Intersects(agentPaths.Features[0]));
        }
Beispiel #2
0
        public void GisVectorLayerTest_Intersects_true()
        {
            var parkBorder = new GisVectorLayer.GisVectorLayer(ParkBorder);
            var agentPaths = new GisVectorLayer.GisVectorLayer(AgentPaths);

            Assert.True(parkBorder.Intersects(agentPaths.Features[1]));

//            var attributeTable = new AttributesTable {{"id", 1}};

//            _output.WriteLine("Attributes:" + agentPaths.Features[0].Attributes);

//            Assert.Equal(agentPaths.Features[0].Attributes, attributeTable);
//            _output.WriteLine("attributes: " + parkBorder.Features[0].Attributes.Count);
        }