Challenge: Reading Vector Data
Uppgift
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.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 5
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Suggested prompts:
Can you explain this in simpler terms?
What are the main takeaways from this?
Can you give me a real-world example?
Fantastiskt!
Completion betyg förbättrat till 7.69
Challenge: Reading Vector Data
Svep för att visa menyn
Uppgift
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.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 5
single