(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
2answers
292 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, ...
4
votes
0answers
932 views

OpenLayers: WFS request to GeoServer to retrieve “name” & “featureNS”

Using WFSGetCapabilities I sent a GetCapabilities request to GeoServer. From the result of WFSGetCapabilities().read(), I can loop each featureType and retrieve some basic info(e.g., name, title, ...
1
vote
0answers
52 views

regroup the close points [closed]

I have a list of 10 000 points, and I wish consolidate 15 points each in a block in the vicinity. I use arcgis, or mapinfo qgis, I just need the method.
7
votes
1answer
940 views

How to compute Straight Skeletons using Python?

Is there a Python package which provides an implementation of a Straight Skeleton algorithm? I'm aware that the open source (C++) project CGALcontains an implementation but it seems like cgal-...
0
votes
1answer
64 views

Creating info window that allows user to scroll through different data sets with same geometry using CartoDB?

I am using CartoDB and am mapping water quality data in a particular region in Mexico. My organization has data of multiple locations over many years. Since we are showing the same data of the ...
2
votes
1answer
107 views

Get the number of bends of a polyline

I am trying to get the number of curves/bends of a polyline. I know that I can accomplish this by getting the vertices of the polyline, and check the from and to and compare their angles, if they ...
1
vote
1answer
273 views

Create polygons from points representing the corner vertices (ArcGIS)?

I am on ArcGIS 10.3.1. I have a point feature class that represents the corner vertices of the polygons. They are located in a regular grid. The labels represent the OBJECTID. The points can be ...
4
votes
2answers
4k views

Extracting elevation from a TIN file with a point shapefile overlay

I have a TIN file that was built off of contour polyline shapefile (I think). I have a point shapfile with a few points. How can I extract elevation of the TIN file where the points occur? I am ...
1
vote
0answers
58 views

Why is the geometry changing slightly when I import shapes into a postgresql database with postgis?

I recently posted this question when first trying to import data from a file geodatabase into a postgis database: how can I maintain curves when converting from geodatabase to postgresql using og2gui ...
9
votes
1answer
644 views

How exactly is the centroid of polygons calculated?

I would like to know how exactly QGIS Geometry tools -> polygon centroid is calculating the point coordinates. For example does it divide the boarder of the polygon into small points, take two pairs ...
1
vote
0answers
42 views

Is there a way to select polygons by geometry (right angle)? [closed]

Is there a way to select polygons by geometry? I need to find a way to detect all the polygons that have a right angle, but I can't find a tool that can do that. I'm using QGIS 2.10.1 and ArcGIS ...
3
votes
1answer
596 views

Update a table with values from coordinates on GEOMETRY in Oracle

I have 2 columns in a table that represent the X and Y coordinates. The values in those columns don't match the actual coordinates and I want to update them with the coordinates values that are ...
0
votes
1answer
47 views

How to get Lat/Lng from a Geometric property?

Alright, I am very new to GIS, my question might not even make sense, but help me get through this. I have this JSON data of some fields which have this geometry property: "geometry": {"type":"...
1
vote
2answers
186 views

Can QGIS import Multipatch geometry type?

can QGIS import multipatch 3d geometry type? What is the data structure of multipatch how computer record and draws it ? Is it solid or not??
1
vote
0answers
17 views

Quantum gis 2.2 - pasting templates

Is there a way to paste geometries in a workspace at the location i want? e.g. i want to paste a circle from another workspace in the workspace i'm working with. I need only the geometry, not the ...
0
votes
1answer
257 views

PyQGIS: how to transform single QgsGeometry object from one CRS to the other?

I have a polyline layer with roads in WGS84 that covers several UTM zones. For every road I need to place a set of points at different distances (in metres). To do so I want to reproject each road to ...
0
votes
2answers
389 views

What is nontopological geometry?

I need a simple understanding of nontopological geometry. I am completely new in this area so please correct me if I am wrong. As far as I understand in topological geometry the object(say a line) ...
1
vote
1answer
96 views

What does double digitized polygon mean?

I know what is a polygon but when a polygon is said to be double digitized? I failed to find a suitable meaning of double digitized after googling. I understand double digitized means digitized twice,...
6
votes
2answers
423 views

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
1answer
92 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
143 views

ArcGIS/ ArcPy - XY coordinates of feature class does not match calculated geometry XY

Tested on: different workstations, different Windows versions; ArcGIS Desktop 10.3, different license levels Background: I use the Google Maps DistanceMatrix to calculate drive times between two ...
2
votes
2answers
105 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
104 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
131 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
153 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
270 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
159 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
55 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
163 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
107 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
34 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
46 views

sql server geometry find points intersection buffer

How do I find the point of intersection of buffer?
1
vote
1answer
100 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
215 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
220 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
52 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
88 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
57 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
96 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
123 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
155 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)...