40
Major Project Under the Guidance of Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer Sharma(200711003) Suraj Pratap Singh(200711117) Vineet Kumar (200711128) Web based GIS package for small area using Open Source Softwares

Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

Embed Size (px)

Citation preview

Page 1: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

Major Project

Under the Guidance of –Mr. Roheet BhatnagarAssociate ProfessorDeptt. of Computer Science & Engineering, SMIT

Team Members –Adarsh Sameer Sharma(200711003)Suraj Pratap Singh(200711117)Vineet Kumar (200711128)

Web based GIS package for small area using Open

Source Softwares

Page 2: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

• A geographic information system (GIS) integrates hardware, software, and data for capturing, managing, analyzing, and displaying all forms of geographically referenced information.

• It allows one to view and interpret data in many ways, i.e., maps, reports, charts etc.

• GIS finds applications in National Topographic Mapping, weather services, population census, resource & environment management, surveying, general mapping, etc.

What is GIS?

2

Page 3: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

Components of GIS

GIS Components

Page 4: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

• Open Source refers to any program whose source code is made available for use or modification as users or other developers see fit.

• Advantages:-Lower development cost.Bug detection and correction.Reuse of code.

Open Source

4

Page 5: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

Problem Definition

To create a web based GIS package for small area that can

serve the following purposes:-

Creation of new features. Retrieval of information from Road layer. Edit the Geometry and attributes of a feature. Posting the modifications in feature data from client to

server. Updating the existing information in the DB. Locating features on the map using customized queries.

Page 6: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

• OpenLayers used for viewing the maps and rendering the features.

• Client-Server architecture is employed.

• GET and POST methods used for retreiving and posting information.

• JavaScript and HTML for client-side coding.

• Python and CherryPy for server-side coding.

• ZODB used as database.

Solution Strategy

Page 7: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

Software Requirements• Operating System : Windows XP/Vista

• Programming Language : Python, JavaScript

• Web Server : Apache(version 2.2)

• DataBase : ZODB

Hardware Requirements• Processor : Intel Pentium 4 (or higher)

• RAM : 512 MB RAM or above

• Hard Disk : 200 MB free Hard Disk (minimum)

Page 8: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

Functional - Requirements

• R1: Creation of Base map and Overlay()

Input:- The parameters of the base layer, latitude-longitude information, zoom-level specifications and the layer to be overlayed along with Strategies, url of the storage & format of data will be provided as the input.

Output:- Google base map is created and Road layer is overlayed over the map with strategies set and event-listeners registered.

Page 9: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

• R2: Add New Feature ()

Input:- The feature-id (fid) for the Road feature created and attribute values for the feature to be set are passed as the input.

Output:- Updated map is received as the output with the Road feature drawn and attributes of the feature set.

• R3 : Edit Geometry and Attributes of Feature ()

Input:- Feature-id (fid) of the feature to be modified and new attribute values for the Road layer is passed as the input.

Output:- Updated map with modified features and updated Road data is received as output.

Page 10: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

• R4: Delete Feature ()

Input:- Feature-id (fid) of the feature to be deleted is the input.

Output:- Updated map with feature and its attributes deleted from the storage is the output.

• R5 :Save and commit changes in DB()

Input:- Features and the associated data that has to be added, modified or deleted is passed as the input.

Output:- The Success or Failure message depending upon the status of the changes made in the storage is received as the output.

Page 11: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

• R6 :Locating a Feature using Customized Query ()

Input:- The attribute name and the value of the attribute to be located is passed as the input.

Output:- The feature to be located is highlighted on the map and also the map will zoom-in to the road that has been highlighted.

Page 12: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

The Gantt Chart

Page 13: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

The System Architecture

Page 14: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

Flow Chart

Page 15: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 16: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 17: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 18: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 19: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 20: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 21: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

Results• Final View of the application

Page 22: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

Adding New Feature

Page 23: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 24: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 25: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

Editing a Feature

Page 26: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 27: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

Deleting a Feature

Page 28: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 29: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 30: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

Customized Query

Page 31: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 32: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 33: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 34: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 35: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer
Page 36: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

Summary and Difficulties encountered

• The project has been run successfully and satisfies the requirements specified with easy-to-use interactive interface.

• Since most of the things used in this project were new to us, we felt much difficulty initially in understanding the concepts.

• Difficulties were encountered while installing many Python libraries for which setup file are not available for windows, and need to be installed through cmd using commands.

Conclusions

Page 37: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

Limitations of the Project• Only single layer can be managed.• Not scalable for large number of features, as all the features

are requested at one time (initial stage only).

Future Scope of the Project• More base layers can be added like Virtual Earth, Bing, and

MSN.• More vector layers like Building layer, boundary layer, water

body layer can be added.• Separate user and admin modules should be implemented for

better functionality and maintainability.• Notice publishing feature can be included.

Page 39: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

1. C. P. Lo & Albert K. W. Yeung, “Concepts and Techniques of Geographic Information Systems”, 2nd edition, Prentice Hall, Aug 2006

2. Ian Heywood, Sarah Cornelius, Steve Carver & Srinivasa Raju, “An Introductionto Geographical Information Systems”, 3rd edition, Pearson, 2010.

3. Rajib Mall “Fundamentals of Software Engineering”, 2ndedition, Prentice HallIndia, 2004

4. Peter Robins, “Using OpenLayers: Editing Vectors”, April 2010, [available onlinehttp://www.peterrobins.co.uk/it/oledit.html ]

5. Univerity of Oregon Interactive Campus Map, [available onlinehttp://map.uoregon.edu/]

6. Client Server Architecture, June 16, 2009, [available onlinehttp://www.roseindia.net/java/network/client-server.shtml]

7. Advantages and Disadvantages of Webservices, November 19, 2007, [availableonline http://social.msdn.microsoft.com/forums/en-US/asmxandxml/thread/435f43a9-ee17-4700-8c9d-d9c3ba57b5ef/]

8. OpenLayers Documentation:Controls, [available onlinehttp://docs.openlayers.org/library/controls.html]

9. Apache HTTP Server Version 2.2 Documentation, [available onlinehttp://httpd.apache.org/docs/2.2/]

10. CherryPy Tutorials, [available onlinehttp://www.cherrypy.org/wiki/CherryPyTutorial]

References/Bibliography

Page 40: Major Project Under the Guidance of – Mr. Roheet Bhatnagar Associate Professor Deptt. of Computer Science & Engineering, SMIT Team Members – Adarsh Sameer

Thank You