Commit graph

1619 commits

Author SHA1 Message Date
Jean-Francois Doyon
08b80bbc64 Add docstrings, and add support for setting the
map width and height after object creation.
2006-03-22 00:13:14 +00:00
Jean-Francois Doyon
30dd43200b Add support for halo's to TextSymbolizer(). 2006-03-22 00:11:01 +00:00
Artem Pavlenko
e21c3b36f6 removed save and load to text archive functionality to keep x86_64 build happy 2006-03-19 21:59:16 +00:00
Artem Pavlenko
153fbc9572 added font_engine to python bindings (TODO!) 2006-03-19 21:55:59 +00:00
Artem Pavlenko
58675f6bf1 replaced cerr and cout with clog ( redirected to cerr by default) 2006-03-19 21:54:40 +00:00
Artem Pavlenko
673bd4bc19 replaced cout and cerr with clog (by default redirected to cerr) 2006-03-19 21:53:47 +00:00
Artem Pavlenko
e8d68b615e removed unused text.{hpp,cpp} 2006-03-19 21:51:40 +00:00
Artem Pavlenko
89cad86d8e added anchor and displacement to text_symbolizer 2006-03-10 12:08:55 +00:00
Artem Pavlenko
cba1063346 fixed label bbox calc 2006-03-08 23:03:19 +00:00
Artem Pavlenko
ce93c69fa3 minor syntax corrections to comply with ansi c++ 2006-03-08 23:02:28 +00:00
Artem Pavlenko
9948f41b1b link to boost_serialization lib 2006-03-08 13:49:59 +00:00
Jean-Francois Doyon
125e927908 Fix the build process to install the included free ttf fonts. 2006-03-03 00:18:08 +00:00
Jean-Francois Doyon
43f0029ca7 Add some default fonts to the mapnik distribution. 2006-03-03 00:10:10 +00:00
Artem Pavlenko
c93e9c7d5b small correction:
1. Layer method takes named arguments
2. CreateLayer expects Python dictionary
2006-03-01 15:34:23 +00:00
Artem Pavlenko
0f3fcc7f34 updated text symboilizer
fixed memory leak in FT_Glyph
2006-03-01 15:16:45 +00:00
Artem Pavlenko
06da5f14eb keyword arguments for Layer factory 2006-03-01 15:15:37 +00:00
Jean-Francois Doyon
d0f0f5a564 Changed the layer constructor to use a more pythonic:
Layer(name, type, file)

Please review and comment!
2006-03-01 04:14:41 +00:00
Artem Pavlenko
c3ff3084ca 1.added to_string method to Color
2.added factory methods to python Color

use factory methods
2006-02-27 21:57:08 +00:00
Artem Pavlenko
3818da6bc5 added quad_tree implementaion 2006-02-27 21:25:25 +00:00
Jean-Francois Doyon
efc23b9217 Fixed up some more styling.
color_from_string is now Color
filter is now Filter

and maybe a few more ...
2006-02-26 23:04:47 +00:00
Jean-Francois Doyon
34dc842d2d Reworked all the svn:ignore properties. They are all set explicitely now, and nothing should be left unacounted for.
Changed SConstruct to use freetype-config.  Updated INSTALL to reflect.

Added a RAM requirement for building in the INSTALL doc.

Fixed some python styling and added some basic docstrings.
2006-02-26 21:47:35 +00:00
Artem Pavlenko
9de253198b 1.python bindings updated to reflect symbolizers changes
2.added label collision detector ( TODO - proper impl!)
2006-02-25 11:03:30 +00:00
Artem Pavlenko
1728bdbc7e added:
1. start/end map/layer handlers 
2. some cleanups
2006-02-21 20:17:08 +00:00
Artem Pavlenko
bd173527a0 added font_engine impl - work in progress:) 2006-02-21 19:55:24 +00:00
Jean-Francois Doyon
897341e042 Capitalized class names as per the "Style Guide for Python Code" at:
http://www.python.org/peps/pep-0008.html

Because the bindings are out of synch, this is untested.
2006-02-20 01:34:02 +00:00
Jean-Francois Doyon
d34d818626 Simple fix to how the python version is tested. 2006-02-20 01:17:04 +00:00
Jean-Francois Doyon
b246133a2b Fix a bug that would switch to the wrong BOOST_APPEND if one of the boost libs is missing.
We now make sure the first one, and only the first one, found is the reference for the BOOST_APPEND.
2006-02-14 23:59:53 +00:00
Artem Pavlenko
9f8460fb0b changed headers order to keep boost::serialization (1_33_0) happy! (trunk) 2006-02-13 20:28:21 +00:00
Artem Pavlenko
e3c1365043 some line rendering fixes and optimizations 2006-02-11 00:39:50 +00:00
Artem Pavlenko
aed5516197 1. new feature model - based on boost::property_map concept
f = feature(id);
       f["name"] = "what is my name?";
       boost.put(f,"area",123123.4325);
       
2. simplified and corrected value class and operators
3. updated input plug-ins to work with new features
4. add text_symbolizer (getting there:)
5. template version of agg_renderer 
6. attribute_collector how accepts rules 
	(to collect attribute names for text labels)
2006-02-10 17:13:02 +00:00
Artem Pavlenko
f4a64526c3 updated agg-2.4 2006-02-10 17:07:15 +00:00
Artem Pavlenko
034298f7dd make agg_renderer non-copyable 2006-02-08 10:44:46 +00:00
Artem Pavlenko
a181d78403 Of course,we can use one templated member functions
to handle all symbolizers.
2006-02-07 20:51:08 +00:00
Artem Pavlenko
6a4070a32a added raster_symbolizer 2006-02-07 16:16:54 +00:00
Artem Pavlenko
af2601eea0 1. new style/feature processor abstraction allowing plugable backends.
(to construct custom 'Output' derive from feature_style_processor (CRTP) e.g
	class MyOutput : public feature_style_processor<MyOutput>
     and implement:
	 process(***_symbolizer const&, Feature const&)
     methods
   At the moment only AGG renderer is implemented
2006-02-07 14:41:41 +00:00
Jean-Francois Doyon
9f9e4c1d8e Reworked the way the tail end of the boost libs (i.e. -gcc-mt) is handled.
This will eventually help with mroe platforms, and to link with debug libraries.
2006-02-06 01:08:32 +00:00
Jean-Francois Doyon
1c20f2a02b Modify to match the new SConstruct ... one last time! 2006-02-05 22:36:33 +00:00
Jean-Francois Doyon
8ed259967f Add .sconsign to be ignored, make filter recursive in the source tree. 2006-02-05 22:25:34 +00:00
Jean-Francois Doyon
de613054fe Set svn:ignore to ignore:
*.pyc
*.so
*.os
2006-02-05 22:23:14 +00:00
Jean-Francois Doyon
ecd1f27045 Fixed an (ironic) bug with the debug option :) 2006-02-05 22:19:25 +00:00
Jean-Francois Doyon
0aac110961 Cleaning SConstruct a little bit. No new functionality. 2006-02-05 22:03:43 +00:00
Jean-Francois Doyon
e455c19431 Edit the INSTALL to reflect the changes in the build options. 2006-02-05 21:04:30 +00:00
Jean-Francois Doyon
00f43b348d Use the current python interpreter as default for building python bindings.
Make the DEBUG option work more consistently, like all other build options.
2006-02-05 21:01:54 +00:00
Artem Pavlenko
2d4ea20560 added set_capacity method to geometry classes.
(now we can use std::vector<boost::tuple<value_type,value_type,char> > 
as an alternative vertex storage).
2006-02-05 12:31:24 +00:00
Artem Pavlenko
2a858bcd19 1.removed named_style_cache
2.styles moved to Map object
2006-02-05 09:45:51 +00:00
Artem Pavlenko
95d26be572 updated agg-2.4 2006-02-04 21:30:08 +00:00
Jean-Francois Doyon
6b42c9fa4c dded myself to the AUTHORS list, as a test to see if I can finally commit :) 2006-02-01 15:08:33 +00:00
Artem Pavlenko
ae2e89ef54 removed python dir (now in bindings) 2006-02-01 09:31:03 +00:00
Artem Pavlenko
6ebc93b7a1 new build system 2006-01-31 23:20:23 +00:00
Artem Pavlenko
e7119730a3 new build system 2006-01-31 23:18:24 +00:00