annotating wms with xima (how to scribble on your map) ian turton centre for computational geography...

24
Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds [email protected]

Upload: ross-carter

Post on 05-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Annotating WMS with XIMA(How to scribble on your map)

Ian TurtonCentre for Computational

GeographyUniversity of Leeds

[email protected]

Page 2: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Summary

• What?

• Why?

• How?

Page 3: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

What is Annotation?

1. The act or process of furnishing critical commentary or explanatory notes.

2. A critical or explanatory note; a commentary.

• In geography often refers to adding a note to a map

Page 4: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk
Page 5: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk
Page 6: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk
Page 7: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk
Page 8: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk
Page 9: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk
Page 10: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Why Annotate?

• Draw attention to a point of interest

• Communicate • Collaborate• Summarise• Highlight patterns, similarities

/differences

Page 11: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Open Standards

• Availability– Open Standards are available for all to

read and implement.

• Maximize End-User Choice– Open Standards create a fair,

competitive market for implementations of the standard. They do not lock the customer in to a particular vendor or group.

Page 12: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Requirements

• Annotations…– Are independent features– Must annotate something– Often point to a spatial subset of an

image– May link to many maps or images– May have different shapes on different

maps– May have rich content– May have properties

Page 13: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Xima history

• 2001 – initial version – OGC-01-019

• 2004 – GML based version – OGC-04-034

• 2005 – GML in JPEG 2000 for Geographic Imagery (GMLJP2) – OGC-05-047

Page 14: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Xml IMage Annotation (XIMA) version 1

• Allows users to draw points, lines and polygons on to an image (WMS maps are images).

• User can attach text, images, video, URLs to the geometry.

• The xima representation can be stored on a server and passed to other users.

• A xima aware client can allow users to access the content of the annotations.

Page 15: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Annotated Map

Page 16: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Types of Annotation version 2

• Label• Point of Interest• Region of Interest• Feature of interest

Page 17: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Label

<Label><gml:position> <gml:Point srsName = “..”>

<gml:pos>200 200</gml:pos>

</gml:Point> </gml:position> <labelValue>Forest

Fires</labelValue></Label>

Page 18: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Point of Interest

<PointOfInterest> <gml:position> <gml:Point> <gml:pos>100

100</gml:pos> </gml:Point> </gml:position> <labelValue>fire source</labelValue></PointOfInterest>

Fire Source

Page 19: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Region of Interest

<RegionOfInterest> <gml:extentOf> <gml:Polygon srsName="#epsg4326"> <gml:exterior> <gml:LinearRing> <gml:coordinates>0,0 100,0 100,100

0,100 0,0</gml:coordinates> </gml:LinearRing> </gml:exterior> </gml:Polygon> </gml:extentOf> <labelValue>fire impact region</labelValue> <indicatedBy> <Arrow> <start> <gml:Point> <gml:pos>-50 -50</gml:pos> </gml:Point> </start> <end> <gml:Point> <gml:pos>0 0</gml:pos> </gml:Point> </end> </Arrow> </indicatedBy></RegionOfInterest>

Fire Impact Area June 2003

Page 20: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Feature of Interest

<FeatureOfInterest><gml:position><gml:Point><gml:pos>155 160</gml:pos></gml:Point></gml:position><labelValue>forest

road</labelValue><gml:featureMember

xlink:href="#p1"/></FeatureOfInterest>

Feature Database (e.g. OGC WFS)

Feature pointer

Fire Access Road

Page 21: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Simpler implementation

• No need for specialist clients or servers

• GML features stored in transactional WFS

• Any WFS client can now display annotations.

Page 22: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Annotation for jpeg2000

• Splits the annotation into– Pointer

• A GML curve

– Content• A label or image

– Annotates• GML geometry

Page 23: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Specialised Annotation elements

• PointOfInterest• CurveOfInterest• RegionOfInterest• FeatureOfInterest

• Can be styled using gml:defaultStyle or SLD

Page 24: Annotating WMS with XIMA (How to scribble on your map) Ian Turton Centre for Computational Geography University of Leeds i.turton@geog.leeds.ac.uk

Conclusions

• Annotating maps and images is a good thing.

• XIMA is not yet a standard but its getting there.

• Watch this space.