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

learn more… | top users | synonyms

2
votes
1answer
364 views

Cesium JS Line Length

Is there a method to return the length of a Cesium JS polyline, in real-world units? For example, if I create a polyline: var orangeOutlined = viewer.entities.add({ name : 'Orange line with ...
2
votes
1answer
83 views

Use Postgis to convert wkb_geometry data type to geom datatype

How would I write an ALTER statement or otherwise to convert an existing imported data column from " wkb_geometry geometry(LineString,4326)" to a geom data type? I ask because I've moved to ...
4
votes
2answers
144 views

What is the correct syntax for the geometry object's “intersect” method in ArcPy?

I'm building a script that utilizes the intersect method of the geometry class so that I can run an intersect analysis on individual polygons within a feature class. As stated here, "intersect (other,...
3
votes
1answer
49 views

using a linear solver to get a “centre of gravity” of a set of points

As a programmer, if I have a linear solver available. How can I formulate the following problem as a set of constrains / decisions / goals for the linear solver? I have a matrix of say 10*10, so 100 ...
4
votes
1answer
120 views

How to create trigger to check geometry validity?

I want to create trigger to check geometry validity in spatial table. I have a table: CREATE TABLE vec_geometry ( id bigserial is_valid boolean, invalid_reason character(128), geom ...
1
vote
1answer
215 views

In PostGIS: how to split linestrings into their individual segments?

I have one table with many linestrings and I want to make a new table containing the individual segments of all the linestrings, no matter if they are grouped line per line or not. This is my table,...
1
vote
1answer
80 views

Error when writing polygon feature

I have created this array: array = ([arcpy.Point(-103.85769159, 32.181106371), arcpy.Point(-103.85769159, 32.182755629), arcpy.Point(-103.85575241, 32.182755629), arcpy.Point(-103.85575241, 32....
1
vote
2answers
285 views

Error while Geoprocessing with Geometry Objects

I'm trying to use the distanceTo() mehtod to return the distance between the centroid of a polygon and a line, but I keep getting this error: "AttributeError: 'Point' object has no attribute '...
1
vote
1answer
43 views

Arcobjects ConstructBuffers produces Error -2147220889?

I use the Esri-function ConstructBuffers in my arcobjects program. The call of this method produces a Error with code -2147220889. Looking up the error constants it says: ...
7
votes
2answers
191 views

Why do I get different results from PyQGIS feature.geometry().type()?

On the python console in QGIS what is the difference between the following two code snippets (activeLayer is a polygon layer): # 1) iface.activeLayer().selectedFeatures()[0].geometry().type() >>...
0
votes
0answers
27 views

Geometry Location In Respect To Another Geometry

I am trying to figure out where a geometry is residing in respect to another geometry. My Image explains things better, I have Square nodes A, and B. and I have circle Child nodes X, and Y. I have all ...
2
votes
0answers
38 views

C/C++ function to return minimum set of points required to represent a geometric shape

I am looking for a method from Grass, GEOS, or similar that will delete those points in a geometry which do not affect its shape. Example 1 +----+----+ p0 p1 p2 p1 can be deleted without ...
1
vote
0answers
47 views

Using arcpy.Geometry() and attribute table?

I have Polygon layer (*.shp) and I need to calculate shortest distance between every polygon's and save it into a txt file with ID (it is in attribute table) for every polygon. example of txt file - ...
2
votes
2answers
486 views

Calculating bounding box of given set of coordinates from Leaflet Draw?

I have values generated from Leaflet Draw plugin that look like this: { "type": "Feature", "properties": {}, "geometry": { "type": "Polygon", "coordinates": [ [ [-73....
2
votes
0answers
139 views

Importing shapefile problem, unknown geometry type in QGIS

I have used ArcGIS extensively, but am at a new job with only access to QGIS. I am trying to import a few shapefiles and am having some problems. First, I opened the shapefiles in esris free browser, ...
0
votes
0answers
42 views

How to query Tiger Data for Layers?

I am new to this. I have data downloaded from ftp://ftp2.census.gov/geo/tiger/TIGER2015/ and I would like to learn more about how I can query that data for the different layers it offers. Here is ...
3
votes
1answer
104 views

When validating geometries, what are “Nested shells”?

I am validating shapefiles polygon geometry using shapely, and have also attempted it using FME. Some polygons return the error "Nested Shells". I cannot find a definition of what the problem is, ...
0
votes
0answers
144 views

How to add the geometry to google maps from geojson(retrieved as json) for a specified condition using javascript

I have a array called place_names which holds some place names. I have a GeoJSON layer loaded in CartoDB, which has three columns id, name and the_geom (which is a geometry object) that can be queried ...
1
vote
1answer
55 views

Spatial ETL for MutliLineString [closed]

I'm pretty new to Spatial ETL. In accordance with this question I have experience the geokettle v3 but unfortunately i'm having a several problems working with it. There is some issues that aren't ...
0
votes
0answers
22 views

Transforming OpenLayers.Geometry

I have OpenLayers.Geometry objects (point, multipoints, polygons etc) with longitude and latitude coordinates for WGS-84 ellipsoid Earth model (for OpenStreetMap). These objects are properly displayed ...
4
votes
2answers
378 views

fixing polygons with “ring not closed” errors

I have a shapefile with a single Polygon feature. This feature has a "ring not closed" geometry error (seen here in QGIS): I tried using buffering and the GRASS v.clean command as suggested in other ...
-1
votes
1answer
103 views

fiona writing geometry into shapefile problem [closed]

Context: I use lxml library that generates some dictionary (infact it is xml attribute dictionary) from xml and i am trying to write these into a shapefile-i.e. get one element-attribute from xml ...
1
vote
1answer
72 views

QGIS crash while delete duplicate geometry

I have a polygon shape with nearly 60 000 features (at around 3 000 square kilometres) in QGIS 2.12. I try to delete duplicate geometries from this layer and the algorithm runs until 99%. Then QGIS ...
2
votes
2answers
35 views

Mountain chain and geometry

Concerning Mountains chain (in Wikipedia https://en.wikipedia.org/wiki/List_of_mountain_ranges) where can I find any maps with Montains chain and also geometry for those?
2
votes
2answers
198 views

How to find multiple centers of gravity?

Say I have a number of customers in a geographical area, marked "c": Each customer has a Lat/Long. I would like to find x number of points, in the same space, that best serve the customers, ie. ...
1
vote
0answers
34 views

Split Polygon Layer by other Polygon layer in QGIS

I know there is a lot of previous posts to this subject, but I simply cannot find the solution I am after in the other posts. I have to following problem: I have two very extensive polygone layers, ...
1
vote
1answer
101 views

Finding Points where two polylines cross in ArcGIS Runtime .NET SDK?

I am using ArcGIS SDK for .NET and have a graphic overlay defined on my mapview. I added two circles to the map (made with polylines) which overlap. I now need to determine the points at which the ...
1
vote
1answer
103 views

arcpy and ArcGIS Pro: update Z values of a pointMZ geometry

I am trying to "reverse" the values of Z in a pointMZ geometry with arcpy.da.UpdateCursor. Anyway, I am not able to find a way to achieve this, although my script seems to work (no errors, printing ...
0
votes
2answers
129 views

How to get the specified point coordinates of a Polyline

lines_cursor = arcpy.da.UpdateCursor(lines,["From_id","To_id","SHAPE@"]) for lines_row in lines_cursor: from_id = lines_row[0] to_id = lines_row[1] if from_id in points_dict.keys(): ...
1
vote
1answer
61 views

Calculate location on line with known azimuth to point

I have the following situation (consider distances up to 300m - without great circle etc. affects): How can I calculate the unknown location when I have all other locations in the triangle and ...
0
votes
1answer
74 views

Calculating Geometry (area) in a spatial join attribute table

In ArcMap, will Calculate Geometry (area) be accurate for records that have other polygons attached via Spatial Join? It doesn't seem to be adding the extra polygons that are spatially joined. ArcGIS ...
1
vote
1answer
154 views

Area Calculation incorrect

In ArcGIS 10.2 I created two buffers using the default settings one with a distance of 1 kilometer. When I calculated the area it has a square kilometer area of 3.14. All seems fine there to me. ...
1
vote
0answers
7 views

Walking a number of kilometers in one direction in digital map [duplicate]

Is there a recommended way to calculate the new position of a point in a map when "moving" the point for example 10 kilometers to south ? Example: Point = { lat : 'LATITUDE VALUE', lng : '...
2
votes
2answers
141 views

How to create a PostGIS table with arc support compatible with QGIS?

In postgis database I have two tables - let's say 'polygons' (gid, the_geom,MultiPolygon,srid=2180) and 'lines' (gid, the_geom,MultLineString,srid=2180). I'd like to use "Add circular string tool" ...
0
votes
1answer
138 views

How to increase performance for nearest neighbour query using a multipoint? (Boost Geometry)

The following function gets the nearest point in an rtree to a multipoint geometry. I'd like the performance of the function to be better. Is there any way to make it faster? TimingLink* ...
0
votes
0answers
27 views

Convert Lat and Long Data to Geometry datatype in SQL server [duplicate]

I need to convert Sql Server latitude /Longitude to geometry datatype I have just imported a csv to my table in my database. Table consist ID Begin_trip Lat Begin_trip Lng Drop_Lat Drop_Lng ...
5
votes
1answer
181 views

Repair geometry using QGIS

I have shapefile with few polygons. Some of them are self-intersecting. In ArcMap I can use "Repair geometry" tool, and it works well. But problem is, that for that task some users need to use open ...
1
vote
2answers
45 views

update data via cron in cartodb

I want to automaticaly insert/update points via cron in cartodb. I am using SQL API. How can I generate the_geom row via sql api in WKB format without web-interface? Like this: ...
1
vote
0answers
141 views

SQL Server Geometry draw rectangle around a line

I am VERY new to spatial data queries, so please bear with me. I have a LineString (geometry) in SQL Server and need to "draw" a rectangle around it, based on padding for the Width and the Height, ...
1
vote
1answer
383 views

Openlayers drawing interaction geometryFunction

Can anyone help me to convert this function so that it is not dependant on the ol3-debug file as I don't know quite what is replaced upon build. The function works but only in debug mode. It is in ...
0
votes
0answers
31 views

Fit picturefillsymbol size into polygon (SceneView) - Arcgis Runtime .Net 10.2.6

I'm working with ArcGIS .Net SDK version 10.2.6 using 3D SceneView. I want to create a GraphicsLayer, define a square polygon and fill it with a picturefillsymbol (picture is a circle) keeping it ...
1
vote
0answers
52 views

regroup the close points [closed]

I have a list of 10 000 points, and I wish consolidate 15 points each in a block in the vicinity. I use arcgis, or mapinfo qgis, I just need the method.
2
votes
1answer
107 views

Get the number of bends of a polyline

I am trying to get the number of curves/bends of a polyline. I know that I can accomplish this by getting the vertices of the polyline, and check the from and to and compare their angles, if they ...
0
votes
1answer
64 views

Creating info window that allows user to scroll through different data sets with same geometry using CartoDB?

I am using CartoDB and am mapping water quality data in a particular region in Mexico. My organization has data of multiple locations over many years. Since we are showing the same data of the ...
1
vote
0answers
58 views

Why is the geometry changing slightly when I import shapes into a postgresql database with postgis?

I recently posted this question when first trying to import data from a file geodatabase into a postgis database: how can I maintain curves when converting from geodatabase to postgresql using og2gui ...
1
vote
1answer
273 views

Create polygons from points representing the corner vertices (ArcGIS)?

I am on ArcGIS 10.3.1. I have a point feature class that represents the corner vertices of the polygons. They are located in a regular grid. The labels represent the OBJECTID. The points can be ...
9
votes
1answer
643 views

How exactly is the centroid of polygons calculated?

I would like to know how exactly QGIS Geometry tools -> polygon centroid is calculating the point coordinates. For example does it divide the boarder of the polygon into small points, take two pairs ...
1
vote
0answers
42 views

Is there a way to select polygons by geometry (right angle)? [closed]

Is there a way to select polygons by geometry? I need to find a way to detect all the polygons that have a right angle, but I can't find a tool that can do that. I'm using QGIS 2.10.1 and ArcGIS ...
3
votes
1answer
595 views

Update a table with values from coordinates on GEOMETRY in Oracle

I have 2 columns in a table that represent the X and Y coordinates. The values in those columns don't match the actual coordinates and I want to update them with the coordinates values that are ...
0
votes
1answer
47 views

How to get Lat/Lng from a Geometric property?

Alright, I am very new to GIS, my question might not even make sense, but help me get through this. I have this JSON data of some fields which have this geometry property: "geometry": {"type":"...