शुरू करेंमुफ़्त में शुरू करें

Urban Residents मोहल्ले का क्षेत्रफल निकालें

Urban Residents मोहल्ला कितना बड़ा है?

यह अभ्यास पाठ्यक्रम का हिस्सा है

Python में Geospatial Data का Visualization

पाठ्यक्रम देखें

अभ्यास निर्देश

  • urban बहुभुज को प्रिंट करें और प्रत्येक longitude/latitude जोड़ी की units पर ध्यान दें.
  • urban_polygon पर to_crs() कॉल करके urban_poly_3857 बनाएँ और फिर से head प्रिंट करें. ध्यान दें कि प्रत्येक longitude/latitude जोड़ी की units बदल गई हैं.
  • urban_poly_3857 का area प्रिंट करें. किलोमीटर स्क्वेयर में पाने के लिए 10**6 से भाग देना न भूलें.

इंटरैक्टिव व्यावहारिक अभ्यास

इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।

# 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')
कोड संपादित करें और चलाएँ