From 704cd87579e6b7b444c5f07d655b1bcf9d46a742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaan=20L=C4=B1?= Date: Sat, 13 Apr 2024 14:26:39 -0400 Subject: [PATCH] wip: debug nyc map --- ..._new_york_real_estate_data_in_python.ipynb | 65 +++++-------------- 1 file changed, 18 insertions(+), 47 deletions(-) diff --git a/notebooks/loading_visualizing_mapping_new_york_real_estate_data_in_python.ipynb b/notebooks/loading_visualizing_mapping_new_york_real_estate_data_in_python.ipynb index 38979d1..cfac67d 100644 --- a/notebooks/loading_visualizing_mapping_new_york_real_estate_data_in_python.ipynb +++ b/notebooks/loading_visualizing_mapping_new_york_real_estate_data_in_python.ipynb @@ -855,7 +855,7 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": 36, "metadata": {}, "outputs": [ { @@ -863,51 +863,23 @@ "output_type": "stream", "text": [ "For layer 0, using name \"dataMapPLUTO24v1_wgs84nd\"\n", - "856813 features, 376656102 bytes of geometry and attributes, 83828872 bytes of string pool, 0 bytes of vertices, 0 bytes of nodes\n", - "tile 10/301/385 size is 613017 with detail 8, >500000 \n", - "tile 11/601/771 size is 2693105 with detail 12, >500000 \n", - "tile 11/602/771 size is 4136582 with detail 12, >500000 \n", - "tile 11/601/771 size is 2474505 with detail 11, >500000 \n", - "tile 11/603/768 size is 5645786 with detail 12, >500000 \n", - "tile 11/601/771 size is 1480653 with detail 10, >500000 \n", - "tile 11/601/771 size is 534868 with detail 9, >500000 \n", - "tile 11/602/771 size is 3915822 with detail 11, >500000 \n", - "tile 11/603/768 size is 5329644 with detail 11, >500000 \n", - "tile 11/602/771 size is 1991061 with detail 10, >500000 \n", - "tile 11/602/771 size is 651988 with detail 9, >500000 \n", - "tile 11/602/770 size is 10508403 with detail 12, >500000 \n", - "tile 11/604/770 size is 10315986 with detail 12, >500000 \n", - "tile 11/604/769 size is 10383924 with detail 12, >500000 \n", - "tile 11/603/768 size is 2643026 with detail 10, >500000 \n", - "tile 11/603/768 size is 975743 with detail 9, >500000 \n", - "tile 11/603/770 has 298952 features, >200000 \n", + "856813 features, 376948278 bytes of geometry and attributes, 83828872 bytes of string pool, 0 bytes of vertices, 0 bytes of nodes\n", + "tile 6/18/24 size is 1339555 with detail 12, >500000 \n", + "tile 7/37/48 size is 4203660 with detail 12, >500000 \n", + "tile 7/37/48 size is 1339433 with detail 11, >500000 \n", + "tile 8/75/96 size is 12607531 with detail 12, >500000 \n", + "tile 8/75/96 size is 4201398 with detail 11, >500000 \n", + "tile 8/75/96 size is 1338888 with detail 10, >500000 \n", + "tile 9/151/192 size is 9893082 with detail 12, >500000 \n", + "tile 9/151/192 size is 3296498 with detail 11, >500000 \n", + "tile 9/151/192 size is 1081552 with detail 10, >500000 \n", + "tile 9/150/192 has 255751 features, >200000 \n", "Try using --drop-fraction-as-needed or --drop-densest-as-needed.\n", - "tile 11/603/769 size is 19760283 with detail 12, >500000 \n", - "tile 11/602/770 size is 9727623 with detail 11, >500000 \n", - "tile 11/604/770 size is 9790114 with detail 11, >500000 \n", - "tile 11/604/769 size is 9932530 with detail 11, >500000 \n", - "tile 11/602/770 size is 4722451 with detail 10, >500000 \n", - "tile 11/604/770 size is 4438421 with detail 10, >500000 \n", - "tile 11/604/769 size is 4927101 with detail 10, >500000 \n", - "tile 11/604/770 size is 1456966 with detail 9, >500000 \n", - "tile 11/602/770 size is 1634339 with detail 9, >500000 \n", - "tile 11/604/769 size is 1611327 with detail 9, >500000 \n", - "tile 11/602/770 size is 553535 with detail 8, >500000 \n", - "tile 11/604/769 size is 531871 with detail 8, >500000 \n", - "tile 11/603/771 size is 1026453 with detail 12, >500000 \n", - "tile 11/603/771 size is 961774 with detail 11, >500000 \n", - "tile 11/603/771 size is 501061 with detail 10, >500000 \n", - "tile 11/602/769 size is 661323 with detail 12, >500000 \n", - "tile 11/602/769 size is 578770 with detail 11, >500000 \n", - "tile 11/603/769 size is 18135064 with detail 11, >500000 \n", - "tile 11/603/769 size is 8592357 with detail 10, >500000 \n", - "tile 11/603/769 size is 3314116 with detail 9, >500000 \n", - "tile 11/603/769 size is 1142667 with detail 8, >500000 \n", - " 99.9% 11/603/769 \n", "\n", "\n", - "*** NOTE TILES ONLY COMPLETE THROUGH ZOOM 10 ***\n", - " 100.0% 11/601/771 \r" + "\n", + "*** NOTE TILES ONLY COMPLETE THROUGH ZOOM 8 ***\n", + " 100.0% 9/151/192 \r" ] } ], @@ -922,22 +894,21 @@ "!tippecanoe \\\n", " --read-parallel \\\n", " -o ./docs/data/new_york_real_estate_MapPLUTO_data_ndjson_min_zoom_0_max_zoom_11_notilesizelimit.pmtiles \\\n", - " -Z0 -z11 \\\n", - " -D8 \\\n", + " -Z0 -z12 \\\n", " ~/data/nyc_mappluto_24v1_fgdb/dataMapPLUTO24v1_wgs84.nd.geojson \\\n", " --force" ] }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 37, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "-rw-r--r-- 1 me staff 4.6M Apr 13 14:08 ./docs/data/new_york_real_estate_MapPLUTO_data_ndjson_min_zoom_0_max_zoom_11_notilesizelimit.pmtiles\n" + "-rw-r--r-- 1 me staff 2.4M Apr 13 14:15 ./docs/data/new_york_real_estate_MapPLUTO_data_ndjson_min_zoom_0_max_zoom_11_notilesizelimit.pmtiles\n" ] } ],