{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "f3038192-f10e-4751-90ac-e90061a994bb", "metadata": {}, "outputs": [], "source": [ "import geopandas as gpd" ] }, { "cell_type": "code", "execution_count": 2, "id": "777b75fd-4560-4c15-8088-a0aeb8de663f", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "CPU times: user 2.21 s, sys: 1.48 s, total: 3.69 s\n", "Wall time: 3.31 s\n" ] }, { "data": { "text/plain": [ "(865304, 7)" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" } ], "source": [ "%%time\n", "\n", "gdf = gpd.read_parquet('govgis_nov2023_slim_spatial.geoparquet')\n", "gdf.shape" ] }, { "cell_type": "code", "execution_count": 3, "id": "4a1edc5a-a2dd-410c-86d1-a2105af6e1ca", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idnametypedescriptionurlmetadata_textgeometry
0d29837cf-1de0-4fe7-988a-bbcfe3acb1dcSubdivision NamesAnnotation LayerThis annotation data set shows the names of su...https://pubgis.ci.lubbock.tx.us/server/rest/se...url: https://pubgis.ci.lubbock.tx.us/server/re...POLYGON ((-102.03901 33.40872, -101.73845 33.4...
1b8e498f8-dff4-4de3-8d6e-21dfcfbd1cb8Street NamesAnnotation LayerStreet Nameshttps://pubgis.ci.lubbock.tx.us/server/rest/se...url: https://pubgis.ci.lubbock.tx.us/server/re...POLYGON ((-102.06369 33.41673, -101.72852 33.4...
21b533e27-535e-42af-a322-d81b509a8d09Lot NumbersAnnotation LayerLot Numbershttps://pubgis.ci.lubbock.tx.us/server/rest/se...url: https://pubgis.ci.lubbock.tx.us/server/re...POLYGON ((-102.03848 33.40875, -101.73667 33.4...
3569847bb-8c4d-4d24-9adc-4229a711989bBlock NumbersAnnotation LayerBlock Numbershttps://pubgis.ci.lubbock.tx.us/server/rest/se...url: https://pubgis.ci.lubbock.tx.us/server/re...POLYGON ((-101.97937 33.51463, -101.78230 33.5...
466ae68de-bc65-434e-a707-95ec66ff8520Subdivision NamesAnnotation LayerSubdivision/Addition Nameshttps://pubgis.ci.lubbock.tx.us/server/rest/se...url: https://pubgis.ci.lubbock.tx.us/server/re...POLYGON ((-102.03901 33.40872, -101.73845 33.4...
\n", "
" ], "text/plain": [ " id name type \\\n", "0 d29837cf-1de0-4fe7-988a-bbcfe3acb1dc Subdivision Names Annotation Layer \n", "1 b8e498f8-dff4-4de3-8d6e-21dfcfbd1cb8 Street Names Annotation Layer \n", "2 1b533e27-535e-42af-a322-d81b509a8d09 Lot Numbers Annotation Layer \n", "3 569847bb-8c4d-4d24-9adc-4229a711989b Block Numbers Annotation Layer \n", "4 66ae68de-bc65-434e-a707-95ec66ff8520 Subdivision Names Annotation Layer \n", "\n", " description \\\n", "0 This annotation data set shows the names of su... \n", "1 Street Names \n", "2 Lot Numbers \n", "3 Block Numbers \n", "4 Subdivision/Addition Names \n", "\n", " url \\\n", "0 https://pubgis.ci.lubbock.tx.us/server/rest/se... \n", "1 https://pubgis.ci.lubbock.tx.us/server/rest/se... \n", "2 https://pubgis.ci.lubbock.tx.us/server/rest/se... \n", "3 https://pubgis.ci.lubbock.tx.us/server/rest/se... \n", "4 https://pubgis.ci.lubbock.tx.us/server/rest/se... \n", "\n", " metadata_text \\\n", "0 url: https://pubgis.ci.lubbock.tx.us/server/re... \n", "1 url: https://pubgis.ci.lubbock.tx.us/server/re... \n", "2 url: https://pubgis.ci.lubbock.tx.us/server/re... \n", "3 url: https://pubgis.ci.lubbock.tx.us/server/re... \n", "4 url: https://pubgis.ci.lubbock.tx.us/server/re... \n", "\n", " geometry \n", "0 POLYGON ((-102.03901 33.40872, -101.73845 33.4... \n", "1 POLYGON ((-102.06369 33.41673, -101.72852 33.4... \n", "2 POLYGON ((-102.03848 33.40875, -101.73667 33.4... \n", "3 POLYGON ((-101.97937 33.51463, -101.78230 33.5... \n", "4 POLYGON ((-102.03901 33.40872, -101.73845 33.4... " ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "gdf.head()" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.11.6" } }, "nbformat": 4, "nbformat_minor": 5 }