Presentation is loading. Please wait.

Presentation is loading. Please wait.

Making Google Maps. Start with a list of papers by city+country This list was generated by: 1. Edit out-file/Standardize addresses/Clean and add address.

Similar presentations


Presentation on theme: "Making Google Maps. Start with a list of papers by city+country This list was generated by: 1. Edit out-file/Standardize addresses/Clean and add address."— Presentation transcript:

1 Making Google Maps

2 Start with a list of papers by city+country This list was generated by: 1. Edit out-file/Standardize addresses/Clean and add address fields (oux-file) 2. Edit out-file/Standardize addresses/City and country truncate (tru-file) Also, a new file with duplicates removed was made before calculating this frequency list. Please, note that you will get a better end result if you edit and standardize the tru-file first. I am lazy so I didn’t! Now copy from the list down to frequency 4=103 addresses

3 Go to http://www.gpsvisualizer.com/geocoder/ and paste only (if you wish) the city names into the input box and then Start geocoding using Yahoo and in a few minutes you will have coordinates for the cities in the results box.http://www.gpsvisualizer.com/geocoder/ Now copy all rows from that box and return to BibExcel.

4 Clear the list and then Paste and now the coordinates are there! Next, have the cit-file here and then run Mapping/Geographical mapping/Make a waypoint list

5 A way-file with a waypoints is created. Copy all rows from the list! A wax-file is also produced that you can sort alphabetically by 1 st column and use later on for classifying cities into cities with coordinates.

6 Go to http://www.gpsvisualizer.com/map_input?form=data and paste into the box to the left. Also choose custom field and type n in the little box. Then Draw the map.http://www.gpsvisualizer.com/map_input?form=data

7 Here is the temporary Google map which you can zoom.

8 If you wish to include collaborations. Start by making a coc-file using the oux-file and the 103 first listed addresses from the cit-file (see previous exercise). Then run Edit outfiles/Decompress outfile and answer Yes to accept that units are separaetd with tabs

9 The nnu-file has unit from each pair split into two rows with frequencies to the left. 1. Select the wax-file that must be sorted alphabetically by 1 st column and put it here. 2. Select the nnu-file and run Add data classify/Binary search

10 The cll-file has now coordinates to the right! Next, run Mapping/Geographical mapping/Make a trackpoint list

11 A trc-file is made formatted for GPS Visualizer. Copy all rows from the list.

12 …go back to the GPS Visualizer and paste the trackpoints after the waypoints in the same list. Press Draw the map

13 Now, collaboration links are added

14 Zooming in on Europe

15 As an extra bonus, while making the trackpoint list, BibExcel automatically calculates geographical distances in kilometers using Haversine’s formula! Look at the hav-file Distance in kilometer Go to http://www.movable-type.co.uk/scripts/latlong.html and check Haversine distanceshttp://www.movable-type.co.uk/scripts/latlong.html

16 An alternative way of calculating distances is to start with at text file looking like this, with tabs between columns: 5536,099625-80,24109451,430898-0,547489 Then run Mapping/Geographical mapping/Calculate distances (Haversine) and a had-file is made looking like this, with distance in kilometers to the far right: 5536,099625-80,24109451,430898-0,5474896291

17 For some applications you may wish to find the min and max distance of pairs within a given doc number (e.g. largest distance among collaborating cities in a given paper). Suppose you have file like this with docnr+distances (1st and 6th column of the had-file): 680 65100 650 65109 6520 550 556291 If you then run Mapping/Geographical mapping/Min and Max distance a hax-file will be made looking like this: 6800 650109 5506291 The 2nd column has min distance and the 3rd max distance


Download ppt "Making Google Maps. Start with a list of papers by city+country This list was generated by: 1. Edit out-file/Standardize addresses/Clean and add address."

Similar presentations


Ads by Google