Docstoc

GEOSPATIAL EDITOR USING OPEN SOURCE GIS SOLUTION

Document Sample
GEOSPATIAL EDITOR USING OPEN SOURCE GIS SOLUTION Powered By Docstoc
					GEOSPATIAL EDITOR
USING OPEN SOURCE GIS
SOLUTION
Summer Internship Report


Submitted By:-
Piyush M Shah


For M.Sc. In Geromatics and Space Application
From
CEPT UNIVERSITY,
Navrangpura,
Ahmedabad-380009
Gujarat.
July 2010




Submitted To:-
Prof. N.L.Sarda
Indian Institute of Technology,
Bombay Powai,
Mumbai.
                                   Acknowledgement


        I would like to thank Prof. Anjana Vyas, Founder and Dean, Faculty of Geomatics and
Space Application, Ahmedabad for providing me an opportunity to do summer internship as part of
the partial fulfilment of award of Msc Geomatics and Space Application.

       I would like to express my deepest gratitude towards my guide, Prof. N. L. Sarda, for his
encouragement, support and invaluable advice throughout the work. I am grateful to him for
making my concepts clear and for always motivating me. I am thankful to all the time spent in the
meetings and the discussions. I would like to thank Mrs. Smita Sengupta for her immense support
and supervision. I would also like to thank lab members Sanchit for their help and continuous
support.




                                                                                  Piyush M Shah
                                        Table of Contents



Abstract



Chapter 1 – Introduction

      1.1 Introduction to Open Source GIS

      1.2 Introduction to Open Source GIS Software



Chapter2 - Literature Survey



Chapter3– Our Approach

      3.1 Structure of Overall System

      3.2 Functionality Provided By Geospatial Editor

      3.3 Work Flow Diagram

      3.4 User Manual



Chapter4-Future Work
                                        ABSTRACT


A Geospatial Editor contains a Digitizing Tools which help to create the vector data through

web. Through Geospatial Editor you can add the new features easily in existing maps and

also add the unclassified features. It provides you three methods for adding the spatial data

(adding features) and it also provide you to add the non-spatial data related to that feature.
CHAPTER 1
INTRODUCTION:-

In a GIS Project the most common problem is the creation of data or availability of data as if
you do not have the spatial data (Vector Data) you cannot go for GIS type Project. So
considering in that our mind and aim we have think that if you can develop a tool which can
generate a data from the people who interact the system regularly they have knowledge
about their own field so they can update a spatial data as the updating occur we don’t want
any expert who can digitized whole map at change occurs it modify it for example the civil
engineer people will update the building layers etc. So as any new building come on the
location he can easily update the trough our tool.

    1.1 INTRODUCTION TO OPEN SOURCE GIS

                        Open source means that the source code is available to the general
public for use, distribution, and modification from its original design free of charge (among
a long list of other requirements)
.
                While most open source geospatial software is built on the standards of the
Open Geospatial Consortium (OGC) the term “Open Source” it is not synonymous with
Open Standards because both proprietary and open source software can be compliant with
the OGC Open Standards. http://www.opengeospatial.org


                OSGeo is the organization that supports the development of the highest
quality open source geospatial software. http://www.osgeo.org



    1.2 INTRODUCTION TO OPEN SOURCE GIS SOFTWARE


QuantumGIS:-
          Quantum GIS (QGIS) is a user friendly geographic information system. QGIS
supports vector, raster, and database formats. It supports many common spatial data formats.
QGIS supports plug-ins for activities like displaying tracks from GPS or serving online
spatial          data        as       OGC-compliant            WMS            or         WFS.


          QGIS functionalities includes contour digitising, undo/redo tools, image cutter,
advanced digitising tools, cartography tool, editing/updating data, spatial analysis functions,
georeferencing, geometry, select by radius tool, create own point symbols, data viewing,
spatial bookmarks, projection transfer/conversion, auto save, iteration tool etc.


Geoserver:                                                                                 -
       GeoServer is a full transactional java (J2EE) implementation of the Open GIS
Consortiums Web Feature Server (WFS) specification. Additionally, an OGC Web Map
Server (WMS) and support for WCS (Web Coverage Service) and MS Raster are realised.


PostGIS:                                                                                   -
       PostGIS provides support to geographic objects to the PostgreSQL object-relational
database. In effect, PostGIS "spatially enables" the PostgreSQL server, allowing it to be
used              as               a              back-end                for          GIS.
PostgreSQL:-
       PostgreSQL is a powerful, open source object-relational database system. It
has more than a decade of active development and a proven architecture that has earned it a
reputation for reliability, data integrity, and correctness. It runs on all major operating
systems. An enterprise class database, PostgreSQL boasts sophisticated features such as
Multi-Version Concurrency Control (MVCC), point- in-time recovery, tablespaces,
asynchronous replication, nested transactions,     online/hot backups, a sophisticated query
planner/optimiser and write ahead logging for fault tolerance.


OpenLayers:-
       OpenLayers makes it easy to put a dynamic map in any web page. It can display map
tiles and markers loaded from any source. MetaCarta developed the initial version of
OpenLayers and gave it to the public to further the use of geographic information of all
kinds. OpenLayers is completely free, Open Source JavaScript, released under a BSD-style
License.
    CHAPTER 2
    LITERATURE SURVEY:-

   Open Source Geospatial tools workshop 28th – 30th August 2008 Pune Chapter

    GeoServer Tutorial


   PostGIS 1.5.1 Manual


   Spatial Data Management By Arnulf Christl arnulf.christl@ccgis.de CCGIS Christl &

    Stamm GbR Siemensstr. 8 53121 Bonn


   Implementing Web GIS Solutions using open source software Karsten Vennemann
    TERRA GIS Seattle, WA, USA karsten@terragis.net 206 905 1711
CHAPTER 3

 OUR APPROACH


    3.1 STRUCTURE OF OVERALL SYSTEM




    Above block diagram determines the method adopted by IIT-B to handle the spatial data
    over the web. The system is divided into multiple-layer architecture consist of three parts:-


 1) The main component is map server is a geoserver for constructing our web mapping service.
    It runs on the stable open source platforms-Red Hat Linux OS and Jetty Web Server.


 2) The database system we used to store the large volume of GIS dataset is the postgreSQL
    platform, whose spatial data engine – postGIS speeds up data access to spatial databases
    using spatial index technology.


 3) The map clients in browser deploy the map through advance client program is an
    openlayers. This provides classes and function in JavaScript to build a bridge between OGC
    WMS interface (Provided by Geoserver) and its advance client.
    3.2 FUNCTIONALITY PROVIDED BY GEOSPATIAL EDITOR


       A geospatial editor provide the virtual environment in which you can perform the
    digitizing process easily just like you draw a line or a polygon or a point with any drawing
    tools and it will create your spatial data and it will be up to date as it is in web environment.
    And for more accuracy and convince it use a satellite image as a base layer so one can easily
    identify his/her feature and digitize it. Geospatial Editor also provides an interface through
    which you can provide GPS points of that feature and digitize the map.

    A Geospatial Editor having three methods for adding the spatial data:-

   Add by the Listing Points: - In this method we assumes that the user have the GPS (Global
    Positioning System) points of the feature which he/she want to enter into that layer. And
    base on the shape of the layer we validate the points and store the points in to the database
    and at the time of display we will draw the shape using those points.

   Add through Manual Drawing: - In this method user has to locate the place from the
    satellite image and base on the selected layer it will draw the feature on the satellite image
    and we store the co-ordinate of that feature.

   Add Unclassified Features:- In this method user can add any feature of any shape which is
    not belong to any layer it will store into a temporary layer and it can be retrieve by user
    afterwards also.

    A Geospatial Editor also provides the interface for adding the non-spatial data.
       3.3 WORK FLOW DIAGRAM (Add by The Listing Points)




                                  Start



                            Take Spatial Data




                       Process Spatial Data




                                VALID                     No


                                          Yes
                                                                                  ERROR
                       Check the Shape


                                                                              Yes
                                                               Check
                                                Polygon
                                     IF                        for
DATABASE                                                       Overlay?

                                                          No
                                      Point/Line



                         Take non-spatial data




                     Check Through its data
                     type




                                                    No
                              VALID                                       ERROR


                                     Yes

                                 A
            A



Store Data both spatial
and non-spatial




         DATABASE




Fetch Name of Layers




Send WMS/WFS Request




Display the layers




            Stop
    3.4 WORK FLOW DIAGRAM (Add through Manual Digitizing )



                                  Start



                       Display the Viewer for
                       Editing



                       Load Editing Tool based
                       on shape


                                                                                    ERROR
                        Take the Geometry Data
                        from viewer
                                                                                Yes
                                                                 Check
                                               Polygon
                                     IF                          for
DATABASE                                                         Overlay?

                                          Point/Line        No



                         Take non-spatial data




                     Check Through its data
                     type




                                                       No
                              VALID                                         ERROR


                                      Yes

                                 A
            A



Store Data both spatial
and non-spatial




         DATABASE




Fetch Name of Layers




Send WMS/WFS Request




Display the layers




            Stop
3.5 WORK FLOW DIAGRAM (Add Unclassified Feature)



                              Start



                   Display the Viewer for
                   Editing



                   Load Editing Tools




                  Take all the Geometry Data
                  from viewer and non-spatial
                  data


                                                   Check
                                      Polygon
                            IF                     for
                                                   Overlay?

                                 Point/Line


                  Store Data both spatial
                  and non-spatial               Set the value of flag




                                                        flag?

                         DATABASE




                             Until Data
                          Structure Not                     A
                          Empty
            A



Fetch Name of Layers




Send WMS/WFS Request




Display the layers




            Stop
3.6 USER MANUAL




  Note: - Select the option how you to add feature in the map. There are two options
  1) Add to Existing layer 2) Unclassified Features
Note: - Selected the first option and in above snap I also show that you can Zoom in and
Zoom out the map and also give information of each features
Note:-In above page I have selected the first option after that this page will open in that
also have two option 1) Add by Listing Points 2) Add by Manual Drawing
Note:- In above page there is combo box which list all the layers in the metadata table
and you have to select one of the layer for add the feature.
Note: - From above page I had selected the layer road junction it is type of point now
you have to list the GPS point in above text box. In that I had provided two format in
which you can add the GPS point.
Note: - Now to provide a non-spatial data related to that feature which will generated
based on the layer you have selected.
Note: - Now you can see feature add in last step on the map and click on it to display
non-spatial data.
Note: - Now selecting the second option add by manual drawing.
Note: - Select the layer from the combo box you want to add feature in to it.
Note:- After above page a Graphical Viewer will open in which you will see the satellite
image and you can draw a feature based on which layer selected for e.g. I have selected
multipolygon so you can draw polygon only.
Note: - In this page demonstrate how you can modify the feature which you have drawn
in above page. You can also rotate, resize and drag the feature.
Note: - Now you have to save the feature than you have to activate save feature function
which will detect your feature and help save properly in the layer. When you activate
save function above alert will display in which for saving feature you have to take
mouse over the feature.
Note:- As you take the cursor over the feature it will navigate to another page and you
have to give the non-spatial data to it and it will generate GID and it also validate the
data as you entered based on the data type. Now click on save and feature will save in
the layer.
Note:- Now select the add unclassified feature option.
Note: - In unclassified feature addition you can add any shape of feature at a same time
and multiple feature at a same time.
Note:- After drawing feature you have to activate save function and one by one you have
to give info for each feature by taking moves over it.
Note: - After giving the info to the entire features you have to commit your changes it
will generate a report which will give status of your feature (Saved or not saved).
Chapter 5
Future Work:-

   As in my above report as I had adding the feature into the layer by directly accessing

the database as my tool will bound to the database only. For supporting multiple

databases you have to use WFS-T services of geoserver which will add into multiple

databases like myGIS, oracle spatial, postGIS etc.

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:12
posted:9/16/2011
language:English
pages:33