ArcGIS Tools for hadoop,简称ATH(下同)由三个组件组成:几何计算包,空间计算包,ArcGIS桌面工具。
我们这篇文档主要关注前两个。几何计算是一个独立的jar包,空间计算包是一个Hive的扩展,因此需要Hive环境才能运行。
在此处下载样例包,解压后,samples目录中为几个示例,我们此处将使用point-in-polygon-aggregation-hive。
digraph gis_hadoop{ | |
fontname="Microsoft YaHei"; | |
fontsize=12; | |
splines=line; | |
node [shape="Mrecord", fontname="Microsoft YaHei", fontsize=10]; | |
edge [color="#F1C40F", fontname="Microsoft YaHei", fontsize=10]; | |
oozie [label="workflow", shape="none", image="oozie-logo.png", labelloc="b"]; |
ArcGIS Tools for hadoop,简称ATH(下同)由三个组件组成:几何计算包,空间计算包,ArcGIS桌面工具。
我们这篇文档主要关注前两个。几何计算是一个独立的jar包,空间计算包是一个Hive的扩展,因此需要Hive环境才能运行。
在此处下载样例包,解压后,samples目录中为几个示例,我们此处将使用point-in-polygon-aggregation-hive。
/* | |
* Arduino pin 9 -> S3003 PWM(orange) | |
* Arduino 5V -> S3003 VCC(red) | |
* Arduino GND -> S3003 GND(brown) | |
*/ | |
#include <Servo.h> | |
Servo servo; |
import processing.serial.*; | |
int SIDE_LENGTH = 1000; | |
int ANGLE_BOUNDS = 75; | |
int ANGLE_STEP = 2; | |
int HISTORY_SIZE = 10; | |
int POINTS_HISTORY_SIZE = 500; | |
int MAX_DISTANCE = 100; | |
int angle; |
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
upstream products_grape_server { | |
server localhost:9292; | |
} | |
server { | |
listen 8080; | |
server_name _; | |
location / { | |
proxy_pass http://products_grape_server; |
require 'active_record' | |
require 'yaml' | |
require 'mysql' | |
require 'logger' | |
task :default => :migrate | |
desc "Migrate the database through scripts in db/migrate. Target specific version with VERSION=x" | |
task :migrate => :environment do | |
ActiveRecord::Migrator.migrate('db/migrate', ENV["VERSION"] ? ENV["VERSION"].to_i : nil ) |