Lucio Asnaghi
dfdfe15853
+ avoid usage of static string where it's not needed
2010-11-14 14:49:42 +00:00
Lucio Asnaghi
fc5f234567
+ thrashed unused static string
2010-11-14 14:48:48 +00:00
Lucio Asnaghi
b7414ee1f9
+ aligned kismet to use the new box2d::from_string
2010-11-14 14:46:44 +00:00
Lucio Asnaghi
ddb6cfdcba
+ aligned occi to use the new box2d::from_string
2010-11-14 14:43:49 +00:00
Lucio Asnaghi
f24d329cac
- cosmetics
2010-11-14 14:41:49 +00:00
Dane Springmeyer
f9d229c7dc
postgis: also split extent string on spaces
2010-11-14 08:34:33 +00:00
Dane Springmeyer
592765d39c
osm plugin: make sure to read in data from new file - closes #542
2010-11-13 21:43:38 +00:00
Lucio Asnaghi
2241f9adea
cosmetics
2010-11-13 20:21:21 +00:00
Lucio Asnaghi
9e0c5b0769
cosmetics
2010-11-13 20:20:38 +00:00
Lucio Asnaghi
796740f56b
- killed a couple of debug statements in geos converter
2010-11-12 22:12:58 +00:00
Lucio Asnaghi
d24ed6cdf9
+ fix geos geometry converter bugs
2010-11-12 22:11:13 +00:00
Lucio Asnaghi
bed8bcf84f
- improved geos plugin. first results available
2010-11-12 21:18:53 +00:00
Lucio Asnaghi
2cc9435576
- forgot to declare a namespace (oops!)
2010-11-12 00:31:04 +00:00
Lucio Asnaghi
07f455ebaa
+ use mapnik::table_from_sql in sqlite and occi plugins (after change r2337 thanx to dane)
2010-11-12 00:12:47 +00:00
Dane Springmeyer
385ad05205
create an sql_utils header for all sql-based plugins to be able to leverage, and move the postgis table_from_sql function into it
2010-11-11 16:33:30 +00:00
Lucio Asnaghi
4ce78f4a3f
- fix in build system to allow GEOS to compile properly
2010-11-10 11:48:55 +00:00
Lucio Asnaghi
0066407774
- added extent support for geos plugin
...
- fixed python binding for geos plugin
2010-11-10 11:35:19 +00:00
Lucio Asnaghi
48d31542f9
- added missing GEOS conversion functions
2010-11-10 11:08:29 +00:00
Lucio Asnaghi
f1b8ad4ee7
Initial check in of a GEOS input plugin: This allows constructing
...
geometries directly inside a XML file by specifying a WKT text.
Useful a lot for building legend images for layers or drawing fixed
geometries in the map. An update of the main SConstruct and python
bindings for this will follow. Be careful with this, as it's mainly
alpha code.
2010-11-10 10:46:09 +00:00
Dane Springmeyer
37a300d9fa
allow occi plugin to compile against > 10g
2010-11-08 21:14:48 +00:00
Dane Springmeyer
69ade9ab35
fix compile error when building without memory mapped shapefiles - problem since r2194
2010-11-08 20:38:17 +00:00
Dane Springmeyer
688c950344
get the occi plugin compiling after the late binding patch
2010-11-05 17:37:48 +00:00
Dane Springmeyer
55131af834
fix typo
2010-11-05 17:02:21 +00:00
Dane Springmeyer
feb4d0cb8e
fixup more old references to previous geometry storage impl
2010-11-05 06:20:37 +00:00
Dane Springmeyer
209b0697dc
upgrade a hello world plugin and cairo renderer to fully use new geometry_type
2010-11-03 16:26:30 +00:00
Artem Pavlenko
ab101401cd
+ simplify geometry implementation
...
+ removed multiple geometry typedefs
+ use geometry_type
+ revert to storing vertices in vector_vertex
(previous implementation using std::vector was
fragmenting heap causing performance issues with large geometries)
+ FIXME: hit_test is broken!
2010-11-03 13:19:15 +00:00
Dane Springmeyer
ea39e6f69e
add a directory for plugin templates - and add a first "hello world" with basic docs"
2010-10-24 08:04:16 +00:00
Robert Coup
1dce437120
#622 add optional late-binding of datasources
2010-10-24 06:34:18 +00:00
Dane Springmeyer
4286e9f08b
shape: switch back to previous end of file method - closes #647
2010-10-14 19:47:54 +00:00
Dane Springmeyer
f7346b0e72
make sure to seek to the beginning of shapefile when querying points and using indexes - thanks tmcw for uncovering - closes #643
2010-10-06 16:16:58 +00:00
Dane Springmeyer
d4306abf7d
sqlite: skip reading featureset if no wkb is found; rasterlite: link to boost libs on mac os x
2010-10-01 20:16:49 +00:00
Dane Springmeyer
8e708a8160
gdal: protect from passing wrong number of bands to gdal
2010-09-19 17:52:17 +00:00
Dane Springmeyer
00f473de63
gdal plugin: calculate constant raster properties used in featureset up front at datasource creation (no real speed boost but less repeated code)
2010-09-18 19:19:27 +00:00
Dane Springmeyer
523b09701e
Add the ability to pass custom CXXFLAGS and LDFLAGS that will be prioritized above other compiler and linker flags
2010-09-18 18:02:15 +00:00
Dane Springmeyer
1aa05e052d
shape: throw an error if an attribute name is requested that does not exist and report out which attribute names are available - closes #604
2010-09-14 17:59:50 +00:00
Dane Springmeyer
fbd0e4954c
remove duplicate locks - handled in pool.hpp already (mapnik held up fine this way in the wms benchmarks)
2010-09-14 17:08:18 +00:00
Dane Springmeyer
73fe7fda4a
use boost::iostreams::stream_offset for dbf offset and record_length_ to work around >2 GB issue with filtering features - closes #595 (TODO - look into offset issues in shape indexes - #603 )
2010-09-14 16:21:25 +00:00
Dane Springmeyer
d84ac3ad5b
better error message if shapefile index cannot be read
2010-09-14 15:43:38 +00:00
Dane Springmeyer
4c07bc8447
avoid compiler warning in indexed shape reader
2010-09-14 15:43:02 +00:00
Artem Pavlenko
ad03de5895
+ better .index handling (TODO!)
2010-09-06 19:20:59 +00:00
Dane Springmeyer
89acd2e6e0
pass iterators as const to qi::phrase_parse allowing compile on linux g++ (rhel)
2010-09-06 18:37:02 +00:00
Artem Pavlenko
23ea9e0004
add coomment
2010-09-02 20:21:00 +00:00
Artem Pavlenko
65eba5f894
use boost::spirit to parse int and double from dbf
2010-09-02 20:20:51 +00:00
Artem Pavlenko
7776b8f4ae
+ make shape_io object a shape datasource member and re-use memmapped files
...
(todo : only implemented for indexed shape files atm)
2010-09-02 20:20:42 +00:00
Dane Springmeyer
1cd1593513
fix spelling error in 'initial_size' and ditch lowercasing method which will not work unless applied before the query object is created
2010-08-28 03:09:49 +00:00
Dane Springmeyer
1d7afcec89
make sure the user does not request a layer by index greater than exists in the dataset
2010-08-20 21:59:48 +00:00
Dane Springmeyer
2de597d961
tweak to error formatting of layers available in ogr dataset
2010-08-20 21:24:58 +00:00
Dane Springmeyer
930b2cc7b6
better handling and error reporting around ogr layer names and indexes, renamed ogr plugins index file to 'ogrindex' to avoid collision with shape plugins index (when using common shapefile between each as the indexes appear incompatible)
2010-08-20 21:20:55 +00:00
Dane Springmeyer
c7f136db91
avoid segfault if geometry is so invalid that no reference is returned and we cannot check if it is empty - closes #574
2010-08-20 21:14:14 +00:00
Dane Springmeyer
50147ab509
warn if no index is found for shapefiles - TODO - add an env setting to turn off warnings
2010-08-18 21:02:54 +00:00
Dane Springmeyer
5b50b59fe8
add the ability to control usage of ST_ prefix on AsBinary (as there may be performance impl), force lowercasing attribute names, and toggle forcing 2d geometries
2010-08-18 21:00:09 +00:00
Dane Springmeyer
680760005d
+ formatting
2010-08-18 20:42:00 +00:00
Dane Springmeyer
6cce96dd06
upgrade default projection of epsg:4326 to match exactly what proj4 stores in /usr/local/share/epsg for 4326 (aka WGS84)
2010-08-10 18:18:31 +00:00
Artem Pavlenko
d6acd74ec3
+ don't create stack variable for reclen
2010-07-25 20:12:43 +00:00
Artem Pavlenko
7bef66b448
+ correct null shapes processing
...
(no bounding box, no geometric data)
+ untabify and re-format
2010-07-25 19:55:47 +00:00
Artem Pavlenko
5fd6db7b0f
+ formatting ..
2010-07-25 19:55:40 +00:00
Artem Pavlenko
964f17bc31
+ don't read bounding box for null shapes
2010-07-25 19:55:32 +00:00
Dane Springmeyer
267b48de49
add ability to uninstall all tracked scons targets using an 'uninstall' argument like 'scons uninstall' - closes #311
2010-07-18 20:39:05 +00:00
Dane Springmeyer
75060190c0
scons: only apply SHAPE_MEMORY_MAPPED_FILE to shapefile driver code
2010-07-14 22:40:10 +00:00
Dane Springmeyer
2a9d2e8192
place built plugin targets in input/ directory to make local registration easier
2010-07-13 23:26:05 +00:00
Artem Pavlenko
4baccf2ee3
+ corrected mistype
2010-07-02 11:52:11 +00:00
Artem Pavlenko
aa0e17afd1
+ check cached connection status before returning.
...
if PQstatus(conn) == CONNECTION_BAD attempt to
create a new one
+ expose "conect_timeout" PG connection parameter
default to 4 sec
+ throw mapnik::datasource exception if connection
is 'bad' in mapnik::features(..)
2010-07-02 11:42:35 +00:00
Artem Pavlenko
9b3809443c
+ fix naming style in mapnik::Map
2010-06-25 15:23:35 +00:00
Artem Pavlenko
2fbc476d19
+ formatting
2010-06-25 15:23:09 +00:00
Dane Springmeyer
4707e1a6f3
+add support for better resampling when using bilinear scaling with gdal plugin (with or without overviews)
2010-06-20 04:06:23 +00:00
Dane Springmeyer
a6da1d95ba
tidy
2010-06-19 15:19:08 +00:00
Dane Springmeyer
7e2a2aab5a
+ability to choose ogr layer by index number
2010-06-19 15:13:47 +00:00
Artem Pavlenko
e7d9db9735
+ remove forward decl of transcoder (using mapnik::transcoder) is
...
sufficient
2010-06-18 15:38:44 +00:00
Artem Pavlenko
b0b6daa6cb
+ fixed: append to the libraries
2010-06-18 15:38:37 +00:00
Lucio Asnaghi
d4a334341e
- fixed OGR input plugin problem when using boost mapped_file (needs linkage to libboost_iostreams.so)
...
- cosmetics
2010-06-17 10:38:23 +00:00
Dane Springmeyer
682f7ef9de
move to full usage of ST_* prefix for postgis functions, which allows support for ST_AsBinary that works with the new postgis 1.5 geography type. NOTE: this drops support for <= postgis 1.2
2010-06-05 23:50:41 +00:00
Dane Springmeyer
810c63cb51
revert unintended changes from r1804 against gdal and sqlite plugins
2010-05-30 03:23:59 +00:00
Dane Springmeyer
a84b397f48
markers_converter.hpp was moved to markers_placement.hpp
2010-05-30 03:17:59 +00:00
Artem Pavlenko
48d145d98c
+ TODO: implement colormap
2010-05-27 10:20:33 +00:00
Dane Springmeyer
53876d14a0
avoid potential zero division error (floating point exception)
2010-03-17 22:28:03 +00:00
Dane Springmeyer
b1070d22c8
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 22:03:39 +00:00
Artem Pavlenko
f00dbb7496
+ link to mapnik2 lib
2010-03-17 22:01:34 +00:00
Artem Pavlenko
e7bfba10fe
+ enanble installation of mapnik2 side by side with mapnik
2010-03-17 21:03:02 +00:00
Artem Pavlenko
081545eb7e
+ remove unused *.hpp file
2010-03-17 13:55:27 +00:00
Alberto Valverde
c06b966eeb
adapting forward-port from 0.7.1 done in r1703 to trunk's Query interface which returns a (resx,resy) tuple
2010-03-17 10:47:11 +00:00
Marcin Rudowski
d9d5521a81
avoid introducing subpixel shift when upscaling using gdal
2010-03-17 08:34:43 +00:00
Alberto Valverde
6476c3b850
fixed construction of extimated_extent query since it expects the names of the schema, table and geometry_column single-quoted
2010-03-16 18:42:05 +00:00
Artem Pavlenko
bce0dab02a
+ lets postgis return geometry in native byte order
...
(wkb reader can handle both 'NDR' and 'XDR')
2010-03-08 11:55:24 +00:00
Marcin Rudowski
f4f329d3c2
eliminate compiler warnings as in r1659
2010-03-06 09:25:31 +00:00
Dane Springmeyer
b540dab73b
apply slighly modified (env->box2d) mapnik-trunk.mr.raster-position2.diff from mar_rud to close #475
2010-03-03 03:23:53 +00:00
Dane Springmeyer
67a8f33da9
fix minor issues caught in debian packaging relating to executable status and spelling
2010-02-21 17:28:01 +00:00
Dane Springmeyer
07186fc6bb
ensure shapeindex links against boost system if available (boost >=1.35) to avoid potential problems in indirect linking on linux (essentially directly dynamically linking like we previously only did on os x) - closes #517
2010-02-21 01:00:09 +00:00
Dane Springmeyer
badbc8706f
apply modified patch from Mak Kolybabi fixing up postgres schema support in PostGIS plugin - closes #500 - extends #260
2010-02-19 21:04:45 +00:00
Artem Pavlenko
484f24d1b1
+ make logic a bit more verbose
2010-02-10 15:16:52 +00:00
Artem Pavlenko
f4e7a7931f
+ implement x/y resolution
2010-02-03 16:56:42 +00:00
Artem Pavlenko
c11e35fbc0
+ reduce threshold for 'tiled' policy to 512*512 pixels
...
+ reduce tile size to 256 px
+ TODO: expose the above as datasource parameters
2010-02-03 12:20:06 +00:00
Artem Pavlenko
22d8fbe7f0
+ consistent raster bbox calc :
...
x0 = int(minx+0.5)
y0 = int(miny+0.5)
x1 = int(maxx+0.5)
y1 = int(maxy+0.5)
width = x1 - x0
height = y1 - y0
2010-02-03 12:19:57 +00:00
Dane Springmeyer
6e9fa579fb
fix unused variable warning
2010-01-29 23:56:25 +00:00
Dane Springmeyer
8ac189ccf2
fix broken support for pointz as code assumed pointzm - closes #504
2010-01-29 01:59:50 +00:00
Dane Springmeyer
5f8d1713a8
formatting
2010-01-29 01:54:15 +00:00
Dane Springmeyer
ba187a4949
shape plugin: be more explicit about the shapefile name if the file is not found
2010-01-26 22:57:34 +00:00
Artem Pavlenko
f855ba7246
remove debug printing in shapefile driver
2010-01-20 15:26:22 +00:00
Artem Pavlenko
af2440b4e7
+ fixed 'optional' measure in multipointz
2010-01-20 15:26:14 +00:00
Artem Pavlenko
bff83c6ac0
+ read z and m bounds from the header
2010-01-20 15:26:06 +00:00
Artem Pavlenko
239c4045d2
+ implement missing support for :
...
multipoint
multipointm
multipointz
2010-01-20 15:25:58 +00:00