File size: 7,317 Bytes
ed7c886
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
{
 "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": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>name</th>\n",
       "      <th>type</th>\n",
       "      <th>description</th>\n",
       "      <th>url</th>\n",
       "      <th>metadata_text</th>\n",
       "      <th>geometry</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>d29837cf-1de0-4fe7-988a-bbcfe3acb1dc</td>\n",
       "      <td>Subdivision Names</td>\n",
       "      <td>Annotation Layer</td>\n",
       "      <td>This annotation data set shows the names of su...</td>\n",
       "      <td>https://pubgis.ci.lubbock.tx.us/server/rest/se...</td>\n",
       "      <td>url: https://pubgis.ci.lubbock.tx.us/server/re...</td>\n",
       "      <td>POLYGON ((-102.03901 33.40872, -101.73845 33.4...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>b8e498f8-dff4-4de3-8d6e-21dfcfbd1cb8</td>\n",
       "      <td>Street Names</td>\n",
       "      <td>Annotation Layer</td>\n",
       "      <td>Street Names</td>\n",
       "      <td>https://pubgis.ci.lubbock.tx.us/server/rest/se...</td>\n",
       "      <td>url: https://pubgis.ci.lubbock.tx.us/server/re...</td>\n",
       "      <td>POLYGON ((-102.06369 33.41673, -101.72852 33.4...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1b533e27-535e-42af-a322-d81b509a8d09</td>\n",
       "      <td>Lot Numbers</td>\n",
       "      <td>Annotation Layer</td>\n",
       "      <td>Lot Numbers</td>\n",
       "      <td>https://pubgis.ci.lubbock.tx.us/server/rest/se...</td>\n",
       "      <td>url: https://pubgis.ci.lubbock.tx.us/server/re...</td>\n",
       "      <td>POLYGON ((-102.03848 33.40875, -101.73667 33.4...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>569847bb-8c4d-4d24-9adc-4229a711989b</td>\n",
       "      <td>Block Numbers</td>\n",
       "      <td>Annotation Layer</td>\n",
       "      <td>Block Numbers</td>\n",
       "      <td>https://pubgis.ci.lubbock.tx.us/server/rest/se...</td>\n",
       "      <td>url: https://pubgis.ci.lubbock.tx.us/server/re...</td>\n",
       "      <td>POLYGON ((-101.97937 33.51463, -101.78230 33.5...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>66ae68de-bc65-434e-a707-95ec66ff8520</td>\n",
       "      <td>Subdivision Names</td>\n",
       "      <td>Annotation Layer</td>\n",
       "      <td>Subdivision/Addition Names</td>\n",
       "      <td>https://pubgis.ci.lubbock.tx.us/server/rest/se...</td>\n",
       "      <td>url: https://pubgis.ci.lubbock.tx.us/server/re...</td>\n",
       "      <td>POLYGON ((-102.03901 33.40872, -101.73845 33.4...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "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
}