2
votes
0answers
68 views

Shortest distance from polygon centroids to a line in QGIS

To get the distance of each polygon centroid from a line, I have tried the Distance to nearest hub algorithm from the Processing Toolbox. The distances I got from the algorithm did not seem correct, ...
0
votes
0answers
59 views

How to calculate a population weighted centroid using a raster and shape file in QGIS?

I am very new to QGIS so please help me with a step by step answer. I have a raster file with population count and a shape file based on a large population and shape file. I have successfully created ...
1
vote
2answers
56 views

How to get a set of all buildings of an OpenStreetMap section in form of single points / Multiple polygons as one point

The objective is to get a set of all buildings of an Open Street Map section in form of single points in a shapfile. I downloaded the section from osm. Imported the section into QGIS (and later ...
2
votes
3answers
206 views

How combine different geometry types into the same feature class

I've searched the question in this blog. Maybe I don't use the right words but anyway my problem is not present in any post so I'll try to explain my question by opening a new one. I have a polygon ...
3
votes
1answer
52 views

Qgis creating point within complex shapes (with holes) [duplicate]

I'm looking for a tool to create a point in every polygon, that will be placed in the polygon. these are complex shapes with holes. the point must not put in those holes! the "plugin RealCentroid" ...
3
votes
1answer
77 views

How to get projected centroids in QGIS?

I am trying to get a centroid for several polygons on a global scale, in a way that it would correctly represent the common centre of all the polygons, taking Earth's curvature into account. The ...
2
votes
1answer
306 views

How do I convert longitude & latitude to a 3d (geocentric x,y,z) coordinate?

I'm interested in finding the centroid of a point cloud. I understand that to do this I need to convert latitude and longitude values to 3d coordinates, average them and then convert the resulting ...
3
votes
1answer
515 views

How to use the field calculator's centroid() Geometry function in qgis 2.0?

There is an option in the field calculator for centroids under geometry which when you double click gives you "centroid( ". What information is required here in order to use this function?
0
votes
1answer
77 views

How to convert polygons to centriods without losing attribute names?

I have a GeoJSON file of polygons and I need to convert it to centroids. Finding the centroid is very easy in QGIS. Problem My attribute names are very long and have a colon between them, e.g. ...
1
vote
2answers
278 views

How to use centroid option in Field Calculator in QGis

I want to use Centroid option in field calculator in QGis .How to access it?
7
votes
4answers
601 views

assign and move centroids to their polygons

I m using QGIS 1.8 Lisboa. After calculating the centroids from a polygon shapefile, if some of them lie outside the polygon outlines, I'd like to move them on the polygon they came from. The ...
9
votes
3answers
4k views

How to determine the centroid of polygons?

I have a polygon vector and I want to quickly attain the centroid of this polygon for insertion in a text document. I am working with QGIS. I searched through other questions and although some are ...
2
votes
2answers
2k views

Is it possible to extract Coordinates of Polygon Centroid in QGIS?

I have created polygon centroids using one of the "Geometry Tools" but I would like to extract the actual coordinates into Excel for further work. Is this possible?
0
votes
1answer
416 views

table of polygon centroids

Given a polygon layer, census tracts, how can I generate a table of centroid coordinates in QGIS, or add columns with the centroid coordinates or generate a new layer of polygon centroid points?
2
votes
1answer
3k views

How to find polygons centroids? [duplicate]

Possible Duplicate: Get list of coordinates for points in a layer? Sorry for another basic question - my map is almost done but now my boss wants me to enter new outbreaks (that we don't ...
5
votes
3answers
11k views

How to get the coordinates in Lat/long from a point layer?

Sorry for asking this basic question, but I couldn't get the solution from the previous answers. I need to extract the Lat/long coordinates of the centroids of districts. My QGIS project SCR and the ...
4
votes
3answers
764 views

How to place multiple symbols on one polygon centroid?

I am using QGIS for visualizing the health conditions of elderly living in an old age home, some of the elderly have multiple medical device with them and I want to show them on the map. Suppose I ...
6
votes
1answer
684 views

How to force QGIS Centroid Fill inside the Polygon?

I would like to use a centroid fill to enable me to place a letter inside a polygon. The advantage of using a centroid fill is that it also shows up in a legend, whereas labelling the layer would mean ...
3
votes
0answers
840 views

How to create point labels from midpoints of road polylines in QGIS?

Heres what i want to achieve: i have a roading polyline layer (singlepart ie has several features per road, grouped by an id field), and i want to (after merging the parts) find the mid point of the ...
4
votes
2answers
473 views

Misalignment when generating centroids with Qgis

I was wondering if anyone could shed a light on why this behavior is happening in QGIS ? I'm pretty confident that the issue here is not due to "centroids within polygon" Edit Added a detailed ...