No video

An Absolute Beginner's Guide to Python GeoPandas

  Рет қаралды 98,923

GeoDelta Labs

GeoDelta Labs

Күн бұрын

This is an introductory tutorial to Python Geopandas library. In this tutorial, you will learn how to install the Geopandas library using Anaconda Prompt, how to import ESRI Shapefiles into Python, plot your geospatial data using Geopandas and Matplotlib libraries, perform basic geoprocessing operations, reproject vector data, carry out geometric computations and export Geopandas GeoDataFrames into ESRI Shapefiles using Python.
Download data - drive.google.com/drive/folder...
Matplotlib Colormaps - matplotlib.org/users/colormap...
10 Useful Geoprocessing Applications of GeoPandas Library - • 10 Geoprocessing Appli...
Timeline:
00:00 - Introduction
00:31 - Installing Geopandas Library
02:52 - Introducing Spyder IDE
06:08 - Creating a new Python Script
07:23 - Import ESRI Shapefiles into Python using Geopandas
11:03 - Basic plotting using Geopandas
20:14 - Multiple Plots (Side-by-side)
25:18 - Multiple layers on the same figure
30:57 - Working with projections in Geopandas
38:40 - Intersecting layers using Geopandas
42:42 - Geometrical computations (calculating areas of polygons)
45:27 - Exporting Geopandas GeoDataFrames into ESRI Shapefiles
#geopandas #python #geoprocessing

Пікірлер: 91
@geodeltalabs
@geodeltalabs 3 жыл бұрын
Here's the timeline: 00:00 - Introduction 00:31 - Installing Geopandas Library 02:52 - Introducing Spyder IDE 06:08 - Creating a new Python Script 07:23 - Import ESRI Shapefiles into Python using Geopandas 11:03 - Basic plotting using Geopandas 20:14 - Multiple Plots (Side-by-side) 25:18 - Multiple layers on the same figure 30:57 - Working with projections in Geopandas 38:40 - Intersecting layers using Geopandas 42:42 - Geometrical computations (calculating areas of polygons) 45:27 - Exporting Geopandas GeoDataFrames into ESRI Shapefiles
@rcssiddharth5986
@rcssiddharth5986 3 жыл бұрын
The concepts are explained in the best way possible and the content is simply best.
@philoo7559
@philoo7559 Жыл бұрын
It took me a while to get it running properly. Its an awesome tool! Thanks for this great tutorial !!
@WiktorJurek
@WiktorJurek 3 жыл бұрын
Great content! This is a fantastic quick-start!
@ravikumarnakka40
@ravikumarnakka40 3 жыл бұрын
Excellent step by step presentation for Beginner
@papesouleymanediop3006
@papesouleymanediop3006 3 жыл бұрын
For those facing an issue about the geopandas installation with Anaconda, a solution is just to upgrade the conda version by using this syntaxt in the Anaconda Prompt " conda update --prefix C:\Users\HP\anaconda3 anaconda". Don't forget to replace the path by yours where anaconda is installed. After that the installation will work. Thanks dear for this interesting ressource on Geopandas :)
@tubuobaggio
@tubuobaggio 3 жыл бұрын
Thank you very much i struggled for the whole day to install geopandas, i finally created an env to install the geopandas in instead of installing it in the base, i actually succeeded but on spyder when i import it what i get is just errors, your solution was straight to the point, thank you very much
@manash.b4892
@manash.b4892 2 жыл бұрын
Thank you so much! Not being able to install geopandas had me frustrated. Now it works as it should.
@kritiikasingh
@kritiikasingh 2 жыл бұрын
does anyone know the macbook equivalent of this? :(
@kezang1121
@kezang1121 3 жыл бұрын
Great content, thank you so much for the tutorial
@lotansuid9604
@lotansuid9604 3 жыл бұрын
great video, i wait long time for something like this, thanks!!
@pythonGIS
@pythonGIS 8 ай бұрын
Fantastic video! Thank you for sharing!
@aazizskills
@aazizskills 3 жыл бұрын
Good Tutorial indeed, I have practiced with your tutorial.
@elimoslemi4426
@elimoslemi4426 Жыл бұрын
I have made a marathon goal to watch ALL your videos. I will finish soon. AND I'd love to see more in-depth videos cos the tutorials are fantastic.
@geodeltalabs
@geodeltalabs Жыл бұрын
Awesome, great to hear such endearing feedback like this :)
@zarrinz1865
@zarrinz1865 3 жыл бұрын
Great Content, and I appreciate it very much and thanks a lot
@gauspak1406
@gauspak1406 3 жыл бұрын
Nice explain pandas, geopandas, matplotlib for beginner very usefull
@julianocamargo6674
@julianocamargo6674 3 жыл бұрын
Thank you for the tutorial, very well explained.
@geodeltalabs
@geodeltalabs 3 жыл бұрын
Glad you liked it :)
@mateaandmilos
@mateaandmilos 3 жыл бұрын
Amazing library :)
@preeyawangsomnuk189
@preeyawangsomnuk189 2 жыл бұрын
Thanks for great tutorial
@witold2528
@witold2528 4 ай бұрын
Great man! Thanks!
@preeyawangsomnuk189
@preeyawangsomnuk189 2 жыл бұрын
Thanks for great tutorials.
@geodeltalabs
@geodeltalabs 2 жыл бұрын
You are welcome
@goncaze1983
@goncaze1983 2 жыл бұрын
Legal! Agradeço as informações compartilhadas, obrigado!
@geodeltalabs
@geodeltalabs 2 жыл бұрын
👍
@p15rajan
@p15rajan Жыл бұрын
Awesome you nailed it
@DaGoodStoff
@DaGoodStoff 2 жыл бұрын
Thanks mate, this is fantastic :)
@geodeltalabs
@geodeltalabs 2 жыл бұрын
Thank you 😊
@wrekodat9592
@wrekodat9592 Жыл бұрын
very helpful, thanks
@raniahasan303
@raniahasan303 Жыл бұрын
awesome, thanks a lot
@gkchinnusamy9157
@gkchinnusamy9157 3 жыл бұрын
Good presentation beautifully explained, Thanks a lot
@geodeltalabs
@geodeltalabs 3 жыл бұрын
You are welcome
@theforester_
@theforester_ 2 жыл бұрын
awesome video mate. big shout out from Brazil
@theforester_
@theforester_ 2 жыл бұрын
just a quick question, i'm new to python and as you may have noticed most of the tutorials for python use Jupyter notebook as IDE. i've noticed that you have been using Spyder as IDE, do you think it's better when compared to Jupyter, people who use python for Spatial data analysis tend to use more Spyder IDE istead of Jupyter? thanks again!
@geodeltalabs
@geodeltalabs 2 жыл бұрын
Hi there, I think it's purely based on the personal preference. The only legit reason I have for using Spyder over Jupyter is that personally I was using Spyder way before I discovered Jupyter, and never really wanted to make the move. So far I have never had any issues with Spyder especially when it comes to getting the additional packages to install and run without much of a hassle. I'd recommend you try out both and stick with the one you find more comfortable to work with. 😊
@kadhirvelur4956
@kadhirvelur4956 Жыл бұрын
Awesome presentation for starters like me. Step by step explanation helped me a lot. Thank you so much.
@geodeltalabs
@geodeltalabs Жыл бұрын
Glad it was helpful!
@kadhirvelur4956
@kadhirvelur4956 Жыл бұрын
@@geodeltalabs I was able to install geopandas and generate maps, it took a while, but did with Florida state map, which looks good. Thanks!
@Geotechdev
@Geotechdev Жыл бұрын
Thank you sir 😊
@athlete265
@athlete265 3 жыл бұрын
awesome go through
@geodeltalabs
@geodeltalabs 3 жыл бұрын
You are welcome :)
@diegofernando350
@diegofernando350 2 жыл бұрын
Muchas gracias
@nuradibmaspo4276
@nuradibmaspo4276 3 жыл бұрын
Your tutorial is great, but I got an error when using overlay method. but I am using g colab instead of conda. appreciate if you could advise. Thank you
@artinu1946
@artinu1946 Жыл бұрын
Thnq for these
@trapOrdoom
@trapOrdoom 3 жыл бұрын
MY GUY!! just finally got pandas successfully installed via conda. had to copy the files in the Library/bin... libcrypto.dll and libssl.dll or some shit, once you copy those files to the DLL folder it worked... anyways, super excited thanks! please do more! make a shirt so i can show my support, or donations.
@geodeltalabs
@geodeltalabs 3 жыл бұрын
Glad you managed to get the issues solved :) and thanks for your kind comments. Now that you mentioned it, I'm actually thinking about a t-shirt. Never crossed my mind before though 😂
@trapOrdoom
@trapOrdoom 3 жыл бұрын
@@geodeltalabs dude you're so helpful it's not even funny. got me on the path to data analysis ;). this stuff is so much much! would def buy a GDL shirt or coffee mug!
@Lexcepcion
@Lexcepcion 2 жыл бұрын
Thanks for the video. If you wanted to select a single or multiple provinces of your map of Northern Ireland, how would you do that? Thank you for your time.
@siddharthkshirsagar2545
@siddharthkshirsagar2545 2 жыл бұрын
Really amazing, I have one query though in this demonstration you have used shape file .shp. But I have worked with .geojson files so is there any difference between these files performance of memory wise. My use case is deploying as a Realtime dashboard. Thanks
@themapmaker5374
@themapmaker5374 3 жыл бұрын
Great! Just one question - how do you choose and set an individual color to each district?? I don't want geopandas to set randam colors to the districts. Instead, I want to select colors and hues of the districts myself via code.
@pankajs271178
@pankajs271178 2 жыл бұрын
Nice, one shot explaination. Perfect. But How did you get those shape files??
@asuryaanugraha
@asuryaanugraha 2 жыл бұрын
Thank you for your knowledge!. I would like to ask, when I write polygon geodataframe from OSM to shapefile, there is an error : ValueError: Invalid field type . In my case I have make selection if the dataset only contain the polygon. Please help me. Many thanks!
@DrVali-fy2bf
@DrVali-fy2bf 2 жыл бұрын
very good video
@geodeltalabs
@geodeltalabs 2 жыл бұрын
Thanks
@FhargaZ
@FhargaZ 2 жыл бұрын
I have some data from a csv, when i loaded 1 file and the shapefile it looked fine. Because i want to add two datas to the map i used the multiple layers method but now i can see only like 9 from one file and 7 from the other, strange. Is there an option for amount of points for the joining of data for the maps?
@pythonradio6497
@pythonradio6497 3 жыл бұрын
Hi, I need you to explain state of art satellite CALIPSO vertical feature mask, data visualization
@chsandan7543
@chsandan7543 3 жыл бұрын
Hi make something on pca with arcmap, or python data analysis for UAV drone photomosaic or Geotiff. Specifically on the band differences, dimensionality. Would be nice!
@rubencrespo1720
@rubencrespo1720 3 жыл бұрын
Is it possible to create a new column in a certain possition?
@arundeepws5475
@arundeepws5475 3 жыл бұрын
Hi can you do a video on PCA in arcmap using python bridge
@daanidev
@daanidev 3 жыл бұрын
Hi can you please help me with this: I am trying to convert geo tif file into geopanda dataframe so that i can perform some preprocessing but i am facing this error: ValueError: Must pass 2-d input i am using georasters library for this purpose. below is lines of code: rsimage= rs.from_file ('E:\Thesis\Data\Districts\d_test_narc.tif') dataframe=rsimage.to_geopandas() and is there any way to overlay geotif file with shape file? TIA
@shekharsaini7872
@shekharsaini7872 Жыл бұрын
Hello sir, the hands-on tutorial on geopandas is simple and easy to understand. It builds confidence to start with vector data using the python library. Here is an error while installing geopandas library in conda env. Can you make a video on how to install the geopandas library in the spyder IDE.
@geodeltalabs
@geodeltalabs Жыл бұрын
Hi, the installation process is shown at the beginning of the video
@joem8251
@joem8251 3 жыл бұрын
I was able to download data from your google drive. I appreciate that. How can I obtain similar data?
@a1ang0r85
@a1ang0r85 3 жыл бұрын
Hello, thanks for your video, I have problems in viewing the projection when calling `districts = districts.to_crs(epsg = 32629`. It returns RuntimeError: b'no arguments in initialization list'. How can I fix it?
@a1ang0r85
@a1ang0r85 3 жыл бұрын
I have fixed it by pip install --force-reinstall pyproj import pyproj pyproj.Proj("+init=epsg:4326")
@Fischer12345
@Fischer12345 10 ай бұрын
@@a1ang0r85 Thanks a lot, helped me out!
@a.b.k.3355
@a.b.k.3355 3 жыл бұрын
is adding figsize three times @38:44 necessary?
@fidaulmustafa2904
@fidaulmustafa2904 2 жыл бұрын
Hi @GeoDelta Labs When i open variable data frame in Spyder it becomes very slow. And often I have to restart the program. Any fix for this? Did you have the same problem?
@tubuobaggio
@tubuobaggio 3 жыл бұрын
Hello I keep having that error when i intersect the 2 files , any help sir? File "C:\Users\ferdinand27\anaconda3\lib\site-packages\geopandas\base.py", line 107, in _generate_sindex ModuleNotFoundError: No module named 'geopandas.sindex'
@hermannbeaudin8914
@hermannbeaudin8914 2 жыл бұрын
I love you
@hcyen66gmail
@hcyen66gmail 3 жыл бұрын
Is there a place to download your examples?
@user-so4tk5mp1u
@user-so4tk5mp1u 10 ай бұрын
Sir, when export into ESRI shape file, there is an error like "DriverError: unsupported driver: 'ESRI shapefile'". How to solve this proble
@arnazdholakia3224
@arnazdholakia3224 2 жыл бұрын
I am not able to get an output. Following is the code, please can you help me. # Reprojecting geopandas Geodataframes #pyproj.Proj('+init = epsg:4326') districts = districts.to_crs(epsg = 32629) districts.plot(figsize = (10,8))
@tablesawart2728
@tablesawart2728 Жыл бұрын
I use Visual Studio Code. At around 11:25, nothing appears on my screen... Why? (Needless to say, the code is identical)
@tablesawart2728
@tablesawart2728 Жыл бұрын
Update: \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ import geopandas as gpd import matplotlib.pyplot as plt
@VannarethHUOY
@VannarethHUOY 3 жыл бұрын
My anaconda could not install the geopandas. It showed below messages: conda install geopandas Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: \
@prabuddhadarshanaboralugod4683
@prabuddhadarshanaboralugod4683 3 жыл бұрын
I kinda had that problem, you can create another environment other than base and try to do installation In anaconda prompt use following Conda create --name myenv Conda activate myenv Then try installing. 'Myenv' can be any name you choose you may have to install every libraries required and spyder itself to the new environment you created
@VannarethHUOY
@VannarethHUOY 3 жыл бұрын
@@prabuddhadarshanaboralugod4683 Thanks
@trapOrdoom
@trapOrdoom 3 жыл бұрын
@@VannarethHUOY if that doesn't work, see my above comment. copy it and google it so you can find the stackoverflow or GH forums page where I found the context for it. after I moved the files, it began to work. it was such a huge pain in the ass though.
@VannarethHUOY
@VannarethHUOY 3 жыл бұрын
@@trapOrdoom Thanks alot, It works after copying both dll files.
@trapOrdoom
@trapOrdoom 3 жыл бұрын
@@VannarethHUOY nice! Have fun! I love geopandas now.
@muzamilahmad9850
@muzamilahmad9850 2 жыл бұрын
Good afternoon sir.. i downloaded and installed Anaconda 3 but when i tried to install geopandas using (Anaconda Prompt) it didnt work. it is showing (base) C:\Users\muzamil>conda install geopandas Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Looking forward for ur suggestions to sort out the issue...
@sujathayadala6783
@sujathayadala6783 2 жыл бұрын
Same problem
@sujathayadala6783
@sujathayadala6783 2 жыл бұрын
Same problem
@ladiran
@ladiran 2 жыл бұрын
That is just the problem I have been having for more than a week now and still counting🙄
@pardhasaradhireddy1672
@pardhasaradhireddy1672 2 жыл бұрын
Did you find solution to this?
@ladiran
@ladiran 2 жыл бұрын
@@pardhasaradhireddy1672 creating virtual environment solves the problem for me!
10 Geoprocessing Applications of GeoPandas Library
51:33
GeoDelta Labs
Рет қаралды 29 М.
An Absolute Beginner's Guide to QGIS 3
1:10:08
GeoDelta Labs
Рет қаралды 1,2 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 7 МЛН
UNO!
00:18
БРУНО
Рет қаралды 3,1 МЛН
Викторина от МАМЫ 🆘 | WICSUR #shorts
00:58
Бискас
Рет қаралды 5 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 22 МЛН
A Complete Beginner's Guide to ArcGIS Desktop (Part 1)
1:00:57
GeoDelta Labs
Рет қаралды 1,6 МЛН
How I Would Learn GIS (If I Had To Start Over)
24:46
Matt Forrest
Рет қаралды 73 М.
Intro to GeoPandas
21:01
Geospatial Programming
Рет қаралды 17 М.
GIS and Python: Top Courses to Learn Geospatial Python
10:25
Matt Forrest
Рет қаралды 26 М.
Introduction to Visualizing Geospatial Data with Python GeoPandas
28:29
Geopandas - A Beginner's Guide
1:02:15
GIS Simplified
Рет қаралды 2,9 М.
Geospatial Analysis using Python - Working with Raster Data
1:58:56
NWA, India: Distance Learning
Рет қаралды 6 М.
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 7 МЛН