Geospatial Application Development Using Python Programming by Galety Mohammad

Geospatial Application Development Using Python Programming by Galety Mohammad

Author:Galety Mohammad
Language: eng
Format: epub
Publisher: Engineering Science Reference


# Importing necessary libraries

import geopandas as gpd

import matplotlib.pyplot as plt

from shapely.geometry import Point, LineString

# Load the built-in 'naturalearth_lowres' dataset from GeoPandas, a low-resolution world map.

world = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres'))

# Coordinates of the cities

blr_coords = (77.5946, 12.9716) # Bangalore, India

syd_coords = (151.2093, -33.8688) # Sydney, Australia

# Create Point objects for the cities

blr = Point(blr_coords)

syd = Point(syd_coords)



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.