diff --git a/include/mapnik/json/feature_collection_grammar.hpp b/include/mapnik/json/feature_collection_grammar.hpp index 66c8f5614..c71801c3f 100644 --- a/include/mapnik/json/feature_collection_grammar.hpp +++ b/include/mapnik/json/feature_collection_grammar.hpp @@ -78,7 +78,7 @@ struct feature_collection_grammar : boost::phoenix::function const error_handler; }; -template > +template > struct feature_grammar_callback : qi::grammar { diff --git a/utils/mapnik-index/process_geojson_file.cpp b/utils/mapnik-index/process_geojson_file.cpp index 5ed190ae4..960d9e932 100644 --- a/utils/mapnik-index/process_geojson_file.cpp +++ b/utils/mapnik-index/process_geojson_file.cpp @@ -89,7 +89,6 @@ std::pair> 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); } }