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

Download geography shapes #110

Open
GordonBryden opened this issue May 4, 2023 · 2 comments
Open

Download geography shapes #110

GordonBryden opened this issue May 4, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@GordonBryden
Copy link
Member

Add a function to download geography shapes to users system. Useful for more advanced geographical manipulation

@GordonBryden GordonBryden added the enhancement New feature or request label May 4, 2023
@GordonBryden GordonBryden self-assigned this May 4, 2023
@GordonBryden
Copy link
Member Author

PREFIX geosparql: http://www.opengis.net/ont/geosparql#
SELECT ?s ?p_blank ?o_blank
WHERE {
BIND (geosparql:hasGeometry as ?predicate)
BIND (http://statistics.gov.scot/id/statistical-geography/S92000003 as ?s)
?s ?predicate ?bnode .
?bnode ?p_blank ?o_blank .
}

@GordonBryden
Copy link
Member Author

PREFIX geosparql: http://www.opengis.net/ont/geosparql#
SELECT ?geocode ?map
WHERE {
BIND (geosparql:hasGeometry as ?predicate)
BIND (http://statistics.gov.scot/id/statistical-geography/[geocode] as ?geocode)
?geocode ?predicate ?bnode .
?bnode ?p_blank ?map .
FILTER (?p_blank = geosparql:asWKT).
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant