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
votes
0answers
16 views

ArcGIS 10.7 invalid geometry

I went from 10.6 to 10.7 ArcMap. While editing and drawing in new tracts, I get "FEATURE COULD NOT BE CREATED. GEOMETRY IS INVALID. OPERATION CANNOT BE PERFORMED ON A NON-SIMPLE GEOMETRY". I ...
1
vote
0answers
24 views

How to optimize API calls for a large dataset using Python?

Objective: Send a list of addresses to an API and extract certain information(eg: a flag which indicates if an address is in a flood zone or not). Solution: Working Python script for small data. ...
1
vote
1answer
39 views

Google Earth Engine Clip with Geometry

I tried to clip using a loaded shapefile. It enables me to download but crushes at few seconds not completing the downloading task. var clipToCol = function(image){ return image.clip(...
1
vote
1answer
32 views

Getting geometry column integer SRID from a GeoPandas geodataframe?

The primary answer to Adding GeoPandas Dataframe to PostGIS table? requires entering the geodataframe geometry column's integer SRID. Getting the CRS attribute using the crs attribute like so import ...
2
votes
0answers
25 views

Get length of a line stored in SQL Server Geometry column with srid 4326

I have some spatial data stored in SQL database geometry column called sp_geography (The field is defined as Geometry). The SQL below: f.sp_geography.STLength() returns, for example 0....
4
votes
1answer
61 views

QGIS make lines with offsets of y and azimuth from source and target coordinates

I'm very new with QGIS and currently stuck with such problem in my work. Maybe some one knows how to help me? I have made two separate layers. Database layer with sites and antennas, containing ...
0
votes
0answers
31 views

Land parcel area inconsistencies in EPSG:4283 and/or ESRI:102171

I have parcel data from Landata, the agency that looks after land parcels in Victoria, Australia. I am finding a huge difference in the area calculated in QGIS for the parcel compared to onground ...
0
votes
0answers
37 views

Find coordinates of polygon points with arcpy [duplicate]

I want to get the coordinates of polygons within a layer. I manage to get them, by using the code from: But, they are in decimal degrees, not in CRS units of the layer. This is my code: import ...
1
vote
0answers
30 views

Splitting a Polygon by a MultiPolygon is unsupported. Both geom columns are MultiPolygon

I'm trying To st_split() on two tables. the output is like this: Splitting a Polygon by a MultiPolygon is unsupported . Although both fields are Multipolygons. Created new columns where the geometry ...
0
votes
2answers
33 views

Auto colour change after changing polygon geometry using ArcGIS Pro

I am using ArcGIS Pro. Is it possible to change polygon colour after i change it's geometry? For example, if there were five vertices, the figure is green, and after i change it to be four vertices ...
0
votes
0answers
24 views

Repairing geometry using QGIS [duplicate]

I'm looking for a roughly equivalent tool in QGIS to the Repair Geometry Tool in ArcGIS Desktop. When I run some common vector processing tools in QGIS, I occasionally run into invalid geometry errors ...
4
votes
0answers
67 views

Snap geometry/polygon to grid with minimum distortion

I am working on a project to transform polygons given in a pre-defined precision to a lesser precision, which I think is equivalent to snap them to a fixed spacing grid. For example, in the example ...
0
votes
0answers
23 views

Geometric Calculations for Group of Pixels

I have group of pixels that I created by region group tool and I would like to measure the length and the width of each pixel group. I need max length and the width at half of the length of each group ...
1
vote
0answers
17 views

Match small polygons that are within a bigger polygon to collectively have the geometry of the bigger one

I have two layers: The green polygons (with detailed information on inhabitants in the attribute table) and the blue ones with blue boundary, which are housing blocks (with the shape needed). The red ...
2
votes
2answers
34 views

Finding geometry anomalies using ArcGIS Pro

Is there a simple way (could be hard as well) to find geometry (polygons) anomalies. For example polygon should be nice rectangle, but doesn't always look so (like in example). I am talking about ...
0
votes
0answers
29 views

Topology rule for geometry in ArcGIS Pro

Is there anyway to write topology rule for the polygon geometry? I want nice rectangle, without any self-crossing lines. But sometimes I found those. So I want to use topology. I am adding an pic ...
3
votes
0answers
43 views

QGIS refFunctions override maximum amount of features

A have a polygongrid on a 1x1m spacing. I have multiple XYZ files also on a 1x1 grid. I would like to write the Z-value of the xyz-files (is in geometry and in the DB) to the polygongrid if the XY of ...
0
votes
2answers
64 views

Convert X & Y columns to a SHAPE column (using a method that would perform well in Portal)

I have a non-spatial table in an external system. The table has X & Y columns. The table will be synced to an Oracle 18c/10.7.1 geodatabase table or FC (via the ArcGIS REST API). There will be ...
1
vote
1answer
55 views

Convert PostgreSQL geometry to Esri ST_Geometry

I am trying to create a spatial view in ArcMap where I run a ST_Intersect against a ST_Geometry point dataset and a PostgreSQL geometry polygon dataset. Both datasets are the same SRID. I am having ...
1
vote
1answer
32 views

PostGIS - “parse error - invalid geometry” after using ST_Multi - but ST_IsValid returns true

I have a database with OpenStreetMap polygons, points and relations in separate tables. Now I wanted to build selection queries for the different features and created schemas for each zoom level (5k, ...
0
votes
0answers
26 views

How to get geometries from this query

Im struggling with this SQL query, from Measure collected polygons in Geometry Generator, avoiding extra texts from multipart polygons. It used to work OK sometimes in some datasets; throw errors on ...
2
votes
2answers
69 views

Convert geometry type from Polygon to Multipolygon using FME?

I don't want to alter the geometry, just change the geometry type from Polygon to Multipolygon, in order to comply with a constraint.
1
vote
1answer
29 views

Measuring compactness using GRASS

Is there a way to find the compactness (ratio of perimeter to area) of various groups of contiguous cells using GRASS functions? If you imagine I want to find the compactness of the three land ...
2
votes
1answer
48 views

Determining azimuth of continuous polyline segment

I have a polyline which represent the river bank of a particular section of a river drawn based on Satellite imagery. As you can see in the picture, it is drawn in red color. I have also a vertices ...
3
votes
2answers
136 views

How can I extend a linestring to the edge of an enclosing polygon in PostGIS?

I have linestrings that are each entirely within a polygon. I want to extend the first and last segments to touch the first rings of the polygon in line with them.
2
votes
1answer
77 views

Creating square of exact size (e.g. 1 km²) around point in Google Earth Engine

I struggle to create a geometry with the exact size of a square with for example 1km² around a specific GPS point, to later export an image. Is there a way to define the length of each side of the ...
3
votes
2answers
47 views

ogr2ogr selecting features by location

I'm trying select features from one shapefile that contains features from another shapefile. However when I run the command I get an error " no such column geometry" Both shapefiles are working ...
0
votes
1answer
41 views

Duplicate/triple a geometry based on a numeric field in the attribute table

i'd like to duplicate/triple a geometry based on a numeric field in the attribute table. For example, if there is number 2 corresponding to a record, needs to duplicate this gemometry; if there is ...
2
votes
1answer
54 views

How to retain the explicit geometry type of a column in a database view of PostGIS?

I try to retrieve "generalized" table's info for a long-term backup project from a PostgreSQL database version 11, with the PostGIS 2.5.3 extension under Freebsd 12.0. I want to use the PostgreSQL ...
2
votes
1answer
47 views

Invalid geometry in point layer when running 'Count points in polygon'

I have a persistent problem I can't seem to fix. I'm trying to run Count points in polygon. I keep getting this error: Feature (747) has invalid geometry. Please fix the geometry or change the ...
1
vote
1answer
53 views

Is it possible to create heatmap from layers of polygon geometry type?

I'm new to GIS and my question is whether I can create a heatmap from a layer with polygon (multipolygon) geometry. As far as I know, it is only possible to create a heatmap from layers with point and ...
1
vote
1answer
30 views

Framing argument for insert cursor when writing geometries using ArcPy?

I am writing polygon geometries and I have points holding the geometries that represent vertices of the polygon. When I run the code below I get: TypeError: sequence size must match size of the ...
0
votes
0answers
9 views

Need explanation for Cesium geometry terms

I need explanation and code example of how to use the following term: Cesium.Plane.ORIGIN_YZ_PLANE I do not understand this link: https://cesium.com/docs/cesiumjs-ref-doc/Plane.html
2
votes
2answers
54 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 ...
1
vote
1answer
26 views

Mapping equirectangular square slice inside cubemap

I'm trying to map a square slice of an equirectangular image inside a cubemap with 6 faces, without distortion. The point is that I'm dealing with huge array sizes if I try to project the whole ...
0
votes
1answer
96 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
55 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
68 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....
6
votes
4answers
521 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
44 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
17 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
72 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
65 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
85 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
58 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
63 views

Converting geom polygon to point x point y using PostGIS

I have data geom polygon like this: ...
1
vote
0answers
25 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
54 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
135 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
46 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 2 3 4 5 25