remove tabs
This commit is contained in:
parent
a6ad3e6627
commit
8ebd804360
4 changed files with 18 additions and 20 deletions
|
@ -98,16 +98,16 @@ private:
|
||||||
* \brief prepare features for rendering asynchronously.
|
* \brief prepare features for rendering asynchronously.
|
||||||
*/
|
*/
|
||||||
void prepare_layer(layer_rendering_material & mat,
|
void prepare_layer(layer_rendering_material & mat,
|
||||||
feature_style_context_map & ctx_map,
|
feature_style_context_map & ctx_map,
|
||||||
Processor & p,
|
Processor & p,
|
||||||
projection const& proj0,
|
projection const& proj0,
|
||||||
double scale,
|
double scale,
|
||||||
double scale_denom,
|
double scale_denom,
|
||||||
unsigned width,
|
unsigned width,
|
||||||
unsigned height,
|
unsigned height,
|
||||||
box2d<double> const& extent,
|
box2d<double> const& extent,
|
||||||
int buffer_size,
|
int buffer_size,
|
||||||
std::set<std::string>& names);
|
std::set<std::string>& names);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief render features list queued when they are available.
|
* \brief render features list queued when they are available.
|
||||||
|
|
|
@ -45,7 +45,6 @@
|
||||||
#include <mapnik/proj_transform.hpp>
|
#include <mapnik/proj_transform.hpp>
|
||||||
#include <mapnik/util/featureset_buffer.hpp>
|
#include <mapnik/util/featureset_buffer.hpp>
|
||||||
|
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/variant/apply_visitor.hpp>
|
#include <boost/variant/apply_visitor.hpp>
|
||||||
#include <boost/variant/static_visitor.hpp>
|
#include <boost/variant/static_visitor.hpp>
|
||||||
|
@ -519,9 +518,9 @@ void feature_style_processor<Processor>::prepare_layer(layer_rendering_material
|
||||||
template <typename Processor>
|
template <typename Processor>
|
||||||
void feature_style_processor<Processor>::render_material(layer_rendering_material & mat, Processor & p )
|
void feature_style_processor<Processor>::render_material(layer_rendering_material & mat, Processor & p )
|
||||||
{
|
{
|
||||||
std::vector<feature_type_style const*> & active_styles = mat.active_styles_;
|
std::vector<feature_type_style const*> & active_styles = mat.active_styles_;
|
||||||
std::vector<featureset_ptr> & featureset_ptr_list = mat.featureset_ptr_list_;
|
std::vector<featureset_ptr> & featureset_ptr_list = mat.featureset_ptr_list_;
|
||||||
if (featureset_ptr_list.empty())
|
if (featureset_ptr_list.empty())
|
||||||
{
|
{
|
||||||
// The datasource wasn't querried because of early return
|
// The datasource wasn't querried because of early return
|
||||||
// but we have to apply compositing operations on styles
|
// but we have to apply compositing operations on styles
|
||||||
|
@ -530,7 +529,6 @@ void feature_style_processor<Processor>::render_material(layer_rendering_materia
|
||||||
p.start_style_processing(*style);
|
p.start_style_processing(*style);
|
||||||
p.end_style_processing(*style);
|
p.end_style_processing(*style);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,9 +18,9 @@ if mapnik.has_webp():
|
||||||
os.makedirs(tmp_dir)
|
os.makedirs(tmp_dir)
|
||||||
|
|
||||||
opts = [
|
opts = [
|
||||||
'webp',
|
'webp',
|
||||||
'webp:quality=64',
|
'webp:quality=64',
|
||||||
'webp:alpha=false'
|
'webp:alpha=false'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
<PointSymbolizer/>
|
<PointSymbolizer/>
|
||||||
<TextSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" dy="8" fill="blue" placement-type="list">[name]
|
<TextSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" dy="8" fill="blue" placement-type="list">[name]
|
||||||
<Placement size="10" dy="-8" fill="red"/>
|
<Placement size="10" dy="-8" fill="red"/>
|
||||||
<Placement fill="green">'S'+[nr]</Placement>
|
<Placement fill="green">'S'+[nr]</Placement>
|
||||||
<Placement fill="orange" dy="8">[nr]</Placement>
|
<Placement fill="orange" dy="8">[nr]</Placement>
|
||||||
</TextSymbolizer>
|
</TextSymbolizer>
|
||||||
</Rule>
|
</Rule>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
Loading…
Reference in a new issue