This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Using csv file values to create multiple Url parameters  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a csv file with coordinate values and I would like to use these values to generate a url for each one that will call each map location and return the requested as a static image and temporarily stores it into a new file.
I already know how to do this via entering in individual x and y coordinates as a double variable value eg double x = 38.367632; double y = -86.453126
But instead, i wanted to see if anyone knew of any work arounds to be able to directly call these coordinates from a csv file instead, taking each column value and use as a set of new values for these coordinates requested
in a loop whilst calling each url and returning the chosen image until all locations have been called.

Hopefully this makes a little sense of what im trying to acheive and any help would be much appreciated, this incidentally isnt for any commercial use, its just for a bigger college project which ive been set and which I am
hoping in turn will lead me to being able to compare these generated images for machine learning purposes, but its this part that im stuck on, thank you
 
Sheriff
Posts: 23640
48
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Rick Maver wrote:But instead, i wanted to see if anyone knew of any work arounds to be able to directly call these coordinates from a csv file instead, taking each column value and use as a set of new values for these coordinates requested
in a loop whilst calling each url and returning the chosen image until all locations have been called.



Why would you need work-arounds? As you said, you already know how to use data in variables to get the images. So, extract the data from the CSV file and assign it to variables. Then use what you already know.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!