(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
15 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
29 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 ...
1
vote
1answer
526 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 ...
1
vote
1answer
304 views

Using M 'Measure' value in SQL Server 2008

MS Sql Server 2008 geometry type supports adding Z and M values to geometry objects, including linestrings. However, I cannot find any way to make use of these values, since methods such as ....
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(...
1
vote
1answer
215 views

Parsing large GeoJson geometry to WKT

I'm reading a very large json file as an InputStream in Android with JsonReader. This json has a geometry object like so.. "geometry":{ "type":"MultiPolygon", "coordinates":[ ...
3
votes
2answers
64 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 ...
0
votes
2answers
200 views

Create point on a line with given distance from end in PostGIS

Does anyone know how to create points along a line (MultiLineString geometry) with a given distance in PostGIS? I'd like to create points at a regular distance over a line, which represents a ...
0
votes
1answer
1k 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 ...
3
votes
2answers
1k views

ArcPy Data Access Insert Cursor not writing geometries to feature class?

I'm using PyScripter and running ArcGIS 10.2.1. I am having troubles with the Insert Cursor in the arcpy module. I have an empty feature class in my geodatabase and have created the short script ...
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 ...
6
votes
2answers
2k views

Unions of polygons (Postgis ST_UNION for Geography type)

I am looking for a function that will return the intersection of 2 or more polygons (geography type). I am aware of ST_UNION, ST_COLLECT but it works only for geometry type.
1
vote
1answer
466 views

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
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 ...
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, ...
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 ...
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
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 ...
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
1k 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', ...
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 ...
0
votes
1answer
3k views

Choosing SRID and what is its meaning? [closed]

I'm new to GIS, in PostGIS, and I'm struggling with the SRID concept. How do you choose a SRID for a database column? This is making me crazy. Why do I need to choose a SRID? What's its meaning? ...
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 ...
1
vote
1answer
67 views

Transform to SRID 900913

How i can transform the geometry WKB for example: ...
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 ...
1
vote
1answer
78 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 ...
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 ...
5
votes
2answers
572 views

Can ArcPy 10.1 be used to generate true curve elliptical polygons in a file geodatabase?

As background, this question arose from trying to answer a question on How to generate overlapping polygons from lines output from Table To Ellipse tool? Using the ArcMap GUI it is very easy to ...
3
votes
2answers
4k views

Downloading Google Maps municipal geometry

When searching for a city on google maps, google is that smart it displays a geometry line on the boundary off the municipal. See this link: http://g.co/maps/23dz5 Is there a place in the google maps ...
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 ...
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 ...
0
votes
0answers
30 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
4answers
352 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]...
3
votes
2answers
153 views

Transform geometry to coordinates

I need transform with postgis a geometry of type ...
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?
4
votes
1answer
50 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 ...
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 ...
3
votes
2answers
1k views

How to densify a polyline according to a specific length? [duplicate]

Possible Duplicate: Add vertices to lines I am using QGIS 1.8.0 I would like to densify a polyline according to a particular length of segment (ex. 200 m). I know it is possible with other GIS ...
2
votes
0answers
66 views

Geometry issues when digitising in QGIS

I'm digitising a large number of maps from hand drawn mud maps and digital images, and although I have used the snapping tools ("snap to vertex and segment", Tolerance 10 pixels, avoid intersections) ...