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
2
votes
2answers
86 views

Tool for making sure two vector layers are identical?

I have to constantly compare new project boundaries with old project boundaries (both are polygon shapefiles) to make sure that both the outside boundaries and the inside segments haven’t changed. Is ...
0
votes
1answer
339 views

ArcGIS projected area greater than geodesic area

Question Shouldn't the geodesic area always be greater than the planar area of a polygon? Background Tested in ArcMap and ArcGIS Pro, but several my polygons in a shapefile are having projected ...
0
votes
1answer
106 views

Using geometry stored in SQL Server table instead of WKT as input to function

I am new to SQL Server, I have a function called STVectorize that takes a geometry and breaks it down into its constituent vectors: SELECT e.[id], e.[element_id], e.[subelement_id], e.[vector_id], ...
1
vote
2answers
90 views

Longitude, latitude to polygon in ArcPy

I'm working in ArcGIS 10.4.1 and trying to write a script (in Python) for making a polygon shapefile from latitude/longitude. txtFile=arcpy.GetParameterAsText(1) shpOUTpolygon=arcpy....
7
votes
4answers
3k views

Reading geopackage geometries in Python

Let me state up front that I'm totally new to the field of GIS. I'm doing a project involving a database of buildings and their geometries in my home country (the Netherlands). At the moment, I'm ...
2
votes
1answer
75 views

Impossible to Add geometry attributes on a .shp file with QGIS

I am using QGIS version 3.8.3-Zanzibar I have a shapefile and I want to compute the area by using Vector/Geometry tool/Add Geometry attributes. Runnig this tool I get : Feature (11) has invalid ...
1
vote
0answers
19 views

making image to geometry with mobis images [closed]

I am trying to do the classification of farming areas and I do not want to include the city and forest areas. so I want to use land without forest and city. I want to make forest_and_city to geometry ...
4
votes
0answers
167 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:...
2
votes
1answer
148 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
1answer
156 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 ...
2
votes
1answer
423 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
84 views

Converting geom polygon to point x point y using PostGIS

I have data geom polygon like this: ...
1
vote
0answers
29 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
95 views

Problem with input feature as clipping geometry in ArcGIS Pro

I am clipping several rasters to the shape of a polygon feature class using the feature class for clipping geometry. However the output looks like this: There should be NoData values around the ...
1
vote
0answers
144 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
73 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
29 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
39 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
165 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
187 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
182 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
29 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
473 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
30 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 ...
4
votes
2answers
205 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
50 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
214 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
1answer
93 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 Toad: SDE.ST_GEOMETRY(1,1,666666.0,4444444.5,666666.0,4444444.5,NULL,NULL,NULL,...
1
vote
0answers
175 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
75 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
260 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
810 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
580 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
64 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
44 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
93 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
95 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....
1
vote
2answers
378 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
78 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
43 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 ...
2
votes
0answers
135 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
340 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
250 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
91 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
43 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
35 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 ...
1
vote
0answers
78 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
59 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
34 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
41 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 2 3
4
5
27