Changes up to Thuban 1.2.x DRAFT ========================== - Problem fixes: + Fix for shptreemodule.c coming from Debian #469007. + DTDs 1.1 and 1.2.1 session files are valid DTDs again (Bernhard Herzog). + Fix for Mac and wx 2.8. (Didrik Pinte) + Minor improvements in code and documentation (Bernhard Reiter). - Extensions + wms: experimental migrated to owslib 0.3 (Didrik Pinte) Changes up to Thuban 1.2.1 (released 2008-02-03) =========================== - Rendering: Thuban's accelerated shapefile renderer is now robust against shapefiles which contain empty shapes. - Text Encoding: Progress to make Thuban run better with different encodings and locales. (Bernhard Reiter) + The class generator selector will work even in other languages. (Reported by Samuel Mesa) + Layer titles from filenames are saved in the correct encoding, so strings can be assembled from them, e.g. for the Layer Projection dialog. (Reported by Samuel Mesa) + Fixed [#586] (projection exception when changing projection) (Reported by Stefanie Gunkel) - PostGIS support: Migrated from psycopg1 to psycopg2 (Didrik Pinte) Now UTF8 environments are better supported. - Windows packaging improved. Also it got easier to make a windows package that inclused everything. (Didrik Pinte) - move to wxPython 2.6 completed (Didrik Pinte) - Using the alpha channel for displaying raster images all the time. There is no selection possibility anymore for "masktype". (Bernhard Reiter) INCOMPATIBLE with Thuban 1.1 (development series) and 1.2.0: Ignoring the saved masktype in .thuban files, using "alpha" in all cases. With wx2.6 there is no need for other mask types anymore. Doing this change fixes a problem on the windows platform, where masktype=bit did not work so far. - Translation updates + Extensions are now localised as well (Bernhard Reiter) + German (Bernhard Reiter) + French (Didrik Pinte, Daniel Calvelo) + Spanish (Daniel Calvelo) + (New) Czech (Jachym Cepicky) - Problem fixes: + Fixed [#403] "can not add raster layer". Adds the ability to open more then one raster file from one open dialog by multiple selection. Thanks to Jachym Cepicky and Bernhard Herzog. (Bernhard Reiter) + Printing reenabled under some platforms. (Bernhard Reiter) - Extensions (all Bernhard Reiter) + ogr: Some fixes to make it work with encodings and database connections. + wms: Some attemps to revive, but found out that PyOGClib is abandoned and does not work anymore. Needs work. + Extensions are now all under the menu entry with the same name, their maturity will be indicated by leading string in the menu text. + New installation wide configuration file thuban_cfg.py which by default tries to import all interesting Extensions coming with Thuban. Changes up to Thuban 1.2.0 (released 2007-03-13) ========================== - Python versions >= 2.4 call C extension modules with the locale set. This means those modules need to be robust against a locale where LC_NUMERIC is set in a way that the decimal_point might be a comma or something else. Problems are diagnosed at least with shapelib, proj and gdal. To cope with it we: + Added a new option --setdecimalcommalocale to runtests.py so that all tests can be checked with a comma as decimal_point, if we can find such an LC_NUMERIC. We only try a few in test/localessupport.py. + Fixed behaviour with proj by switching to LC_NUMERIC "C" before initialising the projection and afterward switch back. + Added a workaround to internal shapelib and pyshapelib. (Bernhard Reiter) - Startup improved: We fail right away if the internal encoding could not be determined. In this case, try to set the LANGUAGE variable to one value and use no colon. If we startup you can see the internal encoding in the about dialog now. (Bernhard Reiter) - Support for pysqlite2. (Didrik Pinte) - Added packaging directory, which already has an example how to load all extensions on windows. (Didrik Pinte) - Updated code to support new style wxPython 2.6 imports. So you need at least wxPython 2.6 . (Didrik Pinte) - New Classification "Pattern": Classify text attributes by regexp. (Frank Koormann) - New or Improved Extensions: + Improved svxexport extension 1.0.1 (Bernhard Reiter) * Fixed ARC layer writing: No filling is done. You could actually get polylines with filling in between, when the classification for the lines had a fill color. E.g. this happens when you generate a classification from a ramp. * Fixed label export. + New export_shapefile extension (Jan-Oliver Wagner) Available from the experimental menu. Changes in Thuban 1.1.0 ======================= - Thuban rembers directories in file selection dialogs during a thuban session - Add some support for wxPython 2.5 and 2.6. Thuban is still compatible with wxPython 2.4. - Change the way thuban deals with non-ascii text. The internal representation is now the user's default encoding. Thuban works a bit better with a unicode build of wxPython but there are still problems. (Bernhard Herzog) - Various raster data improvements. Among other things, translucent images are now supported on a sufficiently recent wxWidgets (2.6). Also, only the part of the window actually covered by the image is drawn. (Jonathan Coles) - Improved PostGIS support (Bernhard Herzog): - support tables with multiple geometry columns. The user can select which one to use - support tables with srids - tables don't have to have a column named "gid" anymore. The user can select the column to use for ids - PostgreSQL views are supported too - support LINESTRING geometries - support more PostgreSQL versions. 7.4 works now. - Added support for sizable points (Jan-Oliver Wagner) - When loading a (moved) session where shapefiles cannot be found, ask the user (Frank Koormann) - The middle mouse button can be used for panning now (Russell Nelson) - Give a warning when the projection selected for a layer is probably wrong (Russell Nelson) - Updated shapelib - New or improved extensions: - A new extension which exports a map as SVG (Markus Rechtien, Bernhard Reiter) - Improved WMS extension (Martin Schulze) - New Extension to dump bounding boxes of all shapes of the selected layer (Frank Koormann) - New extension: umn_mapserver (Jan Schüngel) - New extension: OGR (Nina Hüffmeyer) - New Extension: mouseposition. Tool to collect mouse click positions (map coordinates) in a dialog. (Frank Koormann) - Documentation: - Add some documentation of the internals of Thuban. See Doc/technotes/ - The thuban manual has been partly translated to German (Jan-Oliver Wagner) - Updated translations: Russian (Alex Shevlakov) - New translations: Brazilian Portuguese (Eduardo Patto Kanegae)xb Hungarian (Norbert Solymosi) Changes in Thuban 1.0.0 ======================= - Updated translations: Italian by Maurizio Napolitano Spanish and French by Daniel Calvelo Aros Russian by Alex Shevlakov - some minor bug fixes Changes in Thuban 1.0rc1 ======================== - Redering improvements Rendering the map in the main window does not freeze Thuban completely anymore. While the rendering occurs the window is updated regularly to show the progress and you can interact with the window and thuban in general even when the rendering is not complete yet The map display is also faster in many cases now, especially when doing classifictions. The renderes have a mechanism to define how new layer classes defined in extensions can be rendered (see the new wms extension for an example) - Added a few extensions in the Extensions sub-directory. Most of them are experimental to varying extents. Note that the binary packages might not contain all of these extensions. - gns2shp Convert GNS (GEOnet Names Server) files to shapefiles. See Extensions/gns2shp/gns2shp.py for more information - wms Use thuban as WMS client. See Extensions/wms/wms.py for more information - importAPR Import a ArcView project file (.apr) and convert it to Thuban. - profiling For developers: perfomance measurement for the rendering code. See Extensions/profiling/profiling.py for details. - drawshape This is a *very experimental* and potentially *dangerous* extension to add shapes to a shapefile. Be careful with it as it may lead to data loss. For more information, see Extensions/drawshape/README - A new command line option --enable-attribute-editing, which when given turns on editing of attribute values in the identify view. It only works on layers whose attribute data is stored in DBF files. This experimental and may lead to data loss, so be careful when using it. - EPSG projections Thuban now comes with two .proj files containing EPSG projections (epsg.proj and epsg-deprecated.proj in Resources/Projections/). These projections can be shown in the dialog with the new check boxes under "Show EPSG". - Context menu in the legend window The legend window now has a context menu for most of the layer commands - Localization updates The localization is now done with wxWindow's localization support and thus deals automatically with character encoding transformations and the standard dialogs are also translated properly if the wxWindows .mo files are installed Updated translations for French and Spanish contributed by Daniel Calvelo. Updated German translation - PostGIS improvements - Quote table and columns names properly. - The dialog deals better with duplicate connections (e.g. trying to create a new connection when there already is a connection for the same database) - Files written with the Windows version of Thuban can now be read by the unix version. The other way round was already possible. - The shapefile handling code now uses shapelib 1.2.10 - Thuban should work without problems and warnings with Python 2.3 now. Changes in Thuban 0.9 ===================== - An initial version of the Thuban User's Manual. Currently only the XML sources and the images are shipped with the Thuban sources. The binary distributions do not contain the document at this point. An online version is available at http://thuban.intevation.org/documentation.html - New Translations: German, Italian and Russian. The Italian and Russion translations are based on 0.8.1 and therefore not quite up to date. German is up to date, though. For 1.0 we intend to have a translation period where all translations can be brought up to date. - PostGIS support. This feaure is still a bit experimental at this point and is not very well tested yet. It should work PostgreSQL 7.2.1 and postgis 0.7 as that's what we tested it with. Newer versions probably also work. The user as which the connection is established obviously needs select permissions on any table to show and also on the geometry_columns table. Known Issues: - Only four geometry types are currently supported: POINT, MULTILINESTRING, POLYGON and MULTIPOLYGON. - Tables must have a gid column which is assumed to be a non-NULL integer which uniquely identifies the row. - It's not optimized so some things may be very slow. For instance the number of queries done could be reduced substantially especially if you use classifications. Having an index on the gid column can speed things up in that case. Note that at least older versions shp2pgsql do not create such an index. - Renamed the subdirectory extensions to libraries. The name extensions can now be used for a directory with Thuban extensions. More changes in even more detail are listed in the ChangeLog file.