Commit graph

9671 commits

Author SHA1 Message Date
Artem Pavlenko
22d8fbe7f0 + consistent raster bbox calc :
x0 = int(minx+0.5)
  y0 = int(miny+0.5)
  x1 = int(maxx+0.5)
  y1 = int(maxy+0.5)

  width = x1 - x0
  height = y1 - y0
2010-02-03 12:19:57 +00:00
Artem Pavlenko
05f5473924 + correct image bonding box calculation
+ check for zero sized images
2010-02-03 12:19:49 +00:00
Artem Pavlenko
a98f3c19ff + minor formatting 2010-02-03 12:19:41 +00:00
Artem Pavlenko
f3eed56396 + remove unused code
+ add 'add_border' helper method for debugging
  raster alignment issues
2010-02-03 12:19:30 +00:00
Dane Springmeyer
ede29a1aff image 'type' is not longer needed or used so don't attempt to parse from XML 2010-02-01 21:32:09 +00:00
Dane Springmeyer
1af24f1eb8 Serialize FontSet instead of font_set as that is what the loader expects 2010-02-01 21:31:14 +00:00
Dane Springmeyer
c950e38a46 reenamble python access to TextSymbolizer 'name' expression 2010-01-30 03:08:03 +00:00
Dane Springmeyer
d599067a14 restore pretty printing of xml output (indent=4) now that we are using the new boost ptree which changed its defaults 2010-01-30 02:05:01 +00:00
Dane Springmeyer
c30ceb1be4 improve shapeindex support for pointz 2010-01-30 01:02:04 +00:00
Dane Springmeyer
c2813464a9 scons: fix up libicucore support, adding ability to pass entire path to lib 2010-01-30 00:59:36 +00:00
Dane Springmeyer
c7947b37c3 comment out new unicode stuff in mapnik_feature due to #505 2010-01-30 00:53:29 +00:00
Dane Springmeyer
aef4d350be repair serialization of XML filters and Text/ShieldSymbolizer 'name' attribute, which are how properly converted from expressions into strings 2010-01-30 00:47:06 +00:00
Dane Springmeyer
c6a29690ce fix formatting 2010-01-30 00:45:24 +00:00
Dane Springmeyer
b1660b2152 fix formatting 2010-01-30 00:44:35 +00:00
Dane Springmeyer
6e9fa579fb fix unused variable warning 2010-01-29 23:56:25 +00:00
Dane Springmeyer
da8ddb09ab gah, use the version header that actually exists for older versions of icu 2010-01-29 19:40:26 +00:00
Dane Springmeyer
05654f18bc quick fix to allow compiling without unicode regex support to enable builds against ICU <4.2 2010-01-29 19:22:15 +00:00
Dane Springmeyer
8ac189ccf2 fix broken support for pointz as code assumed pointzm - closes #504 2010-01-29 01:59:50 +00:00
Dane Springmeyer
5f8d1713a8 formatting 2010-01-29 01:54:15 +00:00
Dane Springmeyer
0c8c91b0f8 update CHANGELOG 2010-01-27 01:09:43 +00:00
Dane Springmeyer
56e1b96b45 upgrade python api tests to use new mapnik.Expression and mapnik.PathExpression syntax 2010-01-26 23:11:18 +00:00
Dane Springmeyer
9b69f65ea9 add backwards compatibility support to the expressions parser so that the TextSymbolizer and ShieldSymbolizer 'name' parameter (and others in the future) syntax is understood as pre-0.8.0 syntax, while printing a deprecation warning - should allow older stylesheets to be used with Mapnik 0.8.0 - addresses #501 2010-01-26 23:03:42 +00:00
Dane Springmeyer
ba187a4949 shape plugin: be more explicit about the shapefile name if the file is not found 2010-01-26 22:57:34 +00:00
Dane Springmeyer
52d08e7d1a restore reading of paths relative to xml as default=true, print xml filename when errors are encountered, and remove unneeded check for pointsymbolizer file type which is now automatically handled in parse_path() 2010-01-26 22:54:03 +00:00
Dane Springmeyer
0fbd46a045 report the map/xml name when an error is encountered when loading a map 2010-01-25 19:10:01 +00:00
Dane Springmeyer
9221d79a82 fixup CHANGELOG in trunk 2010-01-22 05:01:23 +00:00
Artem Pavlenko
f855ba7246 remove debug printing in shapefile driver 2010-01-20 15:26:22 +00:00
Artem Pavlenko
af2440b4e7 + fixed 'optional' measure in multipointz 2010-01-20 15:26:14 +00:00
Artem Pavlenko
bff83c6ac0 + read z and m bounds from the header 2010-01-20 15:26:06 +00:00
Artem Pavlenko
239c4045d2 + implement missing support for :
multipoint
  multipointm
  multipointz
2010-01-20 15:25:58 +00:00
Artem Pavlenko
4732ace54b + ident fix 2010-01-20 15:25:50 +00:00
Artem Pavlenko
a42f3d7265 + tidy
+ zoom_all on startup
2010-01-20 15:25:41 +00:00
Artem Pavlenko
c8ca617832 + removed Jamroot 2010-01-20 10:05:56 +00:00
Artem Pavlenko
0aa7c5ff57 + corrected win32 dll name 2010-01-20 10:04:32 +00:00
Dane Springmeyer
da72bfbecd fix typos in __init__.__doc__ of lib names on windows 2010-01-19 19:56:09 +00:00
Dane Springmeyer
6115a1590d add 'gamma' attribute to PolygonSymbolizer, along with tests against simplified world borders shapefile - setting gamma to .5-.7 can remove gaps in processed_p.shp depending on background color - closes #428 2010-01-13 00:31:45 +00:00
Artem Pavlenko
8ec5809a6e (merge 40f3f193337783f07b7691819581541985f5db0c into trunk)
+ remove *.html doc files
+ update epydoc generation script


Conflicts:

	docs/api_docs/python/api-objects.txt
	docs/api_docs/python/class-tree.html
	docs/api_docs/python/help.html
	docs/api_docs/python/identifier-index.html
	docs/api_docs/python/index.html
	docs/api_docs/python/mapnik-module.html
	docs/api_docs/python/mapnik.Coord-class.html
	docs/api_docs/python/mapnik.Envelope-class.html
	docs/api_docs/python/mapnik.Feature-class.html
	docs/api_docs/python/mapnik.Projection-class.html
	docs/api_docs/python/mapnik.Symbolizer-class.html
	docs/api_docs/python/mapnik._mapnik-module.html
	docs/api_docs/python/mapnik._mapnik.Color-class.html
	docs/api_docs/python/mapnik._mapnik.DatasourceCache-class.html
	docs/api_docs/python/mapnik._mapnik.Featureset-class.html
	docs/api_docs/python/mapnik._mapnik.FontEngine-class.html
	docs/api_docs/python/mapnik._mapnik.Geometry2d-class.html
	docs/api_docs/python/mapnik._mapnik.Image-class.html
	docs/api_docs/python/mapnik._mapnik.ImageView-class.html
	docs/api_docs/python/mapnik._mapnik.Layer-class.html
	docs/api_docs/python/mapnik._mapnik.Layers-class.html
	docs/api_docs/python/mapnik._mapnik.LinePatternSymbolizer-class.html
	docs/api_docs/python/mapnik._mapnik.LineSymbolizer-class.html
	docs/api_docs/python/mapnik._mapnik.Map-class.html
	docs/api_docs/python/mapnik._mapnik.Names-class.html
	docs/api_docs/python/mapnik._mapnik.Parameter-class.html
	docs/api_docs/python/mapnik._mapnik.Parameters-class.html
	docs/api_docs/python/mapnik._mapnik.PointDatasource-class.html
	docs/api_docs/python/mapnik._mapnik.PointSymbolizer-class.html
	docs/api_docs/python/mapnik._mapnik.PolygonPatternSymbolizer-class.html
	docs/api_docs/python/mapnik._mapnik.PolygonSymbolizer-class.html
	docs/api_docs/python/mapnik._mapnik.ProjTransform-class.html
	docs/api_docs/python/mapnik._mapnik.Properties-class.html
	docs/api_docs/python/mapnik._mapnik.Query-class.html
	docs/api_docs/python/mapnik._mapnik.RasterSymbolizer-class.html
	docs/api_docs/python/mapnik._mapnik.Rule-class.html
	docs/api_docs/python/mapnik._mapnik.Rules-class.html
	docs/api_docs/python/mapnik._mapnik.ShieldSymbolizer-class.html
	docs/api_docs/python/mapnik._mapnik.Singleton-class.html
	docs/api_docs/python/mapnik._mapnik.Stroke-class.html
	docs/api_docs/python/mapnik._mapnik.Style-class.html
	docs/api_docs/python/mapnik._mapnik.Symbolizers-class.html
	docs/api_docs/python/mapnik._mapnik.TextSymbolizer-class.html
	docs/api_docs/python/mapnik._mapnik.ViewTransform-class.html
	docs/api_docs/python/mapnik._mapnik.aspect_fix_mode-class.html
	docs/api_docs/python/mapnik._mapnik.horizontal_alignment-class.html
	docs/api_docs/python/mapnik._mapnik.justify_alignment-class.html
	docs/api_docs/python/mapnik._mapnik.label_placement-class.html
	docs/api_docs/python/mapnik._mapnik.line_cap-class.html
	docs/api_docs/python/mapnik._mapnik.line_join-class.html
	docs/api_docs/python/mapnik._mapnik.text_convert-class.html
	docs/api_docs/python/mapnik._mapnik.vertical_alignment-class.html
	docs/api_docs/python/mapnik.ogcserver-module.html
	docs/api_docs/python/mapnik.ogcserver.WMS-module.html
	docs/api_docs/python/mapnik.ogcserver.WMS.BaseWMSFactory-class.html
	docs/api_docs/python/mapnik.ogcserver.cgiserver-module.html
	docs/api_docs/python/mapnik.ogcserver.cgiserver.Handler-class.html
	docs/api_docs/python/mapnik.ogcserver.common-module.html
	docs/api_docs/python/mapnik.ogcserver.common.BaseExceptionHandler-class.html
	docs/api_docs/python/mapnik.ogcserver.common.BaseServiceHandler-class.html
	docs/api_docs/python/mapnik.ogcserver.common.CRS-class.html
	docs/api_docs/python/mapnik.ogcserver.common.CRSFactory-class.html
	docs/api_docs/python/mapnik.ogcserver.common.ListFactory-class.html
	docs/api_docs/python/mapnik.ogcserver.common.ParameterDefinition-class.html
	docs/api_docs/python/mapnik.ogcserver.common.Projection-class.html
	docs/api_docs/python/mapnik.ogcserver.common.Response-class.html
	docs/api_docs/python/mapnik.ogcserver.common.TextFeatureInfo-class.html
	docs/api_docs/python/mapnik.ogcserver.common.Version-class.html
	docs/api_docs/python/mapnik.ogcserver.common.WMSBaseServiceHandler-class.html
	docs/api_docs/python/mapnik.ogcserver.common.XMLFeatureInfo-class.html
	docs/api_docs/python/mapnik.ogcserver.configparser-module.html
	docs/api_docs/python/mapnik.ogcserver.configparser.SafeConfigParser-class.html
	docs/api_docs/python/mapnik.ogcserver.exceptions-module.html
	docs/api_docs/python/mapnik.ogcserver.exceptions.OGCException-class.html
	docs/api_docs/python/mapnik.ogcserver.exceptions.ServerConfigurationError-class.html
	docs/api_docs/python/mapnik.ogcserver.modserver-module.html
	docs/api_docs/python/mapnik.ogcserver.modserver.ModHandler-class.html
	docs/api_docs/python/mapnik.ogcserver.wms111-module.html
	docs/api_docs/python/mapnik.ogcserver.wms111.ExceptionHandler-class.html
	docs/api_docs/python/mapnik.ogcserver.wms111.ServiceHandler-class.html
	docs/api_docs/python/mapnik.ogcserver.wms130-module.html
	docs/api_docs/python/mapnik.ogcserver.wms130.ExceptionHandler-class.html
	docs/api_docs/python/mapnik.ogcserver.wms130.ServiceHandler-class.html
	docs/api_docs/python/mapnik.ogcserver.wsgi-module.html
	docs/api_docs/python/mapnik.ogcserver.wsgi.WSGIApp-class.html
	docs/api_docs/python/mapnik.paths-module.html
	docs/api_docs/python/module-tree.html
	docs/api_docs/python/redirect.html
2010-01-12 00:09:24 +00:00
Dane Springmeyer
17b062eb99 update INSTALL docs noting boost 1.41 and icu 1.4 requirements 2010-01-11 19:39:59 +00:00
Dane Springmeyer
abffe8ef60 update python api docs in trunk 2010-01-11 19:03:54 +00:00
Dane Springmeyer
417468c125 revert r1348 rolling back to layer based bounds clipping - see #486 and #402 for more details 2010-01-11 19:00:56 +00:00
Dane Springmeyer
a80f352d58 sync trunk with r1537, adding new TextSymbolizer options in python - TODO - add reflect ShieldSymbolizer options 2010-01-11 18:59:14 +00:00
Dane Springmeyer
6c02f67a42 fix include guard 2010-01-11 18:57:45 +00:00
Dane Springmeyer
067fdb884d sync trunk with new cairo support added previously to 0.7 branch in r1531 2010-01-11 18:55:30 +00:00
Dane Springmeyer
e5673e239b increment ABI versions 2010-01-11 18:53:50 +00:00
Dane Springmeyer
f87790cd5b merge a few small 0.7 branch changes back into trunk 2010-01-11 00:36:51 +00:00
Dane Springmeyer
644843230d add missing PostGIS options in python docstrings 2010-01-11 00:22:56 +00:00
Dane Springmeyer
a741d43698 scons: support py3k in python configuration detection 2010-01-07 17:14:54 +00:00
Artem Pavlenko
2840097822 + increment version (trunk) to 8.0.0 2010-01-07 11:09:00 +00:00
Dane Springmeyer
6abbfca492 fix default values for vertical_alignment in the TextSymbolizer and ShieldSymbolizer - closes #468 2010-01-07 02:21:07 +00:00
Dane Springmeyer
de4032a602 scons: make sure help is displayed if -h or --help is supplied even if we are not able to configure successfully and add more user friendly output for dependencies that are not found 2010-01-05 23:51:10 +00:00