Log of /branches/WIP-pyshapelib-bramz/ChangeLog
Parent Directory
|
Revision Log
Revision
2731 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Feb 26 23:00:14 2007 UTC
(18 years ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 479733 byte(s)
Diff to
previous 2730
,
to
selected 1582
Doc/ThubanModel.xmi: Updated the format of the umbrello file.
Loaded and saved with umbrello 1.3.2, manually changed the
codegeneration tag to be empty again and change the XMI.model
to not contain a local path.
Now umbrello 1.5.5 also opens the file without crashing.
Thanks to Philippe LeGrand who discovered the problem and the
solution and filed report 141279 on bugs.kde.org for this umbrello
problem.
Revision
2728 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 20 10:51:07 2007 UTC
(18 years ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 479063 byte(s)
Diff to
previous 2727
,
to
selected 1582
* Doc/README: fixed a typo.
* Doc/technotes/release_process.txt: Updated. Reference platform
is Debian Etch now. If windows, it should be window XP.
Marked a few entries in the instructions as "Old:".
* README: Bumped requirements to wxWidgets 2.6.3.2 and gdal 1.3.2..
Added urls for homepage and infrastructure on wald. Fixed a typo.
* MANIFEST.in: Added subdir packaging which should be in the tarball.
* NEWS: Completed changes from 1.1.0 until today as gathered from
the Changelog entries. Added small section about OGR known problems
because we do not have a release-notes file so far.
Revision
2727 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 20 10:44:51 2007 UTC
(18 years ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 478456 byte(s)
Diff to
previous 2726
,
to
selected 1582
Doc/manual/thuban-manual.xml: Removed the installation instructions
as they are outdated and they should be only in one place.
Bumped version number of the document to 1.2.0. Marked it as Draft
in the title.
Revision
2725 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 20 10:36:20 2007 UTC
(18 years ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 478134 byte(s)
Diff to
previous 2724
,
to
selected 1582
Thuban/UI/about.py: Reworked the about text. It shows now
when somebody was active on Thuban. Added a list of maintainers.
Bernhard Reiter is the current maintainer, following up on Bernhard Herzog.
Revision
2721 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jan 13 15:11:42 2007 UTC
(18 years, 1 month ago)
by
dpinte
Original Path:
trunk/thuban/ChangeLog
File length: 477735 byte(s)
Diff to
previous 2720
,
to
selected 1582
2007-01-13 Didrik Pinte <dpinte@itae.be>
bboxdump, gns2shp, importAPR, mouseposition, ogr, profiling, svgexport
extensions migrated to wxPython 2.6
* Extensions/bboxdump/bboxdump.py:
updated wx statements
* Extensions/gns2shp/gns2shp.py:
updated wx statements
* Extensions/importAPR/importAPR.py:
updated wx statements
* Extensions/mouseposition/mouseposition.py:
updated wx statements
* Extensions/ogr/
ogrdialog.py, ogrstart.py:
updated wx statements
* Extensions/profiling/profiling.py:
updated wx statements
* Extensions/svgexport/
maplegend.py,svgsaver.py:
updated wx statements
Revision
2714 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 6 10:09:14 2006 UTC
(18 years, 4 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 475883 byte(s)
Diff to
previous 2713
,
to
selected 1582
Fixing the possibility to run postgis tests on Debian Etch (80%).
* test/postgissupport.py: Taking pg_ctl and initdb commands
from internal variables now. Adding deactivated example values
for Debian Etch.
find_postgis_sql(): Added special line for Debian Etch postgresql-8.1.
Added copyright year 2006.
Revision
2712 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Oct 15 23:27:05 2006 UTC
(18 years, 4 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 475007 byte(s)
Diff to
previous 2711
,
to
selected 1582
* Thuban/UI/renderer.py: Added module variable verbose and
added verbose output before doing a raster projection.
Minor: Added (c) year 2006.
* test/test_baserenderer.py: Added new function
test_projected_raster_decimalcommalocale()
Added new author Bernhard Reiter and new copyright year 2006.
* libraries/thuban/gdalwarp.cpp(ProjectRasterFile): Adding
switching to LC_NUMERIC "C" and back before calling GDAL functions -
only #if python >=2.4 .
Revision
2711 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 10 10:30:54 2006 UTC
(18 years, 4 months ago)
by
dpinte
Original Path:
trunk/thuban/ChangeLog
File length: 474498 byte(s)
Diff to
previous 2710
,
to
selected 1582
2006-10-10 Didrik Pinte <dpinte@itae.be>
Win32 build updates
* setup.py :
- update to the latest libs for win32 setup tasks
- added gdal and Lib content to the inno setup build task
- added stable and experimental extensions to setup packages
* thuban.py :
- gdal support for win32 inno installation
Revision
2705 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Sep 24 18:55:30 2006 UTC
(18 years, 5 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 473621 byte(s)
Diff to
previous 2702
,
to
selected 1582
* test/runtests.py: Added new option ---setdecimalcommalocale
to run all tests with an LC_NUMERIC that uses comma as decimal_point.
Minor: Added (c) year 2006. Fixed typo in a docstring.
* test/test_transientdb.py: Minor: Added (c) year 2006. Fixed typo in
a docstring.
Revision
2702 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Sep 24 09:26:21 2006 UTC
(18 years, 5 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 473288 byte(s)
Diff to
previous 2701
,
to
selected 1582
* Extensions/ogr/test/test_OGRShapestore.py: fixed skip_if_no_ogr()
and added it to TestOGRTable.setUp() so that all tests get skipped
if ogr cannot be imported. Added (c) year 2006.
Revision
2680 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon May 15 14:36:50 2006 UTC
(18 years, 9 months ago)
by
dpinte
Original Path:
trunk/thuban/ChangeLog
File length: 469239 byte(s)
Diff to
previous 2679
,
to
selected 1582
2006-05-15 Didrik Pinte <dpinte@itae.be>
* Thuban/version.py : Updated imports to support pysqlite2
* Thuban/Model/transientdb.py : Updated imports to support pysqlite2
Patched the querying system to support the param style of pysqlite2
--Cette ligne,
M thuban/Thuban/Model/transientdb.py
M thuban/Thuban/version.py
M thuban/ChangeLog
Revision
2678 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 20 13:20:48 2006 UTC
(18 years, 10 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 468848 byte(s)
Diff to
previous 2677
,
to
selected 1582
* Doc/technotes/coding_guidelines.txt: Changed text from CVS to SVN.
Removed emacs specific hint and replaced it with a general hint
that editors might support writing changelogs.
Revision
2676 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 31 17:18:50 2006 UTC
(18 years, 11 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 468471 byte(s)
Diff to
previous 2675
,
to
selected 1582
including proj_api.h instead of projects.h now.
According the Frank Warmerdam and man pj_init
this is the public interface to proj. Thus I have changed PJ to projPJ.
And I could remove the hack to avoid clashes with typedef PVALUE
and #define LP in projects.h clashing with symbols when trying to
build on windows. The file is cleaner and nicer now.
Revision
2674 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 19 08:56:47 2005 UTC
(19 years, 4 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 467883 byte(s)
Diff to
previous 2673
,
to
selected 1582
* Thuban/UI/about.py: remove unused import of getdefaultlocale.
Added display of internal encoding to the about dialog text.
* Extensions/svgexport/__init__.py: changed version to "1.0.0+cvs".
Started to update the NEWS file.
Revision
2672 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 17 21:31:43 2005 UTC
(19 years, 4 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 467303 byte(s)
Diff to
previous 2671
,
to
selected 1582
* Thuban/__init__.py (set_internal_encoding): added a forwards
and backward translation, so that we fail early if the
internal_encoding is bad.
* test/test_stringrepresentation.py: New file, for now testing
that set_internal_coding() is throwing an exception for bad exceptions.
Revision
2671 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 17 20:10:18 2005 UTC
(19 years, 4 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 466962 byte(s)
Diff to
previous 2670
,
to
selected 1582
svgexport 1.0.0cvs: 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.
Revision
2644 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 5 16:30:51 2005 UTC
(19 years, 8 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 463471 byte(s)
Diff to
previous 2643
,
to
selected 1582
* Thuban/Model/layer.py (Layer.__mangle_bounding_box)
(Layer.ClipBoundingBox): Rename ClipBoundingBox to
__mangle_bounding_box. See the comments in the code and RT #2845
* test/test_layer.py (TestLayer.test_arc_layer_with_projection):
Remove the explicit test of ClipBoundingBox. The method isn't
public anymore and the direct call in the test wasn't necessary in
the first place. If ClipBoundingBox (now __mangle_bounding_box)
isn't called, the return value of ShapesInRegion will be
different.
Revision
2642 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 1 20:49:04 2005 UTC
(19 years, 8 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 462663 byte(s)
Diff to
previous 2641
,
to
selected 1582
First step towards unicode. With this roughly we're at step 1
string_representation.txt
* Doc/technotes/string_representation.txt: New. Document how
strings are represented in Thuban and how to get to a Unicode
Thuban.
* Thuban/__init__.py (set_internal_encoding)
(unicode_from_internal, internal_from_unicode): New. The first few
functions for the internal string representation
* Thuban/UI/about.py (unicodeToLocale): Removed. Use
internal_from_unicode instead.
* Thuban/UI/__init__.py (install_wx_translation): Determine the
encoding to use for the internal string representation. Also,
change the translation function to return strings in internal
representation even on unicode builds of wxPython
* Thuban/Model/load.py (SessionLoader.check_attrs): Decode
filenames too.
(SessionLoader.start_clrange): Use check_attrs to decode and check
the attributes.
* Thuban/Model/xmlreader.py (XMLReader.encode): Use
internal_from_unicode to convert unicode strings.
* Thuban/Model/xmlwriter.py (XMLWriter.encode): Use
unicode_from_internal when applicable
* test/runtests.py (main): New command line option:
internal-encoding to specify the internal string encoding to use
in the tests.
* test/support.py (initthuban): Set the internal encoding to
latin-1
* test/test_load.py (TestSingleLayer.test, TestClassification.test)
(TestLabelLayer.test): Use the internal string representation when
dealing with non-ascii characters
* test/test_load_1_0.py (TestSingleLayer.test)
(TestClassification.test, TestLabelLayer.test): Use the internal
string representation when dealing with non-ascii characters
* test/test_load_0_9.py (TestSingleLayer.test)
(TestClassification.test): Use the internal string representation
when dealing with non-ascii characters
* test/test_load_0_8.py (TestUnicodeStrings.test): Use the
internal string representation when dealing with non-ascii
characters
* test/test_save.py (XMLWriterTest.testEncode)
(SaveSessionTest.testClassifiedLayer): Use the internal string
representation when dealing with non-ascii characters where
applicable
Revision
2623 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon May 9 18:12:12 2005 UTC
(19 years, 9 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 459200 byte(s)
Diff to
previous 2622
,
to
selected 1582
* Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the
connection to autoconnect. Fixes RT#3148.
* test/test_postgis_db.py
(TestPostGISSpecialCases.test_simple_error_handling): New test
that attempts to reproduce RT#3148.
Revision
2622 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri May 6 14:20:20 2005 UTC
(19 years, 10 months ago)
by
jonathan
Original Path:
trunk/thuban/ChangeLog
File length: 458911 byte(s)
Diff to
previous 2613
,
to
selected 1582
Add support for saving and loading the opacity and mask type properties of
RasterLayers. Also add support for proper use of alpha information while
drawing images not in 'RAW' format. If transparency in an image format
(e.g, PNG) is supported by wxWidgets then the image would previously have been
draw with transparent regions, but the opaque regions would have been
unaffected by a change in the layer's opacity. This patch corrects the problem.
Revision
2610 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 28 09:40:25 2005 UTC
(19 years, 10 months ago)
by
jan
Original Path:
trunk/thuban/ChangeLog
File length: 456567 byte(s)
Diff to
previous 2607
,
to
selected 1582
Introduce OGRFileShapeStore in ogr extension.
This allows at least that loaded shapefile shape stores
can be saved correctly in the thuban session file
and reloaded again (reload is via core shapefile
routine, not OGR). For other types, .thuban files
can not be reloaded for the time being.
Revision
2607 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 27 11:07:15 2005 UTC
(19 years, 10 months ago)
by
jan
Original Path:
trunk/thuban/ChangeLog
File length: 455762 byte(s)
Diff to
previous 2604
,
to
selected 1582
Introduce FileShapeStore as generalization for
file-based shape stores. In a first instance
this allows additional modules to handle shapefile
format as well, namely the OGR extension.
Revision
2598 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 11 18:18:08 2005 UTC
(19 years, 10 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 454194 byte(s)
Diff to
previous 2597
,
to
selected 1582
Move the compatibility code that
deals with the wxPython 2.4 version of wxPython.h into the #ifdef
branch that includes wxPython.h because it's only needed when
wxPython.h is used. Also, it won't compile when
USE_WX_PYTHON_SWIG_HACK is set otherwise.
Revision
2597 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 7 19:46:29 2005 UTC
(19 years, 11 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 453856 byte(s)
Diff to
previous 2596
,
to
selected 1582
(ClassGrid.__init__): Use -1 as the ID.
(ID_CLASS_TABLE): Removed. It wasn't used anywhere except in
ClassGrid.__init__ and it's value is outside of the valid
range (must be < 32768). wxPython 2.5 complains about it with an
exception.
Revision
2590 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Apr 5 17:26:58 2005 UTC
(19 years, 11 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 453253 byte(s)
Diff to
previous 2589
,
to
selected 1582
Use wxPython.h by default but provide a workaround when it isn't
available.
* setup.py (wxproj_extension): New variable. Assign the Extension
instance for Lib.wxproj to this variable instead of putting it
directly into the listso that it can be accessed by other code
later.
(thuban_build_ext.user_options): Added boolean option
--use-wx-python-swig-hack.
(thuban_build_ext.initialize_options): Initialize the new option
to False.
(thuban_build_ext.finalize_options): If the new option was given,
define the preprocesser macro USE_WX_PYTHON_SWIG_HACK.
(thuban_build_ext): Update the doc-string
* libraries/thuban/wxproj.cpp: Normally we use
wx/wxPython/wxPython.h now. Only if USE_WX_PYTHON_SWIG_HACK is
defined, use swigPtrConvertHack.h instead.
* libraries/thuban/swigPtrConvertHack.h: Remove the code that was
copied over from wxPython.h.
(decode_pointer_new): New. Equivalent of decode_pointer for
wxPython 2.5.
(wxPyConvertSwigPtr): Modified to cope with wxPython 2.5 as well.
Revision
2588 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 29 18:05:01 2005 UTC
(19 years, 11 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 451857 byte(s)
Diff to
previous 2587
,
to
selected 1582
(BMP_SIZE_W, BMP_SIZE_H): Set both to 16 to
match the site of the legend_icon_layer icon. Otherwise wxpython
2.5 complains when the legend is created with the error:
PyAssertionError: C++ assertion "(bitmap.GetWidth() == m_width &&
bitmap.GetHeight() == m_height) || (m_width == 0 && m_height == 0)"
failed in ./src/generic/imaglist.cpp(81): invalid bitmap size in
wxImageList: this might work on this platform but definitely won't under
Windows.
Revision
2574 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 18 21:22:53 2005 UTC
(20 years ago)
by
jonathan
Original Path:
trunk/thuban/ChangeLog
File length: 448505 byte(s)
Diff to
previous 2573
,
to
selected 1582
Optimize the loop in gdalwarp which builds a mask. Handle the majority of an
image in a loop, creating 8 bits at a time. Later, handle the edge case where
less than 8 bits are packed.
Revision
2571 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 18 14:54:17 2005 UTC
(20 years ago)
by
jonathan
Original Path:
trunk/thuban/ChangeLog
File length: 447991 byte(s)
Diff to
previous 2570
,
to
selected 1582
Refactored baserenderer.py and renderer.py to remove baserenderer.py's
dependencies on wxPython. Added a new method projected_raster_layer()
that returns a raster layer image in projected space. This must be
implemented in classes derived from BaseRenderer. This also eliminates
the dependency on gdal in baserenderer.py.
Revision
2561 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 8 20:34:29 2005 UTC
(20 years ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 442384 byte(s)
Diff to
previous 2560
,
to
selected 1582
More wxPython 2.5 changes. This time taken from a patch from
Daniel Calvelo Aros.
* Thuban/UI/tableview.py (QueryTableFrame.__init__)
(QueryTableFrame.__init__): Pass the size of a spacer as a single
item.
* Thuban/UI/projdialog.py (ProjFrame.build_dialog)
(ProjFrame.build_dialog): Pass the size of a spacer as a single
item.
* Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Pass the
size of a spacer as a single item.
* Thuban/UI/classifier.py (Classifier.dialog_layout): Pass the
size of a spacer as a single item.
Revision
2560 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 8 20:25:22 2005 UTC
(20 years ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 441792 byte(s)
Diff to
previous 2559
,
to
selected 1582
Compatibility with wxPython 2.5. The changes should make it work
better with 2.5 while still keeping compatibility with 2.4. There
are still problems with 2.5, though.
* Thuban/UI/dock.py (DockableWindow.__CreateBorder): Pass the size
of a spacer as a single item.
* Thuban/UI/classifier.py (ClassGroupPropertiesCtrl): Derive only
from wxControl
* Thuban/UI/legend.py (LegendTree): When running with wxPython <
2.5, add an implementation of the GetFirstChild method that does
not require the second parameter.
(LegendTree.find_layer, LegendTree._OnMsgMapLayersAdded)
(LegendTree._OnMsgMapLayersRemoved, LegendTree.DeleteAllItems)
(LegendTree.DeleteChildren, LegendTree.__ShowHideLayer): Do not
pass the second parameter to GetFirstChild
Revision
2551 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jan 27 14:19:41 2005 UTC
(20 years, 1 month ago)
by
jonathan
Original Path:
trunk/thuban/ChangeLog
File length: 437519 byte(s)
Diff to
previous 2549
,
to
selected 1582
Add a new dialog box for raster layers. The dialog box allows
the user to toggle a mask that is generated by ProjectRasterFile
and is used to only draw the real parts of the projected image.
Revision
2544 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jan 24 11:19:53 2005 UTC
(20 years, 1 month ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 433592 byte(s)
Diff to
previous 2543
,
to
selected 1582
Rework the status bar updates a bit to make sure the message about
the projections is produced at the right times.
* Thuban/UI/mainwindow.py (MainWindow.update_status_bar_messages):
New class variable with messages that may require a status bar
update.
(MainWindow.view_position_changed)
(MainWindow.update_status_bar): Rename from view_position_changed
to update_status_bar. It's meaning has changed now that it may
also generate messages about problems with projection settings.
(MainWindow.__init__): Use the new update_status_bar_messages
class variable to subscribe update_status_bar
(MainWindow.set_position_text): Update doc-string. This method
has to be renamed at some point. See doc-string and comments.
(MainWindow.OnClose): Unsubscribe update_status_bar from all
messages in update_status_bar_messages
* Thuban/UI/viewport.py (ViewPort.forwarded_map_messages): New
class attribute. map messages to be forwarded by the viewport.
(ViewPort._subscribe_map, ViewPort._unsubscribe_map): (un)subscribe
the messages in forwarded_map_messages
Revision
2532 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jan 20 20:29:20 2005 UTC
(20 years, 1 month ago)
by
russell
Original Path:
trunk/thuban/ChangeLog
File length: 429583 byte(s)
Diff to
previous 2531
,
to
selected 1582
Resources/Projections/defaults.proj: Ruin the speling of the
Lambert-93 projection so it doesn't run into the unicode bug.
It's the wrong thing to do in the long run, but it's necessary
until that bug is fixed. Otherwise the projection dialog
segfaults.
Revision
2526 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jan 20 11:30:52 2005 UTC
(20 years, 1 month ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 428488 byte(s)
Diff to
previous 2525
,
to
selected 1582
* Thuban/UI/classgen.py (OnRetrieve()): Add a OnRangeText(0)
to work around a different in wx Behaviour noticed on MacOSX,
thanks to Lorenzo Moretti and Daniel Calvelo for the fix.
Revision
2513 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 27 17:00:15 2004 UTC
(20 years, 2 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 426982 byte(s)
Diff to
previous 2512
,
to
selected 1582
svgexport 1.0.0cvs: Fixed label export.
* Extensions/svgexport/test/test_svgmapwriter.py:
class TestSVGRenderer(): New class; new test test_label_font().
* Extensions/svgexport/svgmapwriter.py
(SVGRenderer.label_font()): initialised Font size with self.factor now,
makes test_label_font happy.
* Extensions/svgexport/TODO: crossed out fixed label export item.
Added item for options.
* Extensions/svgexport/__init__.py: Bumped version to 1.0.0cvs.
Revision
2488 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Dec 19 10:14:38 2004 UTC
(20 years, 2 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 424928 byte(s)
Diff to
previous 2487
,
to
selected 1582
svgexport: Improved code quality, mainly by better naming.
* Extensions/svgexport/svgmapwriter.py:
DrawPath() renamed to DrawPolygonPath(),
added documentation, improved comments and variable names.
* Extensions/svgexport/svgmapwriter.py,
Extensions/svgexport/test/test_svgmapwriter.py:
All using DrawPolygonPath() now, the default parameter closed=True
omitted.
* Extensions/svgexport/test/test_svgmapwriter.py:
renamed test_polygon_opened() to test_polyline()
renamed test_transparent_polygon() to test_transparent_polyline()
Revision
2482 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Dec 18 02:36:59 2004 UTC
(20 years, 2 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 423769 byte(s)
Diff to
previous 2481
,
to
selected 1582
svgexport 1.0.0: Treats holes and islands nicely. Documentation added.
* Extensions/svgexport/test/test_svgmapwriter.py:
Added new tests: test_export_polygon_with_hole()
and test_polygon_with_hole().
* Extensions/svgexport/svgmapwriter.py
(draw_polygon_shape()): Uses DrawPath correctly now.
* Doc/manual/thuban-manual.xml: Added documentation for stable
extention svgexport.
* Doc/manual/thuban-manual-de.xml: Copied English section about
svexport over.
* Extensions/svgexport/__init__.py: Bumped version number to 1.0.0.
* Extensions/svgexport/svgsaver.py,maplegend.py:
Moved from experimental to stable extension menu.
* Extensions/svgexport/TODO: updated.
Revision
2480 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Dec 18 00:29:04 2004 UTC
(20 years, 2 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 422941 byte(s)
Diff to
previous 2479
,
to
selected 1582
Refactored in svgexport:
DrawPath replaces DrawPolygon; added newline in front of "M" in paths.
* Extensions/svgexport/svgmapwriter.py
Added verbosity level 3 to print out polygon points.
(class Point): added __repr__
(class Brush, __str__()): Added space after ,.
(DrawPolygon): Renamed to DrawPath()
(DrawPath): Takes list of polygons as input now, adds \n before "M"s.
(DrawLines): Using DrawPath now.
* Extensions/svgexport/test/test_svgmapwriter.py:
Replaced DrawPolygon() calls with DrawPath() and put the first argument
inside another list. Adapted test data with a newline before "M".
Revision
2479 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 17 23:06:03 2004 UTC
(20 years, 2 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 422279 byte(s)
Diff to
previous 2478
,
to
selected 1582
Refactored svgexport tests: 9 double tests runs eliminated;
code size reduced by 8 lines.
* Extensions/svgexport/test/test_svgmapwriter.py:
(class TestWithDC): Renamed to BaseTestWithDC, moved to top.
(class BaseWithDCtools): New, subclass from BaseTestWithDC.
(class TestDrawSplines): now subclass from BaseTestWithDCtools,
this fixed the double running of the nine tests of TestVirtualDC.
(class TestVirtualDC): Using self.dc and self.file from setUp().
Revision
2478 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 17 18:48:49 2004 UTC
(20 years, 2 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 421757 byte(s)
Diff to
previous 2472
,
to
selected 1582
* Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale
instead of getlocale because getlocale doesn't return a usable
encoding name on a german windows 2000
* setup.py: windows build: Removed the absolute path names and
made all prfixes relative to the directory containing setup.py.
Makes it a little easier to adapt to a different system.
Revision
2472 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 16 15:18:57 2004 UTC
(20 years, 2 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 421293 byte(s)
Diff to
previous 2471
,
to
selected 1582
Add support for PostGIS tables with LINESTRING geomentries.
Fixes RT#2299
* Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING
* test/postgissupport.py
(PostgreSQLServer.get_default_static_data_db): Rename the "roads"
table to "roads-multi" because it now uses MULTILINESTRING
geometries and introduce a new "roads" table that uses LINESTRING
(coords_to_multilinestring): Make the doc string more precise
(coords_to_linestring): New. Create a LINESTRING WKT
representatin
(wkt_converter): Add coords_to_linestring
(upload_shapefile): Rephrase the doc-string a bit.
* test/test_postgis_db.py (TestPostGISShapestoreArc)
(LineStringTests)
(TestPostGISShapestoreLineString)
(TestPostGISShapestoreMultiLineString): Split
TestPostGISShapestoreArc into a base class LineStringTests and two
derived classes TestPostGISShapestoreLineString for LINESTRING
geometries and TestPostGISShapestoreMultiLineString for
MULTILINESTRING geometries. Most test methods are in the base
class with the exception of tests that explicitly check the raw
format.
Revision
2471 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 16 14:19:21 2004 UTC
(20 years, 2 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 420173 byte(s)
Diff to
previous 2470
,
to
selected 1582
Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4
* test/postgissupport.py (find_postgis_sql): Different postgis
versions put the postgis.sql file into slightly different places
so we have to look in both. The updated doc string describes this
is more detail.
* test/test_postgis_db.py
(TestPostGISSpecialCases.test_column_name_quoting): The return
value of UniqueValues is unsorted, so it has to be sorted for
comparison.
Revision
2470 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 16 11:00:10 2004 UTC
(20 years, 2 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 419675 byte(s)
Diff to
previous 2462
,
to
selected 1582
Fix for RT#2237
(ProjFrame._show_proj_panel): If the
panel to be shown is the UnknownProjPanel disable the OK and Try
buttons. Otherwise enable them.
(ProjFrame.__GetProjection): The UnknownProjPanel returns None for
the parameters. In that case __GetProjection also returns None
now.
Revision
2460 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 15 14:01:04 2004 UTC
(20 years, 2 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 419061 byte(s)
Diff to
previous 2459
,
to
selected 1582
(PostgreSQLServer.execute_sql): Extend to
so that it returns a result for select statements.
(PostgreSQLServer.server_version): New. Return the version of the
server software.
(PostgreSQLServer.require_authentication): The format of
pg_hba.conf has changed between PostgrSQL 7.2 and 7.3. Check the
server version and generate the file in the correct format
Revision
2454 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 13 18:26:11 2004 UTC
(20 years, 2 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 418221 byte(s)
Diff to
previous 2452
,
to
selected 1582
* Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the
renderer has to be at the same position as the mapregion
* Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region
has to be moved by (self.shiftx, self.shifty) too.
Revision
2452 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 13 17:54:36 2004 UTC
(20 years, 2 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 417731 byte(s)
Diff to
previous 2451
,
to
selected 1582
* libraries/pyprojection/Projection.i: Work around a bug in the
generated python code which leads to exception in the __del__
method when the constructor fails. See the comments in the code
for more details.
* libraries/pyprojection/Projection.py: Updated from Projection.i
with SWIG.
Revision
2451 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 13 17:51:11 2004 UTC
(20 years, 2 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 417388 byte(s)
Diff to
previous 2450
,
to
selected 1582
* test/test_load.py (TestAltPath.test_01_single_path_error_fix)
(TestAltPath.test_02_path_error_fix_from_list)
(TestAltPath.test_05_path_error_fix_from_list_changed)
(TestAltPath.test_06_path_error_fix_from_list_fails): self.session
is destroyed in tearDown, so there's no need to do it in a test
case.
* Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a
debug print
Revision
2445 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Dec 11 03:24:36 2004 UTC
(20 years, 2 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 415298 byte(s)
Diff to
previous 2444
,
to
selected 1582
svgexport 0.9.2: Point size supports for maps.
* Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT
(def draw_point_shape): new parameter size defaults to 2 as before.
(draw_shape_layer_incrementally): Moved draw_func log line higher.
Added draw_func call with size when dealing with a point layer.
* Extensions/svgexport/__init__.py: bumped version to 0.9.2.
Revision
2444 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Dec 11 02:25:36 2004 UTC
(20 years, 2 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 414854 byte(s)
Diff to
previous 2443
,
to
selected 1582
Made sure that newlines are inserted in the svg path d attributes
to raise the chance that the line length will be below 255 characters,
as recommended by REC SVG 1.1 in section 8.3.1.
* Extensions/svgexport/svgmapwriter.py(DrawPolygon):
Adding \n before L's and changed whitespace handling.
* Extensions/svgexport/test/test_svgmapwriter.py:
Adapted tests to new whitespace handling of DrawPolygon.
Revision
2443 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Dec 11 02:03:47 2004 UTC
(20 years, 2 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 414391 byte(s)
Diff to
previous 2442
,
to
selected 1582
* Doc/technotes/coding_guidelines.txt: easy typo fixed.
* Extensions/svgexport/test/test_svgmapwriter.py:
Removed test_drawbezier in favour of new test_drawspline3 and
test_drawspline4 within new class TestDrawSplines(TestVirtualDC).
All only to test DrawSpline.
* Extensions/svgexport/svgmapwriter.py(DrawSpline):
New implementation now really using the strange algorithm of
xfig 3.1's approximated splines and its conversion to postscript
with one twist: SVG can do quadratic beziers, so skipped translation
to cubic beziers.
(TestWithDC): Typo in comment fixed.
Revision
2432 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 7 11:19:38 2004 UTC
(20 years, 3 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 412522 byte(s)
Diff to
previous 2431
,
to
selected 1582
svgexport 0.9.1, implemented DrawSpline:
* Extensions/svgexport/test/test_svgmapwriter.py:
Added test_drawbezier() to test DrawSpline().
* Extensions/svgexport/svgmapwriter.py(DrawSpline):
Really implemented bezier drawing.
* Extensions/svgexport/__init__.py: Bumped version of svgexport
to 0.9.1 because now the legend examples lines styles
will be drawing with beziers.
Revision
2425 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Nov 27 20:22:38 2004 UTC
(20 years, 3 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 411544 byte(s)
Diff to
previous 2422
,
to
selected 1582
* Extensions/svgexport/test/test_svgmapwriter.py:
Removed Jan from author list as he did not change enough significant
lines yet.
* Extensions/svgexport/__init__.py: Added Bernhard as author
of the Extension.
Revision
2414 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 22 11:17:47 2004 UTC
(20 years, 3 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 410300 byte(s)
Diff to
previous 2412
,
to
selected 1582
Fixing #2698 (transparent polygons are not exported to svg file)
* Extensions/svgexport/svgmapwriter.py:
Added verbose variable and some logging depending on it.
(class VirtualDC(XMLWriter)): Minor improvement in the polygon loop,
because counting i is not necessary.
(class Pen, class Brush): Added simple __str__ methods.
(SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are
not exported to svg file) Note: holes still unhandled.
* Extensions/svgexport/test/test_svgmapwriter.py:
Made a baseclass TestWithDC for test needed a DC.
Added tests for bug #2698 (transparent polygons are not
exported to svg file):
Testobjectexport.test_transparent_polygon()
Revision
2352 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 27 09:56:13 2004 UTC
(20 years, 5 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 400684 byte(s)
Diff to
previous 2351
,
to
selected 1582
More fixes to svgexport to make used ids unique and
conforming to XML's Name production.
* Extensions/svgexport/test/test_svgmapwriter.py: Added new tests
test_xml_id_constraints(), test_make_ide_nosetbaseid() and
test_make_id_nonintegersetid(). Switched SetID and SetBaseID.
Added Bernhard R. as author.
* Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as
concatenation char now (makes test_make_ide_nosetbaseid() valid).
Also transform second id part with "%d" and catch the TypeError
to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok).
Corrected typo inBernhard's author line.
(SetBaseID): Return the transformed base id. Transform characters
which are not alnum() or in ".-_" to binascii.b2a_hex(). Added
import binascii. If to be set string starts with "xml" or so, add "t".
(draw_shape_layer_incrementally): use the returned value of SetBaseID
for used_baseids checks.
Revision
2344 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 21 21:30:36 2004 UTC
(20 years, 5 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 398866 byte(s)
Diff to
previous 2343
,
to
selected 1582
Improved the svgexport to only use unique ids. Will issues
an error message dialoge when two layer names are the same.
ShapeIDs are now added with a dash within the svg ids.
* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New.
* Extensions/svgexport/test/test_svgmapwriter.py: Added imports
(TestSVGRenderer): New test class with test_make_in() and
test_check_for_layer_name_clash()
* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__()
and draw_shape_layer_incrementally() to not use a baseid twice,
satisfying test_check_for_layer_name_clash()
(VirtualDC.make_id): Use a dash between baseit and id, satisfies
test_make_in().
* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK
and wxICON_HAND.
(write_to_svg): Put dc and rendering in a try statement and on
catching SVGmapWriterError notify the user and delete the target file.
-------------------------------------------------------------------
Revision
2297 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 22 13:07:52 2004 UTC
(20 years, 7 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 389740 byte(s)
Diff to
previous 2296
,
to
selected 1582
* Thuban/UI/viewport.py (ViewPort.VisibleExtent): New. Return the
visible extent of the map in projected coordinates
* test/test_viewport.py (SimpleViewPortTest.test_default_size)
(SimpleViewPortTest.test_init_with_size): Add some VisibleExtent()
tests.
(SimpleViewPortTest.test_visible_extent): New. The real test for
VisibleExtent()
Revision
2289 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 16 19:47:29 2004 UTC
(20 years, 7 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 387779 byte(s)
Diff to
previous 2288
,
to
selected 1582
* test/test_viewport.py
(ViewPortTest.test_changing_map_projection): Check that changing
the projection of an empty map shown in a viewport doesn't lead to
exceptions in the viewport's handler for the
MAP_PROJECTION_CHANGED messages
* Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only
try to keep the same region visible when the map actually contains
something
Revision
2278 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 13 11:07:45 2004 UTC
(20 years, 7 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 384244 byte(s)
Diff to
previous 2277
,
to
selected 1582
(BaseRenderer.render_map_incrementally): Fix a logic bug in the
optimization that tries not to draw layers under a raster layer.
The bug was harmless. All it effectively did was to produce The a
strange messages about not being able to draw Layer instances for
all vector layers below a raster layer which would be invisible
anyway because the raster layer currently always covers the entire
window
Revision
2240 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 14 14:49:02 2004 UTC
(20 years, 8 months ago)
by
bernhard
Original Path:
trunk/thuban/ChangeLog
File length: 376912 byte(s)
Diff to
previous 2239
,
to
selected 1582
* libraries/thuban/cpl_mfile.h: Added copyright header.
* libraries/thuban/ cpl_mfile.cpp, cpl_mfile.h: Added non-protecting
Free Software License so that it is most useful with gdalwarp
and bmpdataset.
Revision
2239 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 14 10:15:03 2004 UTC
(20 years, 8 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 376648 byte(s)
Diff to
previous 2238
,
to
selected 1582
(__version__): Add missing
import of wxPython.wx itself (as opposed to the contents of
wxPython.wx). For some reason wxPython.wx is available as
wxPython.wx.wx in at least some 2.4 releases. Fixes RT#2482
wrt. wxPython 2.4.
Revision
2238 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 10 12:57:36 2004 UTC
(20 years, 8 months ago)
by
jschuengel
Original Path:
trunk/thuban/ChangeLog
File length: 376331 byte(s)
Diff to
previous 2230
,
to
selected 1582
Initial version of new extension "umn_mapserver". This extension aims
to manage configuration for the UMN MapServer application. This
inital version just imports the .map-files and displays all, Thuban is
capable of.
Revision
2197 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue May 4 17:17:00 2004 UTC
(20 years, 10 months ago)
by
frank
Original Path:
trunk/thuban/ChangeLog
File length: 372185 byte(s)
Diff to
previous 2196
,
to
selected 1582
Extensions/bboxdump/__init__.py: Fixed string left over from
copying.
Extensions/bboxdump/bboxdump.py (bboxdump):
Use layer.ShapeStore().AllShapes() to loop over shapes instead of
xrange(layer.NumShapes()). Compile the bboxmessage from a list
of formatted outputs (string.join) instead of appending to the
message. Two progress bar dialogs to report progress on the sometimes
lenghty processing.
Revision
2196 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 22 17:11:54 2004 UTC
(20 years, 10 months ago)
by
frank
Original Path:
trunk/thuban/ChangeLog
File length: 371720 byte(s)
Diff to
previous 2192
,
to
selected 1582
New Extension to dump bounding boxes of all shapes of the selected
layer. An optional column can be specified to group the objects,
in this case the bounding box is a union of the separate boxes.
Dump can be displayed in a ScrolledMessageDialog or written to file.
The Extension is simply a combination of available and well tested
Thuban functionality.
* Extensions/bboxdump/__init__.py: New: Init to make this
directory a package.
* Extensions/bboxdump/bboxdump.py: New: Dump bounding boxes of
all shapes of the selected layer.
Revision
2095 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 8 09:42:50 2004 UTC
(21 years ago)
by
silke
Original Path:
trunk/thuban/ChangeLog
File length: 352772 byte(s)
Diff to
previous 2094
,
to
selected 1582
Update debian directory:
* debian/changelog: Added new version.
* deiban/rules: Updated management of patches (with cbds)
* debian/control: Added cbds to dependencies
* debian/patches/*: New. Adds better support for patches of thuban in
debian
* debian/menu: Syntax of menu changed slightly
* debian/setup.py.patch: removed because it has been moved to
debian/patechs/setup.py.patch
Revision
2070 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 17 12:53:37 2004 UTC
(21 years ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 349008 byte(s)
Diff to
previous 2069
,
to
selected 1582
* test/test_svgmapwriter.py, Extensions/svgsaver.py,
Extensions/svgmapwriter.py, Extensions/maplegend.py,
extensions/svgexport/svgsaver.py,
extensions/svgexport/svgmapwriter.py,
extensions/svgexport/maplegend.py: Removed. These files were in
the wrong places or didn't work at all.
Revision
2053 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 3 19:12:03 2004 UTC
(21 years, 1 month ago)
by
frank
Original Path:
trunk/thuban/ChangeLog
File length: 344966 byte(s)
Diff to
previous 2052
,
to
selected 1582
First version of Portuguese (Brazilian) translation
* po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for
Brazilian Portuguese by Eduardo Patto Kanegae.
* Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of
translators.
Revision
2051 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 21 17:09:15 2004 UTC
(21 years, 1 month ago)
by
frank
Original Path:
trunk/thuban/ChangeLog
File length: 344417 byte(s)
Diff to
previous 2050
,
to
selected 1582
Make Thuban remember path selections (at least for one application run).
* Thuban/UI/application.py (Application.OnInit): Initialize path as a
attribute of application object. Path is a dictionary of
strings, currently with the items "data" and "projection".
(Application.SetPath): New, stores path for the specified item.
(Application.Path): New, return path for the specified item.
* Thuban/UI/mainwindow.py
(MainWindow.OpenSession, MainWindow.SaveSessionAs,
MainWindow.AddLayer, MainWindow.AddRasterLayer,
MainWindow.TableOpen): Access "data" path information of the
application.
* Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport):
Access "projection" path information of the application.
Revision
2023 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 5 13:54:46 2003 UTC
(21 years, 3 months ago)
by
frank
Original Path:
trunk/thuban/ChangeLog
File length: 339946 byte(s)
Diff to
previous 2022
,
to
selected 1582
Documentation synced with 1.0rc1
* Doc/manual/thuban-manual.xml:
Minor formatting changes and references to database layers .
Introduction.Internationalization: New section on i18n.
MapManagement.AddingandRemovingLayers: Added item on database layers.
MapManagement.TheLegend: Added section and screenshot on popup menu.
ProjectionManagement: Updated screenshot and sentence on EPSG.
Appendix.SupportedDataSources: Added PostGIS.
Appendix.WorkingwithPostGIS: New section.
* Doc/manual/images/6_projection.png: Updated screenshot including
EPSG checkboxes.
* Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot.
* Doc/manual/images/app_postgis_add_layer.png,
Doc/manual/images/app_postgis_db_add.png,
Doc/manual/images/app_postgis_db_management.png:
New screenshots focussing on database layers
Revision
1895 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Oct 31 10:13:32 2003 UTC
(21 years, 4 months ago)
by
frank
Original Path:
trunk/thuban/ChangeLog
File length: 315392 byte(s)
Diff to
previous 1894
,
to
selected 1582
Added two items to legend popup menu: Remove Layer and Show Layer Table
* Thuban/UI/legend.py
(LegendPanel._OnRemoveLayer, LegendPanel._OnShowTable):
New event handlers, call the corresponding mainwindow methods.
(LegendTree._OnRightClick): Added items to popup menu.
Revision
1837 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 21 09:29:52 2003 UTC
(21 years, 4 months ago)
by
frank
Original Path:
trunk/thuban/ChangeLog
File length: 302927 byte(s)
Diff to
previous 1836
,
to
selected 1582
Popup menu for legend. Scheduled for the 1.2 release this was too
simple to implement: The popup menu is bound to the legend tree, while
the events are hanlded by its anchestor, the legend panel. This
allows reuse of all the event handlers already implemented for the
legend toolbar buttons.
* Thuban/UI/legend.py (LegendPanel.__init__): EVT_MENU macros
to add handlers for the events issued by the popup menu.
(LegendPanel._OnToggleVisibility): Handler for toggling layer
visibility event
(LegendPanel._OnProjection): Handler for layer projection event.
(LegendTree.__init__): Added EVT_TREE_ITEM_RIGHT_CLICK
(LegendTree._OnRightClick): Event handler for right click, select item
and pop up menu.
(LegendTree.ToggleVisibility): Toggle layer visibility
(LegendTree.LayerProjection): Raise layer projection dialog for
current layer.
Revision
981 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu May 22 11:41:31 2003 UTC
(21 years, 9 months ago)
by
frank
Original Path:
trunk/thuban/ChangeLog
File length: 147059 byte(s)
Diff to
previous 975
,
to
selected 1582
UI polishing updates: Place main buttons (OK, Cancel, etc) in the
lower right corner, center labels for selections, initialize controls
in reasonable order for keyboard navigation.
Revision
723 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 24 15:31:53 2003 UTC
(21 years, 10 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 103129 byte(s)
Diff to
previous 721
,
to
selected 1582
First step towards table management. Introduce a simple data
abstraction so that we replace the data a layer uses more easily
in the next step.
* Thuban/Model/data.py: New file with a simple data abstraction
that bundles shapefile and dbffile into one object.
* Thuban/Model/session.py (Session.OpenShapefile): New method to
open shapefiles and return a shape store object
* Thuban/Model/layer.py (Layer.__init__): Pass the data as a store
object instead of a shapefile filename. This introduces a new
instance variable store holding the datastore. For intermediate
backwards compatibility keep the old instance variables.
(open_shapefile): Removed. No longer needed with the shape store.
(Layer.SetShapeStore, Layer.ShapeStore): New methods to set and
get the shape store used by a layer.
(Layer.Destroy): No need to explicitly destroy the shapefile or
table anymore.
* Thuban/UI/mainwindow.py (MainWindow.AddLayer)
(MainWindow.AddLayer): Use the session's OpenShapefile method to
open shapefiles
* Thuban/Model/load.py (ProcessSession.start_layer): Use the
session's OpenShapefile method to open shapefiles
* test/test_classification.py
(TestClassification.test_classification): Use the session's
OpenShapefile method to open shapefiles and build the filename in
a more platform independed way
* test/test_layer.py (TestLayer.setUp, TestLayer.tearDown):
Implement to have a session to use in the tests
(TestLayer.test_arc_layer, TestLayer.test_polygon_layer)
(TestLayer.test_point_layer, TestLayer.test_empty_layer): Use the
session's OpenShapefile method to open shapefiles
(TestLayerLegend.setUp): Instantiate a session so that we can use
it to open shapefiles.
(TestLayerLegend.tearDown): Make sure that all references to
layers and session are removed otherwise we may get a resource
leak
* test/test_map.py (TestMapAddLayer.test_add_layer)
(TestMapWithContents.setUp): Instantiate a session so that we can
use it to open shapefiles.
(TestMapWithContents.tearDown): Make sure that all references to
layers, maps and sessions are removed otherwise we may get a
resource leak
("__main__"): use support.run_tests() so that more info about
uncollected garbage is printed
* test/test_save.py (SaveSessionTest.testSingleLayer): Use the
session's OpenShapefile method to open shapefiles
("__main__"): use support.run_tests() so that more info about
uncollected garbage is printed
* test/test_selection.py (TestSelection.tearDown): Make sure that
all references to the session and the selection are removed
otherwise we may get a resource leak
(TestSelection.get_layer): Instantiate a session so that we can
use it to open shapefiles.
("__main__"): use support.run_tests() so that more info about
uncollected garbage is printed
* test/test_session.py (TestSessionBase.tearDown)
(TestSessionWithContent.tearDown): Make sure that all references
to the session and layers are removed otherwise we may get a
resource leak
(TestSessionWithContent.setUp): Use the session's OpenShapefile
method to open shapefiles
Revision
701 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 17 16:18:48 2003 UTC
(21 years, 10 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 96173 byte(s)
Diff to
previous 700
,
to
selected 1582
Don't import LAYER_LEGEND_CHANGED.
(Layer): Update doc-string since LAYER_LEGEND_CHANGED is not used
anymore.
(Layer.BoundingBox, Layer.GetFieldType, Layer.NumShapes)
(Layer.ShapeType, Layer.Shape): No need to call
self.open_shapefile since it's always called in __init__
Revision
278 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 26 12:50:23 2002 UTC
(22 years, 6 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 38129 byte(s)
Diff to
previous 277
,
to
selected 1582
* Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the
layer table specific code from TableGrid into LayerTableGrid
(TableFrame, LayerTableFrame): Split the layer table specific code
from TableFrame into LayerTableFrame
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Use the
LayerTableFrame
Revision
235 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 23 10:56:29 2002 UTC
(22 years, 7 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 32125 byte(s)
Diff to
previous 234
,
to
selected 1582
* Thuban/UI/mainwindow.py (MainWindow.__init__): Change the
parameter list a bit to allow setting the window title and the
initial message in the status bar. Update the callers.
* Thuban/UI/application.py (ThubanApplication.OnInit)
(ThubanApplication.CreateMainWindow): Put the mainwindow
instantiation into a separate method so that it can be overridden
by a subclass.
Revision
230 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 19 13:21:14 2002 UTC
(22 years, 7 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 31023 byte(s)
Diff to
previous 228
,
to
selected 1582
* Thuban/UI/main.py, Thuban/UI/__init__.py: Move the work-around
for the wxPython locale bug to __init__.py so that it's
automatically executed by anybody using UI code from Thuban.
Revision
217 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 17 10:50:40 2002 UTC
(22 years, 7 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 29260 byte(s)
Diff to
previous 216
,
to
selected 1582
* Thuban/UI/tree.py (color_string): Removed. No longer used.
(SessionTreeCtrl.update_tree, SessionTreeCtrl.add_items): Split
update_tree into update_tree and add_items. The tree now uses a
more generic way to display the contents of the tree.
(SessionTreeCtrl): Add a doc string explaining the TreeInfo method
* Thuban/Model/layer.py (Layer.TreeInfo),
Thuban/Model/extension.py (Extension.TreeInfo),
Thuban/Model/map.py (Map.TreeInfo),
Thuban/Model/session.py (Session.TreeInfo):
Add TreeInfo methods to implement the new tree view update scheme
Revision
208 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 9 14:57:03 2002 UTC
(22 years, 8 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 27745 byte(s)
Diff to
previous 207
,
to
selected 1582
* Examples/simple_extensions/simple_tool.xpm,
Examples/simple_extensions/simple_tool.py,
Examples/simple_extensions/simple_command.py,
Examples/simple_extensions/README: Simple examples showing how to
add new commands and tools.
Revision
19 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 4 15:11:27 2001 UTC
(23 years, 6 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 3398 byte(s)
Diff to
previous 18
,
to
selected 1582
* MANIFEST.in: Add extensions/pyprojection/LICENSE
* setup.py (thuban_bdist_rpm): New class implementing a Thuban
specific bdist_rpm command.
* Thuban/UI/main.py: Catch ImportError exceptions when importing
the locale module because it may not be available on some
installations.
* extensions/pyprojection/LICENSE: Copy of the license text in
Projection.i. Having it in a separate file makes it easier to
refer to license text in e.g. RPMs
* setup.py: use wx-config instead of wxgtk-config because it's
more generic
* setup.py (ThubanInstall.get_outputs): Add the symlink in
<prefix>/bin to the outputs
(ThubanInstall.link_file): New method to link files. We need this
because the standard copy_files refuses to link non-existing
files.
(ThubanInstall.run): Remove the leading install root from the
script filename if an install root was specified and use the new
link_file method
Revision
18 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 3 16:25:09 2001 UTC
(23 years, 6 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 2442 byte(s)
Diff to
previous 16
,
to
selected 1582
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to
the window when the first layer is added to the map.
* setup.py (ThubanInstall.run): Honor the build root (self.root)
when linking thuban.py to <prefix>/bin
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.