/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/Model/proj.py
ViewVC logotype

Log of /branches/WIP-pyshapelib-bramz/Thuban/Model/proj.py

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 2835)

Revision 2734 - (view) (annotate) - [select for diffs]
Modified Thu Mar 1 12:42:59 2007 UTC (18 years ago) by bramz
File length: 6761 byte(s)
Diff to previous 2708
made a copy

Revision 2708 - (view) (annotate) - [select for diffs]
Modified Sun Sep 24 20:01:23 2006 UTC (18 years, 5 months ago) by bernhard
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 6761 byte(s)
Diff to previous 2699
* Thuban/Model/proj.py(_do_we_have_to_work_around_broken_proj): 
Making the test more robust for observed python 2.3 problems
with setlocale().


Revision 2699 - (view) (annotate) - [select for diffs]
Modified Mon Sep 18 13:59:40 2006 UTC (18 years, 5 months ago) by bernhard
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 6487 byte(s)
Diff to previous 2698
Improved documentation.


Revision 2698 - (view) (annotate) - [select for diffs]
Modified Mon Sep 18 00:56:26 2006 UTC (18 years, 5 months ago) by bernhard
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 6336 byte(s)
Diff to previous 1982
Fixed behaviour with the proj bug and python >=2.4 
when decimal_point != '.'. So de_DE locales will work fine again.


Revision 1982 - (view) (annotate) - [select for diffs]
Modified Thu Nov 27 15:25:34 2003 UTC (21 years, 3 months ago) by bh
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 4840 byte(s)
Diff to previous 1860
* Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse
version of ForwardBBox
(Projection._transform_bbox): New. common implementation of
ForwardBBox and InverseBBox
(Projection.ForwardBBox): Use _transform_bbox.

* test/test_proj.py (TestProjection.test): Add test for
InverseBBox


Revision 1860 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:01:39 2003 UTC (21 years, 4 months ago) by jan
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 4811 byte(s)
Diff to previous 1824
(Projection.GetProjectedUnits): Added 'longlat' as alias for 'latlong'.


Revision 1824 - (view) (annotate) - [select for diffs]
Modified Tue Oct 14 15:21:03 2003 UTC (21 years, 4 months ago) by bh
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 4796 byte(s)
Diff to previous 1815
(ProjFile): Derive from Publisher so we can
easily send messages when the projections change
(ProjFile.Add, ProjFile.Remove, ProjFile.Replace): Issue messages
when the change was successful


Revision 1815 - (view) (annotate) - [select for diffs]
Modified Mon Oct 13 15:53:39 2003 UTC (21 years, 4 months ago) by bh
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 4662 byte(s)
Diff to previous 1802
(Projection.__init__): New parameter and
instance variable epsg. Update doc-string
(Projection.EPSGCode, Projection.Label): New methods to provide
access to EPSG code and a label for use in dialogs


Revision 1802 - (view) (annotate) - [select for diffs]
Modified Thu Oct 9 15:18:35 2003 UTC (21 years, 5 months ago) by bh
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 4261 byte(s)
Diff to previous 1797
(ProjFile.Add): Do not check whether the
projection is already in the list. This is *a lot* faster when
loading files with hundreds of projections since it saves a linear
search. OTOH this will allow adding the same projection to the
user.proj file multiple times in the projection dialog but we'll
deal with that later


Revision 1797 - (view) (annotate) - [select for diffs]
Modified Thu Oct 9 10:00:06 2003 UTC (21 years, 5 months ago) by bh
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 4633 byte(s)
Diff to previous 1250
(Projection.GetParameter): Handle
parameters that do not contain a "=". Update the doc-string


Revision 1250 - (view) (annotate) - [select for diffs]
Modified Fri Jun 20 09:27:43 2003 UTC (21 years, 8 months ago) by jonathan
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 4422 byte(s)
Diff to previous 758
(Projection.GetProjectedUnits): New.
        Currently returns PROJ_UNITS_METERS or PROJ_UNITS_DEGREES
        depending on the units this projection *forwards* into.


Revision 758 - (view) (annotate) - [select for diffs]
Modified Tue Apr 29 09:01:12 2003 UTC (21 years, 10 months ago) by jonathan
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 4201 byte(s)
Diff to previous 749
(Projection): Removed Set*() methods to make
        Projection an immutable item. Fixes RTbug #1825.
(Projection.__init__): Initialize instance variables here.
(ProjFile.Replace): New. Replace the given projection object with
        the new projection object. This solves the problem of needing the
        mutator Projection.SetProjection() in the ProjFrame class and
        allows a projection to change parameters without changing its
        location in the file.


Revision 749 - (view) (annotate) - [select for diffs]
Modified Fri Apr 25 14:22:35 2003 UTC (21 years, 10 months ago) by jonathan
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 4425 byte(s)
Diff to previous 745
(Projection.SetName): Set the name to "Unknown" if name is None.
(Projection.SetAllParameters): New. Set the projection's
        parameter list to the one supplied.
(Projection.SetProjection): New. Set the projection's
        properties to those of the supplied Projection.


Revision 745 - (view) (annotate) - [select for diffs]
Modified Fri Apr 25 10:26:50 2003 UTC (21 years, 10 months ago) by jonathan
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 3920 byte(s)
Diff to previous 738
(Projection.__init__): Change the default
        value for 'name' to None and then test if name is equal to None
        in the body of the constructor. This way the caller doesn't have to
        know what the default value should be. Namely, useful in load.py
        where we have to pick a default value if the 'name' parameter
        doesn't exist in the XML file.


Revision 738 - (view) (annotate) - [select for diffs]
Modified Fri Apr 25 09:13:36 2003 UTC (21 years, 10 months ago) by jonathan
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 3638 byte(s)
Diff to previous 726
(ProjFile): Document the class. Move
        back to using a list because the order of the projections in
        the file is important to maintain. Fixes RTbug #1817.


Revision 726 - (view) (annotate) - [select for diffs]
Modified Thu Apr 24 16:05:56 2003 UTC (21 years, 10 months ago) by jonathan
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 2163 byte(s)
Diff to previous 708
(Projection.SetName): New. Allows the name of the projection to be changed.
(ProjFile): Use a dictionary instead of a list so that removing
        projections is easier and we are sure about uniqueness.
(ProjFile.Remove): Remove the given projection object.


Revision 708 - (view) (annotate) - [select for diffs]
Modified Wed Apr 23 08:44:52 2003 UTC (21 years, 10 months ago) by jonathan
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 1909 byte(s)
Diff to previous 695
(Projection.GetParameters): Renamed to GetAllParameters.
(Projection.GetParameter): Returns the value for the given parameter.


Revision 695 - (view) (annotate) - [select for diffs]
Modified Wed Apr 16 16:39:36 2003 UTC (21 years, 10 months ago) by jonathan
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 1730 byte(s)
Diff to previous 6
(Projection.__init__): Accepts an optional name.
(ProjFile): New. Represents a file that contains projection information.


Revision 6 - (view) (annotate) - [select for diffs]
Added Tue Aug 28 15:41:52 2001 UTC (23 years, 6 months ago) by bh
Original Path: trunk/thuban/Thuban/Model/proj.py
File length: 1164 byte(s)
import all the source files


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.

  Diffs between and
  Type of Diff should be a

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26