correct clog message + formatting
This commit is contained in:
parent
2acafe78ee
commit
439fcd0426
2 changed files with 1 additions and 2 deletions
|
@ -78,7 +78,7 @@ struct feature_collection_grammar :
|
|||
boost::phoenix::function<ErrorHandler> const error_handler;
|
||||
};
|
||||
|
||||
template <typename Iterator, typename FeatureType,typename FeatureCallback = default_feature_callback, typename ErrorHandler = error_handler<Iterator> >
|
||||
template <typename Iterator, typename FeatureType, typename FeatureCallback = default_feature_callback, typename ErrorHandler = error_handler<Iterator> >
|
||||
struct feature_grammar_callback :
|
||||
qi::grammar<Iterator, void(context_ptr const&, std::size_t&, FeatureCallback &), space_type>
|
||||
{
|
||||
|
|
|
@ -89,7 +89,6 @@ std::pair<bool,box2d<double>> process_geojson_file(T & boxes, std::string const&
|
|||
if (!boost::spirit::qi::phrase_parse(start, end, (geojson_datasource_static_bbox_grammar)(boost::phoenix::ref(boxes)) , space))
|
||||
{
|
||||
std::clog << "mapnik-index (GeoJSON) : could extract bounding boxes from : '" << filename << "'";
|
||||
std::clog << " expected FeatureCollection" << std::endl;
|
||||
return std::make_pair(false, extent);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue