@@ -135,7 +135,7 @@ def contains(self, right: GeoSpatialValue) -> ir.BooleanValue:
135135 >>> ibis.options.interactive = True
136136 >>> import shapely
137137 >>> t = ibis.examples.zones.fetch()
138- >>> p = shapely.Point(935996.821, 191376.75) # centroid for zone 1
138+ >>> p = shapely.geometry. Point(935996.821, 191376.75) # centroid for zone 1
139139 >>> plit = ibis.literal(p, "geometry")
140140 >>> t.geom.contains(plit).name("contains")
141141 ┏━━━━━━━━━━┓
@@ -197,7 +197,7 @@ def covers(self, right: GeoSpatialValue) -> ir.BooleanValue:
197197
198198 Polygon area center in zone 1
199199
200- >>> z1_ctr_buff = shapely.Point(935996.821, 191376.75).buffer(10)
200+ >>> z1_ctr_buff = shapely.geometry. Point(935996.821, 191376.75).buffer(10)
201201 >>> z1_ctr_buff_lit = ibis.literal(z1_ctr_buff, "geometry")
202202 >>> t.geom.covers(z1_ctr_buff_lit).name("covers")
203203 ┏━━━━━━━━━┓
@@ -242,7 +242,7 @@ def covered_by(self, right: GeoSpatialValue) -> ir.BooleanValue:
242242
243243 Polygon area center in zone 1
244244
245- >>> pol_big = shapely.Point(935996.821, 191376.75).buffer(10000)
245+ >>> pol_big = shapely.geometry. Point(935996.821, 191376.75).buffer(10000)
246246 >>> pol_big_lit = ibis.literal(pol_big, "geometry")
247247 >>> t.geom.covered_by(pol_big_lit).name("covered_by")
248248 ┏━━━━━━━━━━━━┓
@@ -262,7 +262,7 @@ def covered_by(self, right: GeoSpatialValue) -> ir.BooleanValue:
262262 │ False │
263263 │ … │
264264 └────────────┘
265- >>> pol_small = shapely.Point(935996.821, 191376.75).buffer(100)
265+ >>> pol_small = shapely.geometry. Point(935996.821, 191376.75).buffer(100)
266266 >>> pol_small_lit = ibis.literal(pol_small, "geometry")
267267 >>> t.geom.covered_by(pol_small_lit).name("covered_by")
268268 ┏━━━━━━━━━━━━┓
@@ -387,7 +387,7 @@ def disjoint(self, right: GeoSpatialValue) -> ir.BooleanValue:
387387 >>> ibis.options.interactive = True
388388 >>> import shapely
389389 >>> t = ibis.examples.zones.fetch()
390- >>> p = shapely.Point(935996.821, 191376.75) # zone 1 centroid
390+ >>> p = shapely.geometry. Point(935996.821, 191376.75) # zone 1 centroid
391391 >>> plit = ibis.literal(p, "geometry")
392392 >>> t.geom.disjoint(plit).name("disjoint")
393393 ┏━━━━━━━━━━┓
@@ -435,7 +435,7 @@ def d_within(
435435 >>> ibis.options.interactive = True
436436 >>> import shapely
437437 >>> t = ibis.examples.zones.fetch()
438- >>> penn_station = shapely.Point(986345.399, 211974.446)
438+ >>> penn_station = shapely.geometry. Point(986345.399, 211974.446)
439439 >>> penn_lit = ibis.literal(penn_station, "geometry")
440440
441441 Check zones within 1000ft of Penn Station centroid
@@ -578,7 +578,7 @@ def intersects(self, right: GeoSpatialValue) -> ir.BooleanValue:
578578 >>> ibis.options.interactive = True
579579 >>> import shapely
580580 >>> t = ibis.examples.zones.fetch()
581- >>> p = shapely.Point(935996.821, 191376.75) # zone 1 centroid
581+ >>> p = shapely.geometry. Point(935996.821, 191376.75) # zone 1 centroid
582582 >>> plit = ibis.literal(p, "geometry")
583583 >>> t.geom.intersects(plit).name("intersects")
584584 ┏━━━━━━━━━━━━┓
@@ -675,7 +675,7 @@ def overlaps(self, right: GeoSpatialValue) -> ir.BooleanValue:
675675
676676 Polygon center in an edge point of zone 1
677677
678- >>> p_edge_buffer = shapely.Point(933100.918, 192536.086).buffer(100)
678+ >>> p_edge_buffer = shapely.geometry. Point(933100.918, 192536.086).buffer(100)
679679 >>> buff_lit = ibis.literal(p_edge_buffer, "geometry")
680680 >>> t.geom.overlaps(buff_lit).name("overlaps")
681681 ┏━━━━━━━━━━┓
@@ -720,7 +720,7 @@ def touches(self, right: GeoSpatialValue) -> ir.BooleanValue:
720720
721721 Edge point of zone 1
722722
723- >>> p_edge = shapely.Point(933100.9183527103, 192536.08569720192)
723+ >>> p_edge = shapely.geometry. Point(933100.9183527103, 192536.08569720192)
724724 >>> p_edge_lit = ibis.literal(p_edge, "geometry")
725725 >>> t.geom.touches(p_edge_lit).name("touches")
726726 ┏━━━━━━━━━┓
@@ -765,7 +765,7 @@ def distance(self, right: GeoSpatialValue) -> ir.FloatingValue:
765765
766766 Penn station zone centroid
767767
768- >>> penn_station = shapely.Point(986345.399, 211974.446)
768+ >>> penn_station = shapely.geometry. Point(986345.399, 211974.446)
769769 >>> penn_lit = ibis.literal(penn_station, "geometry")
770770 >>> t.geom.distance(penn_lit).name("distance_penn")
771771 ┏━━━━━━━━━━━━━━━┓
@@ -886,7 +886,7 @@ def union(self, right: GeoSpatialValue) -> GeoSpatialValue:
886886
887887 Penn station zone centroid
888888
889- >>> penn_station = shapely.Point(986345.399, 211974.446)
889+ >>> penn_station = shapely.geometry. Point(986345.399, 211974.446)
890890 >>> penn_lit = ibis.literal(penn_station, "geometry")
891891 >>> t.geom.centroid().union(penn_lit).name("union_centroid_penn")
892892 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
@@ -1312,7 +1312,7 @@ def within(self, right: GeoSpatialValue) -> ir.BooleanValue:
13121312 >>> ibis.options.interactive = True
13131313 >>> import shapely
13141314 >>> t = ibis.examples.zones.fetch()
1315- >>> penn_station_buff = shapely.Point(986345.399, 211974.446).buffer(5000)
1315+ >>> penn_station_buff = shapely.geometry. Point(986345.399, 211974.446).buffer(5000)
13161316 >>> penn_lit = ibis.literal(penn_station_buff, "geometry")
13171317 >>> t.filter(t.geom.within(penn_lit))["zone"]
13181318 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
0 commit comments