Tool to compute deployment of sensor nw Code
Status: Pre-Alpha
Brought to you by:
balakrishnan_k
File | Date | Author | Commit |
---|---|---|---|
SQL | 2009-05-12 | balakrishnan_k | [r3] SQL queries (MySQL) |
src | 2009-05-12 | balakrishnan_k | [r2] Added help feature |
readme.txt | 2009-05-12 | balakrishnan_k | [r4] Readme file |
Development environment: Text Editor : GVim (Vi editor for windows) OS : Windows Language : Java Database : My SQL Features: Three types of users : Administrator, Engineer, Highway admin Administrator can create and delete users. Engineer can do all operations. Highway admin can view the already generated report. MDI form based application. Form menu is used to input all the input parameters Report menu is used to execute the algorithm and generate report. Splits the road into cells and calculate the area, length, No. of nodes for trhe cells according to the given input parameters. Assumptions: All the maps consists of polylines in 2D plane. All maps (.shp files) are put in a single directory which is configurable in the tool. The scaling factor considered in the shape file is considered for the distance between two points. Environmental setup: Install Java and MySQL Import geotools and OpenMap API and configure it in PATH (Environmental variable) Input given: Shape file (Which has the polyline representation of the road) Angle of the sensor(Test case = 45 degree), width of the road (Test case 50M) , Max. visibility of sensor(Test case 50M) Algo to find the Solution: -------------------------- Assumption: *) The distance between two coordinates are find out by the lattitude and longitudes. *) Three consecutive non-collinear points are considered as a curve. Algorithm to place sensor nodes: -------------------------------- *) Split the road into cells of 2*visibility of sensor. *) In that cells, if a horizantal curve is present, split it into subcells of straight and curve arcs (circular arc), *) For each of the splitted subcell the area number of child nodes are calculated.