Tue Oct 19 11:34:34 2021 florida_cvt_geo_test() Python version: 3.6.9 Test florida_cvt_geo(). florida_centroid_geo_test: Python version: 3.6.9 florida_centroid_geo can estimate the centroids of the Voronoi cells associated with a set of points within the boundaries of Florida, expressed as longitudes and latitudes. Centroids estimated using 5000 sample points. I City G Lon G Lat C Lon C Lat 0 Pensacola -87.20 30.43 -86.59 30.70 1 Tallahassee -84.25 30.46 -84.59 30.35 2 Jacksonville -81.66 30.34 -81.70 30.18 3 Tampa -82.48 27.97 -82.13 27.63 4 Gainesville -82.32 29.65 -82.48 29.66 5 Orlando -81.30 28.42 -81.18 28.14 6 Miami -80.21 25.78 -80.82 26.26 Graphics data saved as "florida_centroid_geo.png" florida_cvt_geometric_test: Python version: 3.6.9 florida_cvt_geometric can estimate the geometric centroidal Voronoi tessellation (CVT) of a set of points within the boundaries of Florida, expressed as longitudes and latitudes. Graphics data saved as "florida_cvt_geo.png" florida_district_reader_test: Python version: 3.6.9 florida_district_reader reads a file "florida_district.txt" and returns the longitude, latitude, and name of a city in each Florida congressional district. # City Longitude Latitude 0 Chumuckla -87.237222 30.776389 1 Tallahassee -84.253333 30.455000 2 Gainesville -82.324722 29.651944 3 Callahan -81.830833 30.560833 4 Jacksonville -81.661389 30.336944 5 Jacksonville Beach -81.396111 30.284167 6 Winter Park -81.346667 28.596111 7 Rockledge -80.732778 28.325000 8 Kissimmee -81.412778 28.303889 9 Orlando -81.298889 28.415833 10 Spring Hill -82.547778 28.478889 11 Palm Harbor -82.753889 28.083889 12 Indian Shores -82.843333 27.850556 13 Tampa -82.476389 27.968056 14 Lakeland -81.958889 28.041111 15 Longboat Key -82.644722 27.396944 16 Okeechobee -80.833333 27.233333 17 Jupiter -80.105000 26.926111 18 Bonita Springs -81.790833 26.349722 19 Miramar -80.282500 25.978889 20 Boca Raton -80.100000 26.368611 21 West Palm Beach -80.064167 26.709722 22 Weston -80.388056 26.107500 23 Miami Gardens -80.269722 25.941944 24 Hialeah -80.293889 25.860556 25 Kendall -80.356667 25.666667 26 Miami -80.208889 25.775278 Graphics data saved as "florida_district.png" florida_point_display_test: Python version: 3.6.9 florida_point_display can display a set of points within the boundaries of Florida, expressed as longitudes and latitudes. Graphics data saved as "florida_point_display.png" florida_sample_geo_test: Python version: 3.6.9 florida_sample_geo returns a given number of random sample points within the boundaries of Florida, expressed as longitudes and latitudes. Requesting 100 sample points: florida_point_display can display the sample points. Graphics data saved as "florida_sample_geo.png" florida_shape_display_test: florida_shape_display displays the shape of Florida. Plot saved as "florida_shape_display.png" florida_shape_read_test: Python version: 3.6.9 florida_shape_read returns informaition defining a low-resolution polygonal model of Florida. Longitude/Latitude, Florida Polygon Vertices: 0: -81.5 30.72 1: -81.48 30.68 2: -81.45 30.7 3: -81.43 30.68 4: -81.45 30.57 5: -81.43 30.52 6: -81.47 30.55 7: -81.48 30.62 ...... .............. .............. 568: -81.52 30.72 Plot saved as "florida_shape_read.png" florida_voronoi_display_test: Python version: 3.6.9 florida_voronoi_display can display a set of points within the boundaries of Florida, expressed as longitudes and latitudes, and the Voronoi diagram they generate. Graphics data saved as "florida_voronoi_display.png" polygon_contains_point_test Python version: 3.6.9 polygon_contains_point determines if a point is in a polygon. The polygon vertices: 0 0.0000 0.0000 1 1.0000 0.0000 2 2.0000 1.0000 3 1.0000 2.0000 4 0.0000 2.0000 X Y Inside? 1.00 1.00 True 3.00 4.00 False 0.00 2.00 False 0.50 -0.25 False polygon_contains_point_test Normal end of execution. florida_cvt_geo_test(): Normal end of execution. Tue Oct 19 11:35:31 2021