avatarSandra Muller

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>

How to write instructions that don’t condescend

How to not sound like a condescending arsehole in your writing

Image by SIphotography via Depositphotos.com

One of the fastest ways to turn your reader off is to use certain words or phrases that make you sound like a condescending arsehole and them like a dumb reader.

It’s easy to unintentionally slip into a condescending mode when writing instructions, especially if you’re trying to maintain a chirpy or friendly tone of voice in your writing. I often have to remind myself about this.

When writing instructions, look out for phrases such as:

  • You should…
  • Make sure you know …
  • Remember, you have to …
  • Don’t forget to…
  • Be sure not to…
  • You know you can …
  • Simply …

Each of these phrases has more than a whiff of condescension about them. And of all these phrases, ‘you should’ is the worst culprit. You shouldn’t use it. Ha! See what I did there?

In your mind, ‘Remember to keep your receipt’ might sound like a friendly reminder and sit well with your overall tone of voice. But in your reader’s head, it might come across as a ‘Duh’ comment. And ‘Duh’ comments reflect poorly on your writing.

I especially hate the word ‘simply’ when writing instructions.

‘Simply fill in the form!’

What if the form isn’t simple to everyone? What if people who don’t have the literacy skills or if English is not their first language can’t understand the fields in the form and ‘simply’ fill it in?

Thanks for making us feel like dummies.

Condescending language raises defences

People usually don’t like being told what to do. And nobody likes being talked down to. And that’s how those phrases can come across if you use them when giving instructions. It’s a quick way to make our hackles rise.

And that is no way to get your important message across.

I often work on government projects where the content gives instruction and advice. In these situations, I avoid using the phrase ‘You should’. Instead, if there’s a mandatory requirement, I use ‘You must’. If it’s not a mandatory requirement, I delete the ‘You should’. For example:

You should always wear a helmet.

✔ You must wear a helmet.

✔ Always wear a helmet.

Changing condescending language in your writing

Consider the following instructions:

  • Before you serve the noodles, make sure you chill them in the fridge first.
  • Remember, you have to log in first so the discount will apply.
  • You know you can call us if you have any questions.
  • Simply add a back tuck to your roundoff back handspring to impress the judges.

Each of these statements can be simplified and the condescending phrase removed to make them stronger.

How do they read now?

  • Before you serve the noodles, chill them in the fridge first.
  • Log in first so the discount will apply.
  • Call us if you have any questions.
  • Add a back tuck to your roundoff back handspring to impress the judges.

No condescension. Get straight to the point. Cutting the fluff is one of the core tenets of good writing.

Can you think of more examples of condescending phrases?

For more tips like this, join the Smarter Writer Revolution.

Originally published at https://thesmarterwriter.com on July 8, 2019.

Writing
Writing Tips
Writing Advice
Writer
Writing Life
Recommended from ReadMedium