You are on page 1of 37

GML BASED DATA MANAGEMENT

FOR GIS USING WFS

2
1
A Research Project

4
0011 0010 1010 1101 0001 0100 1011 at:

BY:
GUNJAN DHOLAKIYA
JIGAR PUROHIT
PURPOSE
0011 0010 1010 1101 0001 0100 1011
The purpose of our project was to provide
the maps, online to the user in Vector

2
format using GML (world-wide standard)

1
technology and provide Web Feature

4
Services (WFS) and various functionalities
on the map.
Why This Project?

• Interoperatibility
0011 0010 1010 1101 0001 0100 1011

• Map Quality

2
• Costly Proprietary Software
• KML Problem
1
4
0011 0010 1010 1101 0001 0100 1011GIS XSLT

2
Tools &

1
GML Technologies
XML

4
XSD
SVG

B
MODULES

0011 0010 1010 1101 0001 0100 1011


ALIT IES
CT I O N
FUN SHAPEFILE

2
TO
y
Quer r

1
SVG
e
Build

4
WFS

LEGEND
EDITOR UL T I L AYER
M
MAP

B
AGENDA
0011 0010 1010 1101 0001 0100 1011

1. TOOLS & TECHNOLOGY

2
1
2. MODULES

4
3. MODULES WITH DEMO

4. SYSTEM DEMONSTRATION

B
GIS & Shape File
GIS Definition:
• GIS is a System of computer software, hardware and data, and
personnel to help manipulate, analyze and present information
that is tied to a spatial location

1
2
Shape File Definition:

4
0011 0010 1010 1101 0001 0100 1011

• A shapefile is a digital vector storage format for storing geometric


location and associated attribute information.

B
GML
DEFINITION:
• The Geography Markup Language (GML) is the XML
grammar
0011 0010 1010 1101defined by1011
0001 0100 the Open Geospatial Consortium
(OGC) to express geographical features. GML serves as a
modeling language for geographic systems as well as an

2
open interchange format for geographic transactions on

1
the Internet.

4
WHY GML?
• No proprietary Software’s Required
• Better Linking Capabilities
• Easy to Edit and Understand
• Open Source
• Easy Interoperatibility
• Based on XML

B
Major Benefit of GML
• Accepts Multiple CRS System:
0011 0010 1010 1101 0001 0100 1011 Unlike
KML or geoRSS, which is followed by Google Earth and
Wikimapia, GML does not assume a single, fixed

2
coordinate system. Instead, each coordinate system must be

1
specified with a Coordinate Reference System.

B 4
SVG
Definition:
0011 0010 1010 1101
Scalable 0001
Vector 0100(SVG)
Graphics 1011 is an XML markup language for describing
two-dimensional vector graphics, both static and animated, and either
declarative or scripted. Images can contain hyperlinks using outbound simple

2
Xlinks. It is an open standard.

1
SVG IMAGES ARE SCALABLE

4
Original image

PNG SVG

B
SVG files are smaller and more
compressible than JPEG and GIF
0011 0010 1010 1101 0001 0100 images
1011 SVG

Size: 1kb.

1
2
4
BMP JPG
Size: 604kb. Size: 16kb.

B
Text in SVG is selectable and
searchable
(excellent for making maps)
0011 0010 1010 1101 0001 0100 1011

This shows

2
that text labels

1
in graphics
are searchable

4
strings, not
pixels.

B
XML
– XML stands for eXtensible Markup Language
0011 0010 1010 1101 0001 0100 1011
– It is a universally accepted standard way of structuring
data (syntax).

2
<?xml version='1.0' encoding='ISO-8859-1'?>

1
<directory name="/clas" owner="root" group="other" modified="Aug
22 08:34">
Properties of node

4
<file name='97-12'/>
<file name='98-02'/>
<file name='98-03'/> Node contents
<directory name='comm97'/>
<directory name='e1'/>
</directory> XML has a tree
data model
B
XML Schema (XSD)
• The origin of schema
0011 0010 1010 1101 0001 0100 1011
– XML Schema documents are used to define and
validate the content and structure of XML data.

1
2
B 4
XSLT
• XSLT is used to transform XML documents into other kinds of
0011 0010 1010 1101 0001 0100
documents--usually, 1011
but not necessarily, XHTML

1
2
4
XSLT

B
System Use-Case Diagram

0011 0010 1010 1101 0001 0100 1011

2
1
B
4
Shapefile to SVG Conversion
0011 0010 1010 1101 0001 0100 1011
Phase 1 Phase 2 Phase 3

1
2
4
Shapefile Transform
Validate
to To
GML
GML SVG

B
Validate
0011 0010 1010 1101 0001 0100 1011 GML

1
2
GML FILE XSD FILE

XSLT (Style Sheet) B


4
SVG (Final Output)
WFS

1
2
What is WFS ?

4
0011 0010 1010 1101 0001 0100 1011 WFS
•I provide u maps
•I allow editing maps
•Provide structure of schema files
•Provide info how to access all
..services

B
WFS (ACTIVITY DIAGRAM)

0011 0010 1010 1101 0001 0100 1011

2
1
B
4
GET CAPABILITIES

0011 0010 1010 1101 0001 0100 1011

2
1
B
4
GET FEATURE INFO

0011 0010 1010 1101 0001 0100 1011

2
1
B
4
GET FEATURE

0011 0010 1010 1101 0001 0100 1011

2
1
B
4
Transaction

0011 0010 1010 1101 0001 0100 1011

2
1
B
4
QUERY BUILDER
HowHow
will Iwill I
locate
locate
Rann Area, Costal
Areas
Area?having
Specific range of
Perimeter?

2
1
4
0011 0010 1010 1101 0001 0100 1011
Hey, I have
A Solution
Query
Builder

B
QUERY BUILDER

Input Parameter
0011 0010 1010 1101 0001 0100 1011 Input Value

Relation

1
2
B
Query

4
QUERY BUILDER

0011 0010 1010 1101 0001 0100 1011

2
1
B
4
LEGEND EDITOR
Hey,Can I getlike
I don’t thered
locations
Color. with it?
Can I change
larger area?

2
1
4
0011 0010 1010 1101 0001 0100 1011
Hey, I have
A Solution

Legend Editor

B
SINGLE COLOR

0011 0010 1010 1101 0001 0100 1011

2
1
B
4
GRADUATED COLOR

0011 0010 1010 1101 0001 0100 1011

2
1
B
4
LEGEND EDITOR

0011 0010 1010 1101 0001 0100 1011

2
1
B
4
MULTILAYER MAP
Can I combine
both the maps?

2
1
4
0011 0010 1010 1101 0001 0100 1011
Hey, I have
a Solution

Multilayer
Map

B
MULTILAYER MAP

0011 0010 1010 1101 0001 0100 1011

2
1
B
4
MULTILAYER MAP

0011 0010 1010 1101 0001 0100 1011

2
1
B
4
FUNCTIONALITIES

0011 0010 1010 1101 0001 0100 1011

2
1
B
4
LIMITATIONS
• The project displays data in form of SVG which requires
0011 0010 1010 1101 0001 0100 1011
the user to have an SVG enabled browser, though plug-ins
are freely available.

2
• The XSLT files are developed for specific format which

1
means every time we have a new SCHEMA a new XSLT
file needs to be created.

B
4
FUTURE SCOPE
 Generalized XSLT which can transform GML into
0011 0010SVG with0001
1010 1101 the0100
help1011
of given SCHEMA file.
 This project is developed with the perspective of

2
displaying spatial data about Gujarat, which can

1
be extended to higher levels.

4
 Raster images can be placed over SVG which

would make the presentation more interactive.

You might also like