Commit graph

3340 commits

Author SHA1 Message Date
Beau Gunderson
d03540faf3 Properly return exit code from nose. 2009-04-16 17:59:38 +00:00
Beau Gunderson
321d4ce27c Add more tests, cleanup existing tests and add TODO functionality to the test runner. 2009-04-16 17:22:38 +00:00
Beau Gunderson
4b60da2fec Adding tests for common mapnik classes. 2009-04-15 23:06:18 +00:00
Beau Gunderson
3c13918ce8 Add run_tests.py, a utility for running the test framework (useful for buildbot). Some formatting in the tests. 2009-04-15 21:42:25 +00:00
Dane Springmeyer
364b6f72c5 scons: provide option to avoid color printed terminal output 2009-04-14 00:01:21 +00:00
Dane Springmeyer
d0b3ecdaa8 rename and make non-executable for ease of use with nosetests 2009-04-13 23:34:38 +00:00
Dane Springmeyer
b46996ff8b catch error and raise UserWarning if an input plugin cannot be found during load_map() - closes #302 2009-04-13 23:22:00 +00:00
Dane Springmeyer
17acd92c43 rename python tests directory to allow for autodetection of tests when running 'nosetests' from root directory 2009-04-12 23:22:37 +00:00
Dane Springmeyer
9adc320755 fix missing usage of LIB_DIR_NAME - closes #312 2009-04-12 23:15:26 +00:00
Dane Springmeyer
b38634429c + switch to nose as testing framework - thanks to Beau for patch and motivation (see #300) 2009-04-12 22:38:46 +00:00
Dane Springmeyer
52166debe6 + update python api docs 2009-04-12 21:37:42 +00:00
Dane Springmeyer
4429958816 minor formatting to render_to_file docstring 2009-04-12 21:36:45 +00:00
Dane Springmeyer
48dea30184 slight formatting fixes to docstrings in layer class 2009-04-12 20:57:08 +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
Artem Pavlenko
d100cb7587 + this change was needed to avoid raster tiles alignment problems
TODO: Review raster handling pipeline to ensure correct alignments across all sources.
2009-04-10 12:07:13 +00:00
Artem Pavlenko
47c3bc515d + add 'tiled' policy to avoid loading very large rasters into memory
if (width*height > 1024*1024) : load raster in 1024x1024 chunks
  else : use single_file_policy

  TODO: Expose chunk size as raster_datasource parameter
2009-04-10 12:05:31 +00:00
Artem Pavlenko
8d963e4270 + use separate x/y scales - important for raster 2009-04-10 12:00:51 +00:00
Artem Pavlenko
9cdc8951ca + pass parameter by const ref 2009-04-10 11:47:46 +00:00
Dane Springmeyer
36886d697c formatting 2009-04-09 18:42:27 +00:00
Dane Springmeyer
82c6e87578 Support xml lib fallback and GetFeatureInfo on all layers - closes #303 and #304 2009-04-09 18:40:39 +00:00
Dane Springmeyer
c9a9fcf287 named docstring arguments only supported in boost python >= 1.35 2009-04-08 22:25:38 +00:00
Dane Springmeyer
000dcab3c9 Maintain support for boost version before 1.34 when writing argument signatures and add docstring for buffered_envelope 2009-04-08 20:11:45 +00:00
Dane Springmeyer
512029bfa4 update docstrings based on jpeg quality controls (#198) 2009-04-08 00:27:36 +00:00
Dane Springmeyer
72c2f903ca We should actually use 'self' as the term for first argument/instance 2009-04-07 23:26:33 +00:00
Dane Springmeyer
47822d578e Add argument aliases to __init__ method for easier/more understandable introspection - addresses #29 2009-04-07 23:17:57 +00:00
Dane Springmeyer
544cbb249a Apply patch from Marcin to handle smooth transitions between raster layers for both gdal and raster plugin - closed #295 2009-04-07 23:06:51 +00:00
Dane Springmeyer
4276ae24fe allow customization of JPEG output image quality using syntax similar to png256, but using 0-100 as suffix, e.g. render_to_file(m,'image.jpeg','jpeg80') - closes #198 - patch from Dennis Luxen 2009-04-07 15:48:51 +00:00
Andreas Volz
39bdab7762 forget to escape path 2009-04-05 21:02:12 +00:00
Andreas Volz
286f0f8d9c fixes Ticket #291 - make build fails due to -lagg not being found (I hope...) 2009-04-05 19:43:26 +00:00
Andreas Volz
49cef4cdca wrong header names -> make dist failed 2009-04-05 07:49:23 +00:00
Dane Springmeyer
5380b52832 fix segfault in ogr plugin by skipping empty geoms - closes #292 2009-04-04 20:55:56 +00:00
Andreas Volz
9fe3c15795 utils support 2009-04-04 18:18:12 +00:00
Andreas Volz
42d659a19f compile utils with autotools 2009-04-04 16:33:25 +00:00
Andreas Volz
d134de3008 new added file 2009-04-04 12:24:45 +00:00
Dane Springmeyer
1fd4ed0a55 fix missing const - thanks Denis - closes #273 and #287 2009-04-02 16:35:08 +00:00
Dane Springmeyer
af5a5b61ed formatting 2009-04-01 18:37:05 +00:00
Dane Springmeyer
d7429f75a1 scons: allow a user to switch back from FAST=True to FAST=False 2009-04-01 15:08:56 +00:00
Dane Springmeyer
08669a08fb scons: add an option to turn on XML spirit debug output in addition to debug mode (note earlier commit added part of this patch http://trac.mapnik.org/changeset/1027/trunk/include/mapnik/filter_parser.hpp) - closes #150 2009-04-01 03:31:24 +00:00
Dane Springmeyer
72734cbda5 update changelog for 0.6.0 release - closes #278 2009-04-01 01:18:14 +00:00
Dane Springmeyer
03e7dc35ad missed this one 2009-04-01 01:17:32 +00:00
Dane Springmeyer
35d38f9b0d refresh python api docs 2009-04-01 00:47:05 +00:00
Dane Springmeyer
3b26f6b01a add docstring and factory method for osm plugin - closes #275 2009-04-01 00:43:08 +00:00
Artem Pavlenko
6268f4fb80 + oops, fixed 2009-04-01 00:11:14 +00:00
Artem Pavlenko
ce45f8dec3 + fix UChar to wchar_t conversion 2009-03-31 22:59:34 +00:00
Dane Springmeyer
57a18dc6ca ogcserver: quick update of docs for 0.6.0 release - closes #266 2009-03-31 22:23:18 +00:00
Dane Springmeyer
6f58b2c63b update version number 2009-03-31 21:39:24 +00:00
Artem Pavlenko
946fa51f4f Patch to cure recursion by aborting if the co-ordinates are to big to handle (jburgess) 2009-03-31 19:50:55 +00:00
Dane Springmeyer
1a03c2d655 touch up INSTALL doc 2009-03-31 17:46:05 +00:00
Dane Springmeyer
c8340e7161 ogcserver: use PATH_INFO to contruct the request 'onlineresource' since SCRIPT_NAME will be emtpy in a WSGI app - fixes #243 for the WSGI wrapper 2009-03-31 17:18:41 +00:00
Dane Springmeyer
a7d8e7b240 fix axis ordering for epsg codes >=4000 and <5000 - based on patch from crschmidt (thanks) - closes #241 2009-03-31 17:09:36 +00:00