mapnik Namespace Reference


Classes

class  pattern_source
struct  accumulate_extent
class  PngReader
class  TiffReader
struct  wkb_reader
class  agg_renderer
struct  attribute_traits
class  attribute
struct  bad_attribute_cast
struct  symbolizer_attributes
class  attribute_collector
struct  attribute_desc
class  Color
class  color_factory
struct  greater_than
struct  greater_than_or_equal
struct  less_than
struct  less_than_or_equal
struct  equals
struct  not_equals
struct  compare_filter
struct  coord
struct  coord< T, 2 >
struct  coord< T, 3 >
class  coord_array
struct  named_colors
struct  css_color_grammar
struct  named_color_action
struct  hex6_action
struct  hex3_action
struct  red_action
struct  green_action
struct  blue_action
struct  red_action_p
struct  green_action_p
struct  blue_action_p
struct  actions
struct  coord_transform
struct  coord_transform2
class  CoordTransform
struct  Featureset
class  datasource_exception
class  datasource
class  datasource_deleter
class  datasource_cache
class  great_circle_distance
struct  ellipsoid
class  Envelope
class  expression
class  literal
class  property
class  default_factory_error
class  factory
struct  feature
struct  feature_factory
class  attribute_descriptor
class  layer_descriptor
class  feature_style_processor
class  feature_type_style
class  fill
class  filter
class  all_filter
class  none_filter
class  filter_to_string
class  filter_factory
class  filter_featureset
struct  push_integer
struct  push_real
struct  push_string
struct  push_property
struct  compose_expression
struct  compose_regex
struct  compose_filter
struct  compose_and_filter
struct  compose_or_filter
struct  compose_not_filter
struct  filter_grammar
struct  filter_grammar_ast
class  node_data
class  filter_visitor
class  font_face
class  freetype_engine
class  face_manager
struct  text_renderer
struct  gamma
struct  filter_in_box
struct  filter_at_point
class  geometry
class  point
class  polygon
class  line_string
class  Image32
class  hit_test_filter
class  ImageData
class  ImageReaderException
struct  ImageReader
struct  image_op
struct  image_op< Image, 2 >
class  image_view
struct  label_collision_detector
class  label_collision_detector2
class  label_collision_detector3
struct  point_
class  label_placement
class  Layer
struct  line_pattern_symbolizer
struct  line_symbolizer
struct  logical_and
struct  logical_or
struct  logical_not
class  Map
struct  add
struct  sub
struct  mult
struct  div
struct  math_expr_b
class  MemoryUtils
class  MemoryManager
class  Object
class  geometry_pool
class  memory_datasource
class  memory_featureset
class  parameters
struct  placement_element
struct  placement
class  placement_finder
class  PluginInfo
struct  point_symbolizer
struct  polygon_pattern_symbolizer
struct  polygon_symbolizer
class  PoolGuard
class  Pool
class  proj_transform
class  proj_init_error
class  projection
class  quad_tree
class  query
struct  raster
struct  raster_symbolizer
struct  regex_filter
class  rule
struct  shield_symbolizer
struct  equals_
struct  disjoint
struct  touches
struct  within
struct  overlaps
struct  crosses
struct  bbox
class  stroke
class  style_factory
struct  character_info
class  string_info
struct  text_path
struct  text_symbolizer
class  transcoder
class  CreateUsingNew
class  CreateStatic
class  singleton
class  value
struct  vertex
struct  vertex< T, 2 >
struct  Shift
struct  Shift< T0, T1, 0 >
struct  Shift< T, T, 0 >
struct  view_transform< vertex2d, vertex2d, Trans >
struct  view_transform< vertex2d, vertex2i, Trans >
struct  view_transform< Envelope< double >, Envelope< double >, Trans >
class  vertex_vector
struct  vertex_vector2
class  geometry_utils
struct  attribute_traits< std::string >

Namespaces

namespace  impl

Typedefs

typedef factory< ImageReader,
std::string, ImageReader
*(*)(const std::string &)> 
ImageReaderFactory
typedef coord< double, 2 > coord2d
typedef coord< int, 2 > coord2i
typedef coord_array< coord2dCoordinateArray
typedef MAPNIK_DECL boost::shared_ptr<
Feature
feature_ptr
typedef MAPNIK_DECL boost::shared_ptr<
Featureset
featureset_ptr
typedef std::string datasource_name ()
typedef datasourcecreate_ds (const parameters &params)
typedef void destroy_ds (datasource *ds)
typedef boost::shared_ptr<
datasource
datasource_ptr
typedef boost::shared_ptr<
raster
raster_ptr
typedef boost::associative_property_map<
std::map< std::string, value > > 
properties
typedef feature< geometry_ptr,
raster_ptr
Feature
typedef std::vector< rule_typerules
typedef boost::shared_ptr<
filter< Feature > > 
filter_ptr
typedef char const * iterator_t
typedef node_val_data_factory<
node_data
factory_t
typedef tree_match< iterator_t,
factory_t >::tree_iterator 
iter_t
typedef boost::shared_ptr<
font_face
face_ptr
typedef point< vertex2dpoint_impl
typedef line_string< vertex2d,
vertex_vector2
line_string_impl
typedef polygon< vertex2d,
vertex_vector2
polygon_impl
typedef geometry< vertex2dgeometry_type
typedef boost::shared_ptr<
geometry_type
geometry_ptr
typedef char byte
typedef ImageData< unsigned > ImageData32
typedef std::pair< const std::string,
std::string > 
parameter
typedef std::map< const std::string,
std::string > 
param_map
typedef boost::variant< point_symbolizer,
line_symbolizer, line_pattern_symbolizer,
polygon_symbolizer, polygon_pattern_symbolizer,
raster_symbolizer, shield_symbolizer,
text_symbolizer
symbolizer
typedef std::vector< symbolizersymbolizers
typedef rule< Feature, filterrule_type
typedef vector< pair< float,
float > > 
dash_array
typedef boost::tuple< double,
double > 
position
typedef boost::variant< int,
double, std::wstring > 
value_base
typedef vertex< double, 2 > vertex2d
typedef vertex< int, 2 > vertex2i
typedef Shift< double, double, 0 > NO_SHIFT
typedef Shift< double, int, 0 > SHIFT0
typedef Shift< double, int, 8 > SHIFT8

Enumerations

enum  eAttributeType {
  Integer = 1, Float = 2, Double = 3, String = 4,
  Geometry = 5, Object = 6
}
enum  GeomType { Point = 1, LineString = 2, Polygon = 3 }
enum  line_cap_e { BUTT_CAP, SQUARE_CAP, ROUND_CAP }
enum  line_join_e { MITER_JOIN, MITER_REVERT_JOIN, ROUND_JOIN, BEVEL_JOIN }
enum  label_placement_e { point_placement = 1, line_placement = 2 }
enum  CommandType { SEG_END = 0, SEG_MOVETO = 1, SEG_LINETO = 2, SEG_CLOSE = 3 }

Functions

filter_ptr create_filter (std::string const &wkt)
bool register_image_reader (const std::string &type, ImageReader *(*fun)(const std::string &))
ImageReaderget_image_reader (const std::string &type, const std::string &file)
template<typename T>
void save_to_file (std::string const &filename, std::string const &type, T const &image)
template<typename T>
void save_as_png (std::string const &filename, T const &image)
template<typename T>
void save_as_jpeg (std::string const &filename, int quality, T const &image)
template void save_to_file< ImageData32 > (std::string const &, std::string const &, ImageData32 const &)
template void save_to_file< image_view< ImageData32 > > (std::string const &, std::string const &, image_view< ImageData32 > const &)
void load_map (Map &map, std::string const &filename)
void save_map (Map &map, std::string const &filename)
double scale_denominator (Map const &map, bool geographic)
template<typename T>
bool is_type (const attribute &attr)
template<typename T>
T * attribute_cast (attribute *attr)
template<typename T>
const T * attribute_cast (const attribute *attr)
template<typename T>
attribute_cast (const attribute &attr)
template<typename T>
attribute_cast (attribute &attr)
template<typename T>
attribute attribute_from_string (const std::string &val)
template<typename charT, typename traits>
std::basic_ostream< charT,
traits > & 
operator<< (std::basic_ostream< charT, traits > &out, const attribute &attr)
template<typename charT, typename traits, typename T, int dim>
std::basic_ostream< charT,
traits > & 
operator<< (std::basic_ostream< charT, traits > &out, const coord< T, dim > &c)
template<typename charT, typename traits, typename T>
std::basic_ostream< charT,
traits > & 
operator<< (std::basic_ostream< charT, traits > &out, const coord< T, 2 > &c)
template<typename charT, typename traits, typename T>
std::basic_ostream< charT,
traits > & 
operator<< (std::basic_ostream< charT, traits > &out, const coord< T, 3 > &c)
template<class charT, class traits, class T>
std::basic_ostream< charT,
traits > & 
operator<< (std::basic_ostream< charT, traits > &out, const Envelope< T > &e)
std::ostream & operator<< (std::ostream &out, Feature const &f)
template<typename charT, typename traits>
std::basic_ostream< charT,
traits > & 
operator<< (std::basic_ostream< charT, traits > &out, attribute_descriptor const &ad)
template<typename charT, typename traits>
std::basic_ostream< charT,
traits > & 
operator<< (std::basic_ostream< charT, traits > &out, layer_descriptor const &ld)
void process_node (iter_t const &, string &)
void walk_ast_tree (tree_parse_info< iterator_t, factory_t > info, string &text)
template<typename T>
bool clip_test (T p, T q, double &tmin, double &tmax)
template<typename T, typename Image>
bool clip_line (T &x0, T &y0, T &x1, T &y1, Envelope< T > const &box)
template<typename Iter>
bool point_inside_path (double x, double y, Iter start, Iter end)
bool point_in_circle (double x, double y, double cx, double cy, double r)
template<typename T>
sqr (T x)
double distance2 (double x0, double y0, double x1, double y1)
double distance (double x0, double y0, double x1, double y1)
double point_to_segment_distance (double x, double y, double ax, double ay, double bx, double by)
template<typename Iter>
bool point_on_path (double x, double y, Iter start, Iter end, double tol)
bool register_image_reader (const std::string &type, ImageReader *(*)(const std::string &))
template<typename T>
double distance (T x0, T y0, T x1, T y1)
template<typename Image>
void scale_down2 (Image &target, const Image &source)
template<typename Image>
void scale_image (Image &target, const Image &source, unsigned scale)
template<typename Image>
void scale_image (Image &target, const Image &source)
bool operator== (point_symbolizer const &lhs, point_symbolizer const &rhs)
bool operator== (line_symbolizer const &lhs, line_symbolizer const &rhs)
bool operator== (line_pattern_symbolizer const &lhs, line_pattern_symbolizer const &rhs)
bool operator== (polygon_symbolizer const &lhs, polygon_symbolizer const &rhs)
bool operator== (polygon_pattern_symbolizer const &lhs, polygon_pattern_symbolizer const &rhs)
bool operator== (raster_symbolizer const &lhs, raster_symbolizer const &rhs)
bool operator== (text_symbolizer const &lhs, text_symbolizer const &rhs)
bool operator== (shield_symbolizer const &lhs, shield_symbolizer const &rhs)
MAPNIK_DECL void save_map (Map const &map, std::string const &filename)
std::wstring to_unicode (std::string const &text)
std::wstring latin1_to_unicode (std::string const &text)
std::string latin1_to_unicode2 (std::string const &text)
const value operator+ (value const &p1, value const &p2)
const value operator- (value const &p1, value const &p2)
const value operator * (value const &p1, value const &p2)
const value operator/ (value const &p1, value const &p2)
template<typename charT, typename traits>
std::basic_ostream< charT,
traits > & 
operator<< (std::basic_ostream< charT, traits > &out, value const &v)
template<class charT, class traits, class T, int dim>
std::basic_ostream< charT,
traits > & 
operator<< (std::basic_ostream< charT, traits > &out, const vertex< T, dim > &c)
template<class charT, class traits, class T>
std::basic_ostream< charT,
traits > & 
operator<< (std::basic_ostream< charT, traits > &out, const vertex< T, 2 > &v)
template<class charT, class traits, class T>
std::basic_ostream< charT,
traits > & 
operator<< (std::basic_ostream< charT, traits > &out, const vertex< T, 3 > &v)


Typedef Documentation

typedef factory<ImageReader,std::string, ImageReader* (*)(const std::string&)> mapnik::ImageReaderFactory

typedef coord<double,2> mapnik::coord2d

typedef coord<int,2> mapnik::coord2i

typedef coord_array<coord2d> mapnik::CoordinateArray

typedef MAPNIK_DECL boost::shared_ptr<Feature> mapnik::feature_ptr

typedef MAPNIK_DECL boost::shared_ptr<Featureset> mapnik::featureset_ptr

typedef std::string mapnik::datasource_name()

typedef datasource* mapnik::create_ds(const parameters &params)

typedef void mapnik::destroy_ds(datasource *ds)

typedef boost::shared_ptr<datasource> mapnik::datasource_ptr

typedef boost::shared_ptr<raster> mapnik::raster_ptr

typedef boost::associative_property_map< std::map<std::string,value > > mapnik::properties

typedef feature<geometry_ptr,raster_ptr> mapnik::Feature

typedef std::vector<rule_type> mapnik::rules

typedef boost::shared_ptr<filter<Feature> > mapnik::filter_ptr

typedef char const* mapnik::iterator_t

typedef node_val_data_factory<node_data> mapnik::factory_t

typedef tree_match<iterator_t,factory_t>::tree_iterator mapnik::iter_t

typedef boost::shared_ptr<font_face> mapnik::face_ptr

typedef point<vertex2d> mapnik::point_impl

typedef line_string<vertex2d,vertex_vector2> mapnik::line_string_impl

typedef polygon<vertex2d,vertex_vector2> mapnik::polygon_impl

typedef geometry<vertex2d> mapnik::geometry_type

typedef boost::shared_ptr<geometry_type> mapnik::geometry_ptr

typedef char mapnik::byte

typedef ImageData<unsigned> mapnik::ImageData32

typedef std::pair<const std::string,std::string> mapnik::parameter

typedef std::map<const std::string,std::string> mapnik::param_map

typedef boost::variant<point_symbolizer, line_symbolizer, line_pattern_symbolizer, polygon_symbolizer, polygon_pattern_symbolizer, raster_symbolizer, shield_symbolizer, text_symbolizer> mapnik::symbolizer

typedef std::vector<symbolizer> mapnik::symbolizers

typedef rule<Feature,filter> mapnik::rule_type

typedef vector<pair<float,float> > mapnik::dash_array

typedef boost::tuple<double,double> mapnik::position

typedef boost::variant<int,double,std::wstring> mapnik::value_base

typedef vertex<double,2> mapnik::vertex2d

typedef vertex<int,2> mapnik::vertex2i

typedef Shift<double,double,0> mapnik::NO_SHIFT

typedef Shift<double,int,0> mapnik::SHIFT0

typedef Shift<double,int,8> mapnik::SHIFT8


Enumeration Type Documentation

enum mapnik::eAttributeType

Enumerator:
Integer 
Float 
Double 
String 
Geometry 
Object 

enum mapnik::GeomType

Enumerator:
Point 
LineString 
Polygon 

enum mapnik::line_cap_e

Enumerator:
BUTT_CAP 
SQUARE_CAP 
ROUND_CAP 

enum mapnik::line_join_e

Enumerator:
MITER_JOIN 
MITER_REVERT_JOIN 
ROUND_JOIN 
BEVEL_JOIN 

enum mapnik::label_placement_e

Enumerator:
point_placement 
line_placement 

enum mapnik::CommandType

Enumerator:
SEG_END 
SEG_MOVETO 
SEG_LINETO 
SEG_CLOSE 


Function Documentation

MAPNIK_DECL filter_ptr mapnik::create_filter ( std::string const &  wkt  ) 

bool mapnik::register_image_reader ( const std::string &  type,
ImageReader *(*)(const std::string &)  fun 
)

MAPNIK_DECL ImageReader * mapnik::get_image_reader ( const std::string &  type,
const std::string &  file 
)

template<typename T>
void mapnik::save_to_file ( std::string const &  filename,
std::string const &  type,
T const &  image 
)

template<typename T>
void mapnik::save_as_png ( std::string const &  filename,
T const &  image 
)

template<typename T>
void mapnik::save_as_jpeg ( std::string const &  filename,
int  quality,
T const &  image 
)

template void mapnik::save_to_file< ImageData32 > ( std::string const &  ,
std::string const &  ,
ImageData32 const &   
)

template void mapnik::save_to_file< image_view< ImageData32 > > ( std::string const &  ,
std::string const &  ,
image_view< ImageData32 > const &   
)

MAPNIK_DECL void mapnik::load_map ( Map &  map,
std::string const &  filename 
)

void mapnik::save_map ( Map &  map,
std::string const &  filename 
)

MAPNIK_DECL double mapnik::scale_denominator ( Map const &  map,
bool  geographic 
)

template<typename T>
bool mapnik::is_type ( const attribute &  attr  ) 

template<typename T>
T* mapnik::attribute_cast ( attribute *  attr  ) 

template<typename T>
const T* mapnik::attribute_cast ( const attribute *  attr  ) 

template<typename T>
T mapnik::attribute_cast ( const attribute &  attr  ) 

template<typename T>
T mapnik::attribute_cast ( attribute &  attr  ) 

template<typename T>
attribute mapnik::attribute_from_string ( const std::string &  val  ) 

template<typename charT, typename traits>
std::basic_ostream<charT,traits>& mapnik::operator<< ( std::basic_ostream< charT, traits > &  out,
const attribute &  attr 
) [inline]

template<typename charT, typename traits, typename T, int dim>
std::basic_ostream<charT,traits>& mapnik::operator<< ( std::basic_ostream< charT, traits > &  out,
const coord< T, dim > &  c 
) [inline]

template<typename charT, typename traits, typename T>
std::basic_ostream<charT,traits>& mapnik::operator<< ( std::basic_ostream< charT, traits > &  out,
const coord< T, 2 > &  c 
) [inline]

template<typename charT, typename traits, typename T>
std::basic_ostream<charT,traits>& mapnik::operator<< ( std::basic_ostream< charT, traits > &  out,
const coord< T, 3 > &  c 
) [inline]

template<class charT, class traits, class T>
std::basic_ostream<charT,traits>& mapnik::operator<< ( std::basic_ostream< charT, traits > &  out,
const Envelope< T > &  e 
) [inline]

std::ostream& mapnik::operator<< ( std::ostream &  out,
Feature const &  f 
) [inline]

template<typename charT, typename traits>
std::basic_ostream<charT,traits>& mapnik::operator<< ( std::basic_ostream< charT, traits > &  out,
attribute_descriptor const &  ad 
) [inline]

template<typename charT, typename traits>
std::basic_ostream<charT,traits>& mapnik::operator<< ( std::basic_ostream< charT, traits > &  out,
layer_descriptor const &  ld 
) [inline]

void mapnik::process_node ( iter_t const &  ,
string &   
)

void mapnik::walk_ast_tree ( tree_parse_info< iterator_t, factory_t info,
string &  text 
)

template<typename T>
bool mapnik::clip_test ( p,
q,
double &  tmin,
double &  tmax 
)

template<typename T, typename Image>
bool mapnik::clip_line ( T &  x0,
T &  y0,
T &  x1,
T &  y1,
Envelope< T > const &  box 
)

template<typename Iter>
bool mapnik::point_inside_path ( double  x,
double  y,
Iter  start,
Iter  end 
) [inline]

bool mapnik::point_in_circle ( double  x,
double  y,
double  cx,
double  cy,
double  r 
) [inline]

template<typename T>
T mapnik::sqr ( x  )  [inline]

double mapnik::distance2 ( double  x0,
double  y0,
double  x1,
double  y1 
) [inline]

double mapnik::distance ( double  x0,
double  y0,
double  x1,
double  y1 
) [inline]

double mapnik::point_to_segment_distance ( double  x,
double  y,
double  ax,
double  ay,
double  bx,
double  by 
) [inline]

template<typename Iter>
bool mapnik::point_on_path ( double  x,
double  y,
Iter  start,
Iter  end,
double  tol 
) [inline]

bool mapnik::register_image_reader ( const std::string &  type,
ImageReader *  (*)(const std::string &) 
)

template<typename T>
double mapnik::distance ( x0,
y0,
x1,
y1 
)

template<typename Image>
void mapnik::scale_down2 ( Image &  target,
const Image &  source 
) [inline]

template<typename Image>
void mapnik::scale_image ( Image &  target,
const Image &  source,
unsigned  scale 
)

template<typename Image>
void mapnik::scale_image ( Image &  target,
const Image &  source 
) [inline]

bool mapnik::operator== ( point_symbolizer const &  lhs,
point_symbolizer const &  rhs 
) [inline]

bool mapnik::operator== ( line_symbolizer const &  lhs,
line_symbolizer const &  rhs 
) [inline]

bool mapnik::operator== ( line_pattern_symbolizer const &  lhs,
line_pattern_symbolizer const &  rhs 
) [inline]

bool mapnik::operator== ( polygon_symbolizer const &  lhs,
polygon_symbolizer const &  rhs 
) [inline]

bool mapnik::operator== ( polygon_pattern_symbolizer const &  lhs,
polygon_pattern_symbolizer const &  rhs 
) [inline]

bool mapnik::operator== ( raster_symbolizer const &  lhs,
raster_symbolizer const &  rhs 
) [inline]

bool mapnik::operator== ( text_symbolizer const &  lhs,
text_symbolizer const &  rhs 
) [inline]

bool mapnik::operator== ( shield_symbolizer const &  lhs,
shield_symbolizer const &  rhs 
) [inline]

MAPNIK_DECL void mapnik::save_map ( Map const &  map,
std::string const &  filename 
)

std::wstring mapnik::to_unicode ( std::string const &  text  )  [inline]

std::wstring mapnik::latin1_to_unicode ( std::string const &  text  )  [inline]

std::string mapnik::latin1_to_unicode2 ( std::string const &  text  )  [inline]

const value mapnik::operator+ ( value const &  p1,
value const &  p2 
) [inline]

const value mapnik::operator- ( value const &  p1,
value const &  p2 
) [inline]

const value mapnik::operator * ( value const &  p1,
value const &  p2 
) [inline]

const value mapnik::operator/ ( value const &  p1,
value const &  p2 
) [inline]

template<typename charT, typename traits>
std::basic_ostream<charT,traits>& mapnik::operator<< ( std::basic_ostream< charT, traits > &  out,
value const &  v 
) [inline]

template<class charT, class traits, class T, int dim>
std::basic_ostream<charT,traits>& mapnik::operator<< ( std::basic_ostream< charT, traits > &  out,
const vertex< T, dim > &  c 
) [inline]

template<class charT, class traits, class T>
std::basic_ostream<charT,traits>& mapnik::operator<< ( std::basic_ostream< charT, traits > &  out,
const vertex< T, 2 > &  v 
) [inline]

template<class charT, class traits, class T>
std::basic_ostream<charT,traits>& mapnik::operator<< ( std::basic_ostream< charT, traits > &  out,
const vertex< T, 3 > &  v 
) [inline]


Generated on Thu Jul 19 17:59:29 2007 for Mapnik by  doxygen 1.4.7