Commit graph

2279 commits

Author SHA1 Message Date
Dane Springmeyer
f891b0f61f sqlite plugin: add features_at_point() impl 2011-04-02 04:54:26 +00:00
Dane Springmeyer
5a1842aad1 remove tabs 2011-04-02 03:45:50 +00:00
Dane Springmeyer
819a67fd42 catch errors in build time python pkg-config parsing - closes #738 2011-04-02 03:12:58 +00:00
Dane Springmeyer
27cc2f0dc5 catch errors in build time pkg-config parsing - closes #738 2011-04-02 03:11:42 +00:00
Dane Springmeyer
9b1a33be5c remove spurious semicolon 2011-04-02 03:08:16 +00:00
Dane Springmeyer
8f4386b7b2 use dynamically allocated, scoped array instead of variable-size array, which ISO C++ forbids 2011-04-02 03:07:45 +00:00
Dane Springmeyer
95f78f7b15 svn ignores 2011-04-02 00:51:02 +00:00
Dane Springmeyer
470f48beab avoid compiler warning of 'cast between pointer-to-function and pointer-to-object is an extension' with clang/gcc 2011-04-02 00:43:20 +00:00
Dane Springmeyer
7095b1c907 initialize all metawriter members 2011-04-02 00:12:12 +00:00
Dane Springmeyer
de9a46cfeb remove tabs 2011-04-01 23:56:12 +00:00
Dane Springmeyer
649e4498c1 handle return of system call 2011-04-01 23:55:19 +00:00
Dane Springmeyer
d0e98eb3f1 handle return of fread 2011-04-01 23:54:58 +00:00
Dane Springmeyer
0a720f056a agg: remove tabs, avoid compiler warnings 2011-04-01 23:32:31 +00:00
Dane Springmeyer
c66b3b250c sqlite plugin: add rowid to the fields 2011-04-01 22:30:21 +00:00
Dane Springmeyer
c1a6a54060 remove tabs 2011-04-01 20:47:26 +00:00
Dane Springmeyer
b65c932ac0 avoid -pedantic warnings 2011-04-01 07:20:41 +00:00
Dane Springmeyer
12c005b57e avoid compiler warning about comparison between signed and unsigned integer expressions 2011-04-01 06:44:27 +00:00
Dane Springmeyer
9ec293c503 remove invalid property for point_symbolizer 2011-04-01 06:29:01 +00:00
Dane Springmeyer
3b25621258 fix typos in postgis plugin error reporting 2011-04-01 06:27:52 +00:00
Dane Springmeyer
84ea9e6101 avoid clang++ -pedantic compiler warnings 2011-04-01 06:24:57 +00:00
Dane Springmeyer
d148be9fa2 avoid clang++ -pedanic compiler warning 2011-04-01 06:20:07 +00:00
Dane Springmeyer
eafac7fc7b comment out currently unused agg renderer headers 2011-04-01 06:14:55 +00:00
Dane Springmeyer
7181f631e8 avoid clang++ compiler warnings with -pedanic 2011-04-01 05:32:25 +00:00
Dane Springmeyer
6517f52dcf sqlite plugin: aggregate extents from rtree spatial index 2011-04-01 04:35:56 +00:00
Dane Springmeyer
ede84d5932 sqlite plugin: get type checking correct based on SQlite's loosy goosy 'Column Affinity' 2011-04-01 02:51:28 +00:00
Dane Springmeyer
690ee25c36 sqlite plugin: unless <table> param is a subquery use PRAGMA table_info to query column names and types, and if SQLITE_NULL is encountered when inspecting actual query values fallback to empty strings since mapnik does not have a NULL type 2011-04-01 01:22:19 +00:00
Dane Springmeyer
73e8dd06a0 sqlite plugin: plugin is mature enough now: throw if sql errors are encountered 2011-04-01 01:20:34 +00:00
Dane Springmeyer
23639271fe throw if table is not supplied, quote field names, use spatial index to get extent, and default to built in alias for the primary key ('rowid') if key_field is not supplied 2011-03-31 22:32:22 +00:00
Dane Springmeyer
e9e805690f make ogr, gdal, sqlite plugins built by default as they are used for tests (but they are only built if dependencies are met) 2011-03-22 00:55:48 +00:00
Dane Springmeyer
14068cad23 move segment y_order sort to header that can be used by each renderer 2011-03-22 00:02:50 +00:00
Dane Springmeyer
b3c01a5b59 avoid uninitialized variable compiler warnings 2011-03-21 20:35:15 +00:00
Artem Pavlenko
9abfc24219 + remove namespace qualifier from DEFINE_ENUM
macro to keep clang++ 3.0 happy
2011-03-21 15:24:04 +00:00
Dane Springmeyer
3f219a7046 workaround for latest clang trunk (>=127962) which throws on template <> (extraneous 'template<>' in declaration of variable...) 2011-03-20 19:18:03 +00:00
Hermann Kraus
720d9f216c Add virtual constructors to text placement base classes. 2011-03-20 19:00:29 +00:00
Dane Springmeyer
d3d59c7ac4 fix spelling 2011-03-18 01:11:53 +00:00
Dane Springmeyer
ea895f7837 add geometry_table option to sqlite plugin, which if provided, allows spatial indexes to be used with subqueries 2011-03-17 23:50:16 +00:00
Dane Springmeyer
157563ab4e avoid compiler warnings with g++ 2011-03-17 23:49:06 +00:00
Dane Springmeyer
c2654fd95d add missing file from previous commit 2011-03-17 05:46:55 +00:00
Artem Pavlenko
ec4ef1bb34 + add missing files from 735_metawriter_inmem.patch 2011-03-16 16:50:02 +00:00
Artem Pavlenko
e580078d26 + apply MetaWriter patch from zerebubuth
( see #735 for details )
2011-03-16 13:32:04 +00:00
Artem Pavlenko
b543d7f1f4 + add optional length parameter to allow
passing not-null terminated char strings
2011-03-16 13:31:56 +00:00
Jon Burgess
80557f7b16 Fix setting of minimum-version if map already has minimum_version. Before this fix the value would be overwritten by the underscore2dash(root) step. 2011-03-15 22:49:08 +00:00
Robert Coup
8ace5b7e6b position shield symbolizer symbols centered (ie. with text), rather than top-left in cairo output. re #737 - thanks @jburgess for testing and @Ldp for the patch. 2011-03-15 22:25:37 +00:00
Dane Springmeyer
c93984f06f fix spelling 2011-03-15 20:50:30 +00:00
Artem Pavlenko
9b47d8353e + restore #ifdefs around -> if(!p.process(symbols,*feature,prj_trans)) 2011-03-15 14:18:46 +00:00
Robert Coup
1830d59f00 When using nearest neighbour scaling with a RasterSymbolizer and images with <255 alpha, don't overflow channels. Thanks @craigds. fixes #731 2011-03-14 22:53:04 +00:00
Dane Springmeyer
aea93fe1f9 fix bug in hit_test for points, allowing possibility of hit if tolerance is fractional (most cases) 2011-03-13 22:15:52 +00:00
Dane Springmeyer
578b434f4d trap exceptions in the configure check for whether boost regex has icu support 2011-03-12 02:46:52 +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
Hermann Kraus
f9040c6026 Show error message when invalid placement algorithm is selected. 2011-03-11 14:18:34 +00:00