assertEquals( pop, 42 );
}
public void testGetFeature() {
PointSet points = PointSet.fromGeoJson(new File("src/test/resources/pointset/population.geo.json"));
PointFeature pt = points.getFeature(0);
assertNotNull(pt);
assertEquals( pt.getId(), "XYZ0001");
Map<String,Integer> attrs = pt.getProperties();
assertEquals( attrs.size(), 6 );
assertEquals( pt.getProperty( "age:child" ), 10 );
}