Revert "allow "null" values when genrating Feature GeoJSON"
This reverts commit 8ce58ea29c
.
This commit is contained in:
parent
54d51e2728
commit
6f8f286b8d
1 changed files with 5 additions and 5 deletions
|
@ -40,26 +40,26 @@ struct is_container<mapnik::feature_impl const> : mpl::false_ {} ;
|
|||
template <>
|
||||
struct container_iterator<mapnik::feature_impl const>
|
||||
{
|
||||
using type = mapnik::feature_kv_iterator;
|
||||
using type = mapnik::feature_kv_iterator2;
|
||||
};
|
||||
|
||||
template <>
|
||||
struct begin_container<mapnik::feature_impl const>
|
||||
{
|
||||
static mapnik::feature_kv_iterator
|
||||
static mapnik::feature_kv_iterator2
|
||||
call (mapnik::feature_impl const& f)
|
||||
{
|
||||
return f.begin();
|
||||
return mapnik::feature_kv_iterator2(mapnik::value_not_null(),f.begin(),f.end());
|
||||
}
|
||||
};
|
||||
|
||||
template <>
|
||||
struct end_container<mapnik::feature_impl const>
|
||||
{
|
||||
static mapnik::feature_kv_iterator
|
||||
static mapnik::feature_kv_iterator2
|
||||
call (mapnik::feature_impl const& f)
|
||||
{
|
||||
return f.end();
|
||||
return mapnik::feature_kv_iterator2(mapnik::value_not_null(),f.end(),f.end());
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue