Commit graph

13596 commits

Author SHA1 Message Date
Jean-Francois Doyon
04dc62160e Added some docstrings. 2006-03-28 01:01:00 +00:00
Jean-Francois Doyon
f903432048 Add support for building pyprojection. 2006-03-26 22:36:55 +00:00
Jean-Francois Doyon
2d18a3a2c0 Add python PROJ.4 module under mapnik python API.
This makes the Projection class available from mapnik:

>>> from mapnik import Projection
registered datasource : raster
registered datasource : shape
registered datasource : postgis
>>> Projection
<class mapnik.Projection.Projection at 0xb7f7250c>
>>>
2006-03-26 22:35:37 +00:00
Jean-Francois Doyon
4fd22de310 Set some svn properties. 2006-03-26 22:32:03 +00:00
Artem Pavlenko
d35e9f047e small cleanup 2006-03-23 21:45:32 +00:00
Artem Pavlenko
fce4076ad5 refactored font engine to export symbols correctly on win32 2006-03-23 11:54:50 +00:00
Artem Pavlenko
98763057e6 added pragma to disable 4996 warning 2006-03-23 11:54:03 +00:00
Jean-Francois Doyon
90e9f7b51b Add a first try at generating Python API documentation using epydoc. 2006-03-23 02:45:08 +00:00
Artem Pavlenko
6f1ed0029c code cleanup 2006-03-22 20:31:02 +00:00
Artem Pavlenko
1ae34ab1d5 added -fPIC flag to agg to compile on x86_64 2006-03-22 20:20:44 +00:00
Artem Pavlenko
9480cbade6 re-implemented value class to compile on win32 2006-03-22 19:57:48 +00:00
Artem Pavlenko
56a8187bcb added new line at the end of file 2006-03-22 15:59:15 +00:00
Artem Pavlenko
ddaa9b5368 removed unused static gamma member 2006-03-22 15:57:12 +00:00
Artem Pavlenko
ac2a286cde added __declspec(dllexport) + general cleanup 2006-03-22 15:55:58 +00:00
Artem Pavlenko
f69ac02a65 removed unused files 2006-03-22 15:53:38 +00:00
Artem Pavlenko
883e21fe0c added __declspec(dllexport) 2006-03-22 15:52:29 +00:00
Artem Pavlenko
33ec516bd4 added platform specific configuration file 2006-03-22 15:51:06 +00:00
Artem Pavlenko
f2ac0a97f6 removed unused files 2006-03-22 15:50:05 +00:00
Artem Pavlenko
3848515e6e removed unused files 2006-03-22 15:48:54 +00:00
Artem Pavlenko
e85db9ac69 removed unused files 2006-03-22 15:46:58 +00:00
Artem Pavlenko
2fa9d1967e added __decl(dllexport) to exported symbols\n removed unused files 2006-03-22 15:45:52 +00:00
Artem Pavlenko
fab04e1626 removed verbose output 2006-03-22 14:57:50 +00:00
Artem Pavlenko
fbbf75f032 added explicit flags ios::in|ios::binary for win32 compat 2006-03-22 14:52:32 +00:00
Jean-Francois Doyon
6914187e0b - Remove the python interpreter from the script, have the user supply it instead
- Add a little README.txt
2006-03-22 02:41:13 +00:00
Jean-Francois Doyon
8678bc54c4 Here is a first implementation of a working python demo!!
TODO:
  - Better/smarter labelling with forced positionning
  - Point symbology
2006-03-22 02:32:38 +00:00
Jean-Francois Doyon
dc2e7d9def Initial load of the data that can be used for the demo. 2006-03-22 01:03:22 +00:00
Jean-Francois Doyon
81b694f782 - Add .sconsign to svn:ignore ...
- Create a fontscollectionpath in paths.py and use it.
2006-03-22 00:41:52 +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
Jean-Francois Doyon
30dd43200b Add support for halo's to TextSymbolizer(). 2006-03-22 00:11:01 +00:00
Artem Pavlenko
e21c3b36f6 removed save and load to text archive functionality to keep x86_64 build happy 2006-03-19 21:59:16 +00:00
Artem Pavlenko
153fbc9572 added font_engine to python bindings (TODO!) 2006-03-19 21:55:59 +00:00
Artem Pavlenko
58675f6bf1 replaced cerr and cout with clog ( redirected to cerr by default) 2006-03-19 21:54:40 +00:00
Artem Pavlenko
673bd4bc19 replaced cout and cerr with clog (by default redirected to cerr) 2006-03-19 21:53:47 +00:00
Artem Pavlenko
e8d68b615e removed unused text.{hpp,cpp} 2006-03-19 21:51:40 +00:00
Artem Pavlenko
89cad86d8e added anchor and displacement to text_symbolizer 2006-03-10 12:08:55 +00:00
Artem Pavlenko
cba1063346 fixed label bbox calc 2006-03-08 23:03:19 +00:00
Artem Pavlenko
ce93c69fa3 minor syntax corrections to comply with ansi c++ 2006-03-08 23:02:28 +00:00
Artem Pavlenko
9948f41b1b link to boost_serialization lib 2006-03-08 13:49:59 +00:00
Jean-Francois Doyon
125e927908 Fix the build process to install the included free ttf fonts. 2006-03-03 00:18:08 +00:00
Jean-Francois Doyon
43f0029ca7 Add some default fonts to the mapnik distribution. 2006-03-03 00:10:10 +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
0f3fcc7f34 updated text symboilizer
fixed memory leak in FT_Glyph
2006-03-01 15:16:45 +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
Artem Pavlenko
c3ff3084ca 1.added to_string method to Color
2.added factory methods to python Color

use factory methods
2006-02-27 21:57:08 +00:00
Artem Pavlenko
3818da6bc5 added quad_tree implementaion 2006-02-27 21:25:25 +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
Artem Pavlenko
1728bdbc7e added:
1. start/end map/layer handlers 
2. some cleanups
2006-02-21 20:17:08 +00:00