(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

6
votes
2answers
71 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 ...
4
votes
1answer
55 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 ...
2
votes
1answer
35 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 ...
0
votes
2answers
298 views

Calculating minimum/maximum width for overlay of two polygon strips in ArcGIS or some Opensource GIS

Is there some solution for calculating minimum and maximum width for overlay of two polygon strips? When I clip these strips the result is another strip with variable width about 1 km and 20 km long. ...
1
vote
2answers
132 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
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 ...
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 ...
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( ...
4
votes
2answers
151 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
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
1answer
224 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 ...
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
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 ...
1
vote
0answers
18 views

sql server geometry find points intersection buffer

How do I find the point of intersection of buffer?
0
votes
2answers
205 views

add featureset in graphics layer without iterating

I have a geoprocessing service that returns a large amount of features (featureSet). I want to attach them in a graphics layer, but I dont wont to iterate over all them. I tried using the ...
0
votes
1answer
585 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
354 views

SQL Data: How to draw circles with a radius based on lat/long data in DB

I have a . sqlite file with many columns, two of those columns being lat and long. I've been searching around for a bit now (don't think I want to be using BuildCircleMbr from spatialite?) but I'm ...
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 ...
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 ...
5
votes
1answer
202 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 = ...
4
votes
6answers
3k 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 ...
1
vote
1answer
624 views

Get geometry from OpenLayers.Control.WMSGetFeatureInfo JSON

I need to store the geometry of a certain feature with OpenLayers.Control.WMSGetFeatureInfo and i'm using these parameters to get it in json format output:'features', infoFormat:'application/json', ...
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
1answer
277 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
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
24 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
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? ...
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
54 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
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 ...
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 ...
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
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
1answer
259 views

Is it possible to draw polygons along Google Maps Polyline?

Web application has option that user draws polyline on Google Map. After he draws it, there is a button 'Add polygons', which should draw polygons along that line, based on some width and height in ...
4
votes
3answers
720 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 ...
2
votes
2answers
111 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
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
2answers
51 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
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 ...
3
votes
1answer
249 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 ...
6
votes
3answers
305 views

Filtering features using geometric attributes of polygons in ArcGIS Desktop?

Given a polygon featureclass containing many polygons of different sizes and shapes, which geometric attributes (area, perimeter, etc) could be used to filter the polygons? It's probably best to ask ...