Draft_Report.doc - GISE Lab

seasoningalluringΔιαχείριση Δεδομένων

29 Νοε 2012 (πριν από 4 χρόνια και 23 μέρες)

214 εμφανίσεις



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:
-

Pr
of. 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 an
d 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.











P
iyush 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 Sy
stem


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 Geospa
tial 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 w
hole 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 so
urce means that the source c
ode is available to the general
p
ublic

for use, distribution, and modifi
cation from its original design
free of charge (among
a long

list of other requirements)

.




While most open source geosp
atial software is built on the
s
tandards 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.

h
ttp://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


QuantumG
IS:
-


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 on
line
sp
atial 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, sele
ct 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 Featur
e 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 obje
cts to the PostgreSQL object
-
relational
databa
se. In effect, PostGIS "sp
atially 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 dev
elopment and a proven architecture that has

earned it a
reputation for reliability, data integrity, an
d correctness. It runs on all
major operating
systems. An enterprise clas
s database, PostgreSQL boasts
sophisticated features such as
Multi
-
Versio
n Concur
rency 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 t
o put a dynamic map in any web page. It can
display
map
tiles and markers loaded from any source. Me
taCarta developed the initial
version of
OpenLayers and gave it to the public to further the use of geographic information of all
kinds. OpenLayers is compl
etely
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 Managemen
t 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 A
PPROACH


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 multi
ple
-
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 s
tore the large volume of GIS dataset is the
postgreSQL
platform, whose spatial data engine


postGIS s
peeds up data access to spatial
databases
usi
ng 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 w
hich 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 us
e 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 met
hods 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 valida
te 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 t
hrough Manual Drawing
:
-

In this method user has to locate the place from the
satellite image and base on the selected layer i
t 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

Check the Shape


IF

Check
for
Overlay
?

Take non
-
spatial data

ERROR


VALID

ERROR




DATABASE

Check Through its data
type

A

Yes

No

Polygon

Point/Line

No

Yes

Yes

No


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 thro
ugh Manual Digitizing )



Start

Display the Viewer for
Editing

Load Editing Tool

based
on shape

Take the Geometry Data
from viewer


IF

Check
for
Overlay?

Take non
-
spatial data

ERROR


VALID

ERROR




DA
TABASE

Check Through its data
type

A

Polygon

No

No

Yes

Point/Line

Yes


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


IF

Check
for
Overlay?

Polygon

Point/Line

Set the value of

flag


flag?

Store Data both spatial
and non
-
spatial




DATABASE


Until Data
Structure Not
Empty

A


A

Fetch Name of Layers

Send WMS/WFS Request

Display the layers

Stop

3.6

USER MANUAL







































Note:
-

Select the option how yo
u 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 informatio
n 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 ther
e 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 seco
nd option add by manual drawing.





























Note
:
-

Select the lay
er 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 s
elected
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 t
o 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

feature
s

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 th
e 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.