(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
2answers
100 views

Query Features in Certain Direction

I have a polyline that I would like to query features that are on it's left, right, top, bottom. I am not looking for the features surrounding it but for features that are on a certain location from ...
0
votes
2answers
96 views

Using ST_LINE_INTERPOLATE_POINT in OGR and python

I'm interested in finding the midpoint on a linestring using OGR and python. This can be a line with more segments. Could I use the ST_LINE_INTERPOLATE_POINT in python using the ExecuteSQL() method? ...
0
votes
1answer
125 views

Qgis 2.10 unable to add a new feature in spatialite via sql function “GeomFromText”

Using Python code in my plugin the function in sql language "GeomFromText(POINT(X Y))" gives the following error: "OperationalError: no such function: GeomFromText" Plugin functions in previous ...
8
votes
3answers
2k views

How to convert from SQL Server geometry BLOB to something else?

I have a CSV data file from a 3rd party that is an exported SQL Server table. They simply did a select * from foo and output the result to a text file and sent it over. In their table is column of ...
5
votes
2answers
150 views

Polygon points to Polyline

I am trying to create a polyline from the points that I query from a polygon. I have a polygon, and I am getting its edges, casting them to segments, and then use QueryNormal to get the mid point ...
0
votes
0answers
28 views

Determining North-South Line Via Watch Method?

I read about Determining North-South Line Via Watch Method recently (page 9). What is the underlying geometric/celestial reason this works? What is the error to true north given this method? Is ...
2
votes
1answer
258 views

Remove inner rings from QgsGeometry polygon in QGIS Python

I am a QGIS python user. I want to iterate over the rings of a polygon to remove holes in the polygon, so: I need to iterate over the rings in a QgsGeometry polygon I need to detect the main ring ...
1
vote
2answers
156 views

Free 3rd party library for showing geospatial vector information

Up to now, I have used GDAL to extract raster data from geotiffs and then, OpenGL to show that raster data. But when it comes to extract vector data with the help of OGR, what library would you ...
1
vote
1answer
1k views

How to resolve the postgis “type geometry does not exist” issue on installing tiger_geocode extension?

I have installed postgis extension in my db. I have few columns associated with its type in few tables and now I would like to use reverse geocode functionality in my app. Hence I tried to create ...
2
votes
0answers
49 views

how to register view geometry made by MakeLine function?

I am trying to to create a spatial view on my spatialite database. CREATE VIEW v2_pump_view AS SELECT pump.ROWID AS ROWID, pump.id AS pump_id, MakeLine( ...
4
votes
2answers
162 views

Dismantling and reassembling polyline by joining each point to its nearest neighboring point using ArcGIS Desktop?

How can I reconfigure a PolylineMZ feature class in a way as shown in the image below? I have a feature class (PolylineMZ) which contains x-sections. Some x-sections (polylines) are badly constructed ...
1
vote
2answers
36 views

Geographical Field Points of a Boundary

I gathered field points with a TOPCON hand held receiver. I saved the points as a shape file and brought them into arc map. I used the editor tool to connect the points and created a polygon. Is ...
3
votes
2answers
105 views

Construct curve of equal distance from two straight lines

Given two straight lines defined by two points each, I want to get the line which separates points nearer to line a from points nearer to line b. The attached PostGIS code is an example case, it finds ...
0
votes
0answers
33 views

PosGIS: Longest line connecting point to line

I have a point and around it lines and polygons in the rule of obstacles. I want to connect the point to each of the lines, with a line, such that this connecting line is not intersect any obstacle (...
1
vote
1answer
2k views

Google's S2 library - any alternatives? [closed]

Is there any alternative to Google's S2 geometry library? It looks it was updated 4 years back and hardly any documentation. I need a library to divide cities into zones of the area I need. S2 looks ...
1
vote
0answers
44 views

sql server geometry find points intersection buffer

How do I find the point of intersection of buffer?
2
votes
1answer
109 views

Testing if Geometry is convex using JTS?

I'm using the Java Topology Suite and I'd like to efficiently check if a Geometry (a Polygon in fact) is convex or not. I currently do if (geometry.convexHull().equals(geometry)) but obivously that ...
1
vote
1answer
91 views

GeoTools Geometries lost when storing features to shapefile [duplicate]

As you know, the geometry column name of schema for saving into a shapefile must be "the_geom". I have a SimpleFeatureCollection with a schema, geometry name of which is not "the_geom"; It is "...
5
votes
1answer
213 views

How can I increase performance on inserting features with polygon geometry?

I have a problem when inserting features with polygon feature class in FGDB. This is my code: ... initialising some fields (does not affect performance) m_featureBuffer.Shape = CreateShape(...
9
votes
6answers
9k views

How to fix quickly a lot of geometry validity errors in QGIS?

I am working on ownership data at a US county level. I have one shapefile per county that contains thousands of tax parcels. I need to dissolve the polygons representing parcels owned by the same ...
0
votes
1answer
1k views

Using WKT.writeGeometry for 'Circle' Geometry in OpenLayers?

In my application which I'm building using OpenLayers3, I'm trying to extract the geometry of a feature to WKT using var format = new ol.format.WKT(); console.log(format.writeGeometry(geometry)); by ...
0
votes
0answers
14 views

Representation of streets/highways Geometry

I have Navtech data which provides center-lines with geometric data of the roads. The most important data for me is that it gives me the width of the road as well as the number of lanes for most of ...
0
votes
0answers
204 views

Drawing Zoning Setback Lines

What would be the process for drawing zoning setback lines for a property parcel polygon? I'm looking for a software agnostic solution - just a walk through of the general steps with enough detail ...
1
vote
1answer
51 views

Looking for geometries defining the boundaries of Canadian Location Code regions used for Meteorological Services in Canada

To be clear I have looked into the GADM datasets. The problem is that Canada has a very non-standardized level-2 Administrative Zone identification across the various Territories and Provinces. As a ...
0
votes
0answers
86 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 ...
0
votes
1answer
39 views

Double geometry coloumns in an xy event layer (ArcGIS 10.0)

I want to convert an annotation feature class to a shapefile. The annotation feature class is stored in a file geodatabase. I add two columns (x, y) for the centroid coordinates (calculate geometry) ...
1
vote
1answer
55 views

sorting polygons extracted using Fishnet

I generated polygons using fishnet in ArcMap, since the polygons didn't fall exactly on top of my raster image, I had to edit and move some of them. Now the FID of my polygons are all messed up, and ...
9
votes
2answers
94 views

Fuzzy least-coarse common partition algorithm

Given two different partitions of a shape (for argument's sake, two different administrative divisions of a country), how can I find a new partition into which both of those partitions fit, allowing ...
0
votes
1answer
118 views

Points contained in envelopes that cross date-line - java

I'm using the ESRI Geometry Java API https://github.com/Esri/geometry-api-java I want to construct an envelope and see if it contains certain points. It's possible the envelope crosses the ...
0
votes
0answers
143 views

How to create a polyline using multiple points using a PostgreSQL query?

I'm trying to use point data to create a polyline to show my bus route. Initially began with coordinates and used this to create geom using the ST_MakePoint function (written to the BusRouteData table)...
2
votes
2answers
161 views

Merging lines (that might cross) at common endpoints without multi-part features in the result

I have a polyline dataset I'm trying to merge / dissolve segments based on an attribute into continuous single lines. The problem is that some of those segments cross each other but need to be ...
1
vote
0answers
21 views

QGIS 2.0.1 Translate Feature

I have a layer containing linestrings and want to move those that are too close to each other. I seem to be missing something in the moving part though: layer = iface.activeLayer() def moveFeature (...
2
votes
0answers
119 views

how to orthogonalize building outlines

I'm looking for a way to orthogonalize building outlines which I've extracted from a high-res DEM. I'm using the FOSS GIS stack (QGIS, GRASS, SAGA, PostgrSQL, PostGIS) and can code in Python (or Java)....
4
votes
3answers
987 views

arcobjects update geometry Z values of line vertices with a given number

I am trying to develop arcgis 10.0 addin to update Z values of vertices of a selected line. Scenario: The tool scans all features in a given shape file and populates the list of features which has at ...
3
votes
2answers
196 views

Is there a PostGIS function to get a tangent and normal line?

I'm looking for a function that will return a tangent (and normal) for a LINESTRING in PostGIS. I think this is the 3rd time I've come across the need for this function and everytime, I end porting ...
1
vote
0answers
41 views

Geometry Calculation in QGIS [duplicate]

I'm trying to calculate the area of some census tracts in qgis I go to vector -> geometry tools -> export/add geometry columns in the resulting dialog, I calculate using project CRS. What comes out ...
1
vote
0answers
27 views

WFS Updating a geometries points

I'm trying to work out on how I can insert or overwrite points that are stored in a features/ Layer? I've created a String/Text document which is already converted into GML/XML ready to be pushed to a ...
1
vote
0answers
26 views

line from min to max of a digital elevation model

I have some geometries as multipolygons and a dem (digital elevation model). I need a line from the max value to the lowest value of the dem for every multipolygon. Is qgis a tool i could use or do i ...
3
votes
1answer
489 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 ...
2
votes
2answers
1k 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
183 views

Explanation of the Thinness ratio formula?

I am looking for sliver polygons and am using the following formula to identify which polygons have a smaller area-to-circumference ratio (aka Thinness Ratio): 4 * pi * area/(length*length) That ...
3
votes
0answers
641 views

C# implementation of concave hull / alpha shapes

I'm looking for a C# implementation of the Concave hull (alpha shapes) algorithm. I already found several Java, Python and C++ implementation but no C# version. The other implementation are quite ...
5
votes
2answers
2k views

How to split a Polyline Geometry at a certain point in ArcObjects?

I have a polyline geometry and wish to split it into two different geometries, based on a given point on that line, in ArcObjects. I have tried to find out how to do this, but to no avail. I found ...
1
vote
0answers
26 views

Forcing area calculation into miles in QGIS (without changing the PCS) [duplicate]

I'm working on an assignment that requires me to create an area column in miles without changing the projected coordinate system. ArcGIS has a tool that can do this ('Calculate Geometry')-- does QGIS ...
0
votes
1answer
19 views

Plotting on MAPinfo given edge geometry in a row

I have a file of road geometry of the Washington State downloaded from GIS cup 2012. Each row in the file is of the type, 5,service,15.9316766209136,47.2981713,-122.2481928,47.2981800,-122.2482596,47....
0
votes
0answers
43 views

Software to determine if a position is within a shape

I would like to know if there is software available that can: Given a position detected by GPS, Warn the user if they are within a shape that I created and put into a database. Any computer ...
2
votes
1answer
516 views

Can't select geometry from Oracle DB using SQL

I'm trying to select the geometry field from an ArcSDE feature class in an Oracle 11g database (inside of a Python script via PyODBC). This is my query: SELECT SHAPE FROM USR.FEAT_CLASS This is ...
1
vote
1answer
164 views

Create a generic shape and draw it as a polygon with center (or base) and rotation?

In Java (jts), is there a way to draw a generic shape, eg. bounded in meters, and apply this to a coordinate, with rotation around a center or base? Something like: double lat = 65.100 double lon = ...
1
vote
0answers
96 views

Assign a IGeometry to Feature.Shape

I'm trying insert a feature into a FeatureClass, but when I try to assign the geometry to featurebuffer the app return the next Error: The remote procedure call failed. (Exception from HRESULT: ...
1
vote
1answer
195 views

ArcMap: Output to XML Including Shape Data?

I need to create a solution for non-technical people to export data from an ArcMAP document (.mxd) to XML files. I will need each feature's data to be exported in such a way that the output xml file (...