Changes between Version 2 and Version 3 of wxGUIDevelopment/GUIForPs.map
- Timestamp:
- 02/03/11 22:44:43 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
wxGUIDevelopment/GUIForPs.map
v2 v3 3 3 Prototype should be able to generate configuration file for `ps.map` based on [http://grass.osgeo.org/wiki/Psmap_simple_example#Simple_example example]. 4 4 5 Inspiration: ArcGIS Layout mode, [http://www.qgis.org QGIS Print composer], [http://www.gvsig.org/web/ gvSig] (see also [http://www.google.cz/url?sa=t&source=web&cd=8&ved=0CFMQFjAH&url=http%3A%2F%2Fgvsig-desktop.forge.osor.eu%2Fdownloads%2Fpub%2Fdocuments%2Flearning%2Fgvsig-courses%2Fgvsig_des_1.1.x_u_en%2FgvSIG_workshop_OSGIS09.pdf&rct=j&q=gvsig%20map%20creating&ei=ck0kTfSTENSs8QPRrrW2Ag&usg=AFQjCNEx7iVQDwDHA2gRDFZxyf176VW-uQ&cad=rja workshop]) 5 Please contact Hamish before getting started with the GUI front-end or before significant changes to ps.map back-end (as primary maintainer of that code). 6 7 Similar tools: [http://www.qgis.org QGIS Print composer], ArcGIS Layout mode, [http://www.gvsig.org/web/ gvSig] (see also [http://www.google.cz/url?sa=t&source=web&cd=8&ved=0CFMQFjAH&url=http%3A%2F%2Fgvsig-desktop.forge.osor.eu%2Fdownloads%2Fpub%2Fdocuments%2Flearning%2Fgvsig-courses%2Fgvsig_des_1.1.x_u_en%2FgvSIG_workshop_OSGIS09.pdf&rct=j&q=gvsig%20map%20creating&ei=ck0kTfSTENSs8QPRrrW2Ag&usg=AFQjCNEx7iVQDwDHA2gRDFZxyf176VW-uQ&cad=rja workshop]) 8 6 9 === Prototype 1 === 7 10 8 11 * Configuration dialog (paper format, map scale) 9 * Implement `raster`, `colortable`, `vlines`, `vpoints`, `text`, `mapinfo` instructions12 * Implement the `raster`, `colortable`, `vlines`, `vpoints`, `vareas`(?), `text`, `mapinfo` instructions 10 13 * Interactive placement of the features 11 * Draft mode 12 * Generate configurationfile13 * Create output using ps.map /ps.output14 * Draft mode (lower raster region resolution) 15 * Generate ps.map configuration text file 16 * Create output using ps.map 14 17 15 18 === Prototype 2 === … … 17 20 * !Draft/Preview mode 18 21 * Implement other instructions 22 * If the `ps2pdf` program is installed offer a PDF output option 19 23 20 24 === Prototype 3 === 21 25 22 26 * Read configuration files 27 * As a parallel task, nice features from ps.output should be ported to ps.map. (contact HB) 23 28 24 29 == ps.map bugs and inconsistencies == 25 30 26 * color should support RGB for all instructions 31 * color should support RGB for all instructions (e.g. #192) 27 32 * common usage of ref points and units (absolute, relative) 33 * The trouble is, percentage is given relative to the map box (which is sized and placed dynamically at run-time), while absolute is given relative to the page size. 34 * The GUI has to do these calculations and feed ps.map what it wants in the form it wants. IMO it is not practical to have the python code mirror the C code's placement logic (a lot of work to mimic, then a lot of discipline to keep in sync). This may take a two-pass solution, e.g. a new ps.map flag which would output map box corners in inches and then exit. The GUI could then do the needed conversions between %, PostScript points(?), inches, cm, mm, or map coords. See wish #153.