User Guide./Plugins/Input/Shape/Shapefile.Os
Total Page:16
File Type:pdf, Size:1020Kb
./plugins/input/raster/raster_info.os ./plugins/input/raster/raster_datasource.os ./src/font_engine_freetype.os ./plugins/input/raster/raster.input ./src/point_symbolizer.os ./src/scale_denominator.os ./src/envelope.os ./src/image_util.os ./plugins/input/raster ./src/graphics.os ./src/text_symbolizer.os ./plugins ./src/png_reader.os ./src/polygon_pattern_symbolizer.os ./src/map.os ./src/wkb.os ./src/line_pattern_symbolizer.os ./src/symbolizer.os ./src/plugin.os ./plugins/input/raster/raster_featureset.os ./src/layer.os ./src/proj_transform.os ./src/tiff_reader.os ./src/load_map.os ./src ./src/datasource_cache.os ./src/save_map.os ./plugins/input ./src/libmapnik.so ./plugins/input/shape/shape.os ./src/color.os ./src/memory_datasource.os ./src/params.os ./src/placement_finder.os ./src/font_set.os ./src/libxml2_loader.os ./plugins/input/shape/shape_io.os ./src/arrow.os ./src/distance.os ./plugins/input/shape ./src/agg_renderer.os ./plugins/input/shape/shape_index_featureset.os SCons 2.3.1 ./src/stroke.os ./src/memory.os ./src/projection.os ./src/image_reader.os ./src/unicode.os ./plugins/input/shape/shape.input ./src/shield_symbolizer.os ./plugins/input/shape/dbffile.os ./src/filter_factory.os User Guide./plugins/input/shape/shapefile.os ./plugins/input/shape/shape_featureset.os ./agg/src/agg_trans_double_path.o Steven Knight./agg/src/agg_sqrt_tables.o ./bindings/python/mapnik_raster_symbolizer.os ./bindings/python/mapnik_text_symbolizer.os ./agg/src/agg_vcgen_dash.o ./agg/src/agg_bezier_arc.o ./agg/src/agg_vpgen_clip_polygon.o ./agg/src/agg_vcgen_contour.o ./agg/src/agg_gsv_text.o ./bindings/python/mapnik_color.os ./agg/src/agg_arrowhead.o ./bindings/python/mapnik_query.os ./agg/src/agg_bspline.o ./bindings/python/mapnik_stroke.os ./agg/libagg.a ./agg/src/agg_vpgen_clip_polyline.o ./agg/src/agg_trans_single_path.o ./agg/src/agg_vcgen_stroke.o ./agg/src/agg_trans_warp_magnifier.o ./bindings/python/mapnik_featureset.os ./bindings/python/mapnik_style.os ./agg/src/agg_embedded_raster_fonts.o ./bindings/python/mapnik_parameters.os ./agg/src ./bindings/python/mapnik_shield_symbolizer.os ./agg/src/agg_arc.o ./agg/src/agg_curves.o ./bindings/python/mapnik_line_pattern_symbolizer.os ./agg/src/agg_vcgen_bspline.o ./agg/src/agg_rounded_rect.o ./bindings/python/mapnik_symbolizer.os ./agg/src/agg_image_filters.o ./bindings/python/mapnik_python.os ./bindings/python/mapnik_filter.os ./agg/src/agg_line_aa_basics.o ./bindings/python/mapnik_map.os ./bindings ./bindings/python/mapnik_layer.os ./agg/src/agg_line_profile_aa.o ./agg/src/agg_vpgen_segmentator.o ./agg ./bindings/python ./agg/src/agg_vcgen_markers_term.o ./bindings/python/mapnik_image_view.os ./bindings/python/python_cairo.os ./bindings/python/mapnik ./agg/src/agg_vcgen_smooth_poly1.o ./agg/src/agg_trans_affine.o ./bindings/python/mapnik_polygon_symbolizer.os ./bindings/python/mapnik/ogcserver ./bindings/python/mapnik_geometry.os ./bindings/python/mapnik_point_symbolizer.os ./bindings/python/_mapnik.so ./bindings/python/mapnik_envelope.os ./bindings/python/mapnik_rule.os ./agg/include ./bindings/python/mapnik_feature.os ./bindings/python/mapnik_image.os ./bindings/python/mapnik_polygon_pattern_symbolizer.os ./bindings/python/mapnik_coord.os ./bindings/python/mapnik_view_transform.os ./bindings/python/mapnik_datasource_cache.os ./bindings/python/mapnik_datasource.os ./bindings/python/mapnik_line_symbolizer.os ./bindings/python/mapnik_projection.os ./bindings/python/mapnik_proj_transform.os ./bindings/python/mapnik_font_engine.os version 2.3.1 Copyright © 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Steven Knight Publication date 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 SCons User's Guide Copyright (c) 2004, 2005, 2006, 2007 Steven Knight Table of Contents Preface ........................................................................................................................................... ix 1. SCons Principles .................................................................................................................. ix 2. A Caveat About This Guide's Completeness .............................................................................. ix 3. Acknowledgements ................................................................................................................ x 4. Contact ................................................................................................................................ x 1. Building and Installing SCons .......................................................................................................... 1 1. Installing Python ................................................................................................................... 1 2. Installing SCons From Pre-Built Packages .................................................................................. 2 2.1. Installing SCons on Red Hat (and Other RPM-based) Linux Systems .................................... 2 2.2. Installing SCons on Debian Linux Systems ...................................................................... 2 2.3. Installing SCons on Windows Systems ............................................................................ 2 3. Building and Installing SCons on Any System ............................................................................ 3 3.1. Building and Installing Multiple Versions of SCons Side-by-Side ......................................... 3 3.2. Installing SCons in Other Locations ................................................................................ 3 3.3. Building and Installing SCons Without Administrative Privileges ......................................... 4 2. Simple Builds ............................................................................................................................... 5 1. Building Simple C / C++ Programs ........................................................................................... 5 2. Building Object Files ............................................................................................................. 6 3. Simple Java Builds ................................................................................................................ 6 4. Cleaning Up After a Build ...................................................................................................... 7 5. The SConstruct File .......................................................................................................... 8 5.1. SConstruct Files Are Python Scripts .......................................................................... 8 5.2. SCons Functions Are Order-Independent ......................................................................... 8 6. Making the SCons Output Less Verbose .................................................................................... 9 3. Less Simple Things to Do With Builds ............................................................................................ 10 1. Specifying the Name of the Target (Output) File ........................................................................ 10 2. Compiling Multiple Source Files ............................................................................................ 11 3. Making a list of files with Glob ............................................................................................ 11 4. Specifying Single Files Vs. Lists of Files ................................................................................. 12 5. Making Lists of Files Easier to Read ....................................................................................... 13 6. Keyword Arguments ............................................................................................................. 13 7. Compiling Multiple Programs ................................................................................................ 14 8. Sharing Source Files Between Multiple Programs ...................................................................... 14 4. Building and Linking with Libraries ................................................................................................ 16 1. Building Libraries ................................................................................................................ 16 1.1. Building Libraries From Source Code or Object Files ....................................................... 17 1.2. Building Static Libraries Explicitly: the StaticLibrary Builder .................................... 17 1.3. Building Shared (DLL) Libraries: the SharedLibrary Builder ....................................... 17 2. Linking with Libraries .......................................................................................................... 18 3. Finding Libraries: the $LIBPATH Construction Variable ............................................................ 19 5. Node Objects .............................................................................................................................. 20 1. Builder Methods Return Lists of Target Nodes .......................................................................... 20 2. Explicitly Creating File and Directory Nodes ............................................................................ 21 3. Printing Node File Names ..................................................................................................... 21 4. Using a Node's File Name as a String ....................................................................................