Commit graph

4514 commits

Author SHA1 Message Date
Dane Springmeyer
c8d5280b00 only render stroke on markers if it actually has a width 2010-10-15 00:12:51 +00:00
Dane Springmeyer
4286e9f08b shape: switch back to previous end of file method - closes #647 2010-10-14 19:47:54 +00:00
Dane Springmeyer
5308c36bc6 add more tests for the ShieldSymbolizer 2010-10-13 01:23:56 +00:00
Dane Springmeyer
a165713701 set svn ignore on rasterlite dir 2010-10-12 21:26:43 +00:00
Dane Springmeyer
c511313c28 attach -pthreads to CXXFLAGS not LIBS 2010-10-12 05:41:36 +00:00
Dane Springmeyer
cd8b52a494 fix sytax 2010-10-12 05:36:26 +00:00
Dane Springmeyer
977ec6c498 shuffle addition of 'pthreads' flag so it is added before configure check 2010-10-12 05:34:41 +00:00
Dane Springmeyer
b498f858c5 use plural 'pthreads' on solaris 2010-10-12 05:25:32 +00:00
Dane Springmeyer
ca5d44032e explicitly set the runpath to libmapnik for the python bindings - in combination with ability to set 'CUSTOM_LDFLAGS' this closes #354 2010-10-12 04:40:00 +00:00
Dane Springmeyer
688b1f2299 add an 'extra_attributes' property to the map to store mapnik::parameters that don't make sense as full attributes but need to be carried through from load_map() to save_map() for applications that use mapnik to serialize to xml such as Cascadenik and Quantumnik (currently useful storage for 'minimum_version' and 'font_directory') 2010-10-07 19:34:36 +00:00
Dane Springmeyer
157e835ebf make sure to return with something 2010-10-07 19:30:35 +00:00
Dane Springmeyer
2fc2b4c443 add 'font_directory' attribute to map to allow for regstration of fonts within - in combination with r2025 this closes #168 2010-10-07 01:49:07 +00:00
Dane Springmeyer
2f46db5aba python: add back mapnik.Filter and mapnik.Box2d as deprecated + formatting 2010-10-07 01:03:16 +00:00
Dane Springmeyer
aa77ec70a1 stub in docstrings for expressions 2010-10-07 01:01:49 +00:00
Dane Springmeyer
6fa205474f fix spelling 2010-10-07 01:00:58 +00:00
Dane Springmeyer
2c923d4cc2 scons: remove stale plugins when installing (will avoid common problem of old installed plugins with incompatible ABI) and shuffle color logic to make sure you can properly turn off color printing with COLOR_PRINT=False 2010-10-07 00:42:47 +00:00
Dane Springmeyer
2337c79c87 expose methods and properties on the ShieldSymbolizer - addresses #612 2010-10-06 19:10:51 +00:00
Dane Springmeyer
58b907a61b catch up tests with change of bgcolor->background-color 2010-10-06 18:59:59 +00:00
Dane Springmeyer
c240208a0f no longer an invalid color representation, so removing test 2010-10-06 18:53:08 +00:00
Dane Springmeyer
f7346b0e72 make sure to seek to the beginning of shapefile when querying points and using indexes - thanks tmcw for uncovering - closes #643 2010-10-06 16:16:58 +00:00
Dane Springmeyer
806971e56d formatting 2010-10-05 20:13:03 +00:00
Artem Pavlenko
2f84e31e09 + revert using shield displacement in placement_finder
+ correct shield placement logic
   (TODO: ensure scale_factor works correctly)
2010-10-05 11:41:07 +00:00
Dane Springmeyer
2007466278 mapnik has never required boost serialization 2010-10-02 13:27:09 +00:00
Dane Springmeyer
169196e009 apply patch from strk for 80 columns format for README and INSTALL - closes #636 2010-10-02 12:30:53 +00:00
Dane Springmeyer
d4306abf7d sqlite: skip reading featureset if no wkb is found; rasterlite: link to boost libs on mac os x 2010-10-01 20:16:49 +00:00
Alberto Valverde
6e31bacf2c fixed the regression in hit_test mentioned in #560 in a temporary way until the geometry interafce settles down 2010-10-01 12:24:29 +00:00
Alberto Valverde
9c79d52ca0 Modified cairo_pattern in order to let cairo handle ownership of the image
buffer. This solves the issue mentioned in [2254] properly as it wasn't solved
properly before.
The bug is uncovered in cairo 1.10.0 and caused that images added to pdf
surfaces did not appear at all. My guess is that newest cairo reads the
pattern surface lazily when "trasnfering" it to the target surface and by the
time it does it the cairo_pattern which owns the buffer has already been
destroyed.
2010-10-01 11:22:39 +00:00
Alberto Valverde
215c223f68 Fixing issue when painting images into cairo PDFSurfaces which appears when using cairo 1.10.0. The context's surface needs to be marked as dirty after painting or else images won't be flushed. Earlier versions of cairo weren't as strict abouth this. Thanks to Company @ #cairo for helping out 2010-09-30 15:26:38 +00:00
Alberto Valverde
60ac5d8f84 improved RasterColorizer's docstrings as requested in #619 2010-09-30 12:50:57 +00:00
Artem Pavlenko
4dbafdcec0 + apply scale_factor to shield/text displacement
+ fix recentering logic
2010-09-30 11:40:24 +00:00
Dane Springmeyer
49e6fa4480 fixup compile of cairo rendering backend after r2248 2010-09-28 18:27:42 +00:00
Artem Pavlenko
69221d1438 + apply scale_factor to spacing and minimum_distance
in placement_finder
2010-09-27 10:36:53 +00:00
Artem Pavlenko
8163be1cc2 + align text to pixel dim for svg shields 2010-09-27 10:07:21 +00:00
Artem Pavlenko
bbc797aeff + pass scale_factor to text placement 2010-09-27 09:58:30 +00:00
Artem Pavlenko
0727df6319 + recentre svg symbol before applying user transform 2010-09-27 09:58:21 +00:00
Artem Pavlenko
1557892862 + ident 2010-09-27 09:58:12 +00:00
Dane Springmeyer
9d1f8f013b remove .zip that does not need to be versioned 2010-09-26 23:51:48 +00:00
Dane Springmeyer
dce9986d3d add farsi (rtl) language map in tests from ajashton 2010-09-26 23:50:37 +00:00
Dane Springmeyer
dc247d9d79 revert python 3 specific test syntax - will get to this later 2010-09-26 23:41:16 +00:00
Dane Springmeyer
154450fb8b fix test failure when calling ds.all_features() by allowing a simple Box2d Query contructor - sidestepping issue of converting a python tuple to a boost tuple atm 2010-09-26 23:39:04 +00:00
Dane Springmeyer
03250d0efe fix up metaclass injector to work with both python 2 and python 3 because the 2to3 script cannot handle this tricky bit 2010-09-26 23:28:29 +00:00
Dane Springmeyer
9492d309e6 better checking for whether our target python is python 3 2010-09-26 22:49:14 +00:00
Dane Springmeyer
18dd9ff40e python3 support - patch thanks to Haoyu Bai - closes #334 2010-09-26 12:15:16 +00:00
Dane Springmeyer
6ebb182c11 actually add fix for #621 2010-09-26 11:52:06 +00:00
Dane Springmeyer
d7740caffc revert unintended changes 2010-09-26 11:50:16 +00:00
Dane Springmeyer
48f7533808 fix text_transform upgrade issue - thx ajashton - closes #621 2010-09-26 11:48:43 +00:00
Dane Springmeyer
207168fafc fix broken feature caching - #624 2010-09-26 10:25:15 +00:00
Dane Springmeyer
baf04537ee 619_raster_colorizer_documentation.patch from tmcw - closes #619 2010-09-25 13:55:51 +00:00
Artem Pavlenko
77da818cd9 + recentre SVG symbols before rendering
(todo: maybe better recentre SVGs at loading time)
2010-09-25 12:12:59 +00:00
Dane Springmeyer
3c8926a395 apply python docs patch from tmcw - closes #618 2010-09-24 17:41:08 +00:00