Table of Contents:
Chapter 1: Introduction
1.1 Introduction
1.2
Development of framework
The software framework development task included conceptualization of software framework and identification of software elements and users. The identified major elements of the software are data input, data browsing, query and report generation and mapping etc. It has been identified that the major users of this software are: RAJUK & Plot Owner (RAJUK). 1.3 Overall architecture of WPLRS
The system is designed and developed using four-tier architecture that consisted following layers: 1. - User interface 2. - Web Server 3. - Map service and Web GIS 4. - Database 1.3.1 User Interface
The user interface is developed using ASP.NET framework version 3.5. Userfriendly interface of WPLRS is designed for easy access of data from the database server. The users get online access using browsing tool (i.e. Firefox, internet explorer) to the system and database and able to get required information through different queries. Authorized users can view, insert and edit data to the system and can also able to view data in different format.
Using data entry and editing interface, the user can enter and edit the plot based owner data. The plot owners who want to access the WPLRS database will need authentication to the system to update and modify the survey data. The interface has mainly three functions: entry, edit and view.
User interface
Internet Application Internet Application .Net .Net Technology Technology Data Query Query and Data Mappin Mapping Entry/editing reporting module reporting modul modul and entry g module module module e e Web Server IIS Map AspMap Server Server
Web Web Server Server Map Server Map Server and and GIS Data
Databa se
GIS Data GIS Personal ESRI shape Data Geodatabase files (MS Access file
Query and Reporting interface The query and reporting interface is designed to facilitate analyzing data based on predefine criteria and generate owner based reports online. Mapping interface The mapping interface has been developed to view and print maps on plot owner related data. The developed mapping interface is capable to retrieve data based on location based query. The mapping interface has been developed using AspMap4.6. 1.3.2 Database
The data server contains data, views and stored-procedure. It executes SQL statements, views and stored-procedure for data manipulation. The database has been developed using Oracle 11gR2. Data relationships are established after normalization of the collected survey data. 1.3.3 Web Server
The main component for a web-enabled application is the web server. Web server is a sever program that handles the requests from web browsers for data and pages and delivers the requested web pages along with data, maps and other information based on request parameters over the internet or intranet. The
WPLRS has been developed in .Net platform for Microsoft Windows IIS (version 5.1 or higher) web server. 1.3.4 Map components: AspMap
AspMap is a set of server-side mapping controls and components that let you add maps to your Web applications and it has an easy-to-use mapping library for use in web and desktop application developments. AspMap can be accessed directly by ASP.NET, VB.NET, C# and other .NET supported environments. It provides access to many types of GIS data, enables spatial query on that data, and renders maps on screen in web browser. The important features of AspMap are: Completely written in C# .NET 3.5 Embed the engine using any .NET language, including C#, VB.NET ESRI Shape file support HttpHandler for ASP.NET applications Support for Points, Linestings, Polygons, MultiPoints, MultiLineStrings and MultiPolygons, * GeometryCollections etc. according to the OpenGIS Simple Features Specification. Renders attributes as labels
Advanced thematic maps using delegates Easy extensible with additional data providers, layer types and geometry types
1.4
The main users of the intended system, WPLRS, are as follows: RAJUK
Plot Owners The main intention was to develop a user-friendly web application to view, query and reporting the data from the WPLRS database. Accordingly the components of the WPLRS were developed. 1.5 Software component
The major components of the WPLRS are as follows: WPLRS Mapping Reporting Data Management
1.5.1
WPLRS Mapping
GIS Maps were generated based on the project. WPLRS has been integrated with the web GIS technology to work with maps in the web. Using WPLRS user can easily able to navigate map, existing map and also can print the map.
User can generate owner based of report using this component. Report is generated based on survey data. Report is printable
Table Name: lkp_ownertype Scope of Work: Development of web-based, customized GIS application software. Description: Lookup table used for owner type Attribute ownertypecode ownertypename Table No.: 5 Table Name: lkp_paymenttype Scope of Work: Development of web-based, customized GIS application software. Description: Lookup table used for payment type Attribute paymenttypecode paymenttypename Data Type INTEGER VARCHAR 2 20 0 Le n PK / FK PK Ref. Table Ref. Field Validation Comment s Data Type INTEGER VARCHAR 2 200 Length PK/F K PK Ref. Table Ref. Field Validat ion Comments
Table No.: 6 Table Name: lkp_plot Scope of Work: Development of web-based, customized GIS application software. Description: Lookup table used for plot information Attribute plotcode projectcode landtypecode sectorno blockno sectorblockno roadno plotno plotsrlno plotarea plotarealandunitname Table No.: 7 Table Name: lkp_project Scope of Work: Development of web-based, customized GIS application software. Data Type VARCHAR2 INTEGER VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 INTEGER NUMBER VARCHAR2 10,2 200 Length 255 50 100 200 200 200 200 200 PK /FK PK Ref. Table Ref. Field Validation Comments
Description: Lookup table used for project information Attribute projectcode projectname projectlocation projectarea projectarealandunitnam e Table No.: 8 Table Name: lkp_transfertype Scope of Work: Development of web-based, customized GIS application software. Description: Lookup table used for land transfer type Attribute transfertypecode transfertypename Table No.: 9 Table Name: tbl_payment Scope of Work: Development of web-based, customized GIS application software. Description: Describe Payment Information Attribute paymentcode paymenttypecode ownercode amountpaid currencyname bankname branchname moneyreceiptno paymentdate paymentcomment formsrlno Table No.: 10 Data Type VARCHAR2 INTEGER VARCHAR2 NUMBER VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 INTEGER 255 10,2 200 200 200 200 100 200 Length 255 PK / FK PK Ref. Table Ref. Field Validation Comments Data Type INTEGER VARCHAR2 200 Length PK / FK PK Ref. Table Ref. Field Validation Comments Data Type INTEGER VARCHAR2 VARCHAR2 NUMBER NUMBER 200 200 10,2 200 Length PK /FK PK Ref. Table Ref. Field Validation Comments
Table Name: tbl_plotowner Scope of Work: Development of web-based, customized GIS application software. Description: Description plot owner Attribute ownercode plotcode ownertypecode ownersrlno formno ownerfileno registrationno registrationdate dcrfileno pageno flatno flatsize flatsizeunitname flatprice flatpricecurrencyname landflatmutationmemono landflatmutationmemodate allotmentmemono allotmentmemodate planpassed planpasseddate possessionmemono possessionmemodate ownername ownerprofession ownerdateofbirth ownerspousename ownerfathername ownermothername ownernationalid ownertin ownernationality ownerreligion Data Type VARCHAR2 VARCHAR2 INTEGER INTEGER VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 NUMBER VARCHAR2 NUMBER VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 INTEGER VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 100 200 100 255 255 100 255 255 255 2100 100 200 200 200 200 200 2100 200 200 200 10,2 200 10,2 200 200 100 200 100 Length 255 255 PK /FK PK Ref. Table Ref. Field Validation Comments
ownerpresentaddress ownerpermanentaddress transfertypecode transfertypeothername landtypeothername quantityoflandbigha quantityoflandkatha quantityoflandchattak quantityoflandsf quantityoflandsy quantityoflandother quantityoflandothername plotprice plotpricecurrencyname numberofowner comments userid entrydate formsrlno Table No.: 11 Table Name: tbl_logvisitor
VARCHAR2 VARCHAR2 INTEGER VARCHAR2 VARCHAR2 NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER VARCHAR2 NUMBER VARCHAR2 INTEGER VARCHAR2 VARCHAR2 DATE INTEGER
255 255 FK 200 200 10,2 10,2 10,2 10,2 10,2 10,2 200 10,2 200
200 200
Scope of Work: Development of web-based, customized GIS application software. Description: Information about log visitor Attribute logid logstarttime logip logpcname Data Type INTEGER DATE VARCHAR2 VARCHAR2 100 200 Length PK / FK PK Ref. Table Ref. Field Validation Comments
Table No.: 12 Table Name: tbl_loginuser Scope of Work: Development of web-based, customized GIS application software. Description: Information about login user
Attribute userid userpass usertypecode userownercode projectcode sectorblockno roadno plotno isactive Table No.: 13
Data Type VARCHAR2 VARCHAR2 INTEGER VARCHAR2 INTEGER VARCHAR2 VARCHAR2 VARCHAR2 INTEGER
PK / FK PK
Ref. Table
Ref. Field
Validation
Comments
255
Table Name: lkp_usertype Scope of Work: Development of web-based, customized GIS application software. Description: Lookup table used for login user type Attribute usertypecode usertypename Data Type INTEGER VARCHAR2 255 Length PK / FK PK Ref. Table Ref. Field Validation Comments
Table No.: 14 Table Name: tbl_loginusertime Scope of Work: Development of web-based, customized GIS application software. Description: Lookup table used for login user logging time Attribute loginusertimeid userid loginuserstarttime loginuserendtime usertrypass logip logpcname Data Type INTEGER VARCHAR2 DATE DATE VARCHAR2 VARCHAR2 VARCHAR2 255 100 200 255 Length PK / FK PK Ref. Table Ref. Field Validation Comments
Table No.: 15 Table Name: lkp_searchfield Scope of Work: Development of web-based, customized GIS application software.
Description: Lookup table used for search criteria Attribute fieldcode fieldname fieldorder Data Type VARCHAR2 VARCHAR2 INTEGER Length 200 200 PK / FK PK Ref. Table Ref. Field Validation Comments
Table No.: 16 Table Name: TBL_OwnerPhoto Scope of Work: Development of web-based, customized GIS application software. Description: Table used for Owner Photo Attribute OwnerCode OwnerUniqueID OwnerPhoto PhotoType Data Type VARCHAR2 Integer BLOB INTEGER Length 200 PK / FK PK Ref. Table Ref. Field Validation Comments
Scope of Work: Development of web-based, customized GIS application software Process: All modules have three similar processes.
1. VERIFY LOGON
2. RECEIVE QUERY
3. PROCESS QUERY
Figure: Processes of Customize GIS Application VERIFY LOGON: This process verifies user id and password using the information stored in the database. Valid user can access the module, invalid user cannot. RECEIVE QUERY: This process receives user query and sent it to database. PROCESS QUERY: This process retrieves information from database, process user query and produces output. Activity Diagram
Invalid
Select plot
Invalid
Use Case
A use case is a technique for capturing functional requirements of a system. The use case model uses "Actors" and "use cases". An Actor is the representation of a person or system which exists outside the system under study and who (or which) performs a sequence of activities in a dialogue with the system. A Use Case represents a single interaction between a primary actor (who initiates the interaction) and other (secondary) actors, and the system itself. The interaction is presented as a sequence of simple steps. In this system the Actor is the user. Several use cases can be used to represent the interaction between the user and the system.
View GIS related data Add/Edit user information Use Case Template Table 3.2: Use Case: Verify Login Use Case ID: Use Case Name: Actors: Description: Preconditions: Post conditions: Normal Flow: Verify Login
1 User (Plot Owner, Editor, Encoder, Super User, Admin User) Verify User ID, Password and User Rights and permit valid user to access the system. 1. Database should be up and running 1. User must have right to access a particular module User enters his/her ID and Password ID and Password are verified with the database. User rights are extracted from database Valid user can access with his right Invalid user is denied to access the system
User
Table 3.3: Use Case: New/Edit Plot Owner Data Use Case ID: Use Case Name: Actors: Description: Preconditions: Post conditions: New/Edit Plot Owner Data Editor, Encoder Enter or Edit Information of Plot Owner and save it to database 1. Users identity has been authenticated 1. Information of Plot Owner in database has been updated 2
Actor
Normal Flow:
Editor
Add/Edit Plot Owners Information Enter Plot Owners Information Save Information
Database Server
Table 3.4: Use Case: Search Plot Owner Data Use Case ID: Use Case Name: Actors: Description: Preconditions: Post conditions: Normal Flow: View Plot Owner Information User (Plot Owner, Super User, Admin User) View Information of Plot Owners 1. Users identity has been authenticated Information is available in the database View Plot Owner information by setting different criteria Process query by the system View Plot Owners information 3
Plot Owner
Super User
Actor
Send Query
Database server
Table 3.5: Use Case: View GIS related data Use Case ID: Use Case Name: Actors: Description: Preconditions: Post conditions: Normal Flow: View GIS related data User (Plot Owner, Super User, Admin User) View Plot Information 1. Users identity has been authenticated Project map is available in the System Select Project map Layer Map Query to extract the data of enabled layer for selected plot 5
Select project map layer Plot Owner Map Server Super User View GIS related data Map Query Administrat or
Table 3.6: Use Case: Add/Edit User Information Use Case ID: 6
Actor
Use Case Name: Actors: Description: Preconditions: Post conditions: Normal Flow:
Add/Edit User Information Super User Add/Edit User ID, Password and User Rights 1. Users identity has been authenticated 1. User ID, Password and User Rights has been updated Add/Edit User Information Save Changes
Super User
Select User
Database Server
Actor
Save Changes
User management is restricted to anonymous user. User needs proper right to access web page. There are five level of authentication. a. Plot owner user: View only selected plot owner data. b. Data encoder user: New owner data entry for selected project, sector/block or plot. c. Data editor user: Edit owner data for selected project, sector/block or plot. d. Admin user: Admin user can only view the selected project, sector/block or plot. e. Super user: Super user can add new user. He can also modify user information. Administrator set the user level. Right to use all features
Some Screenshots