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
Stephen Davis
5a770d6a96
throw datasource_exception on GDAL RasterIO failures
2014-10-31 17:06:09 +13:00
Jiri Drbalek
f5398e16de
sqlite plugin - disable shared cache for sqlite prior to 3.7.15
2014-10-13 13:48:28 +00: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
b221d571c5
avoid warning from boost geometry
2014-08-24 15:58:44 -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
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
f939a8f8e7
adapt to new rtree interface in boost geometry >= 1.56 - refs #2367
2014-08-19 13:51:32 -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
a616e9d7e7
postgis: disable NOTICES by default - refs #2296
2014-08-12 20:27:01 -07:00
Dane Springmeyer
b302929fb4
make sure pgraster is rebuilt if headers change inside the postgis plugin dir
2014-08-12 20:27:01 -07:00
Dane Springmeyer
e458959ea3
remove unused function
2014-08-12 20:27:01 -07:00
Dane Springmeyer
f566df3fca
Merge pull request #2352 from kernelsanders/2.3.x
...
ogr plugin extent error handling
2014-08-12 17:32:08 -07:00
Dane Springmeyer
ce5d5e4b4c
Merge pull request #2329 from strk/2.3.x-pgraster2
...
Implement input plugin for PostGIS Rasters
2014-08-12 14:53:56 -07:00
Joel Brown
e8c3c0bad9
ogr plugin extent error handling
2014-08-12 15:10:25 -06:00
Joel Brown
8553514f23
formatting
2014-08-12 11:59:36 -06:00
Joel Brown
480a8f3d48
formatting
2014-08-12 11:58:46 -06:00
Joel Brown
106ecb2b9c
formatting
2014-08-12 11:54:46 -06:00
Joel Brown
d75fb237b1
Add optional extent paramater to ogr plugin
2014-08-11 16:06:21 -06:00
Sandro Santilli
fa4d1e4ada
Implement input plugin for PostGIS Rasters
...
Closes #1660 .
Includes python bindings and testcases.
2014-08-01 10:25:41 +02:00
Dane Springmeyer
916a30124b
Merge pull request #2304 from strk/2.3.x-readonly
...
Ensure read-only transactions
2014-07-28 18:00:53 -07:00
Dane Springmeyer
48f920ab95
workaround old GDAL bug regarding rgba images and alpha reporting - closes #2310
2014-07-22 15:01:36 -07:00
Sandro Santilli
f131040dff
Ensure read-only transactions
...
Closes #2142
2014-07-16 10:59:11 +02:00
Dane Springmeyer
a1cab08d77
fix #2283
2014-06-24 17:50:35 -07:00
Sandro Santilli
018e33cda8
Makefile tweaks for helloworld template plugin
...
- Do not force use of clang++ to build the plugin (broken on recent debian
and derivates: https://bugs.debian.org/643959 )
- Do not force clean on install
- Use -fPIC to build objects (or g++ complains)
2014-06-13 12:57:35 +02:00
Dane Springmeyer
7960be55fe
remove libcurl dependency
2014-06-12 18:29:26 -07:00
Dane Springmeyer
a7e6f3a24b
scons: support MAPNIK_NAME option to customize libmapnik name for custom packaging
2014-06-09 13:32:48 -07:00
Dane Springmeyer
4903689cf7
improvements to GDAL 2.x handling - refs #2259 amends cbdd112223
2014-06-02 20:25:32 -07:00
Dane Springmeyer
cbdd112223
support for GDAL >= 2.0 in ogr plugin - refs #2259
2014-06-02 19:33:49 -07:00
Dane Springmeyer
e8ee02877d
fix OGR plugin error reporting
2014-04-22 15:31:19 -07:00
Dane Springmeyer
02d4e7fd06
postgis geometry type detection - fall through to detecting type on individual geometries if the geometry_columns only reports 'geometry' - refs mapbox/tilemill/#2099
2014-04-22 15:31:06 -07:00
Dane Springmeyer
ecbba52bc0
add code comment about curl [skip ci]
2014-04-09 09:44:43 -04:00
Dane Springmeyer
1dd481f8f7
fallback if pkg-config fails for libcurl or libpq
2014-04-09 09:40:40 -04:00
Dane Springmeyer
f1dd07fd64
fix static linking of the osm plugin against libcurl
2014-04-08 23:15:33 -04:00
Dane Springmeyer
7351879e6f
Merge pull request #2193 from strk/2.3.x-no-terminate-pgis-dtor
...
Do not throw in postgis_datasource destruction if backend is down
2014-04-04 18:20:59 -07:00
Dane Springmeyer
55ba8d38ae
Merge pull request #2182 from strk/2.3.x-all-async
...
Have all queries use the async interface
2014-04-03 23:59:11 -07:00
Dane Springmeyer
ce1ff9902e
better linking for postgis.input using pkg-config
2014-04-02 13:26:33 -07:00
Sandro Santilli
9d04d9fef9
Do not throw in postgis_datasource destruction if backend is down
...
... and persist_connections is true!
Closes #2191
2014-03-26 15:35:55 +01:00
Dane Springmeyer
551718df59
postgis: use max float for no-op bbox token - closes #2158
2014-03-12 13:31:14 -07:00
Dane Springmeyer
c9e3248cec
more auto_ptr usage to avoid bare geometry pointers
2014-03-12 13:11:51 -07:00
Sandro Santilli
bf3500d757
Have all queries use the async interface
2014-03-11 11:10:41 +01:00
Dane Springmeyer
b1e9aa2140
Merge pull request #2176 from strk/2.3.x-segfault-on-execute
...
Do not attempt to PQclear a null PQresult*
2014-03-09 21:04:48 -07:00
Sandro Santilli
d36c39d9be
Make sure status() returns a message also on bad connection
...
Closes #2173 .
2014-03-06 10:18:21 +01:00
Sandro Santilli
9a1996620e
Do not attempt to PQclear a null PQresult*
2014-03-06 10:04:10 +01:00
Dane Springmeyer
f2021971f0
fix postgis plugin linking when statically linking on linux - refs mapnik/mapnik-packaging#123
2014-02-27 14:23:57 -08:00
Dane Springmeyer
6f14228e30
fix static linking of gdal/ogr plugins on linux - refs mapnik/mapnik-packaging#123
2014-02-27 14:02:24 -08:00
Dane Springmeyer
b3e6ea48b0
fix rendering of multiple styles with OGR plugin - refs #2048 and mapbox/tilemill#2202
2014-01-31 19:12:31 -08:00