If you simply want to find the lat/long of a large number of ASes, it will be faster to download and parse the automatically generated file at
http://netgeo.caida.org/aslatlong.txt. This is generated every Saturday at 10:30pm, Pacific Standard/Daylight Time, and contains a mapping from AS numbers to AS name, country, and lat/long.