Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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.

191 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
475 views

How to search ST_MakePoint(long,lat) in all the geometry columns of tables in the database(postgres)

I want to search a particular given given lat,long within all the shapefiles geometry columns of all tables in the database . I have gone through the scripts like below CREATE TABLE #Results (geom) ...
0
votes
0answers
47 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 ...
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,...
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 ...
0
votes
1answer
33 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 ...
0
votes
0answers
34 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 ...
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 ...
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 ...
0
votes
0answers
38 views

MMQGIS Export error

I have set up some 1 KM grids via a country Shapefile and I want to get the coordinates of the four corners into a CSV file. I am using MMQGIS (QGIS plugin) and I'm trying to run a geometry export to ...
0
votes
0answers
37 views

Connect to Enterprise GDB in PostgreSQL using QGIS : “No Geometry” Error

I have an esri Enterprise Geodatabase (9.3) stored in MSSql 2008 with storage type as sde binary. I upgraded it to EGDB 10.4.1 (using multiple up-gradation steps) in MSSql 2012. Then I copy/paste my ...
0
votes
2answers
69 views

Invalid geometry after gdal.polygonize

After converting a raster file to a vector file using gdal.polygonize, I cannot carry out further commands (e.g. Clip) because the vector is produced with invalid geometries (as determined by the QGIS ...
0
votes
0answers
41 views

PyGRASS: storing attribute table values to variables

Goal: to store the sum of all values (lengths) of a vector map in a variable inside a Python script. This variable will later be shown to the user in a GUI. The computation time has to be as low as ...
0
votes
0answers
47 views

MySQL update geometry field

I have MySQL database with table in X varchar(50) latin1_swedish_ci No None Change Change Drop Drop More More 11 Y varchar(50) latin1_swedish_ci No None ...
0
votes
1answer
92 views

ST_SnapToGrid doesn't work properly, e.g. 41.94186153740355 -> 41.941861499999995

I'm using ST_SnapToGrid: ST_SnapToGrid(somePoint, 0.0000001) and I get strange result on many points, such as: - POINT (21.619820510769063 41.94186153740355) -> POINT (21.6198205 41....
0
votes
0answers
44 views

Compare Specific Points of Line Features in two Feature Classes using FeatureClassToNumPyArray

I am looking to compare the first and last point between features in two different feature classes. The features share a common ID. My thought was to create two arrays via FeatureClassToNumPyArray. ...
0
votes
0answers
33 views

Definition for point and line geometries?

There is a common definition named "area geometry" to categorize polygons and circles and any geometry that has a surface area. I would like to know if there is an alike definition for points and ...
0
votes
1answer
105 views

Text File MultiPolygon/Polygon to PostgreSQL using Python/Psycopg2

I am writing a python script attempting to insert GeoJSON Polygon coordinates into a Postgres table. I am writing a basic insertion code since I am new to GIS domain. The code look like this: ...
0
votes
0answers
23 views

Separate interstate and non-interstate roads from a given route

I have direction steps from city A to city B (obtained from Google Directions API). I need to differentiate the interstate road distances from non-interstate distances in the route. Google ...
0
votes
0answers
557 views

How to convert geometry in the GeoJSON from PHP and insert polygon in PostGIS

I'm a beginner in PostGIS and GeoJSON. I need to extract every geometry from GeoJSON and store them in the PostGIS database as polygons. For each entry in GeoJSON I would like to be able to store ...
0
votes
0answers
26 views

Exporting feature's geometry coordinates to readable file

I'm new to ArcGIS and I'm am trying to export the coordinates on the bottom to a human-readable file, see example below. How can I accomplish this?
0
votes
0answers
80 views

How to fix: JTS TopologyException: Found null DirectedEdge

How can I fix a: TopologyException: Found null DirectedEdge? Initially (sadly), the geometry is invalid. But then when applying a geom.buffer(0) st_valid(my_geom) returns true. Still there are ...
0
votes
0answers
43 views

How to have a record id without geometry?

I have a buildings shapefile layer and every building has a building ID linked to its feature id ($id). Some new buildings have been built and old buildings were demolished. I'd like to not recycle ...
0
votes
0answers
161 views

Getting well known text from varchar in redshift.

As you know, redshift does not support geometry types. There is a column in a dataset on my redshift db that has varchar column and the format looks like: ...
0
votes
1answer
158 views

Has anyone used Esri JSON data with json-schema validation?

Passing data between web services often means passing JSON data. A standard for evaluating JSON data is under development at json-schema.org. I would like to incorporate Esri JSON data in my schema ...
0
votes
1answer
91 views

Splitting One Polygon By Boundary of Another using QGIS?

I'm using QGIS 3.0 and attempting to calculate the number of people that fall within a buffer. The population count is a field within my block group polygon layer. I've attached a screenshot, the ...
0
votes
0answers
247 views

Self-Contact Topology Errors?

I've been trying to clean up some vector data sets so that I can reproject them to WGS84 but I keep finding topological errors that fail the process. The one error I can't resolve involves a node on a ...
0
votes
0answers
222 views

Null geometries when importing CityGML data into ArcMap and QGis

I am looking to convert a CityGML file into a shapefile to perform some spatial analysis on it. I am completely new to the CityGML format and keep running into issues when trying to import them in ...
0
votes
0answers
76 views

Fast implementation of polygon overlay tools in osgeo suit

I am currently using symmetrical difference, difference and intersect tools from standard QGis implementation in python (I use pyqgis). I do topological checks ie. if Fc1 is contained within Fc2. ...
0
votes
0answers
119 views

False converting from lat/long into UTM

Im trying to convert lat/long into UTM, but have some problems in it. First I get my coordinates in lat and long latitude_wgs84_radians: 0.924593 longitude_wgs84_radians: 0.176054 Then Im trying to ...
0
votes
0answers
273 views

problem with Union methode of GDAL

Dear all am trying to perform a union between two shapefiles ( for the moment ) - line 88- oLayer.Union(oLayer2,oLayer3) and I'm getting stack with this error Traceback (most recent call last): ...
0
votes
0answers
21 views

What is the efficient way to find the top-most images of a Landsat-8 mosaic with latest data on top?

I'm building a simple mosaic of Landsat-8 for a region of interest (a bounding box) for a time period, so that the latest data would be put on top of the mosaic. I've found 100 scenes with cloud cover ...
0
votes
1answer
519 views

Adding and filling GEOMETRY column in new spatialite

I have three tables. One has no geometry. The second is POINT type, and shows up correctly on the map. The third is, for the moment, a simple checker table, don't worry about it. I am able to perform ...
0
votes
0answers
78 views

Create sequence numbers based on location of line features using Arcobjects

I want to add a Sequence number property for line features (Pipe), which will hold a value that will determine where the line is in respect to other lines that are attached to the from point and to ...
0
votes
0answers
50 views

Removing Polygons Within Polygons After Merge (QGIS 2.18 OS X)

I've merged together a polygonized raster layer of a certain elevation grade (>25%) and a wetlands buffer. I can't seem to find a good solution to the problem at hand, however. Ultimately I'd like to ...
0
votes
0answers
53 views

Feature Class Geometry in Stored as 0 to 360 degrees, rather than -180 to 180 degrees

My X coordinates for my geometries are all stored in 0-360. ArcMap seems to handle it fine (i.e. knows that 260°=-100°) except when I use python geometry methods. The geometry methods (intersect, ...
0
votes
0answers
131 views

Get Substring of Linestring by nearest point

I need get custom segment of any Linestring. For better understanding I've added image. Blue line is my Linestring which contains 3 points, and on the base of red point I need cut or fill line in ...
0
votes
0answers
409 views

Calculate Polygon Angle of Rotation about the centroid

I have a collection of polygon geometries in a projected spatial reference. How can I figure out each polygon's angle of rotation about the centroid? I am using Python (2 or 3 doesn't matter) to ...
0
votes
0answers
52 views

Can you merge GeoJSONs in PostGIS?

I'm not too familiar with the GeoJSON functionality in PostGIS. In essence - I'm having problems with the computation of ST_AsGeoJSON(ST_Union(g)) taking too long for large g. Is it possible to ...
0
votes
0answers
337 views

Increasing Clickable Area of OpenLayers Polylines

I'm currently working on a web application where there are OpenLayers geometries that are clickable. However, since the size of the geometries can be rather small, it can be hard to click on them. ...
0
votes
0answers
178 views

Remote SQL Server, Crystal Reports and Geospatial Join

I have: A remote SQL server (2008 R2) that I have access to (But NOT full control of) which contains my source data including OSGB 1936 Geometry [ESPG: 27700] In house SQL Server 2008 R2 A Crystal ...
-1
votes
2answers
684 views

How to get MultiPolygon from MultiPoint for area calculation in Postgis?

I have PostGIS database table with geometry records containing MultiPoint. When I try st_area(geometry), I get 0. How to convert it to MultiPolygon to calculate covered area if we assume that a point ...