Giter Club home page Giter Club logo

hivision's Introduction

HiVision

Setting:

Tab1. Datasets: Roads, POI and Farmland of Mainland China (10-million-scale)

Name Type Records Size
China_Mainland_Road LineString 21,898,508 163,171,928 segments
China_Mainland_POI Point 20,258,450 20,258,450 points
China_Mainland_Farmland Polygon 10,520,644 133,830,561 edges

Tab2. Demo Environment

Item Description
CPU 4core, Intel(R) Xeon(R) CPU E5-2680 [email protected]
Memory 32 GB
Operating System Centos7

Application Scenarios:

The datasets (see Tab 1) used in the demonstration are provided by map service providers. As the datasets are not open published, the raw datasets are encrypted by adding offsets. The interface of the demonstration is simple to use, choose a dataset and click the Enter button, then the visualizing results will be added to the map in real time. Fig 1-4 show the visualizing results.

fig1

Fig1. China Mainland POI

fig2

Fig2. China Mainland roads

fig3

Fig3. China Mainland farmlands

fig4

Fig4. Patterns filling for polygon objects

Open Source

Software dependencies(tutorial for installing the software from source code):

Redis (recommended version 3.2.12)

hiredis (recommended version 1.0.0)

MPICH (recommended version 3.3.2)

Boost C++ Libraries (recommended version 1.72)

Geospatial Data Abstraction Library (GDAL) >=2.0 (recommended version 2.4.4)

libpng (recommended version 1.2.59)

Compile:

All the source codes are included in HiVision_code. Run the following command to generate the executable programs:

cd HiVision_code # Go to source directory
mkdir build # Create a build directory
cd build # Move into build directory
cmake .. # Configure for your system
make # Generate the executable programs
cd .. # Move back to source directory

Run& Stop:

Edit the following parameters in "start.sh":

indexpath: path to store the spatial indexes (default : "./indexes/")

shppath: path of the input shapefiles (default : "./datasets/alaska_OSM/")

patternpath: path of the input patterns(default : "./patterns/")

process: MPI process count (default:4)

redishost: host IP of Redis (default:"127.0.0.1")

redisport: host Port of Redis (default:6379)

serviceport: port of the service (default:10080)

Then run the following scripts to start/stop HiVision automatically:

$ sh ./start.sh
$ sh ./stop.sh

Registration& Visualization Service:

Registration (Point: type=0/ LineString: type=1/ Polygon: type=2):

http://localhost:10080/HiVision/add/{shapefile_name}/{id}/{type}

Visualization WMTS:

http://localhost:10080/HiVision/{index_id}/{R}/{G}/{B}/{A}/{z}/{x}/{y}.png

Example:

(Point) datasets/alaska_OSM/gis_osm_places_free_1.shp 
http://localhost:10080/HiVision/add/gis_osm_places_free_1/places/0
http://localhost:10080/HiVision/pplaces/{R}/{G}/{B}/{A}/{z}/{x}/{y}.png
(LineString) datasets/alaska_OSM/gis_osm_roads_free_1.shp
http://localhost:10080/HiVision/add/gis_osm_roads_free_1/roads/1
http://localhost:10080/HiVision/lroads/{R}/{G}/{B}/{A}/{z}/{x}/{y}.png
(Polygon) datasets/alaska_OSM/gis_osm_buildings_a_free_1.shp 
http://localhost:10080/HiVision/add/gis_osm_buildings_a_free_1/buildings/2
http://localhost:10080/HiVision/abuildings/{R}/{G}/{B}/{A}/{z}/{x}/{y}.png

Contact

Mengyu Ma@ National University of Defense Technology

Email: [email protected]

Tel:+8615507487344

hivision's People

Contributors

memorymmy avatar r-barnes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.