Professional Documents
Culture Documents
Project Report on
WEB ENABLED DYNAMIC AGRICULTURAL
MARKET INFORMATION
Project Guide:
Mr. T Radhakrishnan
CTO, IIITM-K
1
IIITM-K November 22, 2006
Acknowledgement
We thank all our friends and all others who had significantly contributed
for our project. Without proper guidance from them it would have been im-
possible to complete this project. Above all we thank God Almighty for
blessing us to work with these resourceful people and for the learning expe-
rience we gained.
Abstract
The system is designed such that all the information stated above
can be accessed through a single interface. To address this purpose,
the power of GIS is combined with the advantages of database and
the system is implemented with open source technologies.
Contents
1 Introduction 6
3 Problem Analysis 7
5 Architecture 11
7 Deployment Diagram 14
9 Future Enhancment 17
10 Conclusion 17
11 Screen Shots 18
List of Figures
1 System Architecture . . . . . . . . . . . . . . . . . . . . . . . 11
4 Deployment Diagram . . . . . . . . . . . . . . . . . . . . . . . 14
5 Home Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
9 MapServer Interface . . . . . . . . . . . . . . . . . . . . . . . 22
1 Introduction
Most of the GIS based applications run on the client side and the soft-
ware is very costly. This system that we developed is based on open source
3 Problem Analysis
The intended system has to reach a large set of population, but the
commercially available GIS software has a huge cost factor associated with it.
Therefore the ideal solution will be to develop the system using open source
system, which can be easily implemented in a distributed spatial database
environment at a low overall cost. Also the program will run on the server
side so that the client can access it using a browser.
The system that we are developing has to be of low cost and has to
be web enabled. Mapserver meets these two attributes and hence this was a
design decision to use Mapserver over other internet MapServer.
Apache Tomcat is the servlet container that is used in the official Refer-
ence Implementation for the Java Servlet and JavaServer Pages technologies.
The Java Servlet and JavaServer Pages specifications are developed by Sun
under the Java Community Process. Apache Tomcat powers numerous large-
scale, mission-critical web applications across a diverse range of industries
and organizations.
JSP. This forms our business Logic. The results will be queried and displayed
on a map.
5 Architecture
The browser communicates with the http server via http request and
response objects . The http server handles static data which includes display-
ing map and static html pages. If there is a request for a dynamic content
then the request will be forwarded to the Servlet container which handles the
dynamic information . A servlet container comprises essentially the compo-
nent of a web server that hosts and interacts with Java servlets. Servlets are
not allowed to access the database directly. The Servlets transfers the control
to the java bean, which acts as the abstraction of the database. The com-
munication with the database takes place through the bean. The database
that we use here is PostgreSQL.
There are two types of users in the system, one is the ordinary user and
the other is the administrator approved by the central agency.
The above use case diagram describes the activities of the user. The
user doesn’t have permission to update the database but will be able to view
all the market information and the corresponding map.
7 Deployment Diagram
The user interacts locally with Viewer Client and submits HTTP
GET/POST requests to the WMS client. The web server in the WMS client
accepts user requests and parses them before forwarding them to the ap-
• .shp - the main file holding the actual vertices that describe shapes
• .shx - the index file holding index data pointing to the structures in
the main file
There are two types of users in the system . The first class of users are
the administrators who are authorized to update or modify current market
information . These set of users should get authorization from the central
agency, who owns and manages the system. The central agency decides the
administrators. The next group of users are the general users who are the
real beneficiaries of the system . They are entitled to view the market prices
without a user account.
The central agency decides and appoints administrators for each mar-
ket. The administrator applies for the administrative account by sending the
new user registration form. The central agency then approves the account of
the administrator by providing an administrative account. The administra-
tor logs in to the system using the userid and password. The administrator
populates the database.
9 Future Enhancment
2. Finding shortest route between any two markets using Dijkstras algo-
rithm
10 Conclusion
This system could cater to the needs of a large section of people ranging
from farmers, traders, agricultural scientists, academicians and policy mak-
ers. All this was implemented using open source technologies and therefore
has only a small cost factor associated with it . This system is designed based
on the client server model and being web enabled GIS, this system can be
accessed and updated from anywhere in the planet. The power of GIS en-
ables the system to display the results in a geographical context, which helps
the users to take better decisions about the market produce as well as route
logistics. These factors enable the system to be used by any administration
or organization dealing with market information.
11 Screen Shots
References
http://mapserver.gis.umn.edu/docs/howto/phpmapscript-byexample
http://postgis.refractions.net/docs/postgis.pdf
http://gis.esri.com/library/userconf/proc02/pap0477/p0477.htm
http://www.dambd.org/agri-business.htm
http://www.vuatkerala.org/
http://tortoisesvn.net
http://iiitmk.ac.in/newsletter.html