Dane Springmeyer
39d199aa49
code formatting
2011-11-13 19:54:32 -08:00
Dane Springmeyer
7432e1e55a
removing my name from copyright as the intention/convention is for copyright to be help by project founder artem: contributions do not necessitate copyright - TODO: document this on community wiki
2011-10-11 17:52:15 -07:00
Dane Springmeyer
4079fd7d08
make feature caching optional, and disabled by default (to avoid std::bad_alloc in low memory environments). Can be set as new layer property 'cache-features' - closes #657
2011-03-01 17:09:29 +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
246731874b
+ apply 'mapnik-format' to *.cpp *.hpp
2010-06-02 11:03:30 +00:00
Artem Pavlenko
47dc1e197b
+ merge mapnik2 to trunk
2009-12-16 20:02:06 +00:00
Dane Springmeyer
424980d92b
via a layer object pickle datasource params rather than the datasource object itself - see #345
2009-05-20 00:18:46 +00:00
Dane Springmeyer
48dea30184
slight formatting fixes to docstrings in layer class
2009-04-12 20:57:08 +00:00
Dane Springmeyer
3e51c02513
+ add pickling interface to layers and datasources ( closes #205 ) - TODO support parameters
2009-02-16 01:53:34 +00:00
Dane Springmeyer
a3e81dd344
+ more complete docstrings for the boost::python Layer class
2008-12-04 23:33:18 +00:00
Artem Pavlenko
d4032c217e
Exposed the proj forward and inverse as methods on the actual geometry (springmeyer)
2008-11-16 22:30:44 +00:00
Artem Pavlenko
0e9c542d11
1.Added 'face_names' method which returns list of face names:
...
>>> from mapnik import *
>>> for name in FontEngine.instance().face_names():
... print name
...
DejaVu Sans Bold
DejaVu Sans Bold Oblique
....
2. std::vector<std::string> is reflected as mapnik_.Names object
TODO: test if there are more then one face in the file
2007-11-08 11:06:05 +00:00
Artem Pavlenko
a6a31f42f6
implelmented optional 'clear' text labels cache at the layer level
2007-05-01 07:53:20 +00:00
Artem Pavlenko
85f4bfc697
added queryable property and visible method to Layer (Python)
2007-01-09 11:23:19 +00:00
Artem Pavlenko
b5cf9da686
1.added more accessors
...
2.in tiff_reader check for valid file prior opening.
2006-12-20 00:22:45 +00:00
Artem Pavlenko
659a012000
reflected Layer 'active' property in Python ( Thanks, Luiz Fernando Vital!)
2006-12-17 12:08:11 +00:00
Jean-Francois Doyon
ce1353553c
Fix typo src -> srs property.
2006-10-18 23:57:44 +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
992af4747d
1. move include to mapnik/include
...
2. update demos,bibdibgs etc.
2006-10-04 11:22:18 +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
93740b5dec
refactored #includes to reduce compilation times
...
added mapnik_query skeleton
2006-09-11 09:48:27 +00:00
Jean-Francois Doyon
799d5d9691
- Fix a bug with missing version.
...
- Add support for layer title and asbtract to c++ and python
- Make WMS server use above changes, edit docs
2006-05-22 17:00:35 +00:00
Artem Pavlenko
61fd258fd1
changing licence from GPL to LGPL
2006-03-31 10:32:02 +00:00
Jean-Francois Doyon
04dc62160e
Added some docstrings.
2006-03-28 01:01:00 +00:00
Jean-Francois Doyon
08b80bbc64
Add docstrings, and add support for setting the
...
map width and height after object creation.
2006-03-22 00:13:14 +00:00
Artem Pavlenko
c93e9c7d5b
small correction:
...
1. Layer method takes named arguments
2. CreateLayer expects Python dictionary
2006-03-01 15:34:23 +00:00
Artem Pavlenko
06da5f14eb
keyword arguments for Layer factory
2006-03-01 15:15:37 +00:00
Jean-Francois Doyon
d0f0f5a564
Changed the layer constructor to use a more pythonic:
...
Layer(name, type, file)
Please review and comment!
2006-03-01 04:14:41 +00:00
Jean-Francois Doyon
efc23b9217
Fixed up some more styling.
...
color_from_string is now Color
filter is now Filter
and maybe a few more ...
2006-02-26 23:04:47 +00:00
Jean-Francois Doyon
34dc842d2d
Reworked all the svn:ignore properties. They are all set explicitely now, and nothing should be left unacounted for.
...
Changed SConstruct to use freetype-config. Updated INSTALL to reflect.
Added a RAM requirement for building in the INSTALL doc.
Fixed some python styling and added some basic docstrings.
2006-02-26 21:47:35 +00:00
Artem Pavlenko
9de253198b
1.python bindings updated to reflect symbolizers changes
...
2.added label collision detector ( TODO - proper impl!)
2006-02-25 11:03:30 +00:00
Jean-Francois Doyon
897341e042
Capitalized class names as per the "Style Guide for Python Code" at:
...
http://www.python.org/peps/pep-0008.html
Because the bindings are out of synch, this is untested.
2006-02-20 01:34:02 +00:00
Artem Pavlenko
d8dc53bcf4
new build system
2006-01-31 23:09:52 +00:00