Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spatial conditions - add sub to match single element #326

Closed
GoogleCodeExporter opened this issue Mar 27, 2015 · 4 comments
Closed

spatial conditions - add sub to match single element #326

GoogleCodeExporter opened this issue Mar 27, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

sp_match_text can be used to match an element, but does not support 
optimisations. It would also be risky to optimise it, as users could be 
matching against randomly generated or otherwise inconsistent coord_ids.

A sub such as sp_select_element() could specify optimisations.  One could argue 
the element chosen could be arbitrary, but this is semantically an unusual use 
case due to the "select" in the sub name.  

sp_select_element can just wrap around sp_match_text.

Original issue reported on code.google.com by shawnlaffan on 12 Aug 2012 at 12:16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants