Skip to content

关于通过百度地图API采集POI数据,并存储到HBase的项目。

Notifications You must be signed in to change notification settings

wahahajun/poi-parent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1、数据库、表创建

#创建数据库
CREATE DATABASE IF NOT EXISTS db_poi CHARACTER SET utf8 COLLATE utf8_general_ci;

#创建表
CREATE TABLE `tb_poi`(
  `id` bigint(20) unsigned NOT NULL auto_increment,
  `poikey` varchar(100) NOT NULL,
  `poivalue` varchar(200) NOT NULL,
  `poitype` int NOT NULL,
   PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

2、项目层级

poi-parent 
	poi-base				基础包(包含File、excel工具类)
	poi-persistence			POI类型数据处理
	poi-local				读取百度数据到本地
	poi-web 				REST服务提供

3、项目构建

mvn archetype:generate -DgroupId=com.andieguo.poi -DartifactId=poi-mapreduce -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false -DarchetypeCatalog=local

About

关于通过百度地图API采集POI数据,并存储到HBase的项目。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 79.8%
  • JavaScript 14.9%
  • HTML 5.3%