We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [geometry]

(1) abstract geometry; (2) storing geographic data in projected coordinates; (3) a generic ESRI term for vector features; a class for "geometry" objects.

192 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
286 views

Combining touching polygons

PROBLEM STATEMENT I am trying, based on previous posts in this website, to combine polygons within the same layer but just when they touch each other by means of pyQGIS. It doesn't work (proper ...
1
vote
0answers
132 views

Invalid Geometry when Importing Shapefile into Excel 2016 PowerMaps

I downloaded Public_School_Locations from NYC Open Data website When I attempt to import Public_Schools_Points_2011-2012A.shp into Excel 2016 PowerMaps this is what I get When I attempt to pick ...
1
vote
0answers
112 views

How to get the closest line to a selected polyline

polylines A, B, and C meet at point P1. Whats a quick way that I could find out which line is closest to polyline A using arcobjects ? At first I used IProximityOperator by casting PolylineA and then ...
1
vote
0answers
209 views

Clustering polygon's created with Leaflet.Draw

I am experimenting with Leaflet at the moment and am trying to cluster polygon's that I've created with Leaflet.Draw plugin's tools. I know that clustering polygons is possible (Is it possible to ...
1
vote
1answer
511 views

How to rotate rectangle which fits in a circle in leaflet

I have a circle (in code its called "cyc_166_1") located at a certain angle with regard to another point. I would like to draw a rectangle which both fits in that second circle (bounds within it), ...
1
vote
0answers
127 views

Obtaining Orientation of Points to Another Layer?

I have a vector layer with points denoting receptors. I have a second vector layer (polygon) delineating a site boundary. Utilizing QGIS v2.14, I am looking for a method to get the orientation of the ...
1
vote
0answers
295 views

How to apply each color to each geometry which i m feching from database

I have multiple geometry polygons in my fetched data from the database like below. I am trying to apply each color to each polygon geometry. How can I seperate each polygon and how can I apply each ...
1
vote
0answers
244 views

QGIS fails to recognize Geometry Column in SQL Server

I have a table [stg].[Stops] in SQL Server that stores a variety of fields including a well-known binary, the GEOM column, that has been created from the stop_lat and stop_lon fields. The GEOM is a ...
1
vote
0answers
242 views

Arcpy Projecting/ProjectAS Point Geometry

lat long coordinates from google maps. x = -74.3596761 y = 39.6098794 Trying to create arcpy point geometry with them, then reproject them to 'NAD_1983_StatePlane_New_Jersey_FIPS_2900_Feet' or ...
1
vote
0answers
27 views

Dissolve polygons from layer1 witch overlaps with polygons of layer2 using GRASS

I want to dissolve polygons from layer1 witch overlap with polygons of layer2 keeping attributes table of layer1 and using command line. What I've done : v.in.ogr -o input=original_plygons output=...
1
vote
0answers
54 views

Finding relation between Nominatim row and gb_postcode table row?

Currently I have PgAdmin 3 open with a copy of the Nominatim DB I processed on a Linux virtual machine. I imported the gb_postcode.sql database successfully from the Nominatim documentation but I'm ...
1
vote
0answers
70 views

Adding geometry from shapefile to dbf (one to many) Qgis

Is there any possibility to add geometry from shapefile to dbf data in QGIS? Shapefile represents point localizations and has attribute with street, number and town. I have also dbf file where are ...
1
vote
0answers
1k views

Resolving geometry errors in QGIS?

I have a shapefile where the geometry is a mess, lots of gaps, slivers, and holes. I need to correct these geometry errors, but I am having trouble with the process. I have read the pages here, here ...
1
vote
0answers
265 views

Multi-select / modify event Openlayers 3

I'm trying to incorporate a modify feature where the user will move a point and any underlying geometry is also modified. Currently to draw a route on a map I'm taking points from a database and ...
1
vote
0answers
451 views

ArcGIS Runtime SDK for .NET API method to convert shapefile to ArcGIS feature set?

Could anyone please let me know is there any ArcGIS Runtime SDK for .NET API method to convert a shapefile to ArcGIS feature set object?
1
vote
0answers
33 views

unexpected change of area

Selecting a vector layer and running the following script, I expect the total area of my feature-geometries to be the same at the end of execution. from shapely.wkb import loads from shapely.ops ...
1
vote
0answers
70 views

Are GIS tools suitable for physical capacity and placement management?

I'm a complete newbie to GIS systems, I've been watching some introductory videos about GIS but I'm not yet sure if GIS tools are the right tool for solving my problem. I have a database with ...
1
vote
0answers
859 views

How to add the geometry to google maps from geojson(retrieved as json) for a specified condition using javascript

I have a array called place_names which holds some place names. I have a GeoJSON layer loaded in CartoDB, which has three columns id, name and the_geom (which is a geometry object) that can be queried ...
1
vote
0answers
73 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 ...
1
vote
0answers
19 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 ...
1
vote
0answers
217 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 ...
1
vote
0answers
400 views

sql server geometry find points intersection buffer

How do I find the point of intersection of buffer?
1
vote
0answers
148 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 (...
1
vote
0answers
40 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
41 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
0answers
916 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
0answers
1k 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
0answers
301 views

Drawing boundaries between discrete features based on attribute values in ArcGIS for Desktop?

There is a point feature class with a certain numeric attribute (let us say, populated places with population). I wonder if there is, in ArcGIS, a way to draw polygons such that the sum of the ...
1
vote
0answers
89 views

Zonal geometry output in ArcGIS

Is there a way to specify the coordinate type in Zonal geometry output in ArcGIS? I am trying to perform zonal geometry on a raster and in the resulting output, the XCENTROID and YCENTROID are in ...
1
vote
0answers
280 views

JTS Geometry to GML3.1 encoding

I searched all the internet and I didn't find a solution to my problem. I want to convert a JTS geometry to a GML3.1 geometry. Geo tools says that have support but the have not (please check encode ...
1
vote
0answers
327 views

Inflating the boundaries created with convex hull

I have a set of lan and lat points and have plotterd a convex hull for them using QGIS. A polygon is created along the set of points and plotting them on the MAP. Now I am trying to inflate the size ...
1
vote
0answers
37 views

Metrics of change between vector datasets

I have an old and a new set of parcel data which I'm looking to compare. I'm looking to compare changes in individual parcel geometries, so boundary/corner adjustment. Currently each parcel we have ...
1
vote
0answers
163 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
0answers
46 views

Buffering/extrusion of a dem surface

I have a surface representing a DEM and i would like to add it some thickness. If i simply duplicate the surface and translate it down by my thickness, i get non uniform thickness, ie thinner where ...
1
vote
0answers
483 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 ...
1
vote
0answers
887 views

SetSpatialFilter worked unexpected when using OGR by Python

I am using OGR Python binding to read the shapefile, this is the code: ..... bbox="POLYGON ((20.18164062 30.63867188,20.63867188 30.63867188,20.63867188 30.18164062,20.18164062 30.18164062,20....
1
vote
0answers
100 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 (...
1
vote
0answers
600 views

Error When Generating INSERT Statements for Geometry Field SQL Server

I am populating a column of linestrings from a list of points in sql with which I use to create insert statements to populate an ID and a geometry field in a table. This creates a temporary dataset ...
1
vote
0answers
384 views

Inaccurate result while clipping on gis data using ArcObjects?

I am trying clip polyline data using a polygon geometry. I am using itopologicaloperator to do this task. However, resultant clipped data is off by 1 feet. Meaning that the polylines at the boundaries ...
1
vote
0answers
417 views

pgRouting results to LINESTRING geometry type

I am doing some routing queries, using pgRouting's second version of pgr_trsp function. What I can't do effectively yet is storing the results. That is, I want to able to store in a table: either ...
1
vote
0answers
56 views

PostGIS. Obtain the rotation between two equal Geometries

I've got two features with the same drawing (poliline) but one is rotated relative to the other. I would like no know in PostGIS the rotation between the two geometries to apply this rotation to a ...
1
vote
0answers
594 views

Problem import shapefile in PostGIS database

I am having a Polygon shapefile. When I try to import this shapefile in PostGIS some of the attributes in Geom Field is found empty. But in attribute table when I select that polygon it is visible in ...
1
vote
0answers
921 views

Publishing PostGis table using GeoServer REST returns error when geometry column is NOT named “geom”

I tried publishing an existing PostGis table with geometry column named "wkb_geometry" to Geoserver using its REST API. I used the following command: curl -v -u admin:geoserver -X POST -H "Content-...
1
vote
0answers
717 views

OpenLayers seems slow when zooming / panning on vector (geometry line) from GeoJSON. Why?

I have a layer with 7 lines; when I zoom on some of the lines, the maps seems to be very slow. I thought it might be because I bring a lot of points to the client (that represents the line). aa Line ...
1
vote
0answers
139 views

Why is my linestring not valid ? was recorded from GPX file

I have a linestring that was built from points from GPX file. I've insert it to sql as geometry and when I try to run funcs on it (like STStartPoint ) I get error that line isn't valid and I need to ...
1
vote
0answers
528 views

several fields and GEOMETRY GetFeatueInfo from Geoserver

I have a table in PostGIS 2.0 with several fields of type GEOMETRY. In the geometry_columns they are published in Geoserver 2.2 as layers. This is done as here - geoserver docs, but immediately ...
1
vote
0answers
207 views

Python GDAL/OGR: check lines geometries connectivity

I'm working with shapefiles representing roads, so basically it's stored as (poly)lines. I need to perform a road connectivity checking. In other words, I want to ensure that roads meant to ...
1
vote
0answers
500 views

Create IPoint with Lat/Long in decimal degrees and Z in feet

I have written an ArcMap v10 AddIn that reads a folder of geotagged JPEG's and creates a new feature class where each point is the geotag information from on of the JPEG's. The issue is: The GPS ...
1
vote
0answers
286 views

Problems with Multipatches

I have some polygonal features that have minimum and maximum z values. I'm trying to calculate the difference between a fixed extruded polygons and the sum of extruded related polygons. Here's how I'...
1
vote
0answers
299 views

Export topology tables to txt files using ArcObjects, generating directed graph, and finding intersections

I want to export topology tables to text files: for points: 1 id x y for lines: line id fompoint.x from point.y topoint.x topoint.y for polygons: id line id 1, line id 2... 2 arc ...