Skip to content

Instantly share code, notes, and snippets.

@quommit
Last active December 11, 2015 10:08
Show Gist options
  • Save quommit/4584740 to your computer and use it in GitHub Desktop.
Save quommit/4584740 to your computer and use it in GitHub Desktop.
SIGUA attribute queries for polygon classification by use category according to DB-SI criteria. These are ad hoc queries for University of Alicante Faculty of Science VI, floor 1. Expressed in pseudo-code.
//Query passageways (P) in enclosure set (U)
//Use category identifiers: 97 (lobbies), 98 (hallways)
var P = from item in U
where U.actividad.EqualsAny (97, 98)
select item;
//Query potentially crowded rooms (E) in enclosure set (U)
//Use category identifiers: 1 (lecture rooms), 5 (research labs), 9 (libraries or reading rooms)
var E = from item in U
where U.actividad.EqualsAny (1, 5, 9)
select item;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment