7,153 questions
0
votes
0
answers
42
views
Is there an ANSI code to get the XY of the mouse in a terminal using ANSI without rounding down X?
I have two programs that run on my MacBook (26.0). I can get the mouse to return the current coordinates on a button action with \e[?1000h\e[?1006h. This reports the mouse position on mouse button ...
0
votes
2
answers
85
views
Problem with offset when rotating text on an image (Pillow)
main.py
from PIL import Image, ImageDraw, ImageFont
base_img = Image.new("RGBA", (100, 100), (0, 255, 0))
txt = 'Sample <del color=red>text<del>'
rotate = 120
font = ImageFont....
1
vote
1
answer
45
views
How to find relative coordinates on the screen
I have a program which does some things using previously set coordinates.
I want to make my program more user-friendly. How to get relative coordinates if a screen dimension or another setting is ...
0
votes
0
answers
48
views
How to highlight specific buildings in MapBox Flutter SDK according to provided lat/long coordinates
I have around 100k apartments in one city which I need to highlight on MapBox map. For these apartments I have coordinates (lat, lng) but I don't see how can I find a specific building (feature) in ...
0
votes
0
answers
39
views
How to align RoadRunner scene coordinates with UTM coordinates to reduce GPS conversion offset in Unreal Engine simulation?
I'm working on a simulation project using RoadRunner to generate maps, and running autonomous driving algorithms in Unreal Engine (UE) via AirSim. My algorithms are based entirely on UTM coordinates, ...
0
votes
0
answers
88
views
How to get the coordinate of Composable element?
I’m working on a Jetpack Compose app where I want a Text item in a LazyColumn become transparent as it scrolls under a semi-transparent TopAppBar. To achieve this, I’m using onGloballyPositioned to ...
-1
votes
1
answer
75
views
Cannot extract coordinates in my Mapbox Search API code
I have been trying to get the latitude and longitude of locations I have searched for in the Mapbox Search Bar API, and am using the following code implementation and it works perfectly for everything ...
2
votes
0
answers
69
views
Convert Unity XrCpuImage Coordinates to Viewport Coordinates for Android AR Foundation
I am trying to detect paper edges with a camera using my opencv c++ plugin in unity. The plugin I wrote detects the corner pixel coordinates seamlessly, I tested it all over, so that should not be the ...
0
votes
0
answers
19
views
Filtering 2D Coordinates of Visible Emptys in Blender, Excluding Those Obstructed by Multiple Objects
I'm using Blender's Python API to get the 2D coordinates of all EMPTYS that are "visible" in a rendered 2D image (i.e., within the camera's view). I have a working script that retrieves the ...
0
votes
0
answers
37
views
Which of the 10,000 properties are in a drawn polygon
I have Javascript code that can detect the coordinates of a polygon that is drawn on Google map. I also have 10,000 property addresses. What is the fastest way to find which of the 10,000 properties ...
1
vote
2
answers
123
views
Misalignment of coordinate systems when using terra::as.data.frame instead of tidyterra::geom_spraster with ggplot2
When I was working on the visualisation of spatial data (vector and raster), I ran into some tricky issues: Involves projection conversion of coordinate systems, range conversion of data, and ggplot::...
3
votes
1
answer
108
views
Why is my MCP giving me an area size that is too small?
This is my first time doing any spatial statistics and I am slowly learning. I have seen a few other people here with similar problems, however none of the answers seemed to work for me.
I am trying ...
2
votes
1
answer
81
views
Detect coordinate precision in polars floats?
I have some coordinate data; some of it high precision, some of it low precision thanks to multiple data sources and other operational realities. I want to have a column that indicates the relative ...
0
votes
1
answer
133
views
iText 7 Placing Text at Specific Coordinates
Coming from itextsharp, where you can use ColumnText to place text at specific coordinates like so:
ColumnText ct = new ColumnText(cb);
ct.SetSimpleColumn(DrawingSpace.llx, DrawingSpace....
-1
votes
1
answer
68
views
Coordinates of a location in a web page [closed]
I am trying to extract the coordinates e. g. longitude and latitude of the pointer on a map depicted on a static google maps image from a house listing.
Example: https://www.zoopla.co.uk/to-rent/...