Jean-Francois Doyon
f176460d20
ignore .sconsign
2006-10-18 22:09:30 +00:00
Jean-Francois Doyon
ad5498849c
ignore .sconsign
2006-10-18 22:08:36 +00:00
Artem Pavlenko
1c8d7586b5
changed boost::progress_timer to output to std::clog (which defaults to std::cerr)
2006-10-18 11:42:56 +00:00
Artem Pavlenko
58f672fc83
treat oid=25 (TEXT) types as string
2006-10-17 21:36:11 +00:00
Artem Pavlenko
110016fe78
1. refactored proj stuff into separate files
...
2. added is_geographic property
3. added basic support for text_symbolizer in load_map
2006-10-17 17:26:35 +00:00
vspader
f76079f15b
1) Added line following labels. Use set_label_placement(POINT_PLACEMENT) or set_label_placement(LINE_PLACEMENT) on a text symbolizer.
...
2) Added placement_finder class so labels try to avoid each other.
3) Added Shield Symbolizer which is essentially a combined image/text symbolizer.
2006-10-17 14:12:53 +00:00
Jean-Francois Doyon
7c398909f4
- Apply recent changes to WMS 1.1.1
2006-10-17 01:18:54 +00:00
Jean-Francois Doyon
6e41d4cb1f
- Remove the import of pyprojection
...
- Delete pyprojection
- Modify the WMS to use the new Projection class provided by Mapnik.
2006-10-17 01:11:00 +00:00
Jean-Francois Doyon
9170b57041
Reorder headers to prevent a warning.
...
See http://docs.python.org/api/includes.html for details.
2006-10-16 23:26:57 +00:00
Jean-Francois Doyon
5e9fe74999
layer.name is now a property instead of a method ...
2006-10-16 23:25:54 +00:00
Artem Pavlenko
9570a819df
1. added convinience factory methods
...
ds = Shapefile(file='/../../')
ds = PostGIS(host='localhost',..)
ds = Raster(....)
2. Modified rundemo.py accordingly
2006-10-16 22:25:11 +00:00
Artem Pavlenko
1b7e1b421e
added missing header
2006-10-16 21:57:27 +00:00
Artem Pavlenko
2351cb38d0
1.added Describe() to Datasource, return list of attributes/types.
...
2.modified WMS to work with new Projection
2006-10-16 21:34:09 +00:00
Artem Pavlenko
c195e1d24d
added yet to be implemented features_at_point
2006-10-16 21:30:58 +00:00
Artem Pavlenko
2e73fe0841
1.added features_at_point to datasource interface
2006-10-16 21:29:54 +00:00
Artem Pavlenko
2392565a4d
removed commented out code
2006-10-16 16:04:57 +00:00
Artem Pavlenko
bb235fa316
1.added projection transformation support based on proj4 (new dependency!!!)
...
Map and Layer objects both have a new parameter 'srs', initialized to "+proj=latlong +datum=WGS84" by default.
Basic usage (Python):
p = Projection("+proj=merc +datum=WGS84")
point = p.forward(Coord(-2,51))
...
2.reflected arithmetic operators for Envelope/Coord into Python
3.altered return policies for python objects
4.modified build system to require proj4 lib and headers
2006-10-16 13:44:52 +00:00
Artem Pavlenko
52033ad4e8
added operators +,-,*,/
2006-10-16 13:32:45 +00:00
Artem Pavlenko
1988181bd7
added operators +,-,*,/
2006-10-16 13:31:52 +00:00
Artem Pavlenko
78f2b64f5c
check if can extract std::string from dict.
2006-10-09 22:07:39 +00:00
Artem Pavlenko
459f43b39c
1. use more precise coord values in SQL statements.
...
2. added extra parameter 'estimate_extent'. By default, exact extent will be calulated e.g :
select extent(geom) from table_name;
Sometimes it is more practical (faster!) to use estimated extent
select estimated_extent('table_name','geom');
but it is somewhere around 95% accurate.
Usage:
....
params["estimate_extent"]="true";
....
2006-10-09 20:57:04 +00:00
Artem Pavlenko
72e296945f
added <ElseFilter/> tag support in map loader.
2006-10-09 20:49:56 +00:00
Artem Pavlenko
d349c5f0c9
just help compiler a little bit
2006-10-09 20:48:42 +00:00
vspader
4b9222f053
Bugfix for PostGIS plugin.
2006-10-09 20:09:46 +00:00
Artem Pavlenko
9cc2237290
in remove_all clear all styles as well!
2006-10-09 10:29:57 +00:00
Artem Pavlenko
514f500bfb
use boost::shared_ptr<datasource>
2006-10-09 10:28:48 +00:00
Artem Pavlenko
e2d645ad80
simplified coord transformation interface.
2006-10-09 09:52:15 +00:00
Artem Pavlenko
18ef498140
don't rely on feature id column name.
2006-10-09 09:45:45 +00:00
Artem Pavlenko
10cffb9174
added remove_all
2006-10-09 09:43:43 +00:00
Artem Pavlenko
b2ce94166b
added remove_all
2006-10-09 09:43:09 +00:00
Artem Pavlenko
d2838011d9
Use <mapnik/*.hpp> includes. Thanks to Vince Spader from 10east.com
2006-10-05 09:00:36 +00:00
Artem Pavlenko
c8042c959f
removed boost::foreach.hpp
2006-10-04 18:54:27 +00:00
Artem Pavlenko
a71c36ec2e
BOOST_FOREACH is not released yet, revert to std::const_iterator
2006-10-04 13:57:08 +00:00
Artem Pavlenko
992af4747d
1. move include to mapnik/include
...
2. update demos,bibdibgs etc.
2006-10-04 11:22:18 +00:00
Artem Pavlenko
6a6c794c22
added copyleft header
2006-10-03 10:06:38 +00:00
Artem Pavlenko
c1cce2742f
added missing header
2006-10-03 10:04:28 +00:00
Artem Pavlenko
0c32c2bf4a
update build system to include map_{load,save}
2006-10-03 10:03:31 +00:00
Artem Pavlenko
5a2e437e21
reflect load/save map methods in python
2006-10-03 10:02:14 +00:00
Artem Pavlenko
88688433ab
opps, may be not. merging back to -r305
2006-10-03 09:06:13 +00:00
Artem Pavlenko
e8e4f682b1
move property tree one level up
2006-10-03 08:52:24 +00:00
Artem Pavlenko
e29e2472b1
move property tree one level up
2006-10-03 08:52:07 +00:00
Artem Pavlenko
efdc5d6f08
This is boost::property headers only library. It was accepted into main boost ditribution, but for now we use our own copy.
2006-10-03 08:49:51 +00:00
Artem Pavlenko
8328424af5
1. datasource is now a property of Layer object.
...
2. modified python/c++ demos to reflect the above.
3. removed large 'blobby' mapnik.hpp (compilation times!!!)
2006-10-03 08:44:04 +00:00
Artem Pavlenko
88892c196b
added save/load functionality based on boost::property_tree (aka ElementTree in c++)
2006-10-03 08:39:43 +00:00
Artem Pavlenko
86c4443f10
Apparently, we need this check on some systems (??)
2006-10-03 08:37:34 +00:00
Artem Pavlenko
c0fa1a6004
* create_filter moved to core lib
...
* modified demo/c++/rundemo.cpp to reflect the above
2006-09-17 19:45:01 +00:00
Artem Pavlenko
02d95a7ba2
added write access to alpha property.
2006-09-15 08:20:09 +00:00
Artem Pavlenko
8a72060fad
added alpha to to_string method.
...
rgb ( R, B, G, A)
TODO: modify CSS color parser to accept alpha channel e.g
rgb (R,G,B,A)
#RRGGBBAA
#RGBA
2006-09-15 08:19:03 +00:00
Artem Pavlenko
2d04ce0360
This patch:
...
* Adds set_alpha()
* Reorders the get/set color functions to be red() green() blue() alpha() (code tidyness)
* Changes the internal color variable to be named abgr_ instead of rgba_ since that is the order the colors are stored in it.
Thanks to Dave Leaver.
2006-09-15 07:56:35 +00:00
Artem Pavlenko
2f360a6549
1.removed map width/height from query interface
...
2.small cleanups
2006-09-12 14:29:22 +00:00