Presentation is loading. Please wait.

Presentation is loading. Please wait.

C-squares - a new simple, XML friendly, display/ query/ exchange format for representing spatial data extents at the metadata level System concept and.

Similar presentations


Presentation on theme: "C-squares - a new simple, XML friendly, display/ query/ exchange format for representing spatial data extents at the metadata level System concept and."— Presentation transcript:

1 c-squares - a new simple, XML friendly, display/ query/ exchange format for representing spatial data extents at the metadata level System concept and development by: Tony Rees Divisional Data Centre CSIRO Marine Research, Australia

2 Characteristics of metadata, and metadata spatial searches Problems with “bounding rectangles” as representations of dataset extents The c-squares concept c-squares in practice Future possibilities Topics to be covered...

3 Metadata, and spatial searching of metadata records

4 The Metadata concept... (Data level) Data Store 1 databases / data warehouses Data Store 2 offline digital data offline nondigital data (Metadata level) Metadata records (structured dataset descriptions) - as text files, database, or XML format dataset descriptions in standard format metadata query and/or exchange

5 some example Metadatabases (Data Directories)... Metadata records exist independently of the datasets they describe, may not necessarily have on-line connection to the actual data --- i.e., they act as surrogates for the data Spatial searching (where implemented) typically by bounding rectangles (N,S,W,E limits) or sometimes defined regions (R1 yes/no, R2 yes/no, etc.) + many others -- 100 < 1000?...

6 Franklin Voyage FR 10/87 CTD Data CSIRO Marine Research (etc. etc.) -9.0 -19.0 117.0 145.8 (etc. etc.) Franklin Voyage FR 10/87 CTD Data CSIRO Marine Research (etc. etc.) -9.0 -19.0 117.0 145.8 (etc. etc.) current “first pass” representation of spatial data coverage is by bounding coordinates - example: concept introduced in FGDC draft metadata standard, 1994 used for distributed spatial searching, 1995 onwards still the primary tool for conducting metadata spatial searches; integral to ISO 19115 draft metadata standard, 2002 polygons are also enterable, but seldom used for searching owing to the arithmetic overhead involved “Bounding rectangles” test: if search rectangle (blue) overlaps data rectangle (red), a supposed “hit” is returned : hit no hit false hit

7 Bounding coordinates - pluses and minuses Pluses... Metadata elements are concise User-entry is simple Spatial searching is simple arithmetic operation (looks for overlap between a “search” rectangle and available “data” rectangles) Useful as a “first pass” -- rapidly filters out many datasets not close to the region of interest Minuses … A rectangular shape does not correspond to the actual shape of many datasets Data distribution may be aligned along other than N-S or E-W axes Data distribution may be patchy or incomplete within the designated boundary Corollary … Apparent “hits” never 100% reliable (unless the data are always rectangular, e.g. mapsheets)

8 Some real-world examples (other agencies’ data)...

9 our agency’s data (marine surveys) - examples... NB, “bounding rectangle” searches result in many false or misleading hits, since large portions of the “dataset” rectangles contain no data - particularly where surveys wrap around a feature or land area, or are oriented obliquely with respect to N-S, or E-W directions.

10 state divided into 0.5 x 0.5 º squares (numbered as per relevant mapsheets) search interface has direct connection to base data (>100,000 point data records) each base data record is tagged with its relevant mapsheet number, so spatial searching is by simple numeric/text match (no arithmetic required) user can request list of hits (species) from one or multiple search squares (e.g. blue hatched examples) Germ of c-squares concept... from Ken Walker’s Bioinformatics search interface, Museum Victoria (Australia) 700 km

11 multiple square id’s could be stored in single metadata record (harvested from base data) - removes requirement to access the base data to answer search queries numbering system should be expanded to become globally applicable geographic scale (size of squares) should be variable up or down to suit variety of user needs metadata records become storage vehicles for dataset “footprints” (simple spatial objects) modifications which would be required for use with metadata... 700 km

12 The “c-squares” concept c-squares: Concise Spatial Query and Representation System

13 “c-squares string” holds ID’s of all the tiles (e.g. 1 x 1, 0.5 x 0.5 degree squares) which are intersected by the dataset spatial extent (footprint) “c-squares” principle data “footprint” using bounding rectangle data “footprint” using 1 x 1 degree c-squares actual survey location - “Franklin” cruise 10/87 same using 0.5 x 0.5 degree c-squares

14 each square is numbered according to a globally applicable system based on recursive divisions of WMO (World Meteorological organisation) 10- degree squares, e.g.: 10 degree square: 3414 (= WMO number) 5 degree square: 3414:2 1 degree square: 3414:227 0.5 degree square: 3414:227:4 0.1 degree square: 3414:227:466 (etc.) strings of codes represent an individual dataset extent, e.g. 3013:497|3111:468|3111:478|3111:479|3111:488|3111:489|3111:499|3112:122|3112:123| 3112:131|3112:132|3112:134|3112:141|3112:142|3112:143|3112:217|3112:218|3112:219| 3112:226|3112:235|3112:350|3112:351|3112:352|3112:353|3112:360|3112:361|3112:362| 3112:363|3112:370|3112:371|3112:380|3112:381|3112:390|3113:100|3113:101|3113:102| 3113:103|3113:104|3113:205|3113:206|3113:207|3113:216|3113:217|3113:228|3113:238| 3113:239 encodes the extent shown in the example: “c-squares” numbering system

15 WMO 10-degree squares notation (part) (Available via the web in NODC, 1998: World Ocean Database 1998 Documentation)

16 WMO 10-degree squares notation principle NE sector (1xxx) SE sector (3xxx) NW sector (7xxx) SW sector (5xxx) 1017 3000 3017 5000 3800 5800 7000 5017 7017 7800

17 follows “Blue Pages” (1996) extension of WMO numbering, using 4 quadrants (1, 2, 3, 4) for 5-degree squares - e.g. within 10-degree square 3414... nomenclature for 5-degree squares - e.g. in SE sector: -40 -45 -50 140 145 150 3414 WMO 10-degree square 3414 (grey) 5-degree square 3414:2 (light blue) (1 is always closest to global origin, 4 is always furthest away. For full specification refer c-squares website) 1 2 3 4

18 follows “Blue Pages” (1996) extension of WMO numbering, using 4 quadrants (1, 2, 3, 4) for 5-degree squares, plus 2 digits 00-99 for 1-degree squares - e.g. within 10-degree square 3414... nomenclature for 1-degree squares - e.g. in SE sector: 100 110 120 130 140 350 360 370 380 390 101 111 121 131 141 351 361 371 381 391 102 112 122 132 142 352 362 372 382 392 103 113 123 133 143 353 363 373 383 393 104 114 124 134 144 354 364 374 384 394 205 215 225 235 245 455 465 475 485 495 206 216 226 236 246 456 466 476 486 496 207 217 227 237 247 457 467 477 487 497 208 218 228 238 248 458 468 478 488 498 209 219 229 239 249 449 469 479 489 499 -40 -45 -50 140 145 150 3414 WMO 10-degree square 3414 (grey) 5-degree square 3414:2 (light blue) 1-degree square 3414:227 (green) (100 is always closest to global origin, 499 is always furthest away. For full specification refer c-squares website)

19 Codes have straightforward relationship with lats/longs, mapsheets, etc.... e.g.: 3414:227 (1-degree square with origin at 42 º S, 147 º E) additional degrees E [140+7] =147 additional degrees S [40+2] = 42 5-degree quadrant, i.e. 1 2 3 4 tens of degrees E (i.e., 140) tens of degrees S (i.e., 40) global sector (1=NE, 3=SE, 5=SW, 7=NW) 70 km

20 example: 3212:*** can be used instead of specifying every 1-degree square within 10 degree square 3212. This leads to corresponding data reduction, e.g. Australia (at 1-degree resolution) can be described in 343 squares rather than 800: “quad tree” -type approach used where numerous adjacent squares are occupied

21 Example database-level implementation of c-squares for metadata records (e.g. at 1 degree resolution) (etc.)

22 automated conversion of lat/long data to c-squares (ignoring multiple hits) automated conversion of GIS polygon data to c-squares extents clickable map interface for region(s) of immediate interest manual entry, with reference to marked-up mapsheet/s on-line lat/long - to - c-square converter custom digitising system (graphics tablet data input or similar) Options for c-squares data entry... 3315:130:1 3315:130:2 3315:131:1 3315:130:4 3315:131:3 3315:130:3 mapsheet marked with 0.5 degree squares - for manual entry clickable map interface (generalised example)

23 c-squares strings can be transformed into coordinate pairs (centre point of squares) and square size, by an appropriate function and then sent to Xerox PARC Map Viewer or similar, e.g.: Process invoked for web mapping (1)

24 c-squares strings can be sent directly to the CMR c-squares mapper (accessible via the web), e.g.: Process invoked for web mapping (2)

25 (Base maps are automatically chosen to fit the data range, or can be selected manually) Further examples (CMR oceanographic/biological data - 0.5 x 0.5 deg. squares):

26 c-squares spatial queries simply test whether a text string representing the search box (ideally one or several c-squares) is matched anywhere in the c-squares string … example: - search square 3113:2 will match any c-squares string which includes 3113:2 within it, e.g.: 3013:497|3111:468|3111:478|3111:479|3111:488|3111:489|3111:499|3112:122|3112:123| 3112:131|3112:132|3112:134|3112:141|3112:142|3112:143|3112:217|3112:218|3112:219| 3112:226|3112:235|3112:350|3112:351|3112:352|3112:353|3112:360|3112:361|3112:362| 3112:363|3112:370|3112:371|3112:380|3112:381|3112:390|3113:100|3113:101|3113:102| 3113:103|3113:104|3113:205|3113:206|3113:207|3113:216|3113:217|3113:228|3113:238| 3113:239 (NB, this is a simple text search and involves no arithmetic - cf. querying of bounding rectangles, polygons, or more complex spatial objects) hierarchical naming system for c-squares means that finer resolution squares are automatically picked up in any “coarser resolution” search Mechanism for spatial queries using c-squares

27 Implementable as a simple “click on a square” interface, e.g.:

28 … system does the search - checks for c- squares match if available (provides reliable matches), otherwise uses overlapping rectangles test (“possible match”)...

29 produces... (etc.)

30 Viewing the full metadata record produces... (etc.) with clickable link to show dataset extent using c-squares:

31 Base maps for displayed data can be changed at will by the user, e.g.: (numerous other maps available, sample only shown)

32 Franklin Voyage FR 10/87 CTD Data CSIRO Marine Research (etc. etc.) -9.0 -19.0 117.0 145.8 3111:499:2|3112:390:1|3111:489:3|3112:380:3|3112:380:4|3112:381:1|3111:488:2|3112:381:2| 3112:371:3|3111:478:4|3112:370:4|3112:370:1|3111:478:1|3111:479:2|3111:479:1|3112:361:4|3111:468:4|311 2:363:3|3112:361:3|3111:467:2|3112:360:2|3112:363:1|3112:362:2|3112:360:1|3112:352:4|3112:352:3|3112:3 50:4|3112:352:1|3112:351:2|3112:352:2|3112:353:2|3112:353:1 Franklin Voyage FR 10/87 CTD Data CSIRO Marine Research (etc. etc.) -9.0 -19.0 117.0 145.8 3111:499:2|3112:390:1|3111:489:3|3112:380:3|3112:380:4|3112:381:1|3111:488:2|3112:381:2| 3112:371:3|3111:478:4|3112:370:4|3112:370:1|3111:478:1|3111:479:2|3111:479:1|3112:361:4|3111:468:4|311 2:363:3|3112:361:3|3111:467:2|3112:360:2|3112:363:1|3112:362:2|3112:360:1|3112:352:4|3112:352:3|3112:3 50:4|3112:352:1|3112:351:2|3112:352:2|3112:353:2|3112:353:1 c-squares strings are suitable for inclusion as a new XML metadata element, for example...

33 7500:123:4 50 x 30 km 7500:123:455 10 x 6 km 7500:123 100 x 60 km (NB, “real” shape and dimensions vary according to position on globe) 7500:1 500 x 300 km WMO Square 7500 Actual size of c-squares, e.g. compared to U.K. : 7500 1000 x 600 km 1 x 1 degree squares is suggested as a possible minimum standard of spatial encoding for global interoperability of metadata systems (finer resolution available to users on as-needs basis) 10 x 10 deg. 5 x 5 deg. 1 x 1 deg. 0.5 x 0.5 deg. 0.1 x 0.1 deg.

34 Summary - strengths and weaknesses of c-squares Strengths... “c-squares” metadata element is a concise and flexible way of encoding a wide variety of different spatial objects - including nonlinear and incomplete (patchy) coverages automated or manual code entry (and maintenance) is possible, and relatively simple spatial searching is simple text string matching operation -- no supporting GIS system is required ( i.e., zero technological overhead) “c-squares mapper” utility provides rapid and flexible data extent visualisations, and can be called from anywhere via the web can be implemented progressively into any metadata system as an adjunct to bounding coordinates (a search can be configured to work with whatever is available) Weaknesses … may not be the only numbering convention available (Marsden Squares and Maidenhead Locators are alternatives to WMO squares, however less suitable in this application) c-squares are not uniform shape/size across the earth’s surface (true squares only at the equator); some local/national grids do not transform easily to lat/long squares may be cumbersome to encode very large, complex regions (e.g. “Pacific Ocean”) by this method - works best at continental scales and below.

35 other comments... “c-squares” notation is language-independent - can be equally used in English, French, Japanese … also discipline- independent (suitable for physical, biological, geological, topographical, plus any other data type) downwards-scalability of the c-squares notation means that it can be applied to any size region (e.g. local level) equally applicable to terrestrial and marine data no equivalent in GML notation at this time (GML only supports vector data). Even if there were a GML equivalent, c- squares would still be significantly more concise.

36 c-squares is being implemented progressively in CSIRO Marine Research’s “MarLIN” metadata system (c. 500 records to date, more continuously added) and in the CMR “CAAB” marine species dictionary (c. 3000 records). MarLIN c- squares search interface is already operational c-squares is freely available for implementation in any other agencies’ metadata systems. Possibly small “islands of interoperability” could be created, or system could simply be implemented for within-agency use c-squares could be offered to relevant user community/national bodies as an optional metadata element - possibly as a user-defined extension to a recognised metadata standard (e.g. ANZLIC, ISO) current CMR c-squares mapper is already accessible for general use. Global and selected regional mapping options already available and can be developed further. External systems already linking to the c-squares mapper include OBIS (Ocean Biogeographic Information System, USA) and FishBase (ICLARM/FAO), as well as CMR’s MarLIN and CAAB databases c-squares website (www.marine.csiro.au/csquares/) is a focal point for all c- squares related materials - including specification, background information, sample code, on-line lat/long converter, sample c-squares-enabled metadata records, and more c-squares future...

37 Potential Implementation across multiple systems (non c-squares enabled) (c-squares enabled - whole or part) catalogue 1 metadata query and/or exchange with c-squares + bounding rectangles catalogue 3 catalogue 2 Single or multi catalogue query with c-squares Single or multi catalogue query with bounding rectangles metadata query and/or exchange with bounding rectangles

38 Acknowledgements/Inspiration... Ken Walker (Museum Victoria) for showing me his Museum Victoria Bioinformatics search interface, based on 0.5 degree squares “Blue Pages” Marine and Coastal Data Directory (MCDD) for the notation for subdividing WMO squares, also for pointers to software for drawing rectangles on GIF images (as used in the c-squares mapper) and for point- and-click map searching CMR Data Centre staff for useful feedback Miroslaw Ryba (CMR) for programming assistance with the c-squares mapper John Hockaday (Geoscience Australia) and Doug Nebert (FGDC, USA) for helpful comments on prototype versions of the system NOAA “GLOBE” Project and Martin Dix, CSIRO Atmospheric Research for provision of backdrop images used in the c-squares mapper.

39 Questions, comments?


Download ppt "C-squares - a new simple, XML friendly, display/ query/ exchange format for representing spatial data extents at the metadata level System concept and."

Similar presentations


Ads by Google