Artem Pavlenko
867799a88c
+ don't pass std::ios::modes to memory_mapped_file
2009-07-08 23:54:45 +00:00
Dane Springmeyer
eb6a0afffe
add std::ios::in mode for shape access on linux
2009-07-08 23:02:32 +00:00
Artem Pavlenko
5d193947ae
+ avoid implicit conversion by passing expected types to read_intxx_{ndr,xdr}
...
( msvc compiler generates an error otherwise )
2009-07-08 20:52:22 +00:00
Dane Springmeyer
6c846d77a6
add SCons flag for controlling compile-time use of SHAPE_MEMORY_MAPPED_FILE
2009-07-08 00:53:13 +00:00
Artem Pavlenko
ae96fffee0
+ use MAPNIK_BIG_ENDIAN
...
+ support for reading int16_t
+ allow compiling shape.input with or without memory mapped files support
( define SHAPE_MEMORY_MAPPED_FILE to enable)
2009-07-07 23:56:01 +00:00
Artem Pavlenko
d20a2de459
+ move byte order depended I/O to global.hpp
...
this should fix shape.input PPC issues
2009-07-03 13:29:50 +00:00
Artem Pavlenko
2389386c80
+ make shape_io noncopyable
2009-07-03 13:28:59 +00:00
Artem Pavlenko
ed07268576
+ more verbose output to stderr
2009-07-03 13:28:11 +00:00
Artem Pavlenko
597889261b
+ query WKB in platform native format
2009-06-29 14:31:39 +00:00
Artem Pavlenko
15569af061
+ specify a byte order to ST_AsBinary (patch from ssinger)
2009-06-29 14:21:56 +00:00
Artem Pavlenko
84fcabcec3
+ trim bpchar type
2009-06-25 19:59:33 +00:00
Andreas Volz
fd252e202e
update from autotools
2009-06-09 23:52:57 +00:00
Dane Springmeyer
9bcdda31d2
shape input: before boost 1_36 use convenience.hpp
2009-06-08 08:22:02 +00:00
Dane Springmeyer
bc463c2a75
use BOOST_BIG_ENDIAN instead of WORDS_BIGENDIAN
2009-06-08 07:08:30 +00:00
Dane Springmeyer
e61a8119da
shape input: use more flexible (boost::filesystem) method of stripping ext names
2009-06-08 07:07:10 +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
Dane Springmeyer
106a82cf40
remove unused boost filesystem header
2009-05-12 22:51:15 +00:00
Dane Springmeyer
31d6475655
allow compilation of ogrindex and ogr plugin on mac osx
2009-05-12 04:32:42 +00:00
Lucio Asnaghi
539f1bcf9b
+ added index facility by using a *.index file to OGR layers (10-15% faster than internal OGR spatial filter)
2009-05-11 22:06:48 +00:00
Dane Springmeyer
e4aab13cb7
kismet: avoid compiler errors due to unused variable
2009-05-08 23:38:42 +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
Lucio Asnaghi
474dd54900
+ applying fix for ogr (springmeyer) as reported in #336 and #337
2009-05-08 21:12:53 +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
02cf20e8eb
allow kismet plugin to compile on os x
2009-05-01 02:16:58 +00:00
Lucio Asnaghi
eefd9f0350
+ added SConscript file for the kismet plugin so now should be compilable like any other plugin (should close #293 )
2009-04-28 20:20:41 +00:00
Lucio Asnaghi
979d1da49e
+ osm: surround printed output by #ifdef MAPNIK_DEBUG to eliminate unwanted console characters in release mode ( closes #282 )
2009-04-28 20:07:18 +00:00
Lucio Asnaghi
1fcabec480
+ occi: added row_limit parameter (like any other database input plugin)
...
+ occi: added row_prefetch parameter to control how many rows the driver has to prefetch (default to 100)
2009-04-28 14:06:35 +00:00
Artem Pavlenko
be1d437e8b
trim tokens when parsing extent
2009-04-27 18:39:33 +00:00
Artem Pavlenko
47c3bc515d
+ add 'tiled' policy to avoid loading very large rasters into memory
...
if (width*height > 1024*1024) : load raster in 1024x1024 chunks
else : use single_file_policy
TODO: Expose chunk size as raster_datasource parameter
2009-04-10 12:05:31 +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
Andreas Volz
49cef4cdca
wrong header names -> make dist failed
2009-04-05 07:49:23 +00:00
Dane Springmeyer
5380b52832
fix segfault in ogr plugin by skipping empty geoms - closes #292
2009-04-04 20:55:56 +00:00
Andreas Volz
42d659a19f
compile utils with autotools
2009-04-04 16:33:25 +00:00
Dane Springmeyer
3b26f6b01a
add docstring and factory method for osm plugin - closes #275
2009-04-01 00:43:08 +00:00
Lucio Asnaghi
8c775a6da3
+ added "encoding" datasource parameter to occi plugin
...
+ added factory methods with docstrings for occi plugin (closes #274 )
2009-03-31 07:53:29 +00:00
Dane Springmeyer
a9f353de05
improve up front error checking of shapefile existence with boost, and allow shapefile plugin to accept filename with or without '.shp' extension - closes #199 and #174
2009-03-30 23:51:58 +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
Dane Springmeyer
e7c9d02fd3
add 'base' path option to sql,gdal, and ogr plugins and touchup handling of missing files with boost filesystem - closes #263
2009-03-30 20:19:57 +00:00
Artem Pavlenko
e9a0f020b4
+ applied patch from numenor
2009-03-29 11:32:22 +00:00
Andreas Volz
5994b51620
changed logging
2009-03-27 21:38:10 +00:00
Andreas Volz
887518fc57
- install plugins in lib/mapnik/input
...
- Fix: no sqlite3 for kismet
- python files compile and install
2009-03-25 23:11:49 +00:00
Andreas Volz
845441a1b8
support for different icon types (uncrypted, crypted, WEP)
2009-03-24 20:55:18 +00:00
Andreas Volz
b0069ca4c7
no longer conversation to mercator needed
2009-03-22 23:22:55 +00:00
Andreas Volz
cab469eefb
- added new et input plugin
...
- add missing files to plugins Makefile.am
- split debugging and tracing
- documentation
2009-03-22 22:26:42 +00:00
Artem Pavlenko
bad446da1d
+ check if *.sqlite file exists and avoid creating a new one
2009-03-11 23:39:26 +00:00
Dane Springmeyer
383ef59289
scons: switch to using pg_config and gdal-config for checking and adding libs using reworked config parsing that also applies to xml2-config and freetype-config
2009-02-28 21:18:32 +00:00
Lucio Asnaghi
af3fa7dc76
+ sqlite.input: whitespace fix
...
+ occi.input: added table_from_sql to allow specify SELECT statements in table parameter
+ occi.input: added use_spatial_index parameter (on by default)
+ occi.input: improved determination of query columns type
2009-02-24 09:58:31 +00:00
Artem Pavlenko
2cb4265091
+ revert to "limit 1" logic
...
+ discard everything after table name when building
table descriptor to avoid seq scan
2009-02-23 23:26:50 +00:00
Artem Pavlenko
7537c14d77
+ small fix
2009-02-23 22:22:14 +00:00