Commit graph

1434 commits

Author SHA1 Message Date
Dane Springmeyer
9265c75028 strip the file extention of '.shp', if provided, as the shapefile driver does not expect the ext. This allows a directory of shapefiles to be indexed like: 2010-07-16 23:29:45 +00:00
Dane Springmeyer
1d7b507572 add directory for C++ tests, and first C++ test against the font engine functions 2010-07-15 23:37:35 +00:00
Dane Springmeyer
c9941cf800 add helper functions for recursively registering fonts, and ensure they match one of the known freetype2 supported fonts (by ext) - closes #559 2010-07-15 23:05:51 +00:00
Dane Springmeyer
37df6ba211 output metadata about the searched plugin directories if a plugin cannot be found - closes #568 2010-07-15 21:13:03 +00:00
Dane Springmeyer
fd4ff876b6 scons: remove the '_CPPDEFFLAGS' variable, which otherwise would place -DNone in the compiler arguments when no other configure arguments are sent to scons 2010-07-15 16:33:45 +00:00
Dane Springmeyer
ffe5da46bd remove debugging line 2010-07-15 02:18:00 +00:00
Dane Springmeyer
22e6819272 scons: ensure pycairo headers are added 2010-07-15 02:17:30 +00:00
Dane Springmeyer
6097000322 scons: making sure things exist - prepping for out of source build 2010-07-15 00:39:07 +00:00
Dane Springmeyer
9a45c9d820 scons: better handling of PYTHON_INCLUDES and HAVE_LIBXML2 2010-07-15 00:20:38 +00:00
Dane Springmeyer
d75fb586d0 scons: only apply HAS_CAIRO & HAS_PYCAIRO flags to cairo related files 2010-07-14 22:46:37 +00:00
Dane Springmeyer
b8b2b726fe scons: only apply SHAPE_MEMORY_MAPPED_FILE to shapefile driver code 2010-07-14 22:39:55 +00:00
Dane Springmeyer
3d1e3ce8ac only expose save_to_cairo_file if cairo support available 2010-07-14 18:30:06 +00:00
Dane Springmeyer
ebc3001890 scons: make sure to initialize cairo variables 2010-07-14 05:34:09 +00:00
Dane Springmeyer
fd8695c107 scons: conditionally add CXXFLAGS for headers needing Cairo support 2010-07-14 05:08:28 +00:00
Dane Springmeyer
c2988656df backport r1955,1956 - db connection fixes 2010-07-14 02:00:57 +00:00
Dane Springmeyer
c599c52a61 backport r1893 and r1902 - fixing compile for enums 2010-07-14 01:55:54 +00:00
Dane Springmeyer
d785b9c5b4 backport r1889 2010-07-14 01:47:30 +00:00
Dane Springmeyer
1387b1a8d5 backport r1890 2010-07-14 01:46:09 +00:00
Dane Springmeyer
72e37ad399 backport r1897 2010-07-14 01:44:26 +00:00
Dane Springmeyer
7a6aa1e537 backport r1891 2010-07-14 01:42:38 +00:00
Dane Springmeyer
4c506cf380 fix typo 2010-07-14 01:40:55 +00:00
Dane Springmeyer
43fea02bdd backport compiler fix from r1900 2010-07-14 01:33:19 +00:00
Dane Springmeyer
c5adca6e57 make sure to only use mutexes if THREADING=multi/MAPNIK_THREADSAFE=True 2010-07-14 01:28:04 +00:00
Dane Springmeyer
a8b147156d scons: make sure to build a .os file instead of .o 2010-07-14 01:26:21 +00:00
Dane Springmeyer
f187cb7a12 backport for #257, and r1984 2010-07-14 01:02:01 +00:00
Dane Springmeyer
28f0106126 place built python lib inside module directory to make local import easier 2010-07-13 23:53:52 +00:00
Dane Springmeyer
a6a9c19c81 place built plugin targets in input/ directory to make local registration easier 2010-07-13 23:22:54 +00:00
Dane Springmeyer
7360923338 fix typos 2010-07-13 22:04:57 +00:00
Dane Springmeyer
55f0c4da60 port fixes from trunk for gdal bilinear resampling quality (r1912,#563) 2010-07-10 11:53:40 +00:00
Dane Springmeyer
d14f8515ef create branch for a 0.7.2 release (http://trac.mapnik.org/milestone/0.7.2) 2010-07-10 11:45:41 +00:00
Marcin Rudowski
c0c86213eb handle case of empty octrees. #540 2010-03-24 17:36:59 +00:00
Marcin Rudowski
a129611c20 fixed color quantization in case of one color and transparency. #539 2010-03-24 17:20:11 +00:00
Dane Springmeyer
0f771249c6 bump abi compatibility version for osx 2010-03-21 23:19:00 +00:00
Dane Springmeyer
37f21f4289 scons: fixup logic for setting HAS_BOOST_SYSTEM SCons environment variable 2010-03-18 22:51:14 +00:00
Dane Springmeyer
4d460cc795 remove debug line 2010-03-17 22:19:19 +00:00
Dane Springmeyer
8477dcaf40 avoid potential zero division error (floating point exception) if image width and heigh == 0 (likely to happen when layer srs = 4326 and map srs = 900913) - see also #527 - avoid gdal crash on 'ERROR 1: The buffer into which the data should be read is null' 2010-03-17 22:00:00 +00:00
Dane Springmeyer
d6ef3014a3 postgis/oracle: use mapnik::boolean type for 'estimate_extent' rather than std::string, and strip double quotes as the estimated_extent function operates on single quotes - improves upon #393 2010-03-17 16:06:39 +00:00
Artem Pavlenko
e680c3c473 + remove unused *.hpp file 2010-03-17 13:46:02 +00:00
Marcin Rudowski
2384b70abe avoid introducing subpixel shift when upscaling using gdal 2010-03-17 08:34:05 +00:00
Artem Pavlenko
1ccc048a46 use rint() instead of int(round()) 2010-03-16 20:49:40 +00:00
Alberto Valverde
6dcf47530a backported r1699 from trunk 2010-03-16 18:45:53 +00:00
Marcin Rudowski
e92f75c8a1 use map instead of unavailable unordered_map, in case of boost 1.35 2010-03-15 09:18:29 +00:00
Dane Springmeyer
701bcc2144 fix syntax in rundemo for writing to png256 (also now == png8) 2010-03-12 18:28:20 +00:00
Dane Springmeyer
e387a3ba68 rollback unneeded, extra way of specifying color reduction 2010-03-12 17:00:57 +00:00
Marcin Rudowski
95b22e1292 added missing file from r1680 and updated CHANGELOG 2010-03-12 11:42:50 +00:00
Dane Springmeyer
b194c6cea4 apply mapnik-0.7.1.mr.hextree2.diff (slighly modified to accept format='png:key=val' as well as format='png256:key=val' while still maintaining default behavior of just format 'png' or 'png256' - also updated rundemo.py with a few examples 2010-03-11 23:16:17 +00:00
Dane Springmeyer
7841b9d39e properly serialize the map_buffer when saving map 2010-03-11 21:23:26 +00:00
Artem Pavlenko
8b3c390ebf + use rint(v) instead of int(round(v))
+ add rint implementation - msvc hasn't got one
+ minor cleanups
2010-03-11 15:20:04 +00:00
Artem Pavlenko
e62fb19c7c + lets postgis return geometry in native byte order
(wkb reader can handle both 'NDR' and 'XDR')
2010-03-08 12:04:41 +00:00
Artem Pavlenko
e0e3a0fefe + revert to a024c947499994e1e8aaaff2b8ea73a8eec489dd 2010-03-08 12:04:32 +00:00