avatarLubna Yusuf

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

3215

Abstract

ocoding service.</p><figure id="9368"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*Yn7t0g2zEvN7QG2DPKVhng.png"><figcaption></figcaption></figure><p id="afa7">4. <code>geolocator</code>: This variable is the geolocator object we previously defined, linked to the Nominatim geocoder from Geopy.</p><p id="3a73"><code>- .geocode("Lonavala, Pune")</code>: This method is called on the geolocator object. It takes a location name, in this case, "Lonavala, Pune," as its argument.</p><ul><li>The geocode method sends a request to a geocoding service, which, in this instance, is Nominatim. It translates the human-readable location, “Lonavala, Pune,” into specific geographic coordinates (latitude and longitude).</li><li>The resulting information, including the coordinates and additional location details, is stored in the variable <code>location</code> for further use in your Python script</li></ul><figure id="25da"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*AZ8tvHiXzfkbXeJh60jpaw.png"><figcaption></figcaption></figure><figure id="517f"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*G92yRMgr941wZz7QXQMwFQ.png"><figcaption></figcaption></figure><figure id="7445"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*PbUgjYhH79tmD3PKjv_rmw.png"><figcaption></figcaption></figure><figure id="5381"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*CS8vn2LGhOjVPjNYsHlSJg.png"><figcaption></figcaption></figure><ol><li><code>map</code>: This variable is assigned to hold the map object that we're creating with Folium.</li><li><code>folium.Map()</code>: This function is used to create a new map instance. It's a part of the Folium library.</li><li><code>location=[18.760583, 73.3821481]</code>: Here, we specify the initial center point of the map using latitude and longitude coordinates. In this example, it's set to the coordinates for Lonavala, Pune.</li><li><code>zoom_start=13</code>: This parameter sets the initial zoom level of the map. A higher value like 13 means a more detailed, close-up view of the map.</li></ol><figure id="c6bd"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*ixRdo8j60Q2O7oYbQX0NqA.png"><figcaption></figcaption></figure><ol><li><code>mylocation</code>: This variable is used to store the marker object that we're creating with Folium.</li><li><code>folium.Marker(point, popup='My City', icon=folium.Icon())</code>: Here, we create a marker on the map. The <code>point</code> variable specifies the location, 'My City' is the text that appears when you click on the marker (the popup), and <code>icon=folium.Icon()</code> determines the marker's visual style.</li><li><code>.add_to(map)</code>: This method attaches the marker we've created to the previously defined <code>map</code>, so it appears on the map.</li></ol><figure id="8130"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*CCh9Vn_9qsYbMWVZn5Ni_A.png"><figcaption></figcaption></figure><ol><li><code>mylocation</code>: This is the variable that represents the marker we added to the Folium map.</li><li><code>.save("mylocation.html")</code>: This method is called on the marker object. It in

Options

structs Folium to save the map and its contents, including the marker, as an HTML file.</li><li><code>"mylocation.html"</code>: This is the name of the file where the map will be saved. You can choose any filename you prefer.</li></ol><figure id="52e1"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*fdpfsA_B1JibBjUA9fNb9A.png"><figcaption></figcaption></figure><figure id="f2d2"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*r7N-WR59GERGsxcMyduL0Q.png"><figcaption></figcaption></figure><figure id="e65b"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*Ln6uXSIsZcHv15MbCw3cOw.png"><figcaption></figcaption></figure><figure id="355a"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*Pxg3rVVjCk1zbwGXsfZaIg.png"><figcaption></figcaption></figure><figure id="12b3"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*OAIb8OWlDG8IdowQFBYCVA.png"><figcaption></figcaption></figure><p id="0cca">For more detailed documentation of geopy library visit:</p><div id="81d0" class="link-block"> <a href="https://geopy.readthedocs.io/en/stable/"> <div> <div> <h2>Welcome to GeoPy's documentation! - GeoPy 2.4.0 documentation</h2> <div><h3>geopy is a Python client for several popular geocoding web services. geopy makes it easy for Python developers to…</h3></div> <div><p>geopy.readthedocs.io</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*OKUTEDjcvXqNIc0A)"></div> </div> </div> </a> </div><p id="a4b7">For more detailed documentation of folium library:</p><div id="6923" class="link-block"> <a href="https://www.geeksforgeeks.org/visualizing-geospatial-data-using-folium-in-python/"> <div> <div> <h2>Visualizing Geospatial Data using Folium in Python - GeeksforGeeks</h2> <div><h3>A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and…</h3></div> <div><p>www.geeksforgeeks.org</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*nLNO4oAugwdYeDJ1)"></div> </div> </div> </a> </div><p id="60cf">Github link for this demonstartion:</p><div id="0a71" class="link-block"> <a href="https://github.com/Vaishnavi639/geopy-folium-libraries"> <div> <div> <h2>GitHub - Vaishnavi639/geopy-folium-libraries</h2> <div><h3>Contribute to Vaishnavi639/geopy-folium-libraries development by creating an account on GitHub.</h3></div> <div><p>github.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*aYuXuIVi5kaH2eeM)"></div> </div> </div> </a> </div><p id="ca22">Thank you for reading!!!</p></article></body>

The Urdu Show: For the love of Ghalib

Urdu Medley| Youtube

Dear Readers,

The Urdu Show has come up with a delightful new episode ‘Ghalib Medley’ with Cinema Satsang, the unique film school on Youtube. This time we visit the popular ghazals of the Urdu maestro Mirza Ghalib and discover the power and depth of his words. The experience of visiting his eternal poetry is meditative and soulful and it has been my absolute pleasure and honour to be a part of this series.

Please watch and do let me know what you thought of it.

Love, Lubna

Ghalib rests in peace in Hazrat Nizamuddin near the tomb of Nizamuddin Auliya in present day New Delhi and lives in our hearts.

Urdu Poetry
Mirza Ghalib
Love
YouTube
Lubna Yusuf
Recommended from ReadMedium