Commit graph

4344 commits

Author SHA1 Message Date
Artem Pavlenko
51bfc0bd35 + inflate query extent to avoid line joining artifacts 2012-03-07 15:01:55 +00:00
Artem Pavlenko
23ac16cb04 + cleanup 2012-03-07 15:01:23 +00:00
Artem Pavlenko
b86378253c + add clipping to text/shield/markers 2012-03-07 12:48:51 +00:00
Artem Pavlenko
0ead59223c + remove debug printing 2012-03-07 12:04:55 +00:00
Artem Pavlenko
386cbe852f + clip geometries before applying any
transformations.
2012-03-07 09:33:43 +00:00
Artem Pavlenko
3a8c11cfa3 Merge branch 'master' into move_bind_logic_to_layer 2012-03-06 08:46:09 +00:00
Dane Springmeyer
b9f2af6f87 fix typo 2012-03-05 15:48:04 -08:00
Dane Springmeyer
943f92fffc initialize another member in text_properties 2012-03-05 14:54:30 -08:00
Dane Springmeyer
2287668562 initialize members of char_info - refs #1114 2012-03-05 14:51:14 -08:00
Dane Springmeyer
3dafe6080d rework text_path ctor to ensure members are properly initialized - refs #1114 2012-03-05 14:15:01 -08:00
Dane Springmeyer
f3c4f9eec7 initialize members of text_symbolizer_properties and char_properties - refs #1114 2012-03-05 13:48:35 -08:00
Dane Springmeyer
e9c043a42a ensure members are initialized (refs #1114) 2012-03-05 13:32:02 -08:00
Dane Springmeyer
90fb50b158 initialize sx,sy in ctrans (refs #1114) and avoid possible divide by zero condition (refs #1110) 2012-03-05 13:29:20 -08:00
Dane Springmeyer
87da7c2e3e ptree_helpers: ensure proper return type upon exception (TODO: needs larger cleanup) 2012-03-05 12:34:10 -08:00
Dane Springmeyer
f81108d5b3 formatting 2012-03-05 12:09:22 -08:00
Dane Springmeyer
7dfc6d9ccd pass doubles by value in find_line_circle_intersection 2012-03-05 11:50:20 -08:00
Dane Springmeyer
7a9c5ac0ed add note about generally passing built in types by value - for most compilers this should be faster 2012-03-05 11:48:34 -08:00
Dane Springmeyer
84c9ee653a no need to pass orientation as const& to test_placement, which unlike get_placement_offset to does not change the value 2012-03-05 11:36:48 -08:00
Dane Springmeyer
50a417fc83 formatting 2012-03-05 11:31:58 -08:00
Dane Springmeyer
f90b410ece formatting to use const& as per 6462af3 2012-03-05 11:10:04 -08:00
Dane Springmeyer
6462af3a02 add to c++ style docs note about const& convention 2012-03-05 11:09:34 -08:00
Dane Springmeyer
232256e136 load_map_string: do not pass optional arg by const& and better error if string is empty 2012-03-05 10:44:20 -08:00
Artem Pavlenko
ceeb115529 + fix : call init(params) 2012-03-05 15:38:19 +00:00
Artem Pavlenko
edd85f41bc + update geos.input - TODO: do we need this datasource ? 2012-03-05 15:29:58 +00:00
Artem Pavlenko
ad3072300f + remove mutable qualifiers 2012-03-05 15:29:21 +00:00
Artem Pavlenko
0cd93835f8 + update osm.input 2012-03-05 15:15:39 +00:00
Artem Pavlenko
a67e9dc967 + update sqlite.input 2012-03-05 15:05:09 +00:00
Artem Pavlenko
90323ffc74 + update raster.input 2012-03-05 14:43:59 +00:00
Artem Pavlenko
a22cc87df7 + update ogr.input 2012-03-05 14:38:04 +00:00
Artem Pavlenko
0b8a3323c2 + update gdal.input 2012-03-05 14:32:08 +00:00
Artem Pavlenko
9cbd4ad932 + make init(parameters const&) private 2012-03-05 14:21:57 +00:00
Artem Pavlenko
9ace240a67 + update rundemo.py 2012-03-05 14:10:30 +00:00
Artem Pavlenko
6de8a9066c + update viewer to work with new datasource/layer interface 2012-03-05 14:09:52 +00:00
Artem Pavlenko
accd81192b + remove bind() logic from shape and postgis plug-ins 2012-03-05 14:09:19 +00:00
Artem Pavlenko
9d24ed04f5 + update python bindings to use new datasource interface
+ datasource_parameters accept Python dictionary e.g

```
>>> import mapnik
>>> l = mapnik.Layer("test")
>>> l.datasource_parameters = {"type":"shape","file":"/tmp/world.shp"}
```
2012-03-05 14:06:36 +00:00
Artem Pavlenko
02b2a55ecc + update load/save map to work with mapnik::parameters 2012-03-05 14:04:36 +00:00
Artem Pavlenko
5e63e42673 + temp fix to compile : FIXME 2012-03-05 14:04:06 +00:00
Artem Pavlenko
9a0248559f + move 'bind' logic from datasource level to layer
+ store and copy mapnik::parameters only in mapnik::layer
+ make datasource_ptr mutable
2012-03-05 13:59:12 +00:00
Dane Springmeyer
ab4c9da7ad fixup ogr plugin error string output 2012-03-04 22:28:02 -08:00
Hermann Kraus
ad86e9aebc Reenable text meta writers. 2012-03-04 23:25:13 +01:00
Hermann Kraus
5578bdb6f9 Remove has_dimensions and dimensions from text_placement_info.
This functionality is better provided by placement_finder.additional_boxes.
2012-03-04 16:38:40 +01:00
Hermann Kraus
46272d836b Move more variables from text_placements_info to placement_finder.
Refs #1048.
2012-03-04 13:32:10 +01:00
Hermann Kraus
4638b28c36 Store pointer to char_info in text_path instead of pointer to char_properties. 2012-03-04 03:53:39 +01:00
Hermann Kraus
b5e1ebfac8 New reference images. 2012-03-04 02:06:03 +01:00
Hermann Kraus
0eece15f62 New tests. 2012-03-04 02:04:43 +01:00
Hermann Kraus
b4eddaab24 Move variables from text_placements_info to placement_finder.
Reuse placement_finder objects.
Pass feature to placement_finder.
Refs #1048.
2012-03-04 01:49:01 +01:00
Hermann Kraus
36918e4a8b Remove warning. Empty expressions might exist in real applications without being an error. 2012-03-03 17:41:43 +01:00
Hermann Kraus
586cdff6e8 Add new test. 2012-03-03 16:32:31 +01:00
Hermann Kraus
0ef573c197 Avoid accidential uploading of test file to OSM server. 2012-03-03 16:31:49 +01:00
Hermann Kraus
f8c784b0a6 Correctly center text. 2012-03-03 13:53:08 +01:00