(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

1
vote
2answers
46 views

How to get point location?

I load a VectorLayer which contain coordinate location point. Now, I have a VectorLayer and I would like to get the point location on a item of this layer in order to center a map to this point. Is ...
2
votes
2answers
48 views

Copy geometry from one layer onto attributes of another?

I have two polygon layers, A and B, that have the same features but totally different attributes. I want to use the attributes from layer A, but I want them to have the more accurate geometry from ...
0
votes
0answers
17 views

Draw perpendicular cross-section over polyline [closed]

I have a polyline feature class and point feature class. These 2 have intersected points. I want to draw perpendicular lines on each point feature of the polyline feature class. How it Can be ...
0
votes
0answers
42 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. ...
3
votes
0answers
32 views

How do I handle heading in UTM coordinates?

In a nutshell: Given a standard (angular) GPS measurement and heading, relative geographic north. If i take my GPS coordinates and turn them into UTM coordinates, do I also have to convert my heading? ...
0
votes
0answers
23 views

Show polygon geometry from SQL Server on Google Maps

I have downloaded Canadian Postal FSA's boundaries (Like Zip boundaries in the USA) from stats Canada and I have imported the shape files in SQL Server. I want to be able to Query the Database and ...
3
votes
3answers
661 views

Why is geography faster than geometry for distance calculations?

Intuitively, I thought geometry would be faster than geography distance calculations, but this says otherwise: ...
1
vote
1answer
28 views

Calculate point location with direction and range

I have a latitude and longitude coordinate pair and I want to find another point location (returning lat and long) but only have the angle/direction and distance from the first point. How can I find ...
-2
votes
0answers
56 views

Running geometry check on all feature classes in personal/file geodatabase?

Anybody can help me out and build a small Python script to do the following: browsing though all feature classes (also include those in the dataset) in an personal or file geodatabase Run the ...
0
votes
1answer
48 views

Visualize WKT polygon on a map

Is there any tool that will let me visualize a WKT polygon on a world map such as google maps?
2
votes
2answers
45 views

Feature Geometry/shape changed event in arcObjects

I have a feature class(polyline). there are 5 features in the feature class. I want to get notification when user changed property any of feature of feature class. How it can be achieved ? I am using ...
1
vote
1answer
48 views

Can a PostGIS table or view have two geometry columns?

I am just wondering if it is possible for PostGIS to have two geometry columns. I use shapefile a lot, which has only one "Shape" column for geometry and all geometries in that column has the same ...
1
vote
1answer
39 views

Removing Interior and exterior polygons using arcpy

I have a polygon layer that has donuts and also exterior parts. Using python, I am able to get access to each part, but what I would like to know is using arcpy, once I have a part, how do I go about ...
0
votes
0answers
25 views

How to bind event to Polygon inside polygon in google maps.?

I am drawing a polygon buffer in google maps api v3 and finding number of polygon objects lying inside it.(on click) I am using oracle spatial database. on each child polygon click i need to do some ...
1
vote
1answer
60 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 ...
1
vote
1answer
26 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
54 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 ...
3
votes
1answer
41 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
71 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
54 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 ...
1
vote
1answer
43 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, ...
1
vote
2answers
84 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
30 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
81 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
21 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
33 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
34 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
69 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": [ [ ...
2
votes
0answers
49 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
32 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
47 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
31 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
31 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
19 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
183 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
61 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
51 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
32 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
176 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
23 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
47 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
61 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
53 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
46 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
48 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
86 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
83 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
76 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
25 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 ...