(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
1answer
17 views

Does the GDAL GeoJSON driver read or write multipart geometries?

In the documentation for the GDAL GeoJSON driver, I can only see mention of primitive geometries. Does the GDAL GeoJSON driver read multipart geometries like MultiLineString? If not, is there ...
0
votes
0answers
8 views

How to acquire the geometry of a geoserver layer?

Is it possible to acquire the geometry of a layer stored in geoserver using the geoserver rest api? I am using gsconfig as: from geoserver.catalog import Catalog cat = Catalog(geoserver_location, ...
0
votes
1answer
18 views

ESRI JS API - Buffer FaetureLayer

I have a Feature Layer that I would like to buffer using user input and a geometry service. FeatureLayer: var texasPipeline = new FeatureLayer(pipeURL, { mode: FeatureLayer....
0
votes
0answers
24 views

Property “Area” not an option in Calculate Geometry

I want to calculate the area of a shapefile, but I the "area" property does not show up when I am in the "calculate geometry". Here is what I have done so far: I took a tracklog, used "points to line" ...
2
votes
1answer
22 views

Export geometry to WKT using pyshp

Is there a straight method to export shapefile geometry (polygon) to WKT using pyshp module for python? I was looking for something similar to OGR's .ExportToWkt() method, but it seems like there's ...
0
votes
0answers
16 views

Finding closest coordinate between geometries using OGR libraries?

I'm currently working on a project where I need to find the closest coordinate on a geometry using the OGR Geometry class. As far as I can tell the only easy operation to do with this class is ...
2
votes
0answers
27 views

Making perfect rectangle in QGIS [duplicate]

I want to be able to set the height and width of my rectangles, as well as the angles. I have been trying the Rectangles Ovals Digitizing plugin, but I can't seem to make it do anything (besides turn ...
0
votes
1answer
47 views

Drawing Queried Geometry using ArcGIS API for JavaScript?

I am new to all of coding and I have a rest point with all of my park polygons, what I want to do is be able to select a park name from a drop down menu and query out and display the single park ...
3
votes
0answers
45 views

How to use the 'Check Geometries' plugin for polygons?

I've a few hundred polygon features with many duplicate nodes, gaps, overlaps and other geometry errors. Fixing all errors seems to be quite tricky. I had to run the duplicate nodes check twice to fix ...
2
votes
2answers
63 views

Save line geometry as points geometry in QGIS (pyqgis)

I have line and polygon layers. I want to make a list of points' coordinates (ends or begginings of lines), which are touching the polygons. The coordinates which I need are selected as yellow. ...
1
vote
1answer
24 views

PostGIS - ST_PointOnSurface and ST_Centroid dropping Z

I am using Postgres 9.5.2 and PostGIS 2.2.2. According to the documentation ST_PointOnSurface should not drop Z. This is what happens. If I run SELECT ST_AsText(cell) AS pt FROM cells LIMIT 1 I ...
0
votes
1answer
33 views

Single point creation

I am using arcpy.CopyFeatures_management(pointGeometry, "output") to create singles points. Is it possible to create those single points on an existing output without deleting the output before the ...
0
votes
0answers
24 views

Combining different geometry types in ArcGIS for Desktop?

Two geodatabases have been created using split by attribute tool from CAD drawing file. One gdb is from polyline layer and another from polygon layer of input drawing file. I want to combine ...
0
votes
1answer
59 views

Calculate centroid of a point cluster

Having this function that inserts locations in a database: def insertLocation(cur, label, point): print label cur.execute(""" SELECT label, centroid, point_cluster ...
1
vote
2answers
38 views

Add a geometry in sqlite in pyqgis

I'm trying to create a geometry column in a table which I created. I found the following code: cur.execute('SELECT addgeometrycolumn(%s, %s, %s, %s, %s)' %(table_name, geometry_column_name, EPSGcode,...
3
votes
0answers
39 views

Style rule based on feature adjacency?

Is there a way in QGIS to use an expression to define a polygon feature's color based on whether it's adjacent to other features? I would like to achieve something like the following: -If a feature ...
1
vote
0answers
19 views

walk me through tdoa [closed]

I'm working on a TDOA application. This is just something in my free time to see if my hardware can accurately do it and it sounded like a cool challenge. Regardless if it looks possible or not, I'm ...
1
vote
1answer
37 views

How do I convert WKT geometry from 3D to 2D

I'm working with kml files using Python gdal.ogr module. When I extract feature's geometry using feature.GetGeometryRef(), I get: POLYGON ((44.184069865521963 41.971859752507207 0,44.355248797385123 ...
0
votes
1answer
34 views

How to calculate the start and end lat/lon of a linestring which is not a part of a ST_buffer?

I'm trying to find out the lat/lon of points on a linestring that are not contained inside a geometry formed by a ST_buffer. I can find if the linestring intersects the geometry but I'm not able to ...
0
votes
1answer
33 views

How to calculate nearest point to a linestring in PostGIS?

I'm following this question to calculate POI nearest a road(linestring). I'm able to calculate nearest points in the linestring but I'm not able to find the distance from the POI to nearest point(...
3
votes
2answers
82 views

ERROR: Only lon/lat coordinate systems are supported in geography

I'm trying to find out all the circles stored in the database(The circles are present all over the world) that intersect or overlap a given circle. I've stored the circles like this: CREATE TABLE ...
1
vote
1answer
39 views

Display selected features with same point geometry

I have a point layer and some features have exactly the same geometry. When I make a selection it seems that some features are not selected because they do not display with the "Selection color" as ...
1
vote
1answer
37 views

Convert data type from bytea to polygon psql

I was trying to convert data type of my column from bytea to polygon, ALTER TABLE polygon ALTER COLUMN geom type polygon using geom::polygon; But I got an error saying cannot cast type bytea to ...
1
vote
0answers
19 views

Arcglobe 3D creating cones

For my school project I want to create a 3D image of certain earthquakes in a region. The data I received is the depth of the earthquakes, the location and the influence radius of the earthquakes. I ...
3
votes
1answer
67 views

How do I fill a combobox in QGIS with only points vector layers?

I'm new to writing plugins in python for QGIS. I've been searching on internet for a while and wrote the code below. Even though it fills my combobox, all layers (rasters, vectors of all geometry ...
4
votes
2answers
105 views

Appending polygon feature classes with already repaired geometry => WARNING 000442: self intersections from Check Geometry?

I have an ArcGIS 10.2.2 for Desktop process which: Uses the Data Interoperability extension and the Feature Class To Feature Class tool to convert 88 MapInfo TAB files (with the same schema, ...
1
vote
1answer
30 views

Filter geoserver layers based on postgis geometry

I am wondering how, and if it is possible, to filter a geoserver's layer (from a large shapefile) on a specific geometry coming from a postgis table. I have a huge shapefile for a country. I'd like ...
0
votes
2answers
41 views

How to (precisely) re-align a polygon

I have this shapefile and I want to re-align the selected polygon (See image below) to the shapes of the other polygons. I tried using the "edit tool" but it's not producing a good result. What would ...
1
vote
1answer
29 views

CartoDB: Geometry code too long, Excel can't handle it

I am working on a map of regions where I want to be able to visualize some simple numbers on a periodical basis. I have a dataset with the polygons . However those are so detailed (the geometry is ...
-4
votes
1answer
40 views

Getting nearest feature point from other features in point layer? [closed]

How i can do this Get the nearest feature point from the other features point in a point layer Point feature class and make it in script tool
1
vote
1answer
96 views

How to use the new Geometry Generator to get rectangle from point?

I would like to translate a point (from a point layer) to a rectangle polygon using the new Geometry Generator from QGIS 2.14. I know the length and the height of the resulting rectangle. The point ...
2
votes
1answer
47 views

How to render mixed geometry from one table?

I have a table in postgresql with mixed geometry, but it is not accessible in QGIS. I am running QGIS version 2.8.2. Is there any plugin to install for QGIS to render multiple geometry?
1
vote
1answer
28 views

Verifying whether point lies on line or not when both given in GCS?

Googled and tried to look on Esri's forum but couldn't get anything. Rather got things which were verifying if the point is within a polygon or not. But I want to know, if I have starting point and ...
1
vote
0answers
63 views

How to implement a shoelace formula into Python 2.7.8 [closed]

Here's the image of the equation I'm using, it is a shoelace formula. I need help to point out what each variable represents and how to apply this in python script, math is not my strong-suit! From ...
3
votes
2answers
46 views

Tiny difference of calculated area of polygons

I have a shapefile of about 62.000 polygons. I calculate the area of each polygon on a field, named AREA1, with Calculate Geometry option. Secondly, I create a new field field named AREA2. I calculate ...
1
vote
1answer
81 views

Transform to SRID 900913

How i can transform the geometry WKB for example: ...
1
vote
1answer
107 views

Postgres/PostGIS calculate area of Polygon in Square Miles

Polygon in Postgres/PostGIS database. It has the spatial reference 4269 which is in degrees. I know there is a ST_Area() to calculate it. this is my query to select the areas in the SRID units. ...
3
votes
1answer
45 views

ESRI shape curves specification

The documentation for ESRI's File Geodatabase API (downloadable from http://www.esri.com/apps/products/download/) says regarding its MultiPartShapeBuffer Class: These functions provide access to ...
1
vote
0answers
28 views

Request long/lat precision and request too slow [closed]

I've a PostGIS DB of 18Gb. The tab node (id, tags, geom) is very huge and I need to request long/lat on this table but it's very long when I'm using this sql request : SELECT * FROM nodes WHERE geom ...
1
vote
2answers
25 views

Over-calculation of area due to parcels occupying same space

I'm trying to get the total acreage of different parcels by land use, and unfortunately I keep getting a total of ~15000 acres instead of ~12000 because it's over-calculating the area where there are ...
1
vote
1answer
43 views

Getting Error: Districtna.getExtent(…) is null

I have dojo combo box to display district names when I select one district it should zoom to that particular district.selection is working fine but zooming not happening i am getting Districtna....
2
votes
1answer
56 views

Why can't save changes on GeoServer layers via QGIS?

I am using QGIS 2.14 on Windows 10, and GeoServer 2.8.3 on Windows 2008 Server (VPS). QGIS manages my GeoServer layers with Web Feature Service. I would like to change the geometry or attributes of ...
4
votes
4answers
371 views

Transform GeoJSON geometry to WKB

I need transform geometry from JSON like: {"type":"MultiPolygon","coordinates":[[[[-125045.48351212002,4577567.588141698],[-124816.19981552364,4577552.93014355],[-124765.99472517562,4577419.175847012]...
5
votes
0answers
44 views

How to update null geometries from an attribute [duplicate]

I have a large point feature class and have realised that there are several hundred features with null geometry. Fortunately the coordinates are stored as an attribute. So What I need to do is update ...
3
votes
2answers
155 views

Transform geometry to coordinates

I need transform with postgis a geometry of type ...
0
votes
0answers
43 views

MapGuide Fusion OpenLayers 2.13 ModifyFeature - how to get input object from Fusion…?

I'm looking for a way to pass the Fusion object's selected geometry into OpenLayers.Control.ModifyFeature to initiate an edit session for the user. Non-Fusion Example: http://dev.openlayers.org/...
4
votes
1answer
62 views

Change feature class from ESRI native geometry to SQL Server geography

Original question: I have found a lot of documentation on importing and using query layers from SQL Server into ArcCatalog/ArcMap/etc. However, when you change the projection of a feature class or use ...
5
votes
2answers
155 views

Are there any multipolygons in my shapefile?

In QGIS 2.x, is there a simple way to determine if a polygons layer contains multipolygon geometries and if yes: which are these features?
0
votes
0answers
69 views

How to use the “geometry generator” to intersect geometries with an entire layer in QGIS?

In the "geometry generator" style in QGIS, it's possible to define an intersection for a specific geometry of an other layer like this: intersection($geometry, geometry(get_feature( 'other_layer_name'...
0
votes
0answers
26 views

Can you merge GeoJSONs in PostGIS?

I'm not too familiar with the GeoJSON functionality in PostGIS. In essence - I'm having problems with the computation of ST_AsGeoJSON(ST_Union(g)) taking too long for large g. Is it possible to ...