(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
0answers
19 views

Shared edge between two geojson polygons

I am interested in getting the coordinates of a shared edge (if exists) between two geojson polygons. I am (currently) using turfjs and geojson-equality libraries I tried this but I consider it quite ...
2
votes
1answer
34 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
0answers
15 views

Difference between adding spatial layer from MSSQL through “browser” and “add MSSQL table”

So I am trying to pinpoint the difference of adding layers from MSSQL Database that contains spatial layers like geography and geometry. I have noticed that when adding from the browser it retains it ...
4
votes
1answer
49 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
1answer
31 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
18 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( ...
5
votes
1answer
59 views
+50

Draw SQL server geometry records as graphics on map using ArcGIS API for WPF 2.4 -can it be done and how?

I have records (of public festivals changing daily) in the in SQL server 2012 that have a geometry column (polygons where they occur). I need to show the records as graphics on a map using ArcGIS ...
1
vote
2answers
28 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
61 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
27 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
0answers
17 views

sql server geometry find points intersection buffer

How do I find the point of intersection of buffer?
1
vote
1answer
15 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 ...
1
vote
1answer
37 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 ...
0
votes
1answer
49 views

SQL Server geometry vs. geography in Esri map service

We have a SQL Server 2008R2 database where point coordinates are stored as decimal degrees. I want to create an Esri map service which shows those points. As the point data is dynamic I decided to ...
0
votes
0answers
9 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
23 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 ...
0
votes
1answer
22 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
38 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
28 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
33 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 ...
0
votes
0answers
16 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 ...
1
vote
0answers
10 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
2answers
78 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 ...
9
votes
2answers
75 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
27 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? ...
2
votes
0answers
44 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 ...
0
votes
0answers
14 views

Javascript - Convert arc polyline to arrow polygon

I am using the arc.js library to generate arcs on my map. Those arcs are polylines. I would like to transform those arcs into arrows polygon. To create the arc, I need the start and the end ...
1
vote
0answers
21 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
16 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
20 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 ...
1
vote
2answers
50 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 ...
5
votes
1answer
142 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
75 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
0answers
39 views

ArcGIS Desktop: Not Rendering Line Data but Web Service Outputs Fine

I have some script which read .JSON files through .NET and then inserts the data into a SQL Server database. The data's Geometry is of the type esriGeometryPolyline ; basically, they are floor plans ...
3
votes
0answers
108 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 ...
0
votes
0answers
43 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 ...
1
vote
0answers
25 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
17 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, ...
1
vote
0answers
82 views

How to determine ring orientation from lat/long coordinate points?

We have some set of point coordinates in lat/long which contribute to a polygon. From this set how do we determine the polygon is clockwise or anticlockwise?
1
vote
1answer
57 views

How to insert non-spatial features into a Polygon shapefile - FME 2015

Here is the issue: I have the original data (a shapefile with spatial a non-spatial features) which I need to transform: (highlighted those non-spatail features) I need to make some ...
2
votes
1answer
50 views

SQL Server Geography Query works but Geometry Query Does Not - Different Tables, Similar Schemas

I am trying to get a Geometry query to work. A similar Geography query works fine but I must work with a table that uses a Geometry type. Although the Geography version returns lots of records as ...
1
vote
1answer
52 views

Clarification about Trilateration

What is the method used by wikipedia to solve Trilateration problem, is it the Linear Least Square? or is it just a direct solution of a set of linear equation systeme with exact distance? but in this ...
1
vote
1answer
101 views

Geopandas: counting the number of raster pixels within a shapefile polygon

I have a shapefile that I have loaded as a geopandas dataframe, and it has a geometry column containing polygons and multipolygons. My end goal is to do some zonal computations on a GeoTiff raster, ...
1
vote
1answer
56 views

spatialite : spatial index on geometries

I'm currently learning to use spatial access methods for query optimization. I'm going through the examples in spatialite cookbook and got stuck in here ...
0
votes
2answers
55 views

Create point on a line with given distance from end in PostGIS

Does anyone know how to create points along a line (MultiLineString geometry) with a given distance in PostGIS? I'd like to create points at a regular distance over a line, which represents a ...
0
votes
0answers
172 views

Efficient way of determining polygon intersection with bounding box

I have a set of polygons, and I need to check whether they are intersecting with a given bounding box(rectangle). What I am doing is, I am taking every vertex of polygon and checking whether it's ...
1
vote
1answer
276 views

Google's S2 library - any alternatives?

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 ...
2
votes
1answer
31 views

Creating PolylineZ in arcpy

The script below is slightly modified "Polyline example" from ArcGIS help http://resources.arcgis.com/en/help/main/10.1/index.html#//018z00000008000000 import arcpy # next 3 lines are new from arcpy ...
0
votes
1answer
69 views

How to get arcpy to access attributes of a geometry?

As a novice python programmer I am struggling mightily with my code. What it is supposed to do is Buffer a bunch of points with four distances (100, 200, 300, 400meters) Calculate zonal sum for ...
0
votes
1answer
102 views

How to convert features of layer from POLYGON to MULTIPOLYGON?

How can I convert features of a layer from POLYGON to MULTIPOLYGON? I know how to do that using the postgis function ST_Multi but how could I do to same thing for a layer in QGIS?