Challenge: Reading Vector Data
Task
Swipe to start coding
In this task, you will practice reading real vector geospatial datasets using GeoPandas.
Two datasets are hosted online:
- A Shapefile of world countries;
- A GeoJSON of world countries.
Your goals are:
- Load the Shapefile from the provided URL.
- Load the GeoJSON file from the provided URL.
- Compute and print the number of features in each dataset.
Fill in the missing parts in the code.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 5
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Suggested prompts:
Can you explain this in simpler terms?
What are the main takeaways from this?
Can you give me a real-world example?
Awesome!
Completion rate improved to 7.69
Challenge: Reading Vector Data
Swipe to show menu
Task
Swipe to start coding
In this task, you will practice reading real vector geospatial datasets using GeoPandas.
Two datasets are hosted online:
- A Shapefile of world countries;
- A GeoJSON of world countries.
Your goals are:
- Load the Shapefile from the provided URL.
- Load the GeoJSON file from the provided URL.
- Compute and print the number of features in each dataset.
Fill in the missing parts in the code.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 5
single