source: TI02-CSML/trunk/services/3rdParty/GeoTypes-0.6.0/GeoTypes/_OGLoggingFactory.py @ 2194

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI02-CSML/trunk/services/3rdParty/GeoTypes-0.6.0/GeoTypes/_OGLoggingFactory.py@2194
Revision 2194, 2.6 KB checked in by lawrence, 13 years ago (diff)

Adding various specs and 3rd party code of interest for the CSML
services development.

RevLine 
[2194]1
2################################################################################
3# Copyright (c) QinetiQ Plc 2003
4#
5# Licensed under the LGPL. For full license details see the LICENSE file.
6################################################################################
7
8import _OGAbstractFactory
9
10class OGLoggingFactory(_OGAbstractFactory.OGAbstractFactory):
11
12    def __init__(self):
13        print "__init__"
14   
15    def abortGeometryCollection(self):
16        print "abortGeometryCollection"
17   
18    def abortLinearRing(self):
19        print "abortLinearRing"
20
21    def abortLineString(self):
22        print "abortLineString"
23   
24    def abortMultiLineString(self):
25        print "abortMultiLineString"
26   
27    def abortMultiPoint(self):
28        print "abortMultiPoint"
29   
30    def abortMultiPolygon(self):
31        print "abortMultiPolygon"
32   
33    def abortPoint(self):
34        print "abortPoint"
35   
36    def abortPolygon(self):
37        print "abortPolygon"
38   
39    def abortUnit(self):
40        print "abortUnit"
41   
42    def abortWork(self):
43        print "abortWork"
44   
45    def addPoints(self,x,y):
46        print "addPoints x=%f, y=%f" % (x,y)
47   
48    def addPoints3D(self,x,y,z):
49        print "addPoints3D  x=%f, y=%f, z=%f" % (x,y,z)
50
51    def beginGeometryCollection(self):
52        print "beginGeometryCollection"
53   
54    def beginLinearRing(self):
55        print "beginLinearRing"
56   
57    def beginLineString(self):
58        print "beginLineString"
59   
60    def beginMultiLineString(self):
61        print "beginMultiLineString"
62   
63    def beginMultiPoint(self):
64        print "beginMultiPoint"
65   
66    def beginMultiPolygon(self):
67        print "beginMultiPolygon"
68   
69    def beginPoint(self):
70        print "beginPoint"
71   
72    def beginPolygon(self):
73        print "beginPolygon"
74   
75    def beginUnit(self, srid):
76        print "beginUnit"
77   
78##    def beginUnit(java.lang.String[] words, int[] values):
79##        print ""
80   
81    def beginWork(self):
82        print "beginWork"
83
84    def endGeometryCollection(self):
85        print "endGeometryCollection"
86   
87    def endLinearRing(self):
88        print "endLinearRing"
89   
90    def endLineString(self):
91        print "endLineString"
92   
93    def endMultiLineString(self):
94        print "endMultiLineString"
95   
96    def endMultiPoint(self):
97        print "endMultiPoint"
98   
99    def endMultiPolygon(self):
100        print "endMultiPolygon"
101   
102    def endPoint(self):
103        print "endPoint"
104   
105    def endPolygon(self):
106        print "endPolygon"
107   
108    def endUnit(self):
109        print "endUnit"
110   
111    def endWork(self):
112        print "endWork"
113
114    def reset(self):
115        print "reset"
116
117
Note: See TracBrowser for help on using the repository browser.