/[thuban]/branches/WIP-pyshapelib-bramz/Extensions/svgexport/TODO
ViewVC logotype

Annotation of /branches/WIP-pyshapelib-bramz/Extensions/svgexport/TODO

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2734 - (hide annotations)
Thu Mar 1 12:42:59 2007 UTC (18 years ago) by bramz
File size: 2371 byte(s)
made a copy
1 bernhard 2490 TODO file for Thuban svgexport Extension
2 bernhard 2481
3 bernhard 2726 For 1.0.2:
4 bernhard 2481
5 bernhard 2732 * Add raster file export.
6 bernhard 2490
7 bernhard 2732 Spec REC-SVG11-20030114 includes no indication about embedding raster images.
8     Thus we probably have to write extra files.
9    
10     Substeps:
11     a) write shown raster file as .png, no matter which
12     filename.
13     b) add filename construction based on used svg file.
14     Difficulty: There can be several raster layers.
15     c) add <image> tag to .svg file
16    
17     Considerations:
18     q1) What resolution to use for the PNG file?
19    
20     As high as possible to avoid losing information.
21     Will probably not be easy to decide if there are
22     complicated projections.
23    
24     q2) Should be there one PNG file or is tiling better?
25    
26     One PNG per tile that Thuban is using seems to be
27     a good approach.
28    
29     q3) Image processing is happening in UI/renderer.py with
30     the help of gdalwarp and and wx image function.
31     Shall we use wx as well? This would make this extension
32     depend on wx and a GUI, but if we use something else like
33     PIL (python-imaging) the results might be significantly
34     different to what the user sees on screen. On the other
35     hand, this will already depend on the screen resolution.
36     Or refactor renderer.py to use PIL as well? Probably not
37     because of speed reasons.
38    
39 bernhard 2726 For 1.0.x, x>2:
40 bernhard 2490
41 bernhard 2482 * find out why the memory shapes in class Testobjectexport
42     return points with negative values with projected_points
43 bernhard 2481
44     Better support for variable Point sizes:
45     * a real test for variable point sizes
46     * save point size in an svg attribute value
47     * Create a better legend for variable point symbols
48    
49     * add a progress bar or something so that the user is informed
50     during exports of huge files. A simple interator return of
51     draw_shape_layer_incrementally() might not be enough, because the user
52     might stop this operation when doing something.
53    
54     For later:
55    
56     * use styles for the geographic objects in one class in each layer
57     after making sure that Skencil can do this, too.
58    
59 bernhard 2489 * add a method to trigger the application down the pipe that new
60     files have just been written. First idea: Add a "save as" variant
61     which also asks for a command line to run after each "save".
62     The command line can be used to run something like
63     "skencil-remote --updated-thubanmapsvgfile %s"
64 bernhard 2513
65     * Think about adding preferences or options , e.g.: ignore the line Width.

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26