Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Reading Vector Data | Foundations of Geospatial Data
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Geospatial Data Science with Python

bookChallenge: Reading Vector Data

Tâche

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:

  1. Load the Shapefile from the provided URL.
  2. Load the GeoJSON file from the provided URL.
  3. Compute and print the number of features in each dataset.

Fill in the missing parts in the code.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 5
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

Suggested prompts:

Can you explain this in simpler terms?

What are the main takeaways from this?

Can you give me a real-world example?

close

bookChallenge: Reading Vector Data

Glissez pour afficher le menu

Tâche

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:

  1. Load the Shapefile from the provided URL.
  2. Load the GeoJSON file from the provided URL.
  3. Compute and print the number of features in each dataset.

Fill in the missing parts in the code.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 5
single

single

some-alt