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
1
vote
0answers
14 views

Processing modeler in QGIS 3.16: connection line and wedge buffer for several points

I would like to automate two tasks using the processing modeler of QGIS 3.16. The two layers A (shown in blue) and B (orange) consists of point geometries. They should be used as input by the user and ...
0
votes
0answers
30 views

Geometry offset function is not working correctly

I'm trying to add offset in polygon feature and I'm using Esri a GIS software in C#. The issue that I'm facing is after I create a polygon and click on functionality for creating offset inside polygon ...
3
votes
1answer
39 views

How to get in point geometry to pinpoint accurately where geometries have mistakes?

Basically I have some line and some polygon tables which have invalid some geometries and apparently PostgreSQL returns errors when trying to return reports which rely on intersecting these features ...
0
votes
0answers
33 views

QGIS Add Vector Geometry to Polygon query

I have intersected a landcover map with 10km grid squares and then used the vector geometry tool (Add/ Export geometry) to calculate the area of each landcover feature within the grid square. In the ...
-1
votes
0answers
22 views

Geometry in shapefile causing pgAdmin to crash [closed]

I uploaded a shapefile to a database via QGIS and for some reason querying the data from this set causes pgAdmin4 to crash. What's interesting is that if I just query without the geom column (which ...
0
votes
0answers
8 views

How to make invalid geometry valid in Tibero Spatial?

Keeping invalid geometries in databases is rather considered as a bad practice. Yes they can be stored (inserted) but further process, including Intersection (which is one of strongest reason of using ...
0
votes
0answers
17 views

Implementation for Boolean operations on polygons like union, intersections, contains?

https://en.wikipedia.org/wiki/Boolean_operations_on_polygons#Algorithms I wish to understand how are Boolean operations on polygons implemented in GIS related geometry libraries. I've tried to go ...
2
votes
2answers
177 views

Create a shapefile from geometry with OGR

As I see from the GDAL/OGR available solutions, most of the new OGR data sources (shapefile etc.) are being created from an already existing similar file. This way many steps of directly creating ...
1
vote
1answer
21 views

Decoding Shape using Arcade in ArcGIS Pro

I have Shape column in ArcGIS Pro. How do I get x,y from it with Arcade?
1
vote
1answer
14 views

How to create points at line meeting points in ArcMap?

I have some countinous multilines(with 1 or more common points), and i would like to create points at the common points. I tried with starting point and ending point creation, but it doesn't end or ...
0
votes
1answer
35 views

NAs for Raster values

I'm uncertain as to why my geometry coordinates are empty. The dataset I have derived the X and Y coordinates had the same CRS projection as the MODIS data landcover. The following data is MODIS ...
0
votes
0answers
15 views

QGIS - Topological colour doesn't add new layer

I have been reading the "Handling Invalid Geometries" topic in the QGIS Tutorials & Tips section, to which the link you can find here: https://www.qgistutorials.com/en/docs/3/...
0
votes
0answers
17 views

Reading geometry that starts with “0xB508000…” and may be WKB

Someone has given me an Excel file that seems to have been exported from ArcGIS. All columns are fine, except for the geom field. Every row in that field starts with 0xB508000... and some number of ...
2
votes
1answer
24 views

Problem creating view points

I have to create view points in order to do a simple intervisibility analysis. However, when I run it, I get this message: I tried fixing the geometry, as there seems to be a null geometry somewhere, ...
0
votes
0answers
16 views

Geoprocessing describe geometry object in ArcMap Python Window

I am attempting to identify features in multiple feature layers by their attributes and perform a union on the geometry object. Essentially pull specific features from different layers and combine ...
1
vote
0answers
18 views

Spheroid distance to sphere distance

I have linestring that is calculated on a spheroid. Shpere distance of where the point should be on the linestring Distance spheroid / sphare. On one lib, its all calculated in spheroid (Normal map)....
2
votes
1answer
26 views

Order matched geometries on line by distance in PostGIS

I want to be able to find Points near (with a given threshold) a given Line-Geometry and Polygons that it crosses. I already have that part of the problem solved, but now I'd like to order the results....
8
votes
3answers
182 views

Connecting points with parallel lines

Background I'm trying to create parallel lines that go through each parallel points. In this points arrangement, it's North-South lines: I use Python and the libraries: pygeos, geopandas, and shapely ...
1
vote
1answer
17 views

How to find WFS layer geometry type, when the layer is empty (0 features)?

Is it possible to find the geometry type of a layer in a WFS, using OGR, when the layer is empty (0 features)?
0
votes
1answer
35 views

Shapely Intersection return types

Trying to shoot a ray (LineString) through multiple shapely objects and figuring out how many intersections there are. Having some issues though, as the intersection-method have multiple return types ...
3
votes
1answer
53 views

QGIS - Buffer distance as portion of polygon variable width

Is it possible to create a buffer of for example 3/4 of the polygons local width? I have a polygon of river body, somewhere the river has 20 meters in width, somewhere 70 m. I need to extract the ...
1
vote
1answer
24 views

GDAL CSV Driver with “GEOMETRY=AS_XYZ” option not creating X Y columns

I have an iOS GIS app written in Swift that relies heavily on GDAL 2.2 for the spatial data management. I've written Swift wrappers around the parts of the standard-C GDAL that I want to use. I'm ...
7
votes
1answer
105 views

Identifying duplicate geometries in different layers with QGIS

I'm using QGIS 3.16 Hannover under MacOS 10.13 environment. I've got two polygon shapefile layers: 'LIC' and 'ZEPA'. Some polygons (name, code & geometry) are present in both layers and I want to ...
4
votes
1answer
52 views

Changing the order of the polygon's nodes using the geometry generator in QGIS

How can I, using the geometry generator, change the order of the polygon's nodes, starting from the most northerly node in QGIS?
1
vote
0answers
33 views

Writing script to convert coordinates in .txt file into polygons using ArcPy

I'm a student in my first year of learning Python and am 100% stuck at the moment. I by accident created a script that converts shapefile coordinates into a .txt file; but I need to do the opposite. ...
1
vote
0answers
23 views

Points interpolation on a polygon geometry

I would like to know how to interpolate point data on a polygon geometry. I have two PostGIS tables: the first one contains hourly rain values evaluated in the nodes of a regular grid (specified in a ...
5
votes
3answers
79 views

Generating start and end points for individual road segments

I have shape file with road network (line layer) as shown in Image 1. The road network contains multiple line segments as shown with blue line in image. I am trying to generate start and end point of ...
4
votes
1answer
99 views

Connecting points with line using virtual layer in QGIS

I have 10 points in QGIS layer as shown in Image 1. I am trying to connect points with lines in required sequence as shown in Image 2. However, when I tried to connect all points with virtual layer, ...
1
vote
1answer
24 views

How to create rectangles of varying dimensions from a multi-point Feature Collection in Google Earth Engine?

I have a Shapefile containing point data that has three variables (i.e. name, width, height). I ingested it as a Feature Collection in Google Earth Engine (GEE). I want to make rectangles of varying ...
1
vote
0answers
32 views

Geometry converts from Polygon to Multipolygon in PostGIS

I'm having difficulties with the Geometry types in PostGIS and/or ArcPy and hope some of you can shed a light on what I'm missing or how I can fix it. I have a .gdb containing Polygons. The Table in ...
1
vote
1answer
58 views

Deleting collinear vertices from polygon feature class using ArcPy

I have a shapefile with polygons and want to write the Python script to eliminate collinear vertices in a polygon. I found a solution for the line feature class, but not for polygon: Deleting ...
1
vote
1answer
63 views

Set geometry in geodataframe to another column fails : TypeError: Input must be valid geometry objects:

I have CSV file which I read with geopandas. I use "read_file",define the crs , but seems like it doesn't know to choose the correct geometry column. I have tried to use "set_geometry&...
1
vote
1answer
33 views

Draw an envelope for only selected features in many/Batch layers in QGIS

I have about 1000 layers, I did select by attributes Batch files and select by one step features I need in all 1000 layers. Now I need to draw the envelope for those selected features in all 1000 ...
0
votes
1answer
27 views

Applying function to each element of SpatialLinesDataFrame

How do I apply functions to each element of a SpatialLinesDataFrame, in particular using other data also stored as an attribute (e.g. coordinates or elevation per line vertex)? I've a number of ...
3
votes
1answer
69 views

Return Geometry in a Pandas Dataframe Google Earth Engine

I have found some sample code that returns features from a GEE image to a pandas dataframe based on specific points in my feature collection. The challenge is I need the geometry on these points to be ...
2
votes
1answer
144 views

How to create space buffer between touching boundary polygon

I have some polygons that share common boundary. I want to create some small space buffer between it, so no polygon has shared the same boundary. Is there any way to do it instead of manual adjust the ...
2
votes
2answers
49 views

Finding area of individual multipart parts using PyQGIS

Im trying to find the area of each part in multipart polygons. I know some polygons have multiple parts, so why cant I access the individual polygon parts like this (why is parts list empty): lyr = ...
0
votes
0answers
35 views

Setting a number of decimal places a GeoJSON will have when pulled from PostgreSQL db

I have noticed that the markers on my Leaflet map are displaying slightly off and I believe this is being caused by the GeoJSON coordinates only pulling to 4 decimal places. I can see this by looking ...
1
vote
1answer
58 views

QGIS Union: Could not add feature with geometry type GeometryCollection to layer of type MultiPolygon

I overlay several Shapefile layers with Vector > Geoprocessing Tools > Union in QGIS. The first five layers do work. However, when I'm trying to add another layer I receive the following error ...
0
votes
1answer
78 views

OSMNX - City Suburbs Polygons

I'd like to extract, given a city name, all suburbs and relative polygon geometries. For instance: https://nominatim.articque.com/details.php?place_id=230259366 So, I run the code: place = 'Torino, ...
0
votes
2answers
23 views

Select specific attribute from SDE.ST_Geometry UDT? (without using accessor functions)

Oracle 18c; ArcGIS 10.7.1 I have an SDE.ST_Geometry polyline feature class. As an experiment/learning exercise, I am trying to learn how to interact directly with the user-defined type (UDT) SHAPE ...
1
vote
1answer
28 views

Obtain percentage of overlap with another multipolygon in R

I have two MULTYPOLYGONS, one where a row is a election district*year pair, and the other is a collection of flood events. district.df year ward_ons cycle geometry ...
1
vote
0answers
24 views

What CRS is my data being transformed to in ST_Project? What about ::geometry?

My understanding is that ::geography transforms data from whatever CRS into 4326. But what is ::geometry doing? Relatedly, in the context of the ST_Project function: st_project(a.geom::geography,b....
0
votes
1answer
73 views

How to export a table as a geometry in Google Earth Engine Code Editor

I have imported my shapefile into GEE which is in my assets folder as a table. I extracted the shape from the table using this code: table = table.geometry(); Map.centerObject(table); Map.addLayer(...
0
votes
1answer
14 views

Multi-part ST_GEOMETRY: Does the feature-part array start at 1 or 0?

Oracle 18c; ArcGIS 10.7.1 I have an SDE.ST_GEOMETRY polyline FC that has multi-part features. Question: What method does ArcGIS use to assign numbers to the feature-parts in the array? Do the part ...
0
votes
1answer
17 views

Intersecting geometry sum - sharing the boundary count as intersection

This question stems from Calculating proportion of area covered by another layer - not just the intersection I have narrowed down the problem. I am attempting to find the percent of district layer(...
3
votes
2answers
165 views

Loading a CSV file into QGIS without longitude or latitude data

I am trying to load a CSV table into QGIS. There are no longitude or latitude values and the options for X and Y axis look like this: These are fields in the table I am trying to load. and this is ...
1
vote
1answer
33 views

Why does SDE.ST_NUMPOINTS() add extra vertices for lines with arcs?

Oracle 18c/10.7.1 EGDB: I have a polyline FC with a feature that has an arc. I want to count the number of vertices in the line using the SDE.ST_NUMPOINTS() function. select sde.st_numpoints(...
1
vote
2answers
26 views

Does SDE.ST_LENGTH() calculate the true length of arcs?

Oracle 18c/10.7.1 EGDB I have a polyline FC that has features with arcs. Does the Oracle SDE.ST_LENGTH() function calculate the true length of arcs? Or does it only calculate the straight-line length ...
1
vote
0answers
23 views

Select SDE.ST_GEOMETRY polylines that have arcs?

Oracle 18c/10.7.1 EGDB: I have an SDE.ST_GEOMETRY polyline feature class. Some of the polylines in the feature class have arcs. Question: Is there a way to use Oracle SDE.ST_GEOEMTRY functions to ...

1
2 3 4 5
29