Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
66 views

I'm rendering a .rvt file in my React app using Autodesk's viewer SDK and I'm trying to add an overlay of a polygon to the model (3d/2d view). The polygon is in world coords (in Revit, when I annotate ...
Revital Ben Ami's user avatar
1 vote
1 answer
136 views

I want to achieve a transformation on the canvas using two fingers for rotation, scaling, and translation, while using one finger to paint in the correct position. What I have so far: import 'package:...
WSMA's user avatar
  • 11
0 votes
2 answers
83 views

place will be around 1000 square meters or a little bit more with statues positioned as shown in image. I am building an offline React Native application that shows a custom map of a location ...
dortax's user avatar
  • 34
0 votes
0 answers
65 views

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 ...
Richard Kirk's user avatar
0 votes
2 answers
100 views

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....
Release24's user avatar
1 vote
1 answer
62 views

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 ...
Leo Proger's user avatar
0 votes
0 answers
50 views

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 ...
WhiteAngel's user avatar
  • 2,856
0 votes
0 answers
51 views

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, ...
LOTEAT's user avatar
  • 331
0 votes
0 answers
97 views

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 ...
korina's user avatar
  • 1
-1 votes
1 answer
82 views

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 ...
Train Lover's user avatar
2 votes
0 answers
77 views

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 ...
hozhun's user avatar
  • 21
0 votes
0 answers
27 views

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 ...
a_cold's user avatar
  • 1
0 votes
0 answers
47 views

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 ...
Bill Francis's user avatar
1 vote
2 answers
132 views

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::...
Breeze's user avatar
  • 584
3 votes
1 answer
125 views

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 ...
haddonchris's user avatar
2 votes
1 answer
102 views

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 ...
Kyle's user avatar
  • 1,012
0 votes
1 answer
166 views

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....
Charles Corio's user avatar
-1 votes
1 answer
75 views

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/...
Chioma Okoroafor's user avatar
0 votes
0 answers
36 views

I have a text subtitle srt with coordinates example 270,270 video + sub srt https://mega.nz/folder/WgYHzBaQ#OzYZ7xL0K1r-nZacjGI_Nw Result When using "Pillow" or "opencv" or "...
Oussama Gamer's user avatar
0 votes
1 answer
101 views

I am currently trying to create a route to simulate the Tide railway system in Norfolk. After some trouble with figuring out how to write code (I'm new to python), I think I'm on a good track. However,...
pretzelroll_codes's user avatar
0 votes
0 answers
53 views

I am currently writing a python script to automate a structure made of cubes forming a 3D grid. The cubes are randomly placed and there are two types of cubes. It is a single part but I plan to assign ...
techman1000's user avatar
0 votes
0 answers
65 views

I'm working on a project that involves manipulating node coordinates from an ANSYS .inp file. I'm trying to extract the node coordinates, modify them (e.g., multiply the z-coordinate by 1.5), and then ...
Thasmia's user avatar
0 votes
0 answers
45 views

For a spacesim, I'm trying to rotate a vector of 1,0,0 (X,Y,Z) by a quaternion in C that will describe motion through space in relation to a global fixed frame (right-handed) of +X=forward, +Y=right, ...
Crispin Bivans's user avatar
0 votes
1 answer
91 views

I have used the rgdal and raster packages for converting my data from UTM 32 to UTM 33. However, these libraries have been replaced. Could you advise on the equivalent codes in the new terra and sf ...
Belinda Flem's user avatar
0 votes
2 answers
76 views

I want to model the movement of fish. Therefore I get a bathymetric map from gebco and masked the land masses. library(terra) tif_file <- "~/path_to/GEBCO_map.tif" map <- rast(tif_file)...
EcologyWuhu's user avatar
0 votes
4 answers
108 views

I am trying to simply move the the cursor so that when it is between 200=x and 300=x the canvas background goes salmon and outside of that range it goes blue. Here is my full attempt: <!DOCTYPE ...
ofey's user avatar
  • 3,385
0 votes
1 answer
32 views

I have an animal movement dataset ("data") that looks like this: Data ID Time x y u v A 2008-02-01 12:00:00 9155834.12606686 -1085858.899 ...
Cam's user avatar
  • 453
8 votes
4 answers
250 views

I have a numpy array that maps x-y-coordinates to the appropriate z-coordinates. For this I use a 2D array that represents x and y as its axes and contains the corresponding z values: import numpy as ...
YPOC's user avatar
  • 731
1 vote
0 answers
24 views

i am using nodejs express and mangodb, when a user signup i want to get the live location of the use geospatial code . this is the error i get when i run my code . MongoServerError: Can't extract geo ...
Quobi slim's user avatar
1 vote
0 answers
76 views

So, I have a subdivided icosahedron sphere (icosphere), and I am looping through its vertices and creating a logical tile-map of hexagons at the location of every vertex in the array. Basically, now I ...
Jax's user avatar
  • 407
-1 votes
1 answer
100 views

I want to add multiple text inside an image with specific coordinates relative to the image. Text size can vary. I am using kingfisher to load the image. I have tried with position x, y coordinates ...
Shohan Pramanik's user avatar
0 votes
1 answer
128 views

Hopefully this question is not too broad. I am not looking for anyone to write this algorithm for me, but hopefully what I'm trying to do here has been done already and I failed to find it, and I hope ...
Justin8051's user avatar
1 vote
2 answers
123 views

Im currently trying to collect some weather data from an API, and to reduce the amount of API calls im trying to batch the calls on 0.5degree longitude and latitude chunks due to its resolution. I had ...
Schliemann's user avatar
3 votes
2 answers
134 views

I am working with 3D shapes in Excel / PowerPoint and I need to calculate a particular co-ordinate. I am using Excel to handle the manipulation, the content is in PowerPoint. Say I have this shape ...
Rogue's user avatar
  • 43
0 votes
1 answer
34 views

I'm working on a family-tree like app. I use a force-directed layout algorithm to calculate the positions on which the nodes will be placed. The nodes are a custom view that I created myself called ...
schwitzky's user avatar
0 votes
1 answer
103 views

I have issues to understand how to exactly compute in Python what I call a "jump angle". So basically, I have a map tracking of several tracks (of transcription factors) composed of the ...
Yanisse Graïne's user avatar
1 vote
0 answers
46 views

I am writing an app, that displays an image and allows the User to interact with the image using mouse. The image size is predefined, and in the code below it is 2000x2000. Since the window size may ...
Oleksandr Masliuchenko's user avatar
0 votes
1 answer
113 views

I am working on creating a screen capture app in C# using WPF, where the user can draw a rectangle on the screen, and the app captures the content behind that rectangle, similar to the Windows ...
pcinfogmach's user avatar
0 votes
0 answers
59 views

I am working on modeling an environment from real-world coordinates. So far, the project has been developed in Java and JASON (https://jason-lang.github.io/). Below is the code for modeling. I am ...
Duda Validator's user avatar
2 votes
0 answers
82 views

I'm querying the Wikidata from Apache Jena Fuseki. The objective is to get a monument by its coordinates. The coordinates I locally have are far more accurate. For instance, the monument Q29566893 in ...
Bambam's user avatar
  • 45
-1 votes
1 answer
46 views

very new to... everything. i am trying to use geometry to find subregions using latlng in getcountry. maybe the points/coordinates/geometry are not in the same format as latlng? # getting data df = pd....
user27954385's user avatar
-2 votes
1 answer
65 views

I have a rotated DIV within a non-rotated DIV and I'm trying to work out the cursor position on the outer DIV in relation to the rotated DIV. I guess I need the position as though the coordinate ...
Andrew Foulds's user avatar
0 votes
1 answer
81 views

I am writing some code dealing with an aircraft locations with respect to an observer located at ground and I got a discrepancy between the distance calculated directly from geocentric Cartesian ...
raulgh's user avatar
  • 11
0 votes
2 answers
239 views

I have a .json file of points to put on a Leaflet map, and I have used the proj4js to convert them from the EPSG 3946 projection into the WGS84 EPSG 4326 one. All worked, but the points are not ...
1936Gloria's user avatar
1 vote
1 answer
196 views

I am trying to extract pixel values from the raster using the pixel coordinates. The following is part of my code. The pixel value I get is far different from the value I get from the same pixel when ...
user3425494's user avatar
1 vote
2 answers
178 views

Description: I have a set of coordinate points and an adjacency list that describes how each point (node) is connected to other points. Using these, I plotted a graph using NetworkX in Python. Here ...
Optical_flow_lover's user avatar
0 votes
0 answers
70 views

I have a python code I use to guess points in a airspace. It works very well. I am using a txt file where points are with their coordinates. At present points are identified by this kind of ...
vecchiemaniere's user avatar
0 votes
1 answer
57 views

ctx.setTransform(12,0,0,12,34,23) ctx.fillText("a",0,0) Is it possible to get the equivalent coordinates of "a" in identity matrix transformed space. I want to pin point char "...
Good Going's user avatar
2 votes
1 answer
132 views

I am trying to do a scatter plot of a few data points on a region of the sky and then add a circle to the plot. Note, that I don't want a plot of the full sky, just of the region around the data ...
NeStack's user avatar
  • 2,072
0 votes
1 answer
38 views

3d plane projected to a 2d polygon I have the coordinates of the vertexes P1, P2, P3 and P4 that define a rectangular rectangle. Those coordinates always define a regular rectangular area and the ...
Rui Batista's user avatar

1
2 3 4 5
143