automated coding of stream order or sql magic in gis
play

Automated Coding of Stream-Order or: SQL Magic in GIS By Gido - PowerPoint PPT Presentation

Automated Coding of Stream-Order or: SQL Magic in GIS By Gido Langen The sample network - Strahler order coding - Why a new method 1 st order 2 nd order 3 rd order 4 th order Network representation - Geometric network - Implicit network


  1. Automated Coding of Stream-Order or: SQL Magic in GIS By Gido Langen

  2. The sample network - Strahler order coding - Why a new method 1 st order 2 nd order 3 rd order 4 th order

  3. Network representation - Geometric network - Implicit network data structure - No explicit network data structure/model

  4. Explicit network data model - Network topology - Connectivity - From-to-node notation

  5. Create network data structure - From geometric data structure - To topological network data model Create nodes Spatial join Node removal Start & end nodes Confluence or braiding Remove duplicate nodes

  6. Topological network data model - Segment table - Node table

  7. Strahler order coding rules - Iterative elimination of upper-most branches - Special cases: bridges, braided streams

  8. Strahler order coding rules - SQL implementation • Segments whose From-nodes have no corresponding To-nodes • Find bridge segments • Find nodes that are From-nodes of more than one segment • Confluences of braided streams keep highest Strahler order code

  9. Uppermost segments - From-nodes without corresponding To-nodes • Summarize To-nodes • Relate From-nodes to To-nodes • “Unrelated” From -nodes are part of uppermost segments • Code segments create view end_node_frequency as select node, count(node) as frequency from end_nodes group by node

  10. Bridge segments - From-nodes with a single To-node create view bridge_nodes as select * from end_node_frequency inner join segments on end_node_frequency.node = segments.to_node where end_node_frequency.frequency = 1 and segments.code = segments.curr_ord

  11. Braided streams - Start at To-nodes with multiple From-nodes - Code bridge segments - Keep highest order at downstream confluences

  12. Resulting Network

  13. Magic of Attribute - Quality control & efficiencies • Find gaps easily • Nightly updates of database because of attribute changes • Good database design/database normalization • Faster more reliable updates

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend