Skip to content

luxiaoxun/Code4Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code4Java

Repository for my java projects

1. NettyMqService

How to implement a message queue service with Netty and RabbitMQ.

中文详情(Chinese Details):

2. MapHttpService

A simple Http Map Service providing tile image for Map.

3. WebGisDemo

A simple web GIS page based on leaflet.

中文详情(Chinese Details)
  1. How to use Elasticsearch.
  2. How to use Solr or Lucene to index and query data.
  3. How to use Elasticsearch to index and query POI(GEO data).

How to use WebGisDemo with MapHttpService:

  1. Download map tile image with MapDownloader
  2. Start MapHttpService with right data source, an example:

    port=8899
    database.type=0 # Use SQLite
    database.sqlite.path=E:\GIS\MapDownloader\MapCache\TileDBv5\en\Data.gmdb

  3. Start WebGISDemo: http://localhost:9090/map

map