The command-line tool only prints basic stats and the progress bar. debugīy default, the library does not print any extra information. All versions This version Views : 257: 143: Downloads : 406: 158: Data volume : 28.3 GB: 11. GeoDist provides several geographical variables, in particular bilateral distances measured using citylevel data to assess the geographic distribution of population inside each nation. The done event includes the whole updated array as an argument. GeoDist makes available the exhaustive set of gravity variables used in Mayer and Zignago (2005). In case you need to process the list of files straight away, you don't need to re-load holidays.json from disk.
#The geodist database update#
This will create or update /Documents/holidays.json which uses the following format: [ files`)) We have calculated different measures of bilateral distances available for most countries across the. Or programmatically: const database = require('exiftool-json-db')Įmitter.on('done', => console.log('Updated!')) GeoDist makes available the exhaustive set of gravity variables used in Mayer and Zignago (2005). An important advantage of the GeoDist database is that the. On the command line: exiftool-json-db -media '/Photos/Holidays' -database '/Documents/holidays.json' The original sources for the international trade data are the UN COMTRADE database and the.
#The geodist database install#
Quick start npm install -g exiftool-json-db This package requires exiftool from (version 9.70 or above). See below for examples of useful queries to run. When computing spherical distances, the average earth radius is just that, and may not be the best to approximate ellipsoidal distances depending on the location of the points on earth.
#The geodist database full#
This means you can update the database within a few seconds when adding 20 photos to a collection of 10,000 - and then load that full collection in memory for processing (including captions, timestamps, GPS data.) in just a few milliseconds. geodist 0 0 0 179.4, maxiter(1000) You can use the Karney (2011) calculator if geodist fails to return a distance. The result is the same as running exiftool on an entire folder, except that results are cached and only updated when files are added/changed/deleted. This package helps maintain a JSON database of photo & video files, including all their metadata. GeoDist makes available the exhaustive set of gravity variables used in Mayer and Zignago (2005). Maintain a JSON collection of photos and videos with their metadata Finds the distance between a POI (point of interest) and a geometric shape on Earths surface. Replacing an existing value redis> JSON.Track a collection of photos and videos with their metadata exiftool-json-db Simple string reply - OK if executed correctly, or Null reply if the specified NX or XX
Input values can be expressed in degrees or in radians. JSON 1.0.0 Time complexity: O(M+N) when path is evaluated to a single value where M is the size of the original value (if it exists) and N is the size of the new value, O(M+N) when path is evaluated to multiple values where M is the size of the key and N is the size of the new valueįor new Redis keys the path must be the root. GeoDist provides several geographical variables, in particular bilateral distances measured using citylevel data to assess the geographic distribution of population inside each nation. The GEODIST function computes the geodetic distance between any two arbitrary latitude and longitude coordinates. The package provides data on countries and their main city or agglomeration and the different distance measures and dummy variables indicating whether two countries are contiguous, share a common language or a colonial relationship. Syntax JSON.SET key path value Available in: Redis Stack / The goal of geodist is to provide the same data from GeoDist ready to be used in R (i.e.