MCPcopy
hub / github.com/django/django / _load_city_data

Method _load_city_data

tests/gis_tests/geo3d/tests.py:117–123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

115 InterstateProj2D.objects.create(name=name, line=line_2d)
116
117 def _load_city_data(self):
118 for name, pnt_data in city_data:
119 City3D.objects.create(
120 name=name,
121 point=Point(*pnt_data, srid=4326),
122 pointg=Point(*pnt_data, srid=4326),
123 )
124
125 def _load_polygon_data(self):
126 bbox_wkt, bbox_z = bbox_data

Callers 8

test_3d_haszMethod · 0.80
test_unionMethod · 0.80
test_extentMethod · 0.80
test_extent3d_filterMethod · 0.80
test_kmlMethod · 0.80
test_geojsonMethod · 0.80
test_scaleMethod · 0.80
test_translateMethod · 0.80

Calls 2

PointClass · 0.90
createMethod · 0.45

Tested by

no test coverage detected