Commit graph

1691 commits

Author SHA1 Message Date
Alberto Valverde
fc3a1beeef initial skeleton of glyph_symbolizer (coarsely ported from arrow_symbolizer). Mapnik compiles but symbolizer does nothing useful yet and is going to be heavily modified to make use of expressions to be general enough to be usable for purposes other than rendering arrows representing vector direction/intensity 2010-03-18 20:04:35 +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
0ed2f6dc42 + update viewer to work with latest naming changes 2010-03-17 22:01:42 +00:00
Artem Pavlenko
f00dbb7496 + link to mapnik2 lib 2010-03-17 22:01:34 +00:00
Artem Pavlenko
d58b04a3f6 + use math stuff defined in <cmath> e.g std::pow std::log
+ fixed identation
+ use c++ style comments //
2010-03-17 21:39:36 +00:00
Artem Pavlenko
4aef1c46c1 + fix compiler warning 2010-03-17 21:39:28 +00:00
Artem Pavlenko
0fb695c133 + don't use C style casts 2010-03-17 21:39:20 +00:00
Artem Pavlenko
dbafd60d37 + tidy up 2010-03-17 21:06:18 +00:00
Artem Pavlenko
dbf89845e6 + add using mapnik::color 2010-03-17 21:03:18 +00:00
Artem Pavlenko
21dee82146 + remove mapnik:: classification from inside namespace mapnik {}
+ use c++ style casts!
2010-03-17 21:03:10 +00:00
Artem Pavlenko
e7bfba10fe + enanble installation of mapnik2 side by side with mapnik 2010-03-17 21:03:02 +00:00
Artem Pavlenko
215b42b073 + use /mapnik2/ as LIB_DIR_NAME to be able have both mapnik
+ mapnik2 side by side
2010-03-17 21:02:51 +00:00
Artem Pavlenko
081545eb7e + remove unused *.hpp file 2010-03-17 13:55:27 +00:00
Alberto Valverde
1c561fa2ba fixed assertion in test_dataraster_coloring 2010-03-17 12:35:41 +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
Alberto Valverde
a3459071a0 refactored the saving of test output to files into a function for easier reuse in other tests 2010-03-16 17:37:25 +00:00
Artem Pavlenko
83b20c3036 Revert "re factor expression grammar/parser stuff"
This reverts commit c58b8c4f71813a2490cf135573009c92be1a90c4.
2010-03-15 21:08:56 +00:00
Artem Pavlenko
0f8deb5e73 re factor expression grammar/parser stuff 2010-03-15 21:08:46 +00:00
Artem Pavlenko
1b860f8229 + merge ctors 2010-03-15 21:08:37 +00:00
Marcin Rudowski
583c9858f0 add missing file from r1691 2010-03-12 19:07:12 +00:00
Dane Springmeyer
d7256295ae port r1680/r1683/r1690 from 0.7.1-dev branch to trunk 2010-03-12 18:23:06 +00:00
Alberto Valverde
6b85a9a760 added my .hgignore file in case it's useful for others working with hgsubversion 2010-03-12 14:50:06 +00:00
Alberto Valverde
e9748abc5f xml de/serialization support for RasterColorizer 2010-03-12 14:49:50 +00:00
Alberto Valverde
807881c47a XML deserialization support for a raster_symbolizer with a colorizer 2010-03-12 14:49:34 +00:00
Alberto Valverde
a7ea07ee0d modified raster_colorizer so the color of the last band is used if the value matches its value exactly. This is to make declaring legends for rasters with discrete values easier (ie: no need to define a dummy band for N+1) 2010-03-12 13:34:32 +00:00
Alberto Valverde
2f1d60b666 pre-eliminary raster coloring support 2010-03-12 13:34:13 +00:00
Alberto Valverde
6a9030f7cc updated feature properties test so no deprecationwarnings are shown 2010-03-12 13:33:46 +00:00
Dane Springmeyer
6b76b3b9e8 properly serialize the map_buffer when saving map 2010-03-11 23:21:22 +00:00
Dane Springmeyer
3a44dd3258 + use rint(v) instead of int(round(v)) + add rint implementation - msvc hasn't got one + minor cleanups 2010-03-11 23:19:12 +00:00
Alberto Valverde
e8a4929a5a added a proxy to the deprecated Feature.properties interface in the python bindings 2010-03-11 19:59:40 +00:00
Alberto Valverde
c47cd93f93 renamed mapnik to mapnik2 in python tests 2010-03-11 18:12:22 +00:00
Artem Pavlenko
8661d60f43 + move layer info logic into dialog ctor 2010-03-10 17:08:37 +00:00
Artem Pavlenko
556df8a751 + don't fail if load_map throws config error 2010-03-10 17:08:28 +00:00
Artem Pavlenko
1cd9c3257d + update paths to work with mapnik2 2010-03-10 10:44:15 +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
Artem Pavlenko
c3a0b1a72f + revert to a024c947499994e1e8aaaff2b8ea73a8eec489dd 2010-03-08 11:55:15 +00:00
Artem Pavlenko
4066e76730 + removed unused #include
+ small cleanup
2010-03-08 11:55:08 +00:00
Artem Pavlenko
b6d0343e4c + tidy 2010-03-08 11:55:00 +00:00
Artem Pavlenko
2ed6c57c21 + revert template instantiation depth back to 200
won't compile on os x 64-bit gcc version 4.2.1 (Apple Inc. build 5646)
2010-03-08 11:54:52 +00:00
Artem Pavlenko
bbfdc4fab8 + use mapnik2 for python module name
+ update rundemo.py
2010-03-08 11:54:44 +00:00
Marcin Rudowski
e05fd8f5d8 png256 bugfix and improvements merged from r1663 2010-03-06 16:47:55 +00:00
Marcin Rudowski
34578099c1 merged r1661: fixed png256 for large images + improvements to palette generation: #522 2010-03-06 11:13:44 +00:00
Marcin Rudowski
f4f329d3c2 eliminate compiler warnings as in r1659 2010-03-06 09:25:31 +00:00
Artem Pavlenko
7724bc232d + reduce template-depth to 160
Please enter the commit message for your changes. Lines starting
2010-03-03 19:53:11 +00:00
Dane Springmeyer
b8511eca65 restore default behavior of PointSymbolizer when used without an image, by defaulting to 4x4 black pixel - TODO - expose colors, shapes, and size for this in the future 2010-03-03 03:26:12 +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
dd36810321 print warning if images are not found 2010-03-02 03:31:50 +00:00