We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [geometry]

(1) abstract geometry; (2) storing geographic data in projected coordinates; (3) a generic ESRI term for vector features; a class for "geometry" objects.

Filter by
Sorted by
Tagged with
4
votes
0answers
44 views

QGIS geometry error:Hole lies outside shell

I am using QGIS 3.8 and I am using a layer from OSM of Tokyo city. The layer is consisted from many polygons and I have tried to merge it but I got error. This is how the original layer was look like:...
0
votes
0answers
23 views

How to find GPS coordinates of a point of intercept of a line originating from one GPS coordinate intersecting onto the ellipsoid / earth? [closed]

I have GPS coordinates including elevation (WGS84) of Point A, which is located on peak of a hill. I draw an imaginary line with a known azimuth angle wrt north and depression angle from Point A on to ...
2
votes
1answer
34 views

Why do two tables with valid geometry return self-intersection errors when intersected?

I have two tables A and B, both have valid geometries when I check with ST_IsValid. In my query, I intersect the two and the query stops in the middle because of this error: ERROR: ...
2
votes
0answers
42 views

Error while exporting geometry to CSV with MMQGIS

I am importing a DIVA-GIS shapefile into QGIS. It has a lot of polygons on it. My aim is to group different groups of polygons together and dissolve their internal boundaries so that I end up with ...
1
vote
1answer
16 views

Getting geometry of Image in Google Earth Engine

I have an image which is from type 'ee.Image' and I want to extract its geometry so that: im_geo = im.geometry(); but the geometry function of 'ee.Image' is DEPRECATED! Is there another way for it?
-2
votes
1answer
50 views

Converting geom polygon to point x point y using PostGIS

I have data geom polygon like this: ...
1
vote
0answers
18 views

Zoom to extent using geom or xmax, ymax?

I made a function to zoom to polygon geom if I click the button. This is my script: $.ajax({ type: "POST", url: 'core/zoomtolocation', data: { ...
0
votes
0answers
26 views

Problem with input feature as clipping geometry in ArcGIS Pro

I am clipping several rasters to the shape of a polygon feature class. However the input feature is not used as clipping geometry in ArcGIS Pro. When I do the same thing in ArcMap it works. Any idea ...
1
vote
0answers
76 views

Selecting geometry from PostGIS compatible with Open3D

I have a cube stored as geometry in a PostGIS DB. I get the coordinates using the following SQL: select ST_AsEWKT(geom) from polyhedral.vol_1 where id = 1 This presents the following result. ...
1
vote
0answers
39 views

High cost of geometry bitmap heap scan

I have a PostGIS database with tables osm_admin (with contains all administrative boundaries from osm data) and osm_landusages (with contains all landuse areas form osm - like forests, industrial/...
1
vote
0answers
20 views

When exporting shapefile I added polygons to I get an error

I was tasked with updating a map at work and had to add a number of polygons to the layout. I did this by creating features and then just selecting polygon or autocomplete polygon and just drawing ...
2
votes
1answer
26 views

Determining types of geometry in a single table?

I need to determine whether any tables within my database have more than one geometry type. For example, I want to know if there are Points AND multipoints within the same table. Currently, I have ...
1
vote
1answer
44 views

PostGIS create table with multiple geometry

I want to create a table with a geometry field in it. e.g.: CREATE TABLE ptgeogwgs(gid serial PRIMARY KEY, geog geography(POINT) ); In my case, this geometry field can either be a POINT, a ...
1
vote
2answers
33 views

Selecting from Point column in PostgreSQL?

How to select from Point column data type(native) in PostgreSQL? select a.* from indsolv.address As a where a.location = '93.2321, 21.0321' Getting error for the above query! ERROR: operator does ...
3
votes
1answer
66 views

Calculating distance (lat, lon) for geom point using PostGIS

I have point in my db (Postgres postgis): CREATE TABLE geometries (name varchar, geom geometry); With example data: INSERT INTO geometries VALUES ('Point', 'POINT(0 0)'); INSERT INTO geometries ...
2
votes
0answers
20 views

Snap points to nearest line - however limit snapping to polygon the point sits within

I am trying to snap a series of points relative to the nearest line (which i know can be achieved via "Snap geometries to layer", however, i want to restrict snapping to the polygons the points sit ...
6
votes
3answers
338 views

Find intersecting polygon within a layer

I would like to find all polygons, which intersect another polygon within the same layer. I thought the geometry checker could do the job, but it doesn't. All polygons are intersecting except one, ...
0
votes
1answer
18 views

Query polygons using ogrinfo but not generate a new layer

I want to list the polygons in my layer A that intersects other polygon B, using ogr. The desired result is similar to "Select by location" tool in QGIS or ArcGIS Desktop, where I expect an index of ...
3
votes
2answers
66 views

Apply st_bbox() for each feature in sf

I have a set of polygons and I want to find the bbox for each polygon using sf. With st_bbox I obtain the bbox for the whole set of features but I want to obtain bbox for each feature. I try to use ...
1
vote
1answer
26 views

Polygon visibility with overlapping polygons QGIS 3.4

I am marking forestry boundaries over google satellite tiles. The forest in question has areas of farmland within the outer boundary. One area of farmland has a patch of forestry within it's ...
1
vote
1answer
34 views

Collecting geometries and selecting attribute-value using QGIS

In QGIS, I have a polygon-layer with communes. Some communes consist of different parts (exclaves). I want to merge all parts of the same communes to one object. How is it possible to define which ...
0
votes
0answers
35 views

Selecting the SHAPE column in Toad

I've noticed that SQL clients select the SHAPE column from SDE.ST_GEOMETRY in different ways: select shape from roads where Toad: SDE.ST_GEOMETRY(1,1,666666.0,4444444.5,666666.0,4444444.5,NULL,NULL,...
1
vote
0answers
44 views

Distance between centriod of the polygon and each and every point of the polygon [closed]

I'm trying to calculate the distance between centriod of the polygon and each and every point of the polygon using GeoPandas Python I need to find the distance between centroid(18.9568383649 72....
0
votes
1answer
33 views

Checking feature overlap using ArcPy cursors

I have a set of geometries that I want to check whether they touch another geometry. I have created a tuple "tiffs" where I want position 0 when touches is true. tif[0] and tif1 are strings. The ...
2
votes
1answer
30 views

Transforming geometry points coordinates to WGS84 in geodataframe

I have shapefile that has been brought into my script as a geodataframe. Initially, it shows no crs although the source originally had a datum = NAD83. I want the coordinates for the geometry (the ...
10
votes
4answers
553 views

Symbolise polygon outline where it doesn't coincide with other feature using geometry generator in QGIS?

I would like to symbolise a polygon without converting them into a line. I have a polygon feature (hatched and bounded by red line) which coincides on top and bottom of the coastline (blue line). I ...
3
votes
1answer
143 views

How do I use pre-existing Lat/Long data in a SQLite table with QGIS?

I have an application that stores its data in a SQLite database. I can't modify the application or database to add geometry extensions, but it does already have latitude and longitude columns for each ...
1
vote
0answers
38 views

Identifying convex and concave portions of polygon using ArcMap

I have a polygon shapefile depicting an island. For my study, I'm interested in two coastal features of the island: convex sections (portions of the coastline that extend into the ocean) and concave ...
1
vote
0answers
22 views

PostGIS - Measuring the angle at the touching point of two lines

I want to calculate the angle of two lines of a routing network exactly at the "touching point" (the topological vertex). My previous attempt was using the ST_ANGLE() function of PostGIS, which gave ...
0
votes
0answers
42 views

Counting points in polygon containing holes using QGIS?

Basically, I have these area (part of a bigger map) containing many holes (e.g. lakes) I have thrown on the map some 1000 random points and I want now to count those that fall in that area. I already ...
4
votes
1answer
66 views

Find nearby points in space and time

I have a table that has an ID, point geometry and time. It's basically GPS coords and some other data. I want to be able to select all rows that interact (come close in space and time) to my target ID....
0
votes
1answer
31 views

Add geometry attributes tool in ArcMap successfully runs but no fields are added to attribute table

I am attempting to add a line bearing attribute column to my shapefile in ArcMap. I'm using the Add Geometry Attributes tool to accomplish this. Running this tool is successful, however when I inspect ...
1
vote
0answers
35 views

How can I easily determine the precision of an OGR geometry?

I'm writing a python tool to update some river catchment boundaries and keep running into geometry errors, such as WARNING: TopologyException: Input geom 1 is invalid: Self-intersection at or near ...
0
votes
2answers
40 views

Deleting several features from shapefile using ArcPy? [closed]

I recently started working with ArcMap and Python. I try to delete several objects from my shapefile in ArcMap. I would like to select for example the line which are too close together. I don't want ...
1
vote
0answers
33 views

QGIS: Update geometry via geom_from_wkt('POINT(X,Y)') - how to correctly parse string columns?

The columns containing X and Y strings look like -1234,56 So far i tried: geom_from_wkt(concat('POINT(',replace("wbr_komplett.X",',','.'),',', replace("wbr_komplett.Y" ,',','.'),' )')) and also: ...
2
votes
2answers
56 views

Making New Feature Class with Midpoint of Line Feature using ArcGIS Desktop?

I have a problem with creating a new shapefile ( for Points) with a midpoints from Line shapefile. I cannot use FeatureVerticesTo Points_management because I only have access to Basic and Standard ...
3
votes
1answer
105 views

Creating 3D geometry column by combining existing 2D geometry column with “elevation” column?

I want to create a table that contains 3D data. I currently have 2D data stored as EWKT, which is multipoint geometry in one column, and another column that has elevation from sea level in another ...
3
votes
1answer
59 views

ST_IsValid and duplicate vertex

I expected to get 'false' from the following statement: SELECT ST_IsValid(ST_GeomFromText('POLYGON((0 0,10 0,10 10,10 10,0 10,0 0))')); Instead it returns true! Even if the vertex in 10,10 is ...
0
votes
0answers
33 views

WFS-T geometry name problem OpenLayers

I am sending my modified features to database with transactional WFS. The problem is when I render my vector features on map their property name which describes geometry is changed to 'geometry' and ...
2
votes
0answers
25 views

GDAL osgeo for python treating Z dimension differently

I have a space defined by a polyhedral surface, and I would like to check if a point is inside this space, and I would like to do this in python with gdal. After trying the default installation of ...
0
votes
0answers
10 views

(DSAS) Baseline won't Transect Appended Shoreline

I am trying to Transect my "Baseline" with my appended shoreline using DSAS in ArcGIS version 10.3. But this message window keep popping up every time I transect ( see attached first photo). Its ...
2
votes
0answers
42 views

QGIS: check and repair geometry

I'm studying how to check and repair geometry correctly and found the "check geometry" tool which seems to work fine. However there are also tools called "check validity" and "fix geometry" which ...
1
vote
0answers
29 views

Check geometries in QGIS for multiple KML Files all at once in R or Python? [closed]

I am very new to GIS analysis so please bear with me. I have 2000 KML files. I am currently using QGIS Check Geometries function to generate the error report that consists of the following. A CSV ...
0
votes
0answers
25 views

What closeness measures are appropriate to this undirected graph?

I need a way to measure the closeness centrality of every single NODE(i) in respect to all NODES(j), 1 NODE(i) to all NODES(j) and, another measure that describe somehow the geometric properties of ...
1
vote
0answers
29 views

Creating planar rectangle about points of interest in Google Earth Engine?

If I have a list of points of interest in Google Earth Engine, e.g. var pointList = [ ee.Feature(ee.Geometry.Point(-73.96, 40.781)), ee.Feature(ee.Geometry.Point(6.4806, 50.8012)) ]; var ...
1
vote
0answers
55 views

Pros/Cons of using 'ellipsoidal' for calculating geometry in QGIS?

When I have found geometry attributes in the past, I've found my distances are often out by quite a lot unless I use an ellipsoidal CRS to calculate them. Why is this the case? Should I be using ...
2
votes
1answer
71 views

Optimising Large Spatial Queries in SQL

I'm sure similar answers have been given elsewhere but no matter what I have tried I am unable to optimise this query. Details: TableA has 3.5mill records TableB Had 57000 records but I have ...
0
votes
1answer
41 views

ArcPy UpdateCursor fails when adding a transform to SHAPE@XY due to type error

I have a Feature class with 285k point features. I am running this code on it: with arcpy.da.UpdateCursor(FeatClass, ["SHAPE@XY"]) as cursor: for row in cursor: cursor.updateRow([[row[0][...
1
vote
1answer
33 views

Measuring area covered by linestring

I have a trajectory given by GPS which I store as a ST_LineString() and I'd like to know the area covered by the line string. I know the "width" of the trajectory, but I'm not sure how to approach the ...
2
votes
0answers
61 views

Applying filter on the geometry for a given feature?

I have multiple layers, with multiple features, where I am interested in extracting information from a given feature within a rectangle. I am able to achieve this using the following filter, ...