KML File Pictures of Locations & SQL Commands

$24.99 $18.99

(1 point) KML File kml file from step 5 – with the placemarks, convex hull and nearest-neighbor line segments First, use one of the following websites/tools: https://kmlviewer.nsspot.net/ https://www.doogal.co.uk/KmlViewer Go to Google Earth → Click the menu bar on the right → Click Projects → Click Open → Select “Import KML file from computer” Check the…

5/5 – (2 votes)

You’ll get a: zip file solution

 

Categorys:

Description

5/5 – (2 votes)
  1. (1 point) KML File

kml file from step 5 – with the placemarks, convex hull and nearest-neighbor line segments

  • First, use one of the following websites/tools:

      • Go to Google Earth → Click the menu bar on the right → Click Projects → Click Open → Select “Import KML file from computer”

  • Check the following

    1. -0.25 each for missing locations. There should be 13 location pins.

    1. -0.5 for incorrect convex hull (all points/pins should be within the convex hull and a few should be on the boundary)

    2. -0.5 for incorrect nearest neighbor (there should be a line from one point – labeled as “home” location – to the other point. Visually verify that there isn’t be any other point that is closer from their “home” point than the one with a line)

Note: You may need to test the file on multiple websites/tools because the nearest neighbor line may not show up properly.

  1. (no points, but ..) Pictures of Locations

    1. There should be 13 images.

    1. -2 points if the student submits less than 6 images

    1. -1 point if the student submits more than 6 but less than 10 images

    1. Okay to miss at most 3 images (no deduction)

  1. (2 points) SQL Commands

A text file(s) (.txt or .sql) with your two queries (a file for each query is okay)

Computing Convex Hull (1 point)

  • -1 point if no convex hull command, but only table creation and data insertion commands. Check to see if there’s a query for computing the convex_hull (e.g., ST_CONVEXHULL for POSTGRES)

  • If you are not sure about the correctness of the query, please run the query

Computing the nearest neighbor (1 point)

  • -1 point if no nearest neighbor command, but only table creation and data insertion commands. Check to see if there’s query for getting a nearest neighbor (e.g., ST_Distance for POSTGRES)

  • -0.5 points if their query doesn’t have some sort of ordering/sorting command in it.

  • If you are not sure about the correctness of the query, please run the query.

Note:

    • Okay if they hardcode points

    • Okay if they create and use a table to store the 13 points and write queries for the table.

    • Okay if the nearest neighbor command outputs the entire table row.

  1. (1 point) Screenshot and JS OpenLayers Code (CodePen/jsFiddle – okay)

    • -1 point if neither is submitted

The screenshot (0.5 points)

0.5 points if no screenshot of Google Earth with all 13 points in it (similar to 1) – the screenshot should show all points are on/inside the convex hull and show the nearest neighbor line.

The code (0.5 points)

localStorage.setItem(xxx, thedata); //– store the data

Somevar = JSON.parse(localStorage.getItem(xxx)) //parse/retrieve the data Someothervar = somevar.points //use the data

  1. (1 point) Visualization and R script

-0.5 points for incorrect or missing the location screenshot (e.g. wrong output points).

  1. -0.5 points for incorrect or missing the R script (e.g. wrong parameters or the code doesn’t run).

Sample script and output:

  1. (1 point) Spirograph

-0.25 for missing or incorrect screenshot. (eg. The center for the spiral should be SGM123 as the center for on campus students. For off campus/DEN students, the center of the spirograph can be their home) Note that the spirograph should contain 8 loops.

  1. -0.25 for missing or incorrect source code (js, py, java, cpp, etc). (e.g. the code doesn’t run or the logic/calculation is incorrect – pay close attention to the x and y calculation equations as shown in the sample pic below).

(R = 8, r = 1, a = 4) Sample:

  1. -0.25 for missing a shape file (there should be a .zip file in their submission – You don’t need to unzip it. If a zip file is present, no deduction. But feel free to unzip to verify. There should be files like .shp, .dbf, or .shx extensions in it.)

KML File Pictures of Locations & SQL Commands
$24.99 $18.99