CSC220 Homework 8 2010

From dftwiki3
Revision as of 19:16, 12 November 2010 by Thiebaut (talk | contribs) (Option 1)
Jump to: navigation, search

--D. Thiebaut 00:02, 13 November 2010 (UTC)



Page under construction!
UnderConstruction.jpg




Option 1

  • Write a Processing program using Eitan M.'s example, and the ones available on the Class Web page illustrating how to access Web pages (php pages) to put together a Processing applet that displays two different KML files. The selection of the KML files is done via the URL request, inside the Processing program. The way I recommend implementing this is to append a request at the end of the URL of your php page of the form "?Id=3,4". In this particular example, it would indicate that the php program has to return the contents (filtered or not) of the KML files with Ids 3 and 4.
  • Call your php program: pickKml.php
  • Call your page containing the Processing applet: displayKml.php

Option 2

  • Write a Processing applet that contains the same elements as the form you created in a previous assignment, where you specify which KML file should be selected depending on various parameters.