Skip to main content

Questions tagged [st-intersects]

ST_Intersects is a SQL function that takes two geometries and returns true if any part of those geometries is shared between them.

1 vote
1 answer
91 views

These shapes do not touch and yet st_intersects() says they do if using geography based calculation (Yes, I understand the difference between geography and geometry, distortion from projection does ...
tbob's user avatar
  • 642
2 votes
0 answers
86 views

I am trying to determine if two geometries intersect by at least a certain number of units. One might think to call ST_DWithin with a negative distance, but this is not supported. I tried using ...
Mark Lofdahl's user avatar
0 votes
1 answer
101 views

We are trying to determine whether a set of linestrings intersects a polygon and are seeing two different results. BigQuery is saying they do intersect, and we can see that in geoviz it does seem that ...
Chris's user avatar
  • 3
2 votes
2 answers
99 views

I have two polygons such that polygon A (pie-shaped) covers polygon B (rectangle) as shown here: https://wktmap.com/?6aaf8c11. Why does PostGIS return false for ST_Intersects(A, B), but true for ...
Krešimir Pripužić's user avatar
2 votes
0 answers
62 views

I have a table, that represents model elements: create table bim_geometry ( id SERIAL PRIMARY KEY, name VARCHAR(64), geom geometry(POLYHEDRALSURFACEZ, 0) ) I want to get elements that fit ...
Dmitry Kulakov's user avatar
0 votes
1 answer
513 views

Basically I have a data frame with coordinates variables and other variables, and another SHP file provides polygones geographic information: I want to find out which points are inside these polygones ...
user24010620's user avatar
1 vote
0 answers
142 views

I'm using the sf package in R to understand how land cover changed from forest fires in BC, by overlapping burned areas (NBAC) with data from Dynamic World (DW). I have the DW data in the form of 5km ...
frognht's user avatar
  • 11
1 vote
1 answer
284 views

I have inherited a PostgreSQL db and I am trying to run queries like this: UPDATE geomtable a SET column = ST_Value(b.rast, 1, a.geom) FROM rastertable b WHERE ST_Intersects(b.rast,a....
Goomer's user avatar
  • 13
2 votes
0 answers
104 views

I have a seven linestring tables that I buffered to create polygons of each line network. I then successively intersected each table (Figure 1 below). I use the following sql query, but it take 36 ...
MJM's user avatar
  • 1,035
1 vote
0 answers
35 views

I have a line network and a some buffers. I would like to obtain the value of the buffers that the line intersects; however, I am getting mixed results that I am unsure how to interpret and solve the ...
MJM's user avatar
  • 1,035
1 vote
1 answer
72 views

I downloaded the administrative boundary of Germany from a website as *.geojson file. I imported this *.geojson file into PostgreSQL like this. ./apps/ogr2ogr -f "PostgreSQL" PG:"host=&...
dancesWithCycles's user avatar
1 vote
0 answers
78 views

When I run this query SELECT ST_Intersects(ST_geomFROMTEXT('POLYGON((105.767292 35.923215,112.165502 37.269499,114.177842 33.956548,113.636058 30.975062,105.393203 30.531638,105.767292 35.923215))', ...
Junnan Han's user avatar
3 votes
2 answers
225 views

I have the following query, but it takes a long time to run. I tried creating an index, but there hasn't been much improvement. Any suggestions? CREATE INDEX temp_clusters_geom_idx ON temp_clusters ...
user3222101's user avatar
3 votes
1 answer
96 views

I have the following sql code that intersects each linestring with a polygon. The problem is that when the linestring is wholly covered in the polygon the descriptor attribute of the polygon is put ...
MJM's user avatar
  • 1,035
1 vote
0 answers
407 views

I'm trying to optimise the following SQL query, which checks a list of areas to see if the user is within one of them, based on their lat/long. The database is Aurora Postgres, the areas table has one ...
h1h1's user avatar
  • 111

15 30 50 per page
1
2 3 4 5
10