I'm relatively new to Drupal. We have been using a combination of Drupal and DJango on our site odin-osiris.usask.ca to serve up our science data to the world.

I have been tasked with the job of generating live plots of our data (contained on an SQL server) over specific user-defined points. The idea is that viewers of our website can enter some information into a few fields (latitude and longitude) and get a plot of data over their region. Alternatively, they could click a point on a map.

Once I have the lat, lon pair, generating the images is easy, but how do I collect this information through drupal, call python or some other scripting language to make the image and then return the image to drupal?

Any help would be much appreciated, including places to go for further reading.

Thanks

Comments

blueminds’s picture

I would go for REST. See this: http://drupal.org/project/rest_server (D7 is in development so you need to clone the repo).