root/trunk/projects/bos/m2/packages.lisp

Revision 4107, 7.9 kB (checked in by hans, 2 days ago)

fix compilation problems

  • Property svn:eol-style set to native
  • Property svn:keywords set to author date id revision
Line 
1 (in-package :cl-user)
2
3 (defpackage :geometry
4   (:use :cl :iterate :arnesi)
5   (:export #:with-points
6            #:with-rectangle
7            #:distance
8            #:dorect
9            #:rectangle-center
10            #:rectangle-intersects-p
11            #:point-in-polygon-p
12            #:point-in-circle-p
13            #:point-in-rect-p
14            #:bounding-box
15            #:with-bounding-box-collect
16            #:find-boundary-point
17            #:region-to-polygon
18            #:format-lon-lat
19            #:nodes-connected-p
20            ;;
21            #:*rect-publisher*
22            #:make-rect-publisher
23            #:register-rect-subscriber
24            #:remove-rect-subscriber
25            #:publish-rect-change))
26
27 (defpackage :geo-utm
28   (:use :cl)
29   (:export #:lon-lat-to-utm-x-y
30            #:utm-x-y-to-lon-lat
31            #:make-float-pair
32            #:lon-lat-to-utm-x-y*
33            #:utm-x-y-to-lon-lat*))
34
35 (defpackage :bos.m2.config
36   (:export #:+width+
37            #:+nw-utm-x+
38            #:+nw-utm-y+
39            #:+utm-zone+
40            #:+m2tile-width+
41            #:+price-per-m2+
42
43            #:*office-mail-address*
44            #:*mail-amount*
45            #:*pdf-base-directory*
46            #:*cert-mail-directory*
47            #:*cert-download-directory*
48            #:*receipt-mail-directory*
49            #:*receipt-download-directory*
50            #:*cert-mail-template*
51            #:*cert-download-template*
52            #:*receipt-mail-template*
53            #:*receipt-download-template*
54            #:*num-coords-per-line*
55            #:*manual-contract-expiry-time*
56            #:*online-contract-expiry-time*))
57
58 (defpackage :bos.m2
59   (:use :cl
60         :cl-ppcre
61         :cl-interpol
62         :geometry
63         :bknr.utils
64         :bknr.indices
65         :bknr.datastore
66         :bknr.user
67         :bknr.web
68         :bknr.images
69         :bknr.statistics
70         :bknr.rss
71         :bos.m2.config
72         :cl-smtp
73         :kmrcl
74         :cxml
75         :cl-mime
76         :cl-gd)
77   (:shadowing-import-from :cl-interpol #:quote-meta-chars)
78   (:export #:m2-store
79            #:*m2-store*
80            #:register-transient-init-function
81
82            #:get-tile
83            #:ensure-tile
84            #:get-map-tile
85            #:ensure-map-tile
86            #:tile-nw-x
87            #:tile-nw-y
88            #:tile-absolute-x
89            #:tile-absolute-y
90            #:tile-height
91            #:tile-width
92            #:image-tile-original-image
93            #:image-tile-current-image
94            #:image-tile-image
95            #:image-tile-image-generated-time
96            #:image-tile-changed-time
97            #:image-tile-layers
98            #:current-image
99
100            #:background #:areas #:contracts #:palette
101
102            #:m2
103            #:get-m2
104            #:ensure-m2
105            #:m2-contract
106            #:m2-num
107            #:m2-num-string
108            #:m2-num-to-utm
109            #:m2-x
110            #:m2-y
111            #:m2-utm-x
112            #:m2-utm-y
113            #:m2-utm
114            #:m2-lon-lat
115            #:m2s-polygon
116            #:m2s-polygon-lon-lat
117            #:escape-nl
118            #:return-contract-m2s
119
120            #:sponsor
121            #:make-sponsor
122            #:sponsor-p
123            #:sponsor-master-code
124            #:sponsor-info-text
125            #:sponsor-country
126            #:sponsor-contracts
127            #:sponsor-id
128            #:sponsor-language
129            #:sponsor-set-info-text
130            #:sponsor-set-country
131            #:sponsor-set-language
132            #:country
133            #:info-text
134            #:language
135
136            #:editor-only-handler
137            #:editor-p
138
139            #:contract
140            #:make-contract
141            #:all-contracts
142            #:contract-p
143            #:get-contract
144            #:contract-sponsor
145            #:contract-paidp
146            #:contract-download-only
147            #:contract-date
148            #:contract-m2s
149            #:contract-bounding-box
150            #:contracts-bounding-box
151            #:contract-area
152            #:contract-polygon
153            #:contract-largest-rectangle
154            #:contract-neighbours
155            #:contract-center
156            #:contract-center-lon-lat
157            #:contract-color
158            #:contract-cert-issued
159            #:contract-set-paidp
160            #:contract-set-download-only-p
161            #:contract-price
162            #:contract-issue-cert
163            #:contract-certificates-generated-p
164            #:contract-worldpay-trans-id
165            #:contract-pdf-pathname
166            #:contract-pdf-url
167            #:contract-download-only-p
168            ;; contract-stats
169            #:number-of-sold-sqm
170            #:number-of-paying-sponsors
171            #:contract-stats-for-country
172            #:last-paid-contracts
173            #:do-sponsor-countries
174            #:sponsors-as-json
175
176            #:make-m2-javascript
177            #:recolorize-contracts
178            #:contracts-well-colored-p
179            #:contract-published-p
180            #:paidp
181
182            #:allocation-area
183            #:make-allocation-area
184            #:make-allocation-rectangle
185            #:all-allocation-areas
186            #:allocation-area-bounding-box
187            #:allocation-area-bounding-box2
188            #:allocation-areas-bounding-box
189            #:allocation-areas-plus-contracts-bounding-box
190            #:allocation-area-active-p
191            #:allocation-area-top
192            #:allocation-area-left
193            #:allocation-area-height
194            #:allocation-area-width
195            #:gauge
196            #:allocation-area-contracts
197            #:allocation-area-total-m2s
198            #:allocation-area-free-m2s
199            #:allocation-area-vertices
200            #:allocation-area-percent-used
201            #:left #:top #:width #:height #:active-p
202
203            ;; slot-strings
204            #:slot-string
205            #:set-slot-string-values
206
207            ;; pois
208            #:title #:subtitle #:description ; for slot-string access
209            #:update-textual-attributes
210            #:very-shallow-copy-textual-attributes
211            #:poi-medium
212            #:poi-medium-poi
213            #:poi-medium-creation-time
214            #:make-poi-medium
215            #:poi-image
216            #:poi-airal
217            #:poi-panorama
218            #:poi-movie
219            #:poi-movie-url
220            #:poi
221            #:poi-name
222            #:find-poi
223            #:all-pois
224            #:poi-published-web
225            #:poi-published-earth
226            #:poi-area
227            #:poi-icon
228            #:poi-media
229            #:poi-lod-min
230            #:make-poi
231            #:update-poi
232            #:poi-complete
233            #:poi-center-x
234            #:poi-center-y
235            #:poi-center-lon-lat
236            #:poi-images
237            #:poi-sat-images
238            #:poi-sat-images-exchange-neighbours
239            #:poi-airals
240            #:poi-panoramas
241            #:poi-movies
242            #:make-poi-javascript
243            #:poi-as-json
244            #:pois-as-json
245
246            ;; news
247            #:news-item
248            #:make-news-item
249            #:update-news-item
250            #:all-news-items
251            #:news-item-time
252            #:news-item-title
253            #:news-item-text
254
255            #:send-to-postmaster
256            #:mail-fiscal-certificate-to-office
257            #:mail-instructions-to-sponsor
258            #:mail-info-request
259            #:mail-manual-sponsor-data
260            #:mail-backoffice-sponsor-data
261            #:mail-worldpay-sponsor-data
262            #:mail-print-pdf
263
264            #:*cert-download-directory*
265
266            #:make-queue
267            #:queue-empty-p
268            #:enqueue
269            #:dequeue
270            #:queue-elements
271            #:peek-queue
272            ))
273
274 (defpackage :bos.m2.allocation-cache
275   (:use :cl
276         :geometry
277         :bknr.indices
278         :bknr.datastore
279         :bknr.user
280         :bknr.images
281         :bknr.statistics
282         :bknr.rss
283         :bos.m2
284         :bos.m2.config
285         :iterate
286         :arnesi)
287   (:shadowing-import-from :bos.m2
288                           #:enqueue
289                           #:dequeue
290                           #:peek-queue
291                           #:queue-empty-p)
292   (:export #:find-exact-match
293            #:add-area
294            #:count-cache-entries
295            #:pprint-cache
296            #:allocation-cache-subsystem))
Note: See TracBrowser for help on using the browser.