Tagged Questions
1
vote
1answer
31 views
Combining polygon geometries with python and QGIS segfaults
I am trying to combine polygons, using Qgis 1.8, and every time I run this script in the python console, I get a segmentation fault. Here is the script:
from PyQt4.QtCore import *
iface = ...
0
votes
1answer
29 views
QGIS Python - Convert geometry from Postgres to QgsPoint()
I have made a query in Postgres to get some points to use with python.
This points are in geometry data. How can I convert that geometry in decimals to use QgsPoint() in python?
Thank you
0
votes
2answers
99 views
Calculating area gets a different result
I've calculated the area of polygons with QGIS by using ctr-i - geometry - $area. I've set it on real. The results seem fine, but I've noticed they differ from the area given when I use the ...
0
votes
0answers
27 views
How to populate polygon extents to an attribute table in QGIS
Is there a way to calculate the XMIN, YMIN, XMAX and YMAX of a polygon and write it to a field in an attribute table? The Geometry functions available in the Field Calculator are for points.
...
3
votes
1answer
275 views
Join attributes by location
I am trying to join multiple records that occupy the same location (polygon centroid) and have tried using the join by location plug-in but have found this does not work for me in this case as I have ...
3
votes
1answer
209 views
postgis error: when adding features geometry has z dimension but column does not
I have to define a geometry column in PostGIS for 2D points, but when I try to import points from DXF to postgres I get the following message:
"postgis error: when adding features geometry has z ...
0
votes
2answers
189 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 polilyne according to a particular length of segment (ex. 200 m). I know it is possible with other ...
2
votes
3answers
867 views
Convert coordinates to geometry (polygon) using QGIS
I have an Excel sheet with grid data including geographical coordinates. I know that the coordinates represent areas, i.e., a multi(polygon). However, the data lacks geometry information. I'm looking ...
4
votes
1answer
383 views
fTools-Error: “…invalid geometry…”
I want to intersect contours with polygon like in the image below. But i got this error:
Warnings:
GEOS geoprocessing error: One or more input features have invalid geometry.
Some output geometries ...
15
votes
3answers
2k views
Visualising WKT geometry string in QGIS
A very simple question: Is there a simple tool in QGIS to graphically visualise geometry formatted as text?
Example geometry:
"POLYGON((571178 6337246,571178 6402217,598061 6402217,598061
...