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

Find the area of the Urban Residents neighborhood

How big is the Urban Residents neighborhood?

Bu egzersiz

Visualizing Geospatial Data in Python

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

Egzersiz talimatları

  • Print the urban polygon and notice the units of each longitude/latitude pair.
  • Create urban_poly_3857 by calling to_crs() on urban_polygon and print the head again. Notice the units of each longitude/latitude pair have changed.
  • Print the area of urban_poly_3857. Remember to divide by 10**6 to get kilometers squared.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Print the head of the urban polygon 
print(urban_polygon.____())

# Create a copy of the urban_polygon using EPSG:3857 and print the head
urban_poly_3857 = urban_polygon.____(epsg = ____)
print(urban_poly_3857.head())

# Print the area of urban_poly_3857 in kilometers squared
area = urban_poly_3857.____ / ____
print('The area of the Urban Residents neighborhood is ', area[0], ' km squared')
Kodu Düzenle ve Çalıştır