Skip to content

Instantly share code, notes, and snippets.

@mmc1718
Last active May 20, 2023 20:35
Show Gist options
  • Save mmc1718/e8f00bdb4c87df20e58f00888371dad4 to your computer and use it in GitHub Desktop.
Save mmc1718/e8f00bdb4c87df20e58f00888371dad4 to your computer and use it in GitHub Desktop.
dependencies.ipynb
Display the source blob
Display the rendered blob
Raw
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": [],
"name": "dependencies.ipynb",
"authorship_tag": "ABX9TyNN/KCzGDluoBR5PabnfLYc",
"include_colab_link": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/gist/mmc1718/e8f00bdb4c87df20e58f00888371dad4/untitled7.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "code",
"source": [
"!pip3 install geopandas\n",
"!apt-get install gdal-bin"
],
"metadata": {
"id": "w5gdQ7qt2mY9"
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "Nt7bpwSOfLWl"
},
"outputs": [],
"source": [
"import requests\n",
"import sqlite3\n",
"import geopandas as gpd\n",
"import pandas as pd"
]
},
{
"cell_type": "code",
"source": [
"!ogr2ogr --version"
],
"metadata": {
"id": "OB52uGdKfQKg",
"colab": {
"base_uri": "https://localhost:8080/"
},
"outputId": "fda8ec92-8c93-4279-c3cf-ebb6028d6f51"
},
"execution_count": null,
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"GDAL 3.3.2, released 2021/09/01\n"
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment