Artem Pavlenko
f4949ffca5
patch from TomH adds a global mutex to protect all access to the
...
proj4 library and ensure that only one thread can be inside a call to
the library at a time.
2008-02-04 11:54:07 +00:00
Artem Pavlenko
eaf198f79c
small cleanup
2008-02-04 11:14:34 +00:00
Artem Pavlenko
a8859645b3
use memory mapped files for reading shape files
2008-02-04 11:12:32 +00:00
Artem Pavlenko
57cb2edef1
collect number of unique styles
2008-02-01 15:38:33 +00:00
Artem Pavlenko
4485d71ab2
python script to print stats about map definition file
2008-02-01 15:27:13 +00:00
Artem Pavlenko
cdfaf36ee9
call reduce on fully built tree
2008-01-30 11:11:20 +00:00
Artem Pavlenko
c63c2efe42
support for user defined 'extent' parameter (for example : -180,-90,180,90)
2008-01-29 16:59:51 +00:00
Artem Pavlenko
af1c576593
add displacement method to set dx,dy
...
add allow_overlap property
2008-01-29 11:22:32 +00:00
Dave
6b2285f237
Fix placing 1 character line labels.
2008-01-28 21:41:53 +00:00
Artem Pavlenko
3c5b7f02f3
applied freebsd patch from Beau Gunderson
2008-01-28 14:51:10 +00:00
Artem Pavlenko
7fec4b71fe
updated to be compatble with latest trunk
2008-01-27 15:48:42 +00:00
Artem Pavlenko
a9348db058
part of previous commit
2008-01-25 14:42:13 +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
Artem Pavlenko
e268660ecc
implmented support for pg numeric type - converted to double at the moment.
2008-01-25 11:39:53 +00:00
Artem Pavlenko
78a0e6725b
prepend DESTDIR to plugins path
...
replace multiple directory separators
2008-01-24 14:44:04 +00:00
Artem Pavlenko
66bc84ff7e
check for empty strings in params
2008-01-24 12:07:53 +00:00
Dave
5bbe90b85f
Remove find_placements, build_path_follow, build_path_horizontal.
...
Add new find_point_placements to cover the gap left.
Change shield symbolizer to use find_point_placements.
Results are the same as before, but with much less duplicate code.
2008-01-24 01:16:14 +00:00
Dave
f11a62b849
throw an exception rather than exit the program when an unknown font is specified.
...
It would be better if this was done when contructing the text_symbolizer, but this will do.
2008-01-23 21:56:04 +00:00
Dave
a73687aeee
Woops, remove debug output.
2008-01-23 21:39:49 +00:00
Dave
1d556b54fd
Make line placement retry if it places >= 50% of the characters upside down.
2008-01-23 21:38:48 +00:00
Artem Pavlenko
3d9024ddc4
make iconv check optional
2008-01-23 21:06:28 +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
671c215ae6
Make specifying an invalid font a fatal error. ticket #31
2008-01-23 20:31:50 +00:00
Artem Pavlenko
b04e6197aa
some cleanups and fixes
2008-01-23 15:24:59 +00:00
Artem Pavlenko
f802250e0f
refactored image i/o , see ticket #15 for more details.
2008-01-23 11:34:59 +00:00
Dave
918bd1ef6b
Improved character placement code.
...
Slightly changes the result of max_char_angle_delta as now character angles aren't strict against the line angles.
Example screenshots on mailing list! :)
2008-01-23 04:18:17 +00:00
Artem Pavlenko
df643baa54
added missing PGSQL
2008-01-21 20:56:31 +00:00
Artem Pavlenko
2b60d6d425
applied patch to build on OSX Leopard and Sun's C++ compiler on Solaris from Justin Bronn
2008-01-21 20:15:07 +00:00
Artem Pavlenko
418e3fc43a
added missing extent() method
2008-01-21 20:07:32 +00:00
Artem Pavlenko
96daa6e996
applied patch from gravitystorm (see ticket:64)
2008-01-21 19:59:06 +00:00
Artem Pavlenko
2fe6e6a0cb
link to iconv on Darwin
2008-01-21 16:40:50 +00:00
Artem Pavlenko
a61553edb8
removed redundant bounding box from label_placement
2008-01-21 16:18:46 +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
d3ec70aff9
Return pre-r557 rendering of line aligned labels. (Not the code, the algorithm ideas)
...
Spacing and no spacing line rendering are done by the same function.
Code is cleaner, performance should be equal or improved.
Text displacement is "Different", better in some cases and worse in others, I can revert it if wanted.
Old non spacing code is not yet removed as it is used by ShieldSymbolizer which I haven't investigated yet.
Individual character placement still has issues, that is my next task to fix!
2008-01-21 03:08:18 +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
76e18f8a4a
Remove functions that don't exist from placement headers.
2008-01-16 21:42:08 +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
a401a26ccb
Additional comments for the placement finder.
2008-01-15 22:32:14 +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
Dave
017a966ea1
Fix blending onto transparent background. Detailed on mailing list.
2008-01-14 20:43:55 +00:00
Artem Pavlenko
30968b337e
only print to clog when MAPNIK_DEBUG is defined
2008-01-11 10:09:54 +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
Artem Pavlenko
0f49956a56
reflect 'allow_overlap' property in Python bindings
...
(patch from rcoup)
2008-01-07 10:23:02 +00:00
Artem Pavlenko
4529e83562
fixed parameters order in image reader
2008-01-07 10:20:05 +00:00
David
0dbaeafbe9
- found and fixed another wild pointer
2008-01-07 07:32:55 +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
David
bec8f8951f
fixed pointer to temporary bug
2008-01-03 15:48:10 +00:00