Skip to content
Paolo Di Lorenzo edited this page Apr 7, 2016 · 19 revisions

Develop R package

  • Function to create photo density based on given data set and region, for example

    photomap(data, fitToPhotos = TRUE, top = 50, left = -50, right = 50, bottom = -50)
    • data : data set which contains the image file records including location (longitude/latitude in degrees)
    • fitToPhotos : whether or not to automatically fit all the photos to the map (if TRUE, bounding box variables are not needed)
    • top, left, right, bottom : bounding box variables for the photo map, in degrees of longitude and latitude (positive (+) numbers are N and E, negative (-) numbers are S and W)
  • Function to check data set for usability (check that all necessary columns exist)

    is.photodata(data)
    • Returns TRUE if the data set matches the requirements of photomap function, FALSE otherwise.
Clone this wiki locally