Commit graph

3031 commits

Author SHA1 Message Date
Artem Pavlenko
fb06240415 cleanup 2008-02-29 16:27:15 +00:00
Tom Hughes
37eeb870cc Add support for boolean values in filters, and reading of boolean
values from PostGIS data sources.
2008-02-27 18:50:59 +00:00
Artem Pavlenko
e1ea0a72db use range based 'parse' method
transcode strings in filter expressions (default to utf8 input)
  -- we can use map definition *.xml to define encoding
  -- and in case of Python from
    # -*- coding: utf-8 -*-
  
utf8 encoded filters are working now.
2008-02-26 11:43:49 +00:00
Artem Pavlenko
cb905b533a restored templated version 2008-02-26 08:48:47 +00:00
Tom Hughes
13d32335e0 Check for null values in the PostGIS results and don't add attributes
with null values to the feature rather than adding a value based on
decoding a buffer full of undefined data.
2008-02-23 01:25:52 +00:00
Tom Hughes
02962156c5 Add support for rendering to a cairo surface. 2008-02-23 00:17:53 +00:00
Artem Pavlenko
f3a3ce04db convert to degrees if projection is geographic 2008-02-20 12:44:34 +00:00
Artem Pavlenko
24c605e807 added missing std namespace 2008-02-20 09:57:37 +00:00
Artem Pavlenko
a478089bd9 patch from Martijn van Oosterhout 2008-02-20 09:34:48 +00:00
Artem Pavlenko
1625c760db implemented Image open method :
im = Image.open("map.png")
2008-02-19 11:28:20 +00:00
Artem Pavlenko
b54aa9091b removed unneeded headers 2008-02-19 11:27:06 +00:00
Artem Pavlenko
308e315432 added Unicode support based on ICU 2008-02-18 21:40:34 +00:00
Artem Pavlenko
1ea7bffd4c pass parameter by reference
store reference to wstring in text_path
2008-02-12 20:05:04 +00:00
Artem Pavlenko
01f4984804 don't fail if file can not be open 2008-02-12 20:03:04 +00:00
Andreas Volz
ba5c156c45 fixed autotools build 2008-02-08 19:41:57 +00:00
Artem Pavlenko
84bd1fda6c don't prepend temp DESTDIT prefix to mapnik_pluigins_dir 2008-02-07 11:51:41 +00:00
Artem Pavlenko
4a4af94e54 missing image 2008-02-07 11:10:28 +00:00
Artem Pavlenko
323886c70c added missing scons files 2008-02-07 10:24:55 +00:00
Artem Pavlenko
2b832f5bc8 setjmp png patch from JonB 2008-02-07 10:14:14 +00:00
Artem Pavlenko
9faff8a52f updated to reflect latest changes 2008-02-07 10:01:48 +00:00
Artem Pavlenko
2357582cbb updated scons to 0.97.0d20071212 2008-02-07 09:59:49 +00:00
Dave
a3652c6e66 Return old label_position_tolerance=0 behaviour.
- Place within 1/2 of spacing rather than 1/3.
2008-02-06 20:38:54 +00:00
Artem Pavlenko
3f848ba14d don't need to include agg headers 2008-02-05 13:59:24 +00:00
Artem Pavlenko
1b03c81e84 hide implementation details 2008-02-05 13:58:47 +00:00
Artem Pavlenko
658a2a4932 corrected init order 2008-02-05 13:57:40 +00:00
Artem Pavlenko
8909bde84b new icons (TODO!) 2008-02-04 16:15:13 +00:00
Artem Pavlenko
a8e2821885 support building multi/single variants 2008-02-04 16:14:05 +00:00
Artem Pavlenko
ecaf40475e fixed 2008-02-04 16:13:04 +00:00
Artem Pavlenko
b44762e592 allow multi/single threaded variants 2008-02-04 16:12:13 +00:00
Artem Pavlenko
fa82f6fc50 corrected sorting criteria 2008-02-04 16:10:34 +00:00
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