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

Diff of /branches/WIP-pyshapelib-bramz/Thuban/Model/postgisdb.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1636 by bh, Fri Aug 22 17:20:29 2003 UTC revision 1656 by bh, Mon Aug 25 18:26:54 2003 UTC
# Line 172  class PostGISTable: Line 172  class PostGISTable:
172                             % (", ".join([col.name for col in self.columns]),                             % (", ".join([col.name for col in self.columns]),
173                                self.tablename))                                self.tablename))
174    
175        def DBConnection(self):
176            """Return the dbconnection used by the table"""
177            return self.db
178    
179        def TableName(self):
180            """Return the name of the table in the database"""
181            return self.tablename
182    
183      def Dependencies(self):      def Dependencies(self):
184          """Return an empty tuple because a PostGISTable depends on nothing else          """Return an empty tuple because a PostGISTable depends on nothing else
185          """          """
# Line 279  class PostGISShape: Line 287  class PostGISShape:
287    
288    
289  shapetype_map = {"POLYGON": SHAPETYPE_POLYGON,  shapetype_map = {"POLYGON": SHAPETYPE_POLYGON,
290                     "MULTIPOLYGON": SHAPETYPE_POLYGON,
291                   "MULTILINESTRING": SHAPETYPE_ARC,                   "MULTILINESTRING": SHAPETYPE_ARC,
292                   "POINT": SHAPETYPE_POINT}                   "POINT": SHAPETYPE_POINT}
293    

Legend:
Removed from v.1636  
changed lines
  Added in v.1656

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26