Commit graph

7391 commits

Author SHA1 Message Date
Dane Springmeyer
2ce8900cf1 quick fix for #2451 2014-12-17 11:36:02 -08:00
Dane Springmeyer
a35acd2a41 support building without dlopen support 2014-12-16 16:03:51 -05:00
Dane Springmeyer
82df66e9c3 Merge pull request #2589 from CartoDB/fix-pgraster-datasource-null-scale
Ignore overviews with 0 scale in pgraster
2014-12-04 11:06:51 -05:00
Rafa de la Torre
c4684e09cd Ignore overviews with 0 scale in pgraster
refs #2551

Postgis raster_columns view is returning NULL values for raster
overviews with large scale factors. That issue in postgis is described
in http://trac.osgeo.org/postgis/ticket/3006

This causes two main problems:

  - The first overview with scale = NULL is wrongly chosen for rendering
    always

  - The messed up scaling factor causes the render symbolizer to spent
    an insane amount of CPU and memory to render a messed up tiles.

The patch in postgis is expected to be released with the new version, a
few months from now.
2014-12-04 15:26:30 +00:00
Robert Coup
ea61c5728d Merge pull request #2555 from stephend/2.3.x
Throw datasource_exception on GDAL RasterIO() failures
2014-11-05 18:21:26 +13:00
Stephen Davis
5a770d6a96 throw datasource_exception on GDAL RasterIO failures 2014-10-31 17:06:09 +13:00
Artem Pavlenko
ad768389ab Merge pull request #2529 from mapycz/2.3.x
2.3.x: sqlite plugin - disable shared cache for sqlite prior to 3.7.15
2014-10-13 14:57:23 +01:00
Jiri Drbalek
f5398e16de sqlite plugin - disable shared cache for sqlite prior to 3.7.15 2014-10-13 13:48:28 +00:00
Dane Springmeyer
779c5c2376 Merge pull request #2473 from strk/2.3.x-faster-pgraster-test
Use a smaller input file for testing dataraster 16bsi
2014-10-01 10:47:01 -07:00
Sandro Santilli
6c936f1ede Further speedup dataraster test by importing only tiled 2014-10-01 10:54:25 +02:00
Sandro Santilli
420e9bbbf6 Use a smaller input file for testing dataraster 16bsi
Also test a minor number of overviews.
The aim is to make the test faster (#2470)
2014-10-01 10:50:54 +02:00
Dane Springmeyer
bad6aa9d43 disable failing test in 2.3.x branch - refs #2438 2014-09-30 17:59:57 -07:00
Dane Springmeyer
40a0326130 match fix from #2466 in 2.3.x branch (although no obvious benefit) 2014-09-30 15:54:25 -07:00
Dane Springmeyer
6e8f02c343 drop auto-parallelization of build to stay consistent with master 2014-09-26 13:08:21 -07:00
Dane Springmeyer
bb569bae3b sync text rendering style between master and 2.3.x branch - refs #2326 2014-09-26 12:55:07 -07:00
Dane Springmeyer
a54f621d98 fix make clean - refs #2112 2014-09-24 16:01:32 -07:00
Dane Springmeyer
e2ea6e487d fix return of painted in grid_renderer 2014-09-19 14:34:17 -07:00
Dane Springmeyer
b8d497844a enable painted for svg_renderer 2014-09-19 14:15:59 -07:00
Dane Springmeyer
c2385437f1 apply fix from #2418 to 2.3.x branch 2014-09-19 14:15:21 -07:00
Dane Springmeyer
faa87d42e5 unmask now fixed raster warping test - amends db39528231 - refs #1913 2014-09-11 10:26:12 -07:00
artemp
b0cfbdf2b7 disable AA when warping images #1913
Conflicts:
	src/warp.cpp
2014-09-11 10:26:12 -07:00
Sean Gillies
648dea63ac Fix install doc formatting. 2014-09-04 10:21:12 -06:00
Dane Springmeyer
afe770a708 Merge pull request #2406 from mapnik/user-specified-python
Allow user to specify a python executable.
2014-09-03 15:53:52 -07:00
Sean Gillies
c1e47cc5df Allow user to specify a python executable.¬
¬
Fall back on `python`. Unlike the solution in PR #2395 this¬
puts all the responsibility for selecting the right python in the¬
case that "python" is Python 3 on the user. I've followed the lead¬
of the Python documentation Makefile. See

http://hg.python.org/cpython/file/340d48347295/Doc/README.txt
http://hg.python.org/cpython/file/340d48347295/Doc/Makefile

Intent is that if your `python` is Python 2 everything works as
before and that is your `python` is Python 3 but you have a
`python2` you can specify that instead.¬
2014-09-03 16:00:12 -06:00
Dane Springmeyer
9c548771ce remove useless svg renderer tests 2014-09-02 22:41:24 -07:00
Dane Springmeyer
5ae55a07e2 Merge pull request #2393 from strk/2.3.x-pgis-simplify-20th
Bring postgis simplification factor back to 1/20 of a pixel
2014-08-26 21:25:14 -07:00
Sandro Santilli
22a8946f62 Bring postgis simplification factor back to 1/20 of a pixel
This was the value in 2.2.x and was accidentally changed as part
of a completely unrelated commit, see:
http://github.com/mapnik/mapnik/issues/1639#issuecomment-53388951
2014-08-26 13:00:32 +02:00
Dane Springmeyer
5e96d5d54b fix gdal compile with msvs 2013 - closes #2257 2014-08-25 17:51:11 -07:00
Dane Springmeyer
c0e8fba619 add support for windows unicode paths in rapidxml loader 2014-08-25 14:50:58 -07:00
Dane Springmeyer
b221d571c5 avoid warning from boost geometry 2014-08-24 15:58:44 -07:00
Dane Springmeyer
5103e84ade fix compile with boost 1.56 - refs #2368 2014-08-24 15:58:28 -07:00
Dane Springmeyer
c7cca17494 fix avoid-edges support for shields - closes #983 2014-08-21 23:51:03 -07:00
Dane Springmeyer
3d5655f7e5 update expected visual images after fix for #2381 2014-08-21 23:46:41 -07:00
Dane Springmeyer
bfedde3cc6 visual tests: don't exit without reporting 2014-08-21 23:36:51 -07:00
Dane Springmeyer
5651a8b9db fix collsion box for shields when scale_factor is used #2381 2014-08-21 23:36:27 -07:00
Dane Springmeyer
3db8d34117 testcase for #983 against 2.3.x 2014-08-21 23:11:14 -07:00
Dane Springmeyer
7e725e59e1 Merge pull request #2380 from mapnik/travis-gdal
Travis gdal
2014-08-21 16:34:00 -07:00
Dane Springmeyer
a2ee09646e travis: re-enable devel for proj + image libs 2014-08-21 16:16:46 -07:00
Dane Springmeyer
ef6cabfa8a backport geojson plugin fixes from master - refs #2319 and 2367 2014-08-21 15:56:46 -07:00
Dane Springmeyer
df205e9b34 travis: another attempt at getting both gdal+postgis going - refs #2353 2014-08-21 15:28:18 -07:00
Dane Springmeyer
36bd809361 Merge pull request #2372 from strk/2.3.x-pgraster-credit
Add mention of CartoDB support in pgraster input plugin code
2014-08-20 08:42:26 -07:00
Sandro Santilli
743404d88c Add mention of CartoDB support in pgraster input plugin code 2014-08-20 17:22:44 +02:00
Dane Springmeyer
14b6ba951e tests: fix postgis/pgraster tests if lack of connection 2014-08-19 13:52:03 -07:00
Dane Springmeyer
f939a8f8e7 adapt to new rtree interface in boost geometry >= 1.56 - refs #2367 2014-08-19 13:51:32 -07:00
Dane Springmeyer
d62365cd64 adapt to ptree change in boost 1.56 - closes #2365 2014-08-19 09:07:30 -07:00
Dane Springmeyer
f3495c3e67 fix css_grammar compile error with boost 1.56 - close #2366 2014-08-19 09:06:40 -07:00
Dane Springmeyer
542deba997 fix compile with older OGR 2014-08-18 21:33:18 -07:00
Dane Springmeyer
0be6c2d7e1 don't throw for OGR layers with no features - refs #2260 #2352 #2354 2014-08-15 19:48:27 -07:00
Dane Springmeyer
422f3bd8b0 add RESPECT mode to make 'fixing' of bbox aspect a no-op on map 2014-08-14 20:25:53 -07:00
Dane Springmeyer
a616e9d7e7 postgis: disable NOTICES by default - refs #2296 2014-08-12 20:27:01 -07:00