Challenge: Reading Vector Data
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 5
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Suggested prompts:
Can you explain this in simpler terms?
What are the main takeaways from this?
Can you give me a real-world example?
Fantastisk!
Completion rate forbedret til 7.69
Challenge: Reading Vector Data
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 5
single