BaşlayınÜcretsiz Başlayın

Creating a Point geometry

The Eiffel Tower is an iron lattice tower built in the 19th century, and is probably the most iconic view of Paris.

Eiffel Tower

(By couscouschocolat [CC BY 2.0], via Wikimedia Commons)

The location of the Eiffel Tower is: x of 255422.6 and y of 6250868.9.

Bu egzersiz

Working with Geospatial Data in Python

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Import the Point class from shapely.
  • Create a shapely point object with the coordinates of the Eiffel Tower and assign it to a variable called eiffel_tower.
  • Print the result.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Import the Point geometry
from ____.____ import ____

# Construct a point object for the Eiffel Tower
eiffel_tower = ____

# Print the result
____
Kodu Düzenle ve Çalıştır