Comments (2)
Example SQL command:
SELECT a.parcel_id AS parcel_id_a,
b.parcel_id AS parcel_id_b,
(ST_CollectionExtract(ST_Intersection(a.geom, b.geom), 3)) AS geom
FROM sample.heather_farms AS a,
sample.heather_farms AS b
WHERE a.gid < b.gid
AND ST_Overlaps(a.geom, b.geom);
This will return pairwise overlaps between parcels by selecting the two parcel IDs and their overlapping geometry, which can be inspected in QGIS.
Unfortunately, there are many small, sliver overlaps in typical data which need to be dealt with. I tried preprocessing with ST_SnapToGrid
(to deliberately lose negligible precision), but that sometimes invalidates the geometries with self intersections (can be fixed with ST_MakeValid
) and causes "jumps" in diagonal boundaries.
from spandex.
Done in #42. Doesn't ignore small sliver overlaps, but I'm leaving out that functionality for now and closing.
from spandex.
Related Issues (20)
- Scale to match function HOT 1
- Synthesize to match function HOT 1
- Create from point / impute from point functions
- Apply regression equation function
- Calculate distance function HOT 1
- Extract building data from parcels function
- Set/assert value function
- Clear attributes function
- Condo detection/merging function
- Additional raster functions
- Add more options to the tag function's 'how' argument
- Unit tests HOT 2
- Support custom projections HOT 1
- Scale/synthesize to match aggregate totals HOT 15
- parcel table output includes invalid geometries HOT 1
- A love to letter to dependencies: describing an environment and set of commits in which spandex runs HOT 11
- test_tableframe test fails HOT 1
- clarify the role of conventions so that users know whether spandex requires them to use exec_sql to edit databases in all cases HOT 4
- Spandex/Synthesis container size when count not none
- targets/synthesis .pop() error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spandex.