Most voted "coordinates" questions
24 questions
Sort by count of
-
8
votes3
answers12215
viewsCalculate distances between two coordinates
I am using this function below to calculate the difference between two coordinates. Through google maps is reported a difference of 2 to 3km. But the function is returning me the result…
-
4
votes1
answer648
viewsHow to convert screen coordinates to Cartesian coordinates?
In Python: How to convert screen coordinates to cartesian coordinates, where there can be positive and negative points and the center of the screen is (0.0)?
-
4
votes1
answer802
viewsHow to center map in the middle of polygon?
I have a polygon formed, at first, with 3 edges, basically created using 3 locations: Maiami, Puerto Rico and Bermuda. I took the example in the documentation that shows how to create a simple…
-
3
votes2
answers325
viewsMenu that moves by coordinates
I’m making this site but I can’t do two things: the menu has to move to the contents as I click on the options when the upload page has to appear centered along with the menu where you have…
-
3
votes2
answers2331
viewsCompare Latitude and Longitude in Python
I have an application where an Android client sends the coordinates to a Python server, which should put such information in a Mysql Database if the client is within an area (an 8-vertex polygon, to…
-
3
votes1
answer2229
viewsCoordinates of a Pygame image
How can I get the x and y coordinates of an image in Pygame? I need this for a game where I have to get the shot out right below an enemy. This is the code: # -*- coding: cp1252 -*- import sys…
-
2
votes1
answer45
viewsHow to get position(x, y) of lower Node in Borderpane relative to the screen?
I have a Borderpane where you define your bottom value with an Hbox: borderPane.setBottom(new HBox(children)); I would like to know the position (x,y) mainly the y of Hbox in relation to the screen.…
-
1
votes2
answers409
viewsHow to find specific point coordinates
I need the coordinates of a specific point in Google Maps. Kind of like I click on a point and somehow the API shows me the string of mnsm. Because I need to calculate distance between 2 points…
-
1
votes1
answer320
viewsHow to get latitude/longitude of a geo-address using Qt c++ in windows?
It is possible to get the coordinates (latitude and longitude) from a geographical location using only the address, in Qt c ++? I know the Qgeocoordinates, Qgeolocation and Qgeoaddress libraries,…
-
1
votes1
answer94
viewsHow to get the X and Y strings of a movieclip in Actionscript 3 or Javascript?
Hello, I’m new around here and I have a question that’s giving me a hell of a job. I need to capture in a variable the X and Y coordinates of a certain movieclip that is on my stage (canvas on…
-
1
votes2
answers242
viewsFormat latitude and numerical longitude coordinates in R
I received a data frame with the coordinates of the schools of the city of São Paulo. They were separated by dot in the thousands, as a number -23,456,789. Thus, R reads the value as Chr. There were…
-
1
votes1
answer57
viewsPass list of numbers from cartesian to polar
I’m having trouble passing a list of numbers that are in Cartesian coordinates (u,v) and need to convert to polar coordinates. I tried for the package cmath, as follows: import cmath…
-
1
votes1
answer367
viewsDoubt about jTextArea.append (add the value of the area variable to Borderlayout) - Java
I have a problem with a line of code, this line that is underlined in the image, gives me an error that says that the coordinates X1, Y1, x2, Y2 have to be static, it turns out that this application…
-
1
votes0
answers119
viewsImage coordinate correction in MATLAB
Good morning, I’m a beginner in the use of MATLAB and I believe you’re having problems with simple questions but a little help would be a great contribution. I’m trying to perform coordinate…
-
1
votes1
answer1663
viewsGet coordinates, measure distances and compare them
I was proposed to develop a page where this presents an excerpt from Google Maps with several markers organized in clusters (done). I have no experience with Javascript, and what I need is that by…
-
1
votes1
answer30
viewsDo not count the integers 1 and 0 in duplicity when they are above, below or next to an integer 2?
This code counts how many infertile (1) and infertile (0) sectors are covered by at least one irrigator (2). The matrix a[m][n] represents land with irrigators (2), fertile land (1) and infertile…
coordinatesasked 6 years, 5 months ago Elildes Santos 39 -
0
votes1
answer433
viewsHow to find coordinates in Apple maps?
I need to show several different places on the map, one for each location, I would like to know how to point to each coordinate through the code? In case the app is for iOS, using Objective-C.…
-
0
votes1
answer2130
viewsXY position in C, repositioning
I am in need of the current "cursor" coordinates of the screen, for the user to remain in the current line. EXAMPLE void main{ char nome[50]; char sobrenome[50]; int linhaAtual; linhaAtual = ????;…
-
0
votes2
answers791
viewsHow to display GPS coordinates
Guys I’m new I’m attending Sistemas de Informação and has been proposed a work in which need to use a cellular hardware element. I chose to make an application that displays the coordinates, I…
-
0
votes1
answer3261
viewsGrab the coordinates of the mouse position by clicking
I have to trace a line with starting point and ending point,I can do this line if I provide these coordinates by keyboard, but I want to do this by mouse click,the first would be the starting point…
-
0
votes0
answers77
viewsProcedure to return route calculation between coordinates via the Googlemaps API
I need to create all the business rules of a system within the database and allow other applications for the purpose of being only a graphical user interface to freely utilize all the functions…
-
0
votes0
answers77
viewsGet Low Consumption within 100m Radius?
I have a database with consumption and coordinates in Excel, like: In this sense, I need to write a code that allows me to find, from place to place, consumptions below the average consumption…
-
-1
votes1
answer2338
viewsFormat numerical latitude and longitude in Javascript
I need to put the number of decimals in my latitude and longitude; currently they meet like this: -50850080, -29361808 And I’d like it to stay that way: -50.850080, -29.361808 Only it had to be…
-
-1
votes1
answer36
viewsHow to get the x and y coordinates in a circle from an angle
I’m trying to create an analog clock and my idea was the following one would get the angle corresponding to the hour and then discover the position x e y of that angle in a circle and draw a line…