(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
1answer
16 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
31 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
24 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
70 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
36 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
29 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
17 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
62 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
91 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
28 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
27 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
38 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
57 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
46 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
57 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
45 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
68 views

Transform to SRID 900913

How i can transform the geometry WKB for example: ...
1
vote
1answer
79 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
44 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
23 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
33 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
54 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
353 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
43 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
153 views

Transform geometry to coordinates

I need transform with postgis a geometry of type ...
0
votes
0answers
32 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
51 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
145 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
52 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
25 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 ...
0
votes
0answers
13 views

Converting polygons to contours based on value in polygon table

I have the following and data and have been asked for a map that shows the same data set but displayed as contours. Each polygon has a value in it's table called "count". The "count" field is used to ...
1
vote
1answer
31 views

How to use “geometryEngine” in arcGIS Version 3.9

We are using arcGIS javascript version 3.9 in our portal. Now we have new requirement to do reverse clipping on map. We have already written code to implement reverse clipping with the help of "esri/...
1
vote
0answers
36 views

How to calculate a Label Point for a (multi)polygon [duplicate]

ESRI software has a concept of a 'label point' for a (multi)polygon. It is like the centroid, except it is guaranteed to be within the (multi)polygon. Like for a U-shaped polygon, the label point is ...
0
votes
0answers
39 views

Handling empty PostGIS geometries with GeoServers Pregeneralized Features extension

I've setup my GeoServer instance (2.8.2) with the Pregeneralized Features extension to serve several large polygon layers from PostGIS (9.3), and while it is working I am still experiencing remarkably ...
0
votes
3answers
87 views

Searching for changes of 2 layers based on geometry, Arcgis for desktop (ArcEditor

I´m trying to make a tool that would be able to compare 2 layers of any type (polygon, point, polyline) and find differences between them. Lets say i have a layer of roads (Polyline) from 2005 (layer ...
2
votes
0answers
24 views

Path Matching for Journeys Using XY Coordinates [closed]

I am trying to find some suggestions on ways or algorithms to determine path similarity. An illustration of 3 paths using made up data is given below. The title should be finding similar paths instead ...
3
votes
0answers
57 views

Interpolating point to nearest polygons to compute street width in posgis

I am trying to calculate the width of streets (line.shp) in postgis using reference point (ref_point.shp) (yellow point features) and building polygons (building.shp). The red point features are the ...
1
vote
1answer
34 views

How to check point intersection with bbox made from two points?

I have two points which represents lower left and upper right point of BBOX. I have one point which SHOULD be somewhere inside and I want to test it. I have all of them as 'geometry(POINT, 4326)' ...
10
votes
4answers
365 views

How to snap a road network to a hexagonal grid in QGIS?

I'm trying to use QGIS 2.14 to snap a road network to a hexagonal grid, but I'm getting strange artifacts. I've created a hex grid with MMQGIS, cells are approx 20 x 23 m. I've buffered the road ...
4
votes
2answers
219 views

Is it valid GML if the boundary of a polygon intersects itself?

Is it valid GML if the boundary of a polygon intersects itself? E.g. I have this polygon consisting of some gml:LineStingSegment and one gml:Arc: My task is to import GML based data (german ALKIS ...
2
votes
0answers
25 views

How to resolve a rectangle with know points? [closed]

How do I find the coordinates(lat, lon) for D and E in the following rectangle? I know: A (lat, lon) B (lat, lon) C (lat, lon) AE, BE, AC
0
votes
0answers
31 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 ...
7
votes
3answers
1k views

Is there a way to “invert” Polygons?

I have a Shapefile with Polygon features representing the world's land areas (continents, islands). Is it possible to invert these, and get a geometry that represents the world's oceans and seas? So ...
2
votes
0answers
24 views

Asp.net or MsSql Create bbox of a point proportional to image height and width

Short question is how do I create bbox dimensions that is proportional to image height and width? I'm working on a asp.net webservice to generate a map using geoserver. The parameters I have are ...
2
votes
1answer
59 views

How can I intentionally corrupt the geometry of a shapefile?

I am in need of a few shapefiles with bad geometry for testing some Python code. How can I intentionally create bad geometry in a shapefile? Preferably I would be able to create three (point, line, ...
4
votes
1answer
72 views

How to split a circle in equal parts in QGIS?

I'm looking to split a circle polygon generated by a buffer around a point in equal parts. The goal is to be able to calculate statistics about the raster that will be under the circle for each part ...