Commit graph

165 commits

Author SHA1 Message Date
Artem Pavlenko
bf297ec3ca 1.upgrade to latest agg2.4
2.added default PointSymbolizer in load_map.cpp
2006-11-09 23:44:34 +00:00
Artem Pavlenko
889ac41694 Patch from Toby: adds a maximum angle delta for text placement (if the
angle changes too much between characters it finds an alternate
placement), this is specified in the max_char_angle_delta property in
radians (feel free to change it to degrees).

It also improves the text placement around corners trying to minimise
the distance between the center of the character and the line on each
side. This is the major portion of the patch.
2006-11-04 10:38:24 +00:00
Artem Pavlenko
e924b597f4 1. patch from Toby that allows repeated labels to be placed on a line
geometry (such as roads)
2. restored text labels for point geometry.
3. process 'spacing' attribute in load_map.cpp
2006-11-01 23:17:05 +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
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
6a6c794c22 added copyleft header 2006-10-03 10:06:38 +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
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
dad97c6476 added readme.txt with build instructions 2006-05-08 20:34:30 +00:00
Artem Pavlenko
3c200bd00e added c++ demo 2006-05-08 20:29:13 +00:00
Jean-Francois Doyon
c533d0ecd7 The data has been transformed to a slightly different projection (EPSG:42304). Also full files are included for ESRI tools, in case someone wants to manipulate it further. 2006-04-06 23:18:44 +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