Questions tagged [point]
A point is a fundamental geometry entity.
2,012
questions
0
votes
0
answers
18
views
Connect some points in plot base R
I want to connect some points (not all) in a scatterplot using plot function in base R.
In this dataset:
X Y
1 0.29932778 0.238057774
2 0.28401751 -0.002339008
3 0....
0
votes
0
answers
12
views
Flutter Chart - Label points (min/max) and maintain behavior of getTouchedSpotIndicator
I'm using this package https://pub.dev/packages/fl_chart and trying to label min and max in the chart like the image below
Goal
Now I have this What I have.
In specific I need to label the min and max ...
0
votes
2
answers
32
views
How to combine ply of multiple views into a single object of 360 degree view
I have 8 ply files for a single object but each of different views. I need to integrate all those scenes and form 360 degree mesh. Is there a technique in pcl to intergrate all those scenes. Can icp ...
0
votes
0
answers
20
views
Filtering occurence records based on raster 0.5 resolution in R
I have a species "xy" data frame, for example:
points <- data.frame(Long = runif(100, min = -92, max = -88),
Lat = runif(100, min = 21.3, max = 25.5))
What I want is ...
0
votes
0
answers
9
views
How create polygons around points with specific area and without overlapping?
I have a layer of points and I want to draw a polygon around each point (similar to buffer or voronoid polygons functions do). However, polygons cannot overlap with each other (as often occurs with ...
-2
votes
3
answers
73
views
Sort coordinates [closed]
Can you, please, help me to sort a list (array) of points (x and y corrdinates) correctly?
I used the following function, but it is not always giving me what I want.
Example is the picture attached.
I ...
0
votes
1
answer
49
views
sort in excel by word length (By point or pixel not by the number of characters)
I need to sort the Excel column by word length
According to the form, all values have the same length (number of characters).
But they are not the same length on the screen (in terms of points or ...
1
vote
0
answers
56
views
Issue initialising the start location of a little mouse over popup form compared to the parent form
Long time lurker, first time poster (I think).
I've got a form with a mouse over hotspot which loads another little form (kind of like a tooltip) but I'm having trouble getting it to initially appear ...
1
vote
1
answer
62
views
I'm using Point(x,y) on a picturebox to obtain the pixel's color. but what comes back bears no relationship to what x and y point to
I'm matching up wood pictures to a solid color. It should be simple to examine a 50x50 portion of the picture and develop the average red, green, and blue equivalent. But point(x,y) appears to return ...
0
votes
1
answer
41
views
How can I print the closest Point?
I have my program with the closest pair of point in a array of n (number inserted by the user) points, I created the algorithm for it and it works giving back the minor delta (distance between points),...
0
votes
2
answers
68
views
How can I transform this method in a recursive call?
I have this method and I would to transform it in a recursive call.
public double findDeltaL(Point[] pl) {
double delta = Math.sqrt(Math.pow(FTCPPanel.WIDTH, 2) + Math.pow(FTCPPanel.HEIGHT, 2));
...
0
votes
0
answers
12
views
how to get the shortest distance or path across several points in the map
In the map, there are many points(paths), but I want to only visit some interesting points. I want to find the shortest distance or path which included my interesting points. But without considering ...
0
votes
1
answer
50
views
How do I set points on an svg polygon using variables defined by a source XML file?
I cannot for the life of me find out how, or if its even possible, to set points on an svg polygon using variables that are defined by an XML document that is always changing.
I just want to set the ...
-5
votes
2
answers
56
views
split fuction wont return multiple values [closed]
i have a function i want to create a method. when i put it in a class i couldnt get message.split(' ') to return more than 1 value in my message? this is for an emoji converter. it is on a practice ...
0
votes
1
answer
57
views
Cannot handle with Point (Caused by: java.lang.InstantiationError: org.locationtech.jts.geom.CoordinateSequence) in JUnit Test of Spring Boot
I tried to implement a junit test with the usage of Point in Spring Boot.
I completed junit test but I have a problem to handle with Point issue in generateValidUserEntities method of ...
1
vote
2
answers
65
views
Vectorized method to insert arrays of different length at different spots in an ndarray
I'm trying to "expand" a 2D numpy array nadir of points (x,y,z), and fill gaps in space with interpolated points. Where there exist spatial gaps bigger than some tolerance dist, I want to ...
2
votes
0
answers
72
views
How to cluster point annotations in map box v10
I am having a hard time finding examples for mapbox sdk iOS v10 annotation clustering. Everything seems to be outdated. Using print statement it seems that the annotations are now clustering, but ...
0
votes
0
answers
47
views
How to connect points to create a polygon
I want to connect a set of points to create a polygon. I tried connecting points clockwise, but did not receive the expected results.
Could anyone suggest how to improve the code so that I could get ...
0
votes
1
answer
44
views
how to transfer vertices color to mesh from point cloud
I want to ask how can I transfer vertices color from point cloud to mesh.
I have a procedure where I transfer a point cloud to a mesh and the mesh is back visualized as a point cloud using three....
1
vote
0
answers
48
views
Sql spatial data query not returning points in polygon [duplicate]
I have a sql table called "Person" with a column called "GeoLocation" and a data type of geography. I have inserted a row into the table like so:
insert into person (Name, ...
0
votes
1
answer
40
views
Find the control point of a quadratic curve
I have the start and end point of the curve and the top point of the curve. I would like to know how i can get the control point with this ?
I have a graph with links. When a link is on a node, i want ...
0
votes
1
answer
15
views
bar graph with log Y-axis
I have a dataframe:
tibble [56 x 3] (S3: tbl_df/tbl/data.frame)
$ Species : Factor w/ 56 levels "OC1","OC2","OC3",..: 1 2 3 4 5 6 7 8 9 10 ...
$ Residential: num [1:56]...
0
votes
1
answer
77
views
Spring Boot with the usage of Hibernate Spatial in MySQL Database Issue - Cannot set the value to Point
I have a problem to set latitude and longitude to Point with the usager of Hibanate Spatial feature in Spring Boot.
I cannot set it as I guess there is a problem in columnDefinition.
How can I fix it?
...
0
votes
0
answers
33
views
How to fill the map when creating a netCDF file with Python Dataset?
I have a set of 203 points with their corresponding latitude and longitude in txt files. I would like to obtain a netCDF file with a map with all values in the continent but I obtain a map with each ...
0
votes
1
answer
24
views
which algorithm use pyhton shaply library to detect points in polygon?
Which algorithm does Shapely use to detect whether points are inside a polygon? I checked the documentation but couldn't find any specific algorithm mentioned.
1
vote
0
answers
30
views
THREEJS PointsMaterial texture transparency not work
Hello StackOverflow community
I have THREE Points Object and trying to create PointsMaterial but i cannot use transparent option
1. Before adding transparent option
new THREE.PointsMaterial({
...
2
votes
0
answers
118
views
GoLang drawing diagonal lines with image/draw package
I am trying to draw a diagonal line between two (x,y) coordinates using the GoLang "image" package import.
From what I can tell, the package allows for drawing rectangles, and has objects ...
-1
votes
1
answer
74
views
Data truncation: Cannot get geometry object from data you send to the GEOMETRY field
hi i'm trying to insert and read geo data(POINT) to mySQL DB.
I am using JPA.
I got latitude and longitude from the frontend and I made a String like POINT(10 20) as wkt.
then by using WKTReader, I ...
0
votes
0
answers
34
views
Intersection point of a perpendicular line from a point and a curve
I need to get the coordinates of the intersection point B of a perpendicular line through point A and a curve (the red line). Now I know the point A coordinates (x1,y1), the curve function is a cubic ...
-1
votes
1
answer
38
views
Laravel point type store works fine but retrieving data gives incorrect result
I'm storing Point data type in the database
it works fine when storing data.
but when I want to get all data from the database even with Tinker, the location column data is incorrect.
I don't know ...
0
votes
0
answers
71
views
Grouping population using point data in QGIS
I have a vector (point) layer that includes residential population data for each residential unit in point shape. point layers has column called " number of population" and it has different ...
0
votes
1
answer
26
views
Using dismo::randompoints in a loop
I have an SF object consisting of 81 polygons.
What I would like to do, is generate 460 random points within each polygon.
compared to st_sample, dismo::randomPoints has a few features I like to make ...
0
votes
1
answer
44
views
Can ggplot format points with '<' values on-the-fly or do I need a separate data column?
How can I handle LOQ values in ggplot?
I would like to use the original data:
Parameter
Concentration
Fe
<2
Fe
12
Fe
7
and just mark the <-values in some way, either with a "<" ...
1
vote
2
answers
87
views
Find points inside region delimited by two lines
I have the following point configuration:
import numpy as np
T=np.array([9,9])
X1=np.array([8,16])
X2=np.array([16,3])
points=np.array([[4, 15],
[13,17],
[2, 5],
...
0
votes
1
answer
25
views
TeeChart, Drag circle arround a point
I need to draw a circle around a specific point
Hello how are you?
I'm working with Teechart on c# /net .
I need to draw a circle around a specific point when its value exceeds a given range.
I can't ...
0
votes
0
answers
76
views
Find the elbow point of L-Curve by using np.diff() twice. But the result is not good
I want to find the elbow point of L-Curve, and the code I use like this,
def findThresholdLCurve(D):
# 统计所有词语出现的次数并按出现次数降序排序
Occ = sorted(list(D.values()), reverse=True)
# 给每个词语一个索引
...
0
votes
1
answer
63
views
error【TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to ... ... 】when using kneed
I want to find the elbow point of L-curve for choosing the y-axis-value of elbow point as a threshold. And deleting the points whose y-axis-valye is lower than the threshold. To achieve this, I use ...
0
votes
0
answers
20
views
How can I simulate random points on a brick file with 218 bands?
I use the code below to get random points, but when I try to simulate them with the plot, 2-3 of them are going always out of my map plot. The problem is that my image is not a square. I don't know ...
0
votes
1
answer
31
views
Deleting points above a surface
Given a set of 3D coordinates and its corresponding 2nd-order polynomial surface, I want to remove all points above the surface. The code snippet below shows an example of the fitted surface and ...
1
vote
1
answer
105
views
open layers only draw features around 0,0
I have an application that I can upload csv, kml, geojson, etc... files too and I am supposed to draw the features that are included within this file to the map.
I validated that the file content is ...
0
votes
0
answers
55
views
C# code Restore Point does not show the restore point supposedly created in System Restore
Thanks for reading this message.
I have the following code in a C# form with a button:
[StructLayout(LayoutKind.Sequential)]
public struct RESTOREPOINTINFO
{
public ...
-1
votes
1
answer
100
views
How to find intersection point from several line in a single plot in R?
Sample code:
m=matrix(1:54,nrow=9)
l=1:6
plot(l,m[1,],type="l",xlim=1:6)
lines(l,m[2,])
lines(l,m[3,])
legend(2,3,legend=c("m1","m2","m3")))
Now, how can I ...
0
votes
0
answers
35
views
Error code 3 while exporting a CSV table to drive in GEE
I have two problems:
basically I need to export the value of band 2 of the LANDSAT/LC08/C02/T1_L2 product for a total of 1500 random points.
the first problem is that after 5h of running time I get ...
0
votes
0
answers
73
views
How to place a point on a bar graph, but shift it in the y position
I'm not sure how to do this, but I've got some points I want to add to a bar graph. However, when I add the point, it ends up in the middle of the bar graph column. I'd like it to be at the bottom of ...
0
votes
0
answers
68
views
Animation scatter plot ( delete the previous point )
I would like to animate a scatter plot that just shows the current point and delete the last point. I already have a code that runs well but I don't know how to delete the previous point.
This is my ...
1
vote
1
answer
77
views
Can clustering help me with even distribution of points in polygon
Hello this is more general question. I am writing program that will provide visualization of air traffic forecasts. I have a polygon made of few GPS x,y coordinates and I also have dataset of points ...
0
votes
0
answers
56
views
Clustering new points in polygon
I have a polygon made of GPS coordinates, these polygon is country lets say Poland and I have 30 already existing points in that polygon made of GPS coordinates. These 30 points are not distributed ...
0
votes
1
answer
68
views
Create n-dimensional random Point given Euclidean Distance
Given a point (p) and a Euclidean Distance (d), generate a random point (m) such that the Euclidean Distance between p and m is d.
This is easily to visualise and in 2D where the result set is just a ...
2
votes
1
answer
206
views
Smooth confidence intervals and point estimated in ggplot
I have the following data:
structure(list(RR = c(0.89, 0.9, 0.92, 0.93, 0.94, 0.95, 0.96,
0.98, 0.99, 1, 1.01, 1.03, 1.04, 1.05, 1.06, 1.08, 1.09, 1.11,
1.12, 1.13, 1.15), CI.upper = c(1, 1, 1.01, 1....
0
votes
3
answers
135
views
Filter and update point geometry
I have a large sf point dataset. For any x or y coordinate that ends in 000 I want to randomly add or subtract 1 from it (this is top stop a single point intersecting with multiple grid geometries). ...