The extensions described in this section are part of the Thuban package, but not activated by default. You will find them in the Thuban installation directory under Extensions/. Activate them as personal extensions via PYTHONPATH as described in the previous section. Stable extensions will appear under the menu and extensions which are in experimental state and therefore not fully functional under .
These extensions provide extra-functionality to Thuban that has not (yet) been integrated in the main application. They are considered to be free of bugs, but may be further polished with helpful user interactions.
This tool converts data of the Geospatial Names Server (GNS, see http://www.nima.mil/gns) into Shapefile format. The above web-site offer to download named places information grouped by countries for all of the world except USA for which other data are provided.
If you download and unpack a package, you will have a text-file with suffix .txt. Selecting such a file via gns2shp will create the corresponding Shapefile with the same basename and place it in the same direcory. Afterwards it is automatically loaded into Thuban. The Shapefile will not automatically be delete afterwards.
The gns2shp.py module can also be executed on the command line for batch processing purposes.
A sample (ls.txt for Liechtenstein) is included in the directory Extensions/gns2shp/test.
Map and legend can be exported separately in the Thuban-Map-SVG format. You get files that comply with the Scalable Vector Graphics (SVG) 1.1 Sn 1.2 ( Any open views of the tables are closed as well. Tables used in a join cannot be closed.
-> changes the table title.
The -> item raises a list of available tables (explicitly loaded, attribute tables, results of a join). Selected tables are show in tables views on .
The
->
item raises a dialog to specify the two tables to be
joined. The join results in a new table named 'Join of "left table"
and "right table"'.
The dialog lets you select the two tables to be joined and the two
fields the join has to be performed on. By default, the new
table contains only those records which are matched by the join.
If you want to preserve the records of the left table you can
perform an outer join. The fields from the right table for records
not matched by the join are filled with None in
this case.