SVN trunk NEWS
See the Roadmap for the planned next releases.
There is a rough summary on Thuban at freshmeat.
Changes compared to release 1.0.1:
- 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
- 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 which means you can have many raster images concurrently.
Improved performance of map rendering for raster layers (by about
a factor of 2 and even more when zoomed to small extents, measured
for the Iceland demo).
- Improved PostGIS support:
- 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 more PostgreSQL versions. 7.4 works now.
- Added support for sizable points
- The middle mouse button can be used for panning now.
- Give a warning when the projection selected for a layer is probably
- Updated shapelib.
- Minimum version of GDAL now 1.2.5.
- A registry for extensions.
- New or improved extensions:
- Improved WMS extension.
- Completed SVG-Export extension.
- New Extension to dump bounding boxes of all shapes
of the selected layer.
- New extension: umn_mapserver for managing UMN MapServer
- New extension: OGR for using the ogr library in order to
load various datasource formats.
- New Extension: mouseposition. Tool to collect mouse
click positions (map coordinates) in a dialog.
- Added some documentation of the internals of Thuban.
- The Thuban manual has been partly translated to German
First maintenance release of the 1.0 series
with the following imporovements:
- Updated: Spanish, French, Russian and German
- New: Hungarian and Brazillian Portuguese
- Updated gns2shp: Changes include fix for RT#2453.
- New experimental extension: svgexport to export map and
legend in svg format
- Thuban now remembers directories during a session. E.g. if you open
a shape file Thuban remembers the directory it was loaded from and
the next time you open a shapefile the dialog will start in the same
directory. This also works for projections.
- The PostGIS interface was improved substantially compared to 1.0.0.
However, there are some limitations in Thuban's PostGIS support that
can't be fixed in the 1.0.x series without introducing incompatible
file format changes (one such limitation is the requirement for a
column called "gid").
The PostGIS changes in more detail:
- Added support for LINESTRING geometries·
- Added some support for tables with an explicit SRID.
- Thuban 1.0.0 used to allow tables with multiple geometry columns
in some cases. Those cases worked only by accident. 1.0.1 gives
an error message when such tables are opened. Real support for
tables with multiple geometry columns is available in 1.1.x
(currently only in CVS).
- Fix a printing bug. The region of the map to be printed was a bit off
so that some parts were not drawn sometimes (RT#2692)
- Other fixed issues:
- RT#2237 EPSG projection with unsupported (by the dialog)
parameters causes exception
- RT#2239 (only the session tree part)
- RT#2245 Thuban don't start, unhandled exception
- RT#2482 (partly) NameError: name 'wx' is not defined
- RT#2549 exception when trying to generate one class
Release of the first stable version of Thuban.
This release will be further maintained independent of further
progress of the main development.
Feature list of Thuban 1.0.0:
- Comfortable Map Navigation
- Object selection and identification
- Legend and Legend Editor including automated Class Generation
- Comfortable Management of Projections
- Multi-Language support (english, german, french, spanish, russian, italian)
- Table-Management (Join, Query)
- Supported Data Sources:
- Raster Images
- SFSQL via PostGIS
- API for Add-Ons (Extensions) including various examples
- User Manual in english
- Rendering 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
Convert GNS (GEOnet Names Server) files to shapefiles. See
Extensions/gns2shp/gns2shp.py for more information
Use thuban as WMS client. See Extensions/wms/wms.py for more
Import a ArcView project file (.apr) and convert it to
For developers: perfomance measurement for the rendering
code. See Extensions/profiling/profiling.py for details.
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
- 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
- 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
- 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
- The shapefile handling code now uses shapelib 1.2.10
- Thuban should work without problems and warnings with
Python 2.3 now.
There were a few installation problems that people discovered after
version 0.8.0 was released. Thuban 0.8.1 fixes these problems.
- Projection Management
The new projection dialog makes it possible to import, export,
create and select projections which can then be applied to
layers and maps.
- Automatic Classification Generation
The tedious work of adding new groups to a classification is
greatly simplied with this new tool. Classificatons can be
generated using uniform distributions, unique values, or
quantiles. The visual properties (e.g. line width, line color,
and fill color) are also adjusted according to predefined
color schemes, or a custom scheme.
- Image Layers
Images that are supported by GDAL (e.g. GeoTIFF) can
be added to Thuban as layers. They then behave just as layers
do and can be raised, lowered, and even projected.
- Table Joins
Independent tables can be opened with Thuban and joined with
other tables. The results can then be exported or treated just
as any other table in the session.
- Table Queries
The table view has a new query function which allows shapes to
be selected based on certain criteria which their fields match.
Results from a query are highlighted both in the table and in
the map. Queries can also be refined with other search criteria.
The legend provides a more user-friendly face to the session tree
(which is still available). It displays each layer along with any
classification. The layers can be raised, lowered, shown, or
hidden through the toolbar on the legend. A layer's properties
are accessible by double-clicking a layer or selecting the
- Improved Printing
Maps are framed and printed with the legend and scalebar.
- Export under Windows
On Windows platforms maps can be exported to Enhanced Meta-File
- The most striking new feature is classifications.
A classification is a set of groups that determine how
a layer is drawn on the map. The groups are
based on the fields of the associated data table.
For example, with the iceland_sample.thuban file you can
group roads by their length so that all the roads that are
0-0.2 km are red, 0.2-0.4 km are green, 0.4-0.6 km are blue,
and so on. Or, you can group the roads into types so that
all roads of type 1 are red, all roads of type 2 are green,
and so on. This is what is done in the iceland_sample_class.thuban
Version 0.2.0 is backward compatible with previous releases: it
can read and write old files.
- Python 2.2 and wxWindows 2.4 are from now on the reference.
Thuban will be compatible with these two dependencies for quite
- As usual: Various bug fixes, see ChangeLog and Bug Tracker for
- Thuban now requires at least Python 2.1. As a result of this, the
requirement of PyXML has been dropped. Thuban now uses the XML
parsers that come with Python.
- Thuban is extensible with python modules now. Extensions can add new
menu items and tools. The new Examples subdirectory contains some
commented extensions that explain how this works.
- Thuban can be more easily used to build applications on top of it.
Applications built this way can have their own application objects,
and main windows, among other things.
We use this feature at Intevation for the GUI client of GREAT-ER:
- Installing thuban now creates a module thubaninit that can be
imported by applications built on top of Thuban to initialize paths
needed for Thuban.
- There's a small test suite now in test/.
- The identify dialog now allows the user to modify the attributes.
The current implementation of this may be a bit dangerous in that
editing is on by default, there's no undo and you don't have to
press a button to commit the changes.
- Thuban is quite a bit faster now. This is mainly due to using
shapelib's quad tree in various places, but there were also some
- The current mouse position in projected coordinates is now displayed
in the status bar.
- A menu item to open the tree view so that it can be reopened if
you've closed its window
- "View full extent" is now also a button in the toolbar
- Various bug-fixes. Among other things thuban works properly with
Python >= 2.0 and on PPC systems now.
The initial release aims to be a basis for discussion of further
development. It shows the menu stucture (and therewith the features
thought of) for a first milestone release (version 1.0) The current
version provides basic navigation features (zoom, pan), projection
and can handle data in shapefile format.