Commit graph

85 commits

Author SHA1 Message Date
Dane Springmeyer
d75fb586d0 scons: only apply HAS_CAIRO & HAS_PYCAIRO flags to cairo related files 2010-07-14 22:46:37 +00:00
Dane Springmeyer
fd8695c107 scons: conditionally add CXXFLAGS for headers needing Cairo support 2010-07-14 05:08:28 +00:00
Dane Springmeyer
701bcc2144 fix syntax in rundemo for writing to png256 (also now == png8) 2010-03-12 18:28:20 +00:00
Dane Springmeyer
b194c6cea4 apply mapnik-0.7.1.mr.hextree2.diff (slighly modified to accept format='png:key=val' as well as format='png256:key=val' while still maintaining default behavior of just format 'png' or 'png256' - also updated rundemo.py with a few examples 2010-03-11 23:16:17 +00:00
Dane Springmeyer
d78a100134 fix minor issues caught in debian packaging relating to executable status and spelling 2010-02-21 17:28:17 +00:00
Artem Pavlenko
17b8eda5aa + correct filter expression encoding 2010-01-12 11:42:22 +00:00
Dane Springmeyer
cf4c94a44b update rundemo.py to show rendering without pycairo and using jpeg quality options 2010-01-11 02:16:01 +00:00
Artem Pavlenko
4b93e0f58d + fix compiler warning 2010-01-08 15:44:34 +00:00
Artem Pavlenko
7093074706 + revert mapnik2 syntax 2010-01-08 15:44:05 +00:00
Artem Pavlenko
6b96ba1a1a + remove mapnik2 syntax
+ fix compiler warnings
2010-01-08 15:43:28 +00:00
Dane Springmeyer
77ccb92054 merge r1497 through r1498 from trunk into 0.7 branch 2009-12-31 16:11:52 +00:00
Dane Springmeyer
b104253d9c Add ability to link to custom icu lib name, and remove the unneeded linking to icudata on osx, while offering compiler flags required for compiling against libicucore provided by Apple 2009-11-24 20:32:41 +00:00
Dane Springmeyer
f637ed6cf8 fix typo in rundemo.py found by szotsak - closes #419 2009-09-27 02:55:31 +00:00
Dane Springmeyer
16f4efc07b python: add better handling of cairo/pycairo support, refactor rundemo.py, add basic tests for cairo surfaces (closes #392) 2009-07-28 06:27:10 +00:00
Dane Springmeyer
e7dd9094a5 revert unintended file changes from r1275 2009-07-26 01:15:44 +00:00
Dane Springmeyer
45266074c8 scons: fix typo, and ensure all temp output is writeable 2009-07-26 01:08:51 +00:00
Dane Springmeyer
e97df7a721 fix up compilation of rundemo based on cairo availability - closes #285 2009-07-01 02:24:13 +00:00
Artem Pavlenko
424949d312 + load all fonts in specified dir 2009-06-30 16:23:50 +00:00
Dane Springmeyer
7617fc643f update the viewer to use the new DejaVu fonts in trunk and make the paths in 'main.cpp' easier to configure 2009-04-10 16:37:41 +00:00
Dane Springmeyer
7418806450 scons: explicitly link against libmapnik for command line programs to be built 2009-03-03 19:44:36 +00:00
Dane Springmeyer
a79714f6e2 Add a SCons build script for the c++ rundemo sample program, and touchup code and readme, closes #197 2009-03-03 19:28:26 +00:00
Dane Springmeyer
e089c14ac5 remove spurious exec flag 2009-02-20 19:53:57 +00:00
Artem Pavlenko
a3c5308b06 + mapnik-rundemo-with-cairo.patch (jonb) 2009-01-15 22:53:29 +00:00
Artem Pavlenko
a3f1e664be + updated 2009-01-14 12:43:26 +00:00
Artem Pavlenko
a448b7b889 + update to current trunk 2009-01-14 12:41:37 +00:00
Artem Pavlenko
9a75034a88 + applied python_point_datasource.patch from lwu 2009-01-13 00:56:09 +00:00
Artem Pavlenko
b352e91432 + added python executable path
+ set Python source code encoding to utf-8
+ use UTF-8 encoded filter expression : Filter("[NOM_FR] = 'Québec'")
+ better initial bounding box
2008-11-16 21:36:23 +00:00
Artem Pavlenko
dce49f4a75 + hebrew rtl patch from JonB 2008-10-09 07:23:36 +00:00
Artem Pavlenko
5602ca227f + use 'avoid_edges' parameter 2008-09-21 19:52:12 +00:00
Artem Pavlenko
3f9127b5d0 reverting back to 700 2008-06-29 10:58:29 +00:00
Artem Pavlenko
3275cf9ce6 applied font fallbacj patch from Beau Gunderson 2008-06-29 10:40:08 +00:00
Tom Hughes
06006d2f24 Add cairo support to the python bindings - needs Pycairo installed. 2008-03-12 00:37:53 +00:00
Artem Pavlenko
a003fbbe6d dont need those 2008-02-29 16:28:03 +00:00
Artem Pavlenko
4a4af94e54 missing image 2008-02-07 11:10:28 +00:00
Artem Pavlenko
3f848ba14d don't need to include agg headers 2008-02-05 13:59:24 +00:00
Artem Pavlenko
8909bde84b new icons (TODO!) 2008-02-04 16:15:13 +00:00
Artem Pavlenko
7fec4b71fe updated to be compatble with latest trunk 2008-01-27 15:48:42 +00:00
Artem Pavlenko
651cdbe968 added support for saving images into Python String object
(NOTE: some methods have different signitures now- API changed)
2008-01-25 14:40:48 +00:00
Dave
1428d282b9 Update displacement test data to have some tests for text orientation also. 2008-01-23 20:54:28 +00:00
Dave
d29c825299 Add a test for Character placement within a string.
Currently the characters on bends end up on ugly angles.
2008-01-21 03:47:52 +00:00
Dave
f663d69cb6 Update overlap with more tests. 2008-01-18 04:01:17 +00:00
Dave
02fe8ba276 Add test for text displacement. 2008-01-18 02:07:12 +00:00
Dave
a092425940 Add newly made data and test for testing label overlap handling. Rename old test to textspacing. 2008-01-16 02:00:48 +00:00
Dave
e96e7b18fa Fix find_placements_with_spacing in relation to http://trac.mapnik.org/ticket/62
force_odd_labels also works again.
2008-01-16 01:13:27 +00:00
Dave
3592872d4b Add a new test demo for regression testing label placement.
If someone creates tests for other areas of mapnik they can be added in too.
2008-01-15 20:57:59 +00:00
Artem Pavlenko
7b73a701b2 1. define BOOST_SPIRIT_THREADSAFE (should be defined in config.hpp??)
to be compatible with the core library.
2. use mapnik install_dir as input argument. 
3. Generate three images as in rundemo.py
2008-01-09 11:48:39 +00:00
David
4e14658fe4 - added exception handling 2008-01-08 21:09:16 +00:00
David
4091f526d5 - fixed conflict
- removed instance() call: the fontengine is not a singleton any more
2008-01-07 06:32:15 +00:00
Artem Pavlenko
747ef8cccf added a bit of colour to SCons 2008-01-03 11:41:39 +00:00
Artem Pavlenko
3a9a77d95f render map once and output three images 2008-01-03 11:39:10 +00:00