Questions tagged [point-creation]

Process of creating geometric point features

Filter by
Sorted by
Tagged with
0 votes
1 answer
40 views

Making middle point going on curve lines in QGIS

I've these lines so when i want to point the middle by going to Vector > Geometry Tools > Centroid the point goes on the Straight line only, but when i have lines with curves the point doesn't ...
user avatar
3 votes
1 answer
180 views

Interpolating series of points between two locations using Python [closed]

Let's say we have two addresses that are provided. I grabbed two random ones from the web below: # Google headquarters: google_lat = 37.422131 google_lon = -122.084801 # Apple headquarters apple_lat =...
user avatar
2 votes
1 answer
65 views

Getting coordinates from random points in polygon and sync it with shapefile in QGIS

In QGIS I have a shapefile that contains a polygon of administrative boundaries in a country. I need to add six random points inside the polygon. Can i get the coordinates from random points feature ...
user avatar
6 votes
1 answer
182 views

Generating x, y, coordinates within polygon/polyline with certain interval in QGIS

I need all the x- and y-coordinates with a interval of 500 meters that fit inside a polygon/polyline. For example I want to generate a CSV file that looks like this: x, y, 10000, 30000 10500, 30000 ...
user avatar
  • 73
6 votes
2 answers
174 views

Adding points with coordinates delimited by commas from CSV file in QGIS Python Console

I can't figure out how to add point from a CSV file with the Python Console. This is my CSV file: UTM32_E;UTM32_N 562834,932;8762874,054 560758,523;8762624,904 562483,074;8762760,832 562131,643;...
user avatar
  • 115
7 votes
4 answers
222 views

Generating dangle point for polyline in QGIS

How do I generate the dangle points (into shapefile or something) (blue dots in picture below) of any polyline in QGIS? These are not start/end vertices.
user avatar
  • 690
0 votes
1 answer
65 views

OSM and imported points do not match in QGIS

I am trying to insert new coordinate system to the QGIS ( ferom excel comma delimited file), but unfortunately the coordinates do not overlap the correct point in OSM inside. Below there are ...
user avatar
2 votes
1 answer
59 views

Calculating mean distribution of point locations using field values in QGIS

I have a layer of point locations distributed country-wide. I would like to create a new point layer that shows the mean or center of mass of the points, but grouped based on the value of a field, ...
user avatar
  • 21
7 votes
2 answers
150 views

Creating set number of regularly spaced points inside of polygon in QGIS

My application for this would be for making maps with pre-established plot points for cruising a stand of timber, but I could see this being used for other applications. I am a little surprised that ...
user avatar
  • 71
3 votes
2 answers
99 views

Randomly generating points using weights from raster in QGIS

I need to randomly generate 10K points throughout my region of interest, but I need to weight the point selection by a set of probability weights, stored as a raster - such that higher probability ...
user avatar
4 votes
1 answer
91 views

Creating centroid on curved surface in QGIS

I am using QGIS 3.16.13 to build a map in which I have 98 adjacent polygons that represent areas of ocean around the coastline of an island. I want to have a centroid inside of each polygon, even ...
user avatar
3 votes
1 answer
89 views

Creating different numbers of random points inside polygons using PyQGIS

I am developing a plugin using PyQGIS and PyQt5. I am calling qgis:randompointsinsidepolygons, where I am trying to give field input at VALUE parameter. It will take a variable number of points for ...
user avatar
4 votes
1 answer
466 views

How does GeoPandas' representative_point() work?

I need to compute points that, unlike centroids, are assured to be within a geometry. GeoPandas offers the method geopandas.GeoDataFrame.representative_point(), but I cannot find how it works. ...
user avatar
1 vote
1 answer
230 views

Converting lines to points in Google Earth Engine

I am working to extract surface reflectance from the image collection, and I have only line geometry representing the central line of the river. I would like to convert the line into points and each ...
user avatar
3 votes
1 answer
95 views

Generating parallel points along with lines or outline of polygon

In QGIS using the Geometry generator, how can we generate the square points within a polygon (e.g. built-up layer) that parallel with other features (e.g. road layer) like in the map below?
user avatar
4 votes
2 answers
366 views

Creating specific amount of points along line in QGIS

I would like to create a specific amount of points along a line in QGIS. The lines are in different lengths, but I want them with a maximum of 50 points (divide by 50). The tools i've found in QGIS ...
user avatar
  • 7,695
9 votes
1 answer
1k views

Creating point on surface in QGIS

As far as I can tell, the option to "Create point on surface for each part" in the QGIS Centroid tool is not returning the correct geometry when activated in QGIS (version 3.8.1-Zanzibar/...
user avatar
  • 4,752
7 votes
1 answer
228 views

Halftone effect: gridded points inside polygon with QGIS Geometry Generator

I am trying to create smooth looking polygons by gridded points in QGIS (2.18.16), with a fading effect towards the boundary of the polygons (halftone effect). By using the 'fillGrid' function from @...
user avatar
6 votes
3 answers
2k views

Getting centroids for multiple lines in QGIS

Is there a possibility to get the centroid of each line? When using Vector > Analysis Tools > Mean Coordinates I always get a centroid of the whole lines. What I need is the centroid of each ...
user avatar
  • 641
3 votes
1 answer
3k views

Adding CSV layer in PyQGIS

I am trying to load a series of CSV files as vectors in PyQGIS. I run this code to try to get the first one: uri = 'file://D:/Saved Stuff/gulags/1.40.csv?delimiter=;&yField=y&xField=x' layer = ...
user avatar
20 votes
7 answers
26k views

Retrieving start and end points for each line in line shapefile in ArcGIS Desktop or QGIS

I have a vector(polyline) shapefile and I need to retrieve each line´s start and end points(nodes) and create a shapefile with these points. Then I need to add to the polyline´s attribute table the ...
user avatar
  • 201
5 votes
1 answer
2k views

Finding mean coordinates of cluster of points from point layer in QGIS

I have a set of coordinate points. The points are distributed in such a way that some points are clustered around a specific area. There is an option to find out mean coordinates(s) of the whole point ...
user avatar
  • 129
80 votes
12 answers
191k views

Creating point features with exact coordinates in QGIS

How do I create point features with exact (manually entered) coordinates in QGIS? I get precise GPS coordinates from a survey team which I need to add to a point layer. What I want: add point, type in ...
user avatar