@golemio/parkings 1.13.6-dev.1452701867 → 1.13.6-dev.1458851326
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,21 +7,42 @@ CREATE INDEX parkings_secondary_sanitized_location_idx ON parkings_secondary US
|
|
|
7
7
|
|
|
8
8
|
CREATE INDEX parkings_location_sanitized_location_idx ON parkings_location USING gist(sanitized_locations);
|
|
9
9
|
|
|
10
|
-
CREATE
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
10
|
+
CREATE or REPLACE view v_parkings_filtered as
|
|
11
|
+
with parkings_loc as (
|
|
12
|
+
select
|
|
13
|
+
p.id as id,
|
|
14
|
+
pl.sanitized_locations as location
|
|
15
|
+
from
|
|
16
|
+
only parkings p
|
|
17
|
+
inner join parkings_location pl
|
|
18
|
+
on
|
|
19
|
+
p.source = pl.source
|
|
20
|
+
and p.source_id = pl.source_id
|
|
21
|
+
where
|
|
22
|
+
p.source in (
|
|
23
|
+
select
|
|
24
|
+
source
|
|
25
|
+
from
|
|
26
|
+
parking_sources ps
|
|
27
|
+
where
|
|
28
|
+
ps.api_v3_allowed )
|
|
29
|
+
)
|
|
30
|
+
select
|
|
31
|
+
*
|
|
32
|
+
from
|
|
33
|
+
only parkings p
|
|
34
|
+
union
|
|
35
|
+
all
|
|
36
|
+
select
|
|
37
|
+
*
|
|
38
|
+
from
|
|
39
|
+
only parkings_secondary ps
|
|
40
|
+
where
|
|
41
|
+
ps.id not in (
|
|
42
|
+
select
|
|
43
|
+
distinct ps.id
|
|
44
|
+
from
|
|
45
|
+
parkings_loc plo
|
|
46
|
+
inner join parkings_secondary ps on
|
|
47
|
+
ST_Intersects(plo.location,
|
|
48
|
+
ps.sanitized_location));
|
package/docs/openapi-output.yaml
CHANGED
|
@@ -2089,7 +2089,7 @@ components:
|
|
|
2089
2089
|
example: Feature
|
|
2090
2090
|
ParkingEntrance:
|
|
2091
2091
|
type: object
|
|
2092
|
-
title: Parking
|
|
2092
|
+
title: Parking Entrance
|
|
2093
2093
|
properties:
|
|
2094
2094
|
geometry:
|
|
2095
2095
|
type: object
|
|
@@ -2627,7 +2627,7 @@ components:
|
|
|
2627
2627
|
max_weight: 1500
|
|
2628
2628
|
OpeningHours:
|
|
2629
2629
|
type: object
|
|
2630
|
-
title: Parking Hours
|
|
2630
|
+
title: Parking Opening Hours
|
|
2631
2631
|
nullable: true
|
|
2632
2632
|
properties:
|
|
2633
2633
|
valid_from:
|