 This is just a little bonus video for the series that we're working on. We're looking at maps and locations and so far we looked at getting addresses from GPS locations and GPS coordinates from addresses and today we're going to be looking at getting addresses from addresses that might seem a little silly but could be actually useful. Again, this is a series, hopefully there's an annotation on the screen if not check out the description of the video for the full playlist and I hope you watched the first two videos because we're going to go over this quick. It's basically a mix of the two videos that we've already gone over. If you go to my github page github forwards github.com forward slash metal x1000 search my repositories for maps and locations and under bash you will find all the scripts for this series and one of which is a one called formatted address.sh. Here's an example well actually I should delete this here there we go so it's mixed the two and here we're going to give it an address but we're going to grab the address that it returns it gives a usage example and there's only one argument which is the address let's go ahead save that I've already made it executable but if you haven't already change mod plus x name of the script dot slash the name of the script will give you the output here of the example if you haven't don't have an address given already you need to give it at least one argument which is the address so go ahead and I'll paste that we'll run it you can see that I put in one two three fifth Avenue South Naples Florida and I return and return the same address but fully formatted so you can see I put av here and it returned Avenue I put s for south and it put south then comma Naples and it put the comma and then FL for Florida it gave me the zip code which I didn't even enter and the country so this is very useful if you're getting user data you want everything to be format the same and users might enter addresses differently than other users so you can use this to format the address as they input so if you're collecting stuff into a database before it goes into the database you can convert it like so if you already have a database going you can probably write a script that will use this to replace it all another good thing you might be able to use it for is auto completion on addresses but let's go ahead and just do another example I'll just put in three two one 56th Avenue New York New York and there you go it can give gives me the formatted address New York New York it obviously is Bayside New York is the best match there the zip code and the US the country so I hope you found this quick little bonus video helpful if you did I would like you to subscribe so you can see more of my videos be sure to share it that helps me a lot and like it so that I know that you liked it all as always please visit my website filmsby chris.com that's Chris the K there should be a link in the description you can search through my videos there and as always I hope that you have a great day okay this is an introduction to filmsbychris.com I'm Chris that's Chris the K that's me right there my daughter ember and my wife Jennifer we pretty much live in the swamps of Florida I'm a firefighter by day as well as by night we work long hours but that's not why you're here you're here about the videos I put up on YouTube these videos are mainly about computers and programming which means most of my videos look something like this and if that's what you're interested in great if not that's alright I do videos on other topics too such as video editing special effects photo editing 3d design and music creation if you are one of my viewers and you enjoy my videos my patreon page is a place we can go to help support my videos so I asked that you take the time to go to my patreon page and look at different levels of rewards you can receive for different levels of backing there should be a link in the description of this video if you're watching it on YouTube otherwise you can visit patreon.com forward slash metal x1000 and I thank you for your time and your support have a great day