Jornadas gvSIG 2009 WSS English

468 views
416 views

Published on

Published in: Technology, Spiritual
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
468
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
3
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Jornadas gvSIG 2009 WSS English

    1. 1. Web Symbol Service Prototype implementation for remote access of symbologies Google Summer of Code Cristian Martín Reinhold. Diciembre 2009 christian.reinhold@gmail.com
    2. 2. Contents • Introduction • Symbols Server • Client-Server Dialogue (WSS) • Symbology client for gvSIG 2
    3. 3. Introduction
    4. 4. The project • In collaboration of - Jaume I University - Prodevelop • Funded by - Google (SoC 2009) 4
    5. 5. The project • In collaboration of - Jaume I University - Prodevelop • Funded by - Google (SoC 2009) 4
    6. 6. The project • In collaboration of - Jaume I University - Prodevelop • Funded by - Google (SoC 2009) 4
    7. 7. The project • In collaboration of - Jaume I University - Prodevelop • Funded by - Google (SoC 2009) 4
    8. 8. Objetives 5
    9. 9. Objetives • Remote symbols access 5
    10. 10. Objetives • Remote symbols access • Provide a catalogue of symbols 5
    11. 11. Objetives • Remote symbols access • Provide a catalogue of symbols • Offer a dialogue between client and server - Client: asks for a service - Servidor: offers symbols 5
    12. 12. Symbols server
    13. 13. Some notes • Python 2.5 >> 2.6 • Django and Pinax as CMS Django 7
    14. 14. Some notes • Python 2.5 >> 2.6 • Django and Pinax as CMS Pinax Django 7
    15. 15. Some notes • Python 2.5 >> 2.6 • Django and Pinax as CMS Pinax Django 7
    16. 16. Objetives 8
    17. 17. Objetives ✓ Allows - Simple symbologies’ upload - Validation of simbologies and compulsory fields - Tags queries 8
    18. 18. Objetives ✓ Allows - Simple symbologies’ upload - Validation of simbologies and compulsory fields - Tags queries ✗ Not allowed - Legend uploads - Edit and delete symbols 8
    19. 19. Demo 9
    20. 20. Demo 9
    21. 21. Previous validation 10
    22. 22. Previous validation • Verification of - Online Resources - Validation against a .xsd file 10
    23. 23. Previous validation • Verification of - Online Resources - Validation against a .xsd file • Once uploaded - Online Resource path modification - External WMS query for snapshot image 10
    24. 24. WSS dialogue
    25. 25. WSS Server • Dialogue? - Restlet Structure • Input? - URL query • Output? - Error messages and info (xml) - Simbology file (.sld) (+ embedded image) 12
    26. 26. Restlet Structure • Separation of terms by “/” • Terms used: - Type - Categ - Tags - Filtering - Output 13
    27. 27. Restlet Structure • Separation of terms by “/” • Terms used: - Type {point, line, polygon, raster} - Categ - Tags - Filtering - Output 13
    28. 28. Restlet Structure • Separation of terms by “/” • Terms used: - Type {point, line, polygon, raster} - Categ {0: Agriculture, 1: Biodiversity, …} - Tags - Filtering - Output 13
    29. 29. Restlet Structure • Separation of terms by “/” • Terms used: - Type {point, line, polygon, raster} - Categ {0: Agriculture, 1: Biodiversity, …} - Tags {tag1, tag2, tag3, …, tagN} - Filtering - Output 13
    30. 30. Restlet Structure • Separation of terms by “/” • Terms used: - Type {point, line, polygon, raster} - Categ {0: Agriculture, 1: Biodiversity, …} - Tags {tag1, tag2, tag3, …, tagN} - Filtering {all, <pag_ini>+<group_by>} - Output 13
    31. 31. Restlet Structure • Separation of terms by “/” • Terms used: - Type {point, line, polygon, raster} - Categ {0: Agriculture, 1: Biodiversity, …} - Tags {tag1, tag2, tag3, …, tagN} - Filtering {all, <pag_ini>+<group_by>} - Output {.res, .sld, .xml} 13
    32. 32. Example 1 14
    33. 33. Example 1 • Results (.res) by categories 14
    34. 34. Example 1 • Results (.res) by categories - How many point symbols are there for each category? 14
    35. 35. Example 1 • Results (.res) by categories - How many point symbols are there for each category? <host>/symbols/points/any/all.res 14
    36. 36. Example 1 • Results (.res) by categories - How many point symbols are there for each category? <host>/symbols/points/any/all.res - ¿How many polygon symbols are there for each category that also has both tags “lake” and “Spain”? 14
    37. 37. Example 1 • Results (.res) by categories - How many point symbols are there for each category? <host>/symbols/points/any/all.res - ¿How many polygon symbols are there for each category that also has both tags “lake” and “Spain”? <host>/symbols/polygons/lake+Spain/all.res 14
    38. 38. Example 2 15
    39. 39. Example 2 • Symbols metadata (.xml) 15
    40. 40. Example 2 • Symbols metadata (.xml) - List the all metadata (id, tags, titulo, ...) symbols of page 2, grouped 8 by 8, where their category is “3:Agriculture” and its tag “corn”. 15
    41. 41. Example 2 • Symbols metadata (.xml) - List the all metadata (id, tags, titulo, ...) symbols of page 2, grouped 8 by 8, where their category is “3:Agriculture” and its tag “corn”. <host>/symbols/points/3/corn/2+8.xml 15
    42. 42. Symbology client
    43. 43. WSS client • gvSIG extension of the symbols library • It allows: - Local and remote symbol query - Local and remote symbol loading and safe them locally 17
    44. 44. Lacks • Not allowed - Online Resources from WSS server not parsed properly 18
    45. 45. Demo 19
    46. 46. Demo 19
    47. 47. Future 20
    48. 48. Future • Encourage organisms and enterprises to use WSS for publishing their own symbols 20
    49. 49. Future • Encourage organisms and enterprises to use WSS for publishing their own symbols • Develop of a complete specification 20
    50. 50. Future • Encourage organisms and enterprises to use WSS for publishing their own symbols • Develop of a complete specification • Extend the WSS protocol 20
    51. 51. Future • Encourage organisms and enterprises to use WSS for publishing their own symbols • Develop of a complete specification • Extend the WSS protocol • Better usability 20
    52. 52. Questions ? Cristian Martín Reinhold. Diciembre 2009 christian.reinhold@gmail.com http://confluence.prodevelop.es/display/WSS/Home

    ×