(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

0
votes
0answers
5 views

How to add a geometry field to an existing table in ArcGIS?

everyone I'm a newcomer to arcgis. I built arcsde on top of oracle, and had created several tables in oracle before installing arcsde. Now, I want to add a geometry field to these tables. Is there ...
0
votes
1answer
17 views

ArcObjects - Geometry type select with Vbnet

How can I read the geometry type of shapefiles with ArcObjects and Vbnet? I want to check whether it is a point, polygon, or a line.
3
votes
2answers
31 views

ArcPy Data Access Insert Cursor not writing geometries to feature class?

I'm running ArcGIS 10.2.1 and am having troubles with the Insert Cursor in the arcpy module. I have an empty feature class in my geodatabase and have created the short script below to try and find the ...
0
votes
0answers
12 views

Find Coordinates of Larger Area from Sub-Areas

If I have the sets of coordinates of the borders of some sub-areas is there a way to calculate the overall border of the total area? (The coordinates are 2D Cartesian coordinates.) E.g. if I have the ...
2
votes
1answer
27 views

How do I use code (preferably c#) to clip all points within a shapefile that are not contained within a polygon?

So the task is simple: I want to take a point shapefile as input and remove all of the points that are not contained within a polygon. I'm using DotSpatial to do this, but the catch is that there are ...
0
votes
1answer
45 views

Python library or algorithm to generate arc geometry from three coordinate pairs?

I'm trying to write code to generate fixtures for a django/geodjango project. I need to generate geometry for arcs (line string) given three lat/long pairs; start of arc, end of arc and centre of arc. ...
0
votes
0answers
13 views

v.clean in QGIS Python console

I have tried to use v.clean and v.clean.advanced (by GRASS GIS) within a script in QGIS, and was not able. I followed instructions here:, but was not able to do so. I got message: "No module named ...
0
votes
0answers
15 views

USA MSA/City/County with SImplest Border in JSON

I deal with a lot of poloygon-related JSON representing US places regularly. One thing that could make reading JSON with my eyeballs easier is having a short list of US places whose borders have ...
1
vote
0answers
80 views

Invalid geometry

I'm working on some shapefiles in both ArcGIS 10.2 and QGIS 2.0. I have 3 files which I have cleaned of self intersections in ArcGIS using Repair Geometry. I have also checked for Overlaps using the ...
1
vote
0answers
29 views

How to force geometry type in (WFS) layer in QGIS

I have an external WFS source serving mixed geometry types - in other words, I have no control of the source. When adding the layer QGIS sets the geometry type to line and thus I am unable to style ...
0
votes
1answer
22 views

Geometry conversion problem.Data loss

I was trying to convert a roadnetwork table.Its geometry contains both MULTILINESTRING and LINESTRING.I converted all the MULTILINE string to Linestring using the query update all_india_merge set ...
1
vote
1answer
30 views

Test for polygon orientation

I'm want to merge multiple geometries with Geotools (starting off with one geometry) but the result is a polygon that has a clockwise orientation. This gives a invalid geometry. My code for the merge: ...
1
vote
1answer
38 views

How to get the width and height of a rectangular polygon in PostGIS

I have a table with point features saved in the my PostgreSQL database, and I can run the following query to get the extent of the point features and I turned the extent back into a geometry: SELECT ...
0
votes
1answer
31 views

Difference between 'point' and 'WKSpoint' in ArcGIS

I have to add 3-D points to make a polygon in ArcGIS using VB.NET. I have defined an IpointCollection and want to add points to this. I have options to add 'point' or 'pointcollection' or 'WKSpointz'. ...
0
votes
1answer
33 views

How can I get the circle of a sphere (on Earth ellipsoid) around a point using the Latitude and Longitude?

Specifically finding points along the circle. If possible without converting into Northing/Easting beforehand. I'm looking for the fastest possible way to calculate points in Latitude/Longitude in a ...
1
vote
0answers
20 views

How to offset/displace overlapping lines in a web map?

I have a dataset of points representing a To/From status - something like distribution centres and delivery addresses. When the user clicks on a point I'd like to show the relationships between this ...
0
votes
1answer
67 views

using Z and M feature geometry to create line graph in Python?

I am a Python (v2.6.5) noob trying to plot a series of 3D polylines into graphs. So far I've come up with: # Import system modules import arcpy, os, sys, string from arcpy import env ...
0
votes
1answer
43 views

Geometry to Shapefile

From importing the shapefile to postgis, its geometry is added to the database postgresql. The question, how can I load the shapefile in the Visual Basic.Net using the geometry in the database ?
2
votes
1answer
55 views

Radius of curvature for curves in road segments for entire road network

I have a road network shapefile for a US state and I am trying to derive the radius of curvature for road segments in this shapefile. I need to be able to perform this task within just a few functions ...
1
vote
3answers
34 views

Adding combined footage to points from the beginning of a line

I'm trying to add the footage of each point from the beginning of the line to the end. There are around 4k vertexes between the two ends that I need to put the footage from the beginning of the line ...
0
votes
1answer
21 views

How to check VALUES from different datasets spatially near with ArcGIS10

I need some suggestions, let's see: I have two heavy polyline datasets, from different sources, so they will never be coincident (it doesn't matter this issue). Both have the same field from which I ...
0
votes
0answers
25 views

SetSpatialFilter worked unexpected when using ogr by python

I am using ogr python binding to read the shapfile, this is the code: ..... bbox="POLYGON ((20.18164062 30.63867188,20.63867188 30.63867188,20.63867188 30.18164062,20.18164062 30.18164062,20.18164062 ...
0
votes
1answer
50 views

file formats to represent georeferenced 3D data

I am looking for an overview of file formats that can store geo-referenced 3D geometries. There are no further requirements such as texture support, etc. I have found the following formats so far and ...
0
votes
0answers
22 views

random point in geometry (JavaScript, OpenLayers)

I have a standard OpenLayers geometry object - in 90% of cases it is a polygon and in 10% a multipolygon. I need to get a random point in that geometry. I cannot just tase a random border point (using ...
1
vote
1answer
52 views

Locating 0-points multipart polygons using arcpy

By Running this piece of code: import arcpy arcpy.env.workspace = "C:\working\GEODATABASES\\tests.gdb" fcList = arcpy.ListFeatureClasses() for fc in fcList: with arcpy.da.SearchCursor(fc, ...
0
votes
1answer
45 views

How can envelope angle be calculated?

Azure SQL has a hemisphere limitation where it errors on any geography having an envelope angle greater than 90 degrees. My coworker wants to set up some detection in the web server to catch such ...
1
vote
1answer
41 views

Replace Polygon geometry in SDE Database using FME

I'm still trying to wrap my head around using FME and encountering another issue. This is my scenario: I have a master SDE database that i am trying to update using the data from a GDB file. I was ...
0
votes
0answers
18 views

WKBreader reuse - jts 1.9

I'm having some bad behavior reusing wkbreader. The context as of a single threaded as I use threadlocal wkbreader. I get parse exception on some geoms. When I create a new wkbreader for each ...
4
votes
2answers
224 views

Multilateration Code

I am currently writing some code to do multilateration using TDOA and currently struggling and wondering if anyone has any reference code that can be used as a test case with some sample data that I ...
0
votes
1answer
69 views

SQL Geometry Query similar to Select by Centroid

Does anyone know if it's possible to query SQL geometry by something like 'centroid of polygon'...similar to ArcMap's select by location? I'm using SQL Server 2008 R2 as the DBMS. I have two polygon ...
1
vote
1answer
146 views

Is it possible to get a binary geometry from PostGIS?

PostgreSQL (via C# Npgsql driver) returns geometry column (PostGIS) like a hex string (EWKB as I understand) for this query: SELECT ST_Transform(geometry, 4326) FROM myGeometries; Result (for ...
1
vote
1answer
55 views

How to identify and highlight invalid geometries?

I'm am trying to clean/edit shape files that were created by algorithm in Qgis. My problem is when I try to split some polygons,they have invalid geometry. Is a way to identify these error maybe in a ...
0
votes
0answers
49 views

Prevent self-intersecting loops when exporting polygon layer from ArcSDE to File Geodatabase?

I am using ArcGIS 10.1. The source data is housed in an ArcSDE instance that does not allow self-intersections. When I export this data to a file geodatabase and run check geometry ...
1
vote
0answers
36 views

PostGIS automatically creating geometries after importing using QGIS DB Manager

I have a shapefile consisting of linestrings, in which some of the features have null geometry. Yet, after importing it to PostGIS, using QGIS' DB Manager, a geometry is created for those features ...
0
votes
0answers
41 views

Detecting esri markers within certain distance using ArcGIS JavaScript API?

I have a set of coordinates that is loaded from database. I would like to detect all the loaded markers that are close to each others which is within a certain distance. so the code is something ...
3
votes
2answers
85 views

How do you determine how straight a LineString is? [duplicate]

I have a bunch of LINESTRINGs and need to classify them based on how strait they are. My idea is to compare the length of the LINESTRING to the distance between the first and last POINTs. I'm ...
1
vote
1answer
24 views

ogr: what is the advantage of using `geom.Clone()` over `geom`?

What is the advantage of using geom.Clone() over geom? Simple example: geom = link_feat.GetGeometryRef() newfeature.SetGeometry(geom.Clone()) # or newfeature.SetGeometry(geom) ...
1
vote
1answer
98 views

How to split circles in 8 quadrants

I am using ArcGis 9.3 and I need to split a large number of circles in quadrants. The circles corresponde to a 200m buffer of a point layer and, for each point, I need to split the buffer in 8 ...
0
votes
0answers
19 views

Is there a way to compare geometries clientside in ArcGIS Flex API?

I'd like to know if the geometries of two different graphics are exactly the same. I'd like to do that client side without using a geometry service. Is that possible?
0
votes
0answers
41 views

insertVertex giving false in pyQGIS

I have this code from my plugin which work in Qgis 1.8 and I am trying to make it work in 2.0. I want to insert a coordinate x and y into a polyline after the last entry. points = geom.asPolyline() ...
2
votes
1answer
65 views

Getting geometry of drawing in ArcGIS Server JavaScript API

To me, ArcGIS Help and Online Resources is always full of unneccessay information and missing some important points. For example there are lots of samples for drawing but I couldn't find any thing for ...
2
votes
1answer
60 views

Decimal Degree data erases itself between edit sessions in QGIS

I have a shapefile with point data. I calculate the $x and $y of the points successfully I save the changes and close the edit session. Once I reopen the attribute table, the data after the decimal ...
4
votes
1answer
121 views

Configuring Geoserver to use a specific postgis geometry column as the default

I have a PostGIS table with two geometry columns, both multipolygon but one with SRID 4326, the other 3857. When publishing the table in Geoserver, I realize that Geoserver defaults to using the first ...
0
votes
1answer
33 views

Postgis add Geography to function()?

i was wondering im getting different results when using geography() on different positions within a query. So, whats the most accurate way of forcing geography() over a functions with geometry ...
2
votes
0answers
51 views

PostGIS does not export shortest path to Shapefile

I am trying to draw a bunch of lines overlaying the globe map in a WGS84 projection. To this effect I have created a PostGIS DB with a table that has one column containing linestring data. My problem ...
0
votes
0answers
35 views

save polygon from image to PostGIS database

I'm working on a software to detect buildings from satellite imagery. so far I have managed to separate the building with other objects of the image. My problem now is how to save every building in ...
0
votes
0answers
55 views

TileStache : Unknown geometry type in geoJSON file

I'm currently trying to set up a TilSstache server on Ubuntu 12.04 to serve some GeoJSON tiles from a shapefile/JSON file (administratives boundaries) for a web mapping project using the Leaflet ...
0
votes
1answer
60 views

How to disable “Simplify geometry” via Python?

After I've loaded a layer from a table in my db I'd like to disable the 'Simplify geometry' (found in Layers/Properties/Rendering) programatically using Python. I've tried several versions of ...
0
votes
0answers
35 views

Merging parcels but keeping Geometry seperate

I am working on updating a parcel layer we received for a project, and I have duplicate parcelID's for parcels and I have been merging these to create 1 parcel as to not have duplicate ID's. My ...
1
vote
1answer
180 views

converting/parsing geojson into com.vividsolutions.jts geometry

Does any has any experience with converting string geojson into com.vividsolutions.jts geometry object (point, polygon, etc). Maybe there is some java library I cannot find. Greets!