(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
38 views

Split No Longer Working When Creating Enclosed Polygons

I have been using ArcGIS Pro to create a large polygon feature class. Some of the polygons have enclosed areas I need to remove. I have been using the Split tool under Modify Features and it has ...
3
votes
1answer
91 views

Calculate area of geometry derived from current feature in QGIS 2.8

I'm trying to create a new field defined as the area of the convex hull of the current feature, in the Field Calculator in QGIS 2.8. Calculating the area of the current feature is easy ($area), and ...
9
votes
1answer
8k views

Creating script tool that will create copy of feature class and offset it by given distance using ArcPy?

I want to duplicate a polygon feature class and offset all of the polygons by about 10 feet in both the x and y directions. I asked if there was any way to do this last week, and I was informed that I ...
5
votes
2answers
747 views

Defining spatial operators (Equals, Disjoint, Touches, Within, Overlaps, Crosses, Intersects, Contains, Relate)?

Ok, I have to admit, I don't really delve too deep into the semantics of the spatial operators list below, I'm more of a user, I write software to drive the SQL most of the time and don't really think ...
11
votes
1answer
148 views

How big does a circular geofence need to be for the curvature of the earth to matter? [duplicate]

I'm working on adding geofences to a mobile application. I know the proper way of calculating distance between two points on a sphere is using the great-circle or Haversine formula. I don't know if ...
5
votes
2answers
315 views

Cutting a circular buffer via Arcpy

I am currently working with compressor stations on centerline routes. These compressor stations have a 3 mile buffer surrounding them. I wish to cut a portion of the circular buffer off. These cut ...
0
votes
0answers
45 views

ArcGIS Runtime SDK for .NET API method to convert shapefile to ArcGIS feature set?

Could anyone please let me know is there any ArcGIS Runtime SDK for .NET API method to convert a shapefile to ArcGIS feature set object?
1
vote
1answer
38 views

How to convert image type into wkt

I’m working with a GIS that uses SQL Server as its DBMS. So I have to insert some data into a column called dbo.CidadesGeo, but before do that I have to understand how the geometry (geometria) column ...
0
votes
1answer
110 views

Arcpy: Geometry object - distanceTo method in a for loop

I'm new to Python so sorry for this maybe trivial question. I have 4 lines and 4 points, which belong together. I want to get the closest distance from point 4 to line 4, point 3 to line 3, ... . I ...
1
vote
2answers
81 views

Extract border polygon from a geometry

I am wondering if there is a way, algorithm, tools, to create, from a geometry, another one that is the border with a certain thickness. The idea is to get something similar to that : This looks ...
4
votes
1answer
53 views

tweepy psycopg2 creating points, coordinate system SRID confusing

I am using tweepy and psycopg2 to extract tweets and input them in a postgres table. When I try to insert the point of the tweet I succeed in creating a point in the geom column I create. I however do ...
1
vote
1answer
345 views

Querying Oracle geometry data type

How to query or find the geometry data type a given Oracle Database is using in SQL Developer (i.e. SDO_Geometry, ST_Geometry, etc)? I thought I could just describe a feature class within the ...
1
vote
0answers
25 views

unexpected change of area

Selecting a vector layer and running the following script, I expect the total area of my feature-geometries to be the same at the end of execution. from shapely.wkb import loads from shapely.ops ...
0
votes
1answer
123 views

Read SQL Server Geometry datatype in R

I have two datasets that come from ArcGis, stored in SQL Server. I have a column called - Shape which is a geometry data type and the value looks like this: ...
5
votes
1answer
93 views

Writing points to a file

Trying to write the city name and point coords to a file. The following works with a polygon shapefile but not the point shapefile. I know I'm missing something basic. import arcpy # Set up the ...
3
votes
1answer
48 views

PostGIS, no use of gist for geometry column in a query

My query is: SELECT count(datasetid) FROM scenes WHERE acquisitiondate between '2014-06-01' and '2015-06-01' AND ST_Intersects(ST_GeographyFromText('SRID=4326; POLYGON((' || '10.66437' || ...
1
vote
0answers
44 views

Are GIS tools suitable for physical capacity and placement management?

I'm a complete newbie to GIS systems, I've been watching some introductory videos about GIS but I'm not yet sure if GIS tools are the right tool for solving my problem. I have a database with ...
5
votes
0answers
552 views

What traits identify 2D, 2.5D, 3D geometries, and how can you convert downward, such as from 2.5D to 2D? [closed]

In answering OGR - Weird GeomType -2147483645 on polygon shapefile, posed by @Burton449, I came to realize I don't have a definitive grasp on what distinguishes 2D, 2.5D, and 3D geometries. I ...
0
votes
1answer
318 views

Which geo-location available in Twitter data should I use?

I am extracting twitter location on my side.Few tweets has perfect location but in most cases additional details are available (i.e. Country,bounding_box,poly lines etc) So confused regarding ...
1
vote
0answers
69 views

Best SRID for worldwide data in Microsoft Sql Server geometry field?

I'm using Microsoft Sql Server 2012 to store geographical data related to hydrometeorological stations which are scattered around the globe (point layers and multipolygon layers). My data is in WGS84 ...
1
vote
2answers
123 views

How to get ST_MakeLine ready for QGIS?

CREATE VIEW new_line AS SELECT point1.gid, ST_MakeLine(point1.geom, point2.geom) FROM point1, point2 WHERE point1.gid = point2.gid; It's possible to load the layer but QGIS says 'There is no entry ...
1
vote
1answer
255 views

ST-Links convert Feature Class to DB Table error

I'm using ArcMap with the ST-Links SpatialKit Conversion tool to convert a Feature Class to a DB Table. But I'm getting an error: ERROR: 42601: type modifier is not allowed for type "geometry". I can'...
0
votes
1answer
76 views

Arcpy: creating a line on an existing line based on points' coordinates

I have a point which is some meters away from an existing line: This point should be snapped to the line (to the closest part) and then, based on the points' new coordinates, a new line Feature ...
0
votes
1answer
181 views

MS SQL table with geometry field to feature class

I have a table in a native SQL database (no geodatabase, dc_geobank_public.sde in the code) with cca. 300 000 records and 18 fields. Two of the field contains projected X and Y coordinates, and one ...
0
votes
1answer
283 views

Calculate distance between two points in projection EPSG:900913

I have two points in 900913 projection and I want to calculate the distance between the points. I don't want to transform points to 4326 and then calculate. How do I do this?
1
vote
0answers
27 views

Singlepart to multipart not producing results [closed]

I have a line - a street downloaded from OSM. It is in separate parts geometrically, but is contained in one record in the attribute table. That means it is only one row. I would like to split this ...
22
votes
5answers
50k views

How to get coordinates from geometry in PostGIS?

This line: SELECT geom FROM myLayer.geom will return a hex value, i'm wondering how would it be possible to get decimal values, a result that look likes human-readable coordination? Regards,
1
vote
2answers
103 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 ...
3
votes
1answer
621 views

Is it possible to figure out which “Path”(PointCollection) is clicked on within a PolyLine?

I am using ArcGIS WPF's Polyline to plot several lines (PointCollections). Adding a Path(PointCollection) looks something like this. PointCollection collection = new PointCollection(); PolyLine ...
2
votes
2answers
104 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
55 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
119 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
173 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 ...
1
vote
2answers
284 views

Intersection point of polygon and the line created by two points ArcPy

I have polygon layer. I selected the most distant vertex from centroid (picture: point A). (How to do that is in the answer here: Select the most distant vertex from polygon's centroid using ArcPy)...
3
votes
3answers
724 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: http://stackoverflow.com/questions/3547699/need-performance-on-postgis-with-geodjango#...
14
votes
3answers
31k views

Create a geography/geometry column from x and y fields - SQL Server 2008

I'm new in SQL Server 2008 and I hope you will understand my question/need. Thus, I have a table which contains 3 fields (Name, Lat and Long) in my data base (spatial). I want to create a geometry/...
1
vote
1answer
40 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 ...
1
vote
1answer
163 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?
3
votes
3answers
787 views

Update geometry(polygon) of shape file based on a point layer

I have two shapefiles. Polygon shapefile Point file contains some points. Now i want to delete all the vertex of polygon shape file which are available in point file. I am using ArcGIS (ArcEditor)...
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 ...
2
votes
2answers
84 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 ...
2
votes
1answer
146 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 ...
2
votes
1answer
69 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
107 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 ...
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 ...
5
votes
2answers
3k views

How to update geometry in ArcObjects?

I'm just starting with ArcObjects and I want to update coordinates of geometry vertices. Specifically, I want to swap X, Y coordinates for each vertex of polygons (which can be multipart and have ...
2
votes
1answer
84 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
145 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 ...