Commit graph

67 commits

Author SHA1 Message Date
Dane Springmeyer
e84119aed9 directly link libmapnik in plugins (not just darwin) - patch from Stella L. - closes #790 2011-07-05 23:41:17 +00:00
Dane Springmeyer
49fd1f93d1 use boost::make_shared across plugins to avoid explicit new and ensure fast and exception safe allocation 2011-05-16 23:41:34 +00:00
Dane Springmeyer
b3c258c9a8 allow usage of boost::make_shared in gdal featureset construction by passing const reference - #760 2011-05-16 22:17:50 +00:00
Dane Springmeyer
d05b0c539f apply major refactor of RasterColorizer by ben moores from https://github.com/BenMoores/mapnik-trunk/wiki/RasterColorizer - closes #523 2011-05-04 00:20:17 +00:00
Dane Springmeyer
5a1842aad1 remove tabs 2011-04-02 03:45:50 +00:00
Dane Springmeyer
b8663b67e3 handle NODATA for rgb and grey images in gdal.input - closes #727 2011-03-11 21:28:18 +00:00
Dane Springmeyer
c5833a6db8 remove unmaintained autotools scripts 2011-02-04 22:22:16 +00:00
Dane Springmeyer
1dd2ef690d handle colortable for paletted images in gdal plugin - closes #50 2011-01-27 03:11:22 +00:00
Dane Springmeyer
f671ef20da scons: ensure libmapnik is built before any plugins that link to it on osx, needed for builds with -jN 2010-12-21 20:46:44 +00:00
Dane Springmeyer
9700ad4fb2 avoid compiler warning by only adding 'get_overview_meta' in debug mode 2010-12-20 19:17:56 +00:00
Robert Coup
408de0c223 Add bbox parameter to GDAL Datasource to allow overriding envelope, with Python bindings. Fixes #680 2010-12-09 21:41:25 +00:00
Lucio Asnaghi
013d48f667 + logging cosmetics 2010-11-18 22:17:09 +00:00
Lucio Asnaghi
68cbb51814 + fixed a problem in getting GetColorEntry in RGB datasets
+ cosmetics
2010-11-14 14:54:28 +00:00
Artem Pavlenko
ab101401cd + simplify geometry implementation
+ removed multiple geometry typedefs
+ use geometry_type
+ revert to storing vertices in vector_vertex
  (previous implementation using std::vector was
   fragmenting heap causing performance issues with large geometries)
+ FIXME: hit_test is broken!
2010-11-03 13:19:15 +00:00
Robert Coup
1dce437120 #622 add optional late-binding of datasources 2010-10-24 06:34:18 +00:00
Dane Springmeyer
8e708a8160 gdal: protect from passing wrong number of bands to gdal 2010-09-19 17:52:17 +00:00
Dane Springmeyer
00f473de63 gdal plugin: calculate constant raster properties used in featureset up front at datasource creation (no real speed boost but less repeated code) 2010-09-18 19:19:27 +00:00
Dane Springmeyer
523b09701e Add the ability to pass custom CXXFLAGS and LDFLAGS that will be prioritized above other compiler and linker flags 2010-09-18 18:02:15 +00:00
Dane Springmeyer
680760005d + formatting 2010-08-18 20:42:00 +00:00
Dane Springmeyer
267b48de49 add ability to uninstall all tracked scons targets using an 'uninstall' argument like 'scons uninstall' - closes #311 2010-07-18 20:39:05 +00:00
Dane Springmeyer
2a9d2e8192 place built plugin targets in input/ directory to make local registration easier 2010-07-13 23:26:05 +00:00
Dane Springmeyer
4707e1a6f3 +add support for better resampling when using bilinear scaling with gdal plugin (with or without overviews) 2010-06-20 04:06:23 +00:00
Dane Springmeyer
810c63cb51 revert unintended changes from r1804 against gdal and sqlite plugins 2010-05-30 03:23:59 +00:00
Dane Springmeyer
a84b397f48 markers_converter.hpp was moved to markers_placement.hpp 2010-05-30 03:17:59 +00:00
Artem Pavlenko
48d145d98c + TODO: implement colormap 2010-05-27 10:20:33 +00:00
Dane Springmeyer
53876d14a0 avoid potential zero division error (floating point exception) 2010-03-17 22:28:03 +00:00
Artem Pavlenko
f00dbb7496 + link to mapnik2 lib 2010-03-17 22:01:34 +00:00
Alberto Valverde
c06b966eeb adapting forward-port from 0.7.1 done in r1703 to trunk's Query interface which returns a (resx,resy) tuple 2010-03-17 10:47:11 +00:00
Marcin Rudowski
d9d5521a81 avoid introducing subpixel shift when upscaling using gdal 2010-03-17 08:34:43 +00:00
Marcin Rudowski
f4f329d3c2 eliminate compiler warnings as in r1659 2010-03-06 09:25:31 +00:00
Dane Springmeyer
b540dab73b apply slighly modified (env->box2d) mapnik-trunk.mr.raster-position2.diff from mar_rud to close #475 2010-03-03 03:23:53 +00:00
Artem Pavlenko
484f24d1b1 + make logic a bit more verbose 2010-02-10 15:16:52 +00:00
Artem Pavlenko
f4e7a7931f + implement x/y resolution 2010-02-03 16:56:42 +00:00
Artem Pavlenko
c11e35fbc0 + reduce threshold for 'tiled' policy to 512*512 pixels
+ reduce tile size to 256 px
+ TODO: expose the above as datasource parameters
2010-02-03 12:20:06 +00:00
Artem Pavlenko
47dc1e197b + merge mapnik2 to trunk 2009-12-16 20:02:06 +00:00
Dane Springmeyer
f543f56524 add missing include 2009-12-07 06:45:27 +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
5e16e04b28 gdal: ensure scaling is available within raster_symbolizer at necessary scales by avoiding pre-scaling in gdal RasterIO 2009-10-22 16:58:03 +00:00
Dane Springmeyer
eee88806b8 remove testing debug line 2009-10-12 05:27:16 +00:00
Dane Springmeyer
27fbc4549d change the method for calculating offsets to pass to GDALRasterIO, as the 'start_x, start_y' implementation added in r1321 was leading to large shifts in 1-banded srtm data without overviews - this new approach works with and without overviews and also with 3 band rbg data. Also added more debug output. 2009-10-12 05:25:36 +00:00
Dane Springmeyer
6d3dcdeac6 add a bit more debug printing to gdal plugin and make raster width and height class attributes 2009-10-12 04:09:36 +00:00
Dane Springmeyer
7785461d1f remove testing debug line from gdal plugin 2009-10-11 16:12:36 +00:00
Dane Springmeyer
4367b813a8 cleanup up gdal featureset code, removing old or unneeded debug lines 2009-09-28 16:56:01 +00:00
Dane Springmeyer
c808cf62b9 add support for gdal overviews to the Gdal Plugin (use http://www.gdal.org/gdaladdo.html to build overviews) - modified patch from gdalcolors branch from Alberto Valverde (I removed dependence on color/masking code until that support lands in trunk) - addresses #54 2009-09-27 17:23:09 +00:00
Lucio Asnaghi
3805ee0fab + added a "shared" parameter to select if you want to open the dataset in shared mode (causing problems when multiple accesses to the same file)
+ introduced some more code for supporting overviews (still commented out as default, need revision)
2009-05-15 10:31:49 +00:00
Lucio Asnaghi
1f39b05923 + add GDALDereferenceDataset when used with GDALOpenShared (instead of freeing brutally the dataset) 2009-05-08 21:45:19 +00:00
Lucio Asnaghi
9de066e035 + make use of GDALOpenShared instead of GDALOpen, which could be better performing when using multiple equal datasource reads (no need to open multiple datasources, and yes it is still thread safe) 2009-05-08 21:15:05 +00:00
Dane Springmeyer
e71d90728d + improve error reporting of gdal plugin and avoid boost filesystem check - reverts r1044 and addresses #337 2009-05-08 18:23:58 +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
8f610a71d9 add boost filesystem checks (for filename existance) to gdal and raster plugins 2009-03-30 21:56:03 +00:00