I'm having problem getting the right results in my coordinate system.
To explain my system, I have this simple database that have x_axis, y_axis and name columns. I don't need to get all the data, I just need to display some part of it.
For example, I have a coordinate system that have 10:10(meaning from x_axis -10 to 10 and from y_ax...
Hi, I have a question.
I'm developing on an app that is location-based, I have a mapView set to show the user location (mapView.showUserLocation); I also have a locationUpdate function to retrive lat/long of current position:
(void)locationUpdate:(CLLocation *)location{}
After I call the function stopUpdatingLocation to stop the upd...
Hello due to reasons of chinese paranoia and google being a bunch of pansies I am in the situation where I need to alter a number of gps waypoints stored in a gpx file so they are are correctly aligned with google map which is not correctly aligned... for reasons for aforementioned paranoia.
So I have a waypoint with a known landmark (r...
My question related to previous post
http://stackoverflow.com/questions/2374295/how-to-fill-color-in-grid-boxes-randomly
How can I get Cartesian Coordinate (x,y) of each of the boxes filled by color in Gridbaglayout. For example, if the size of the panel is 300 x 300, and the row and column is set to 5 x 5, Is there any way we will kno...
This question is related to my previous question http://stackoverflow.com/questions/2376027/how-to-generate-cartesian-coordinate-x-y-from-gridbaglayout
I have successfully get the coordinate of each pictures, however when I checked the coordinate through (System.out.println) and the placement of the images on the screen, it seems to be ...
Is there a convention for whether GIS points in MySQL should be stored as POINT($latitude $longitude) or POINT($longitude $latitude)?
Having longitude correspond to X on a cartesian map would visually make more sense with north pointing up, but common parlance is to say "latitude and longitude."
...
Hi,
I would get the coordinate from an openlayers map.
When I open my page I would that when I click on a button, I have received the coordinate of top bottom left and the upper right.
<html>
<head>
<title>OpenLayers Example</title>
<script src="http://openlayers.org/api/OpenLayers.js"></script>
</head>
<body>
...
Hi,
I'm trying to figure out how to calculate a min/max lat/long bound on the specific given range of a gps coordinate.
for example: gps coord 37.42935699924869,-122.16962099075317 range .2 miles
I'm looking at the point + range + bearing in the http://www.movable-type.co.uk/scripts/latlong.html site but im not sure if this is exactl...
Hello,
Overwriting mouse event on pixMapItem didn't work for me ; the mouse click event is not detected by the pixMapItem. Here is my code :
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
class DrawImage( QMainWindow ):
def init(self, path):
QMainWindow.__init__(self)
self.setWindowTitle('Select Window')
...
Hi,
for a geo-based online game I'm looking for an algorithm which finds the shortest distance between a specified point and a known path connected by x/y-coordinates, so that I can kill all redundant points/nodes. A link or keyword for this algorithm would help me a lot! thanks for reading
For better understanding:
...
I have a layer that takes the whole iPhone screen. I want to change the coordinate system so that (-1,-1) is in the bottom left, and (1,1) in the top right; for the layer and its sub layers. how do I go about it?
This isn't as easy as setting the transform: previously I was overriding my view's drawRect, and accomplished the transf...
I am currently working on a tool that will allow Wiimote to be used as computer mouse and am stuck in a problem. The wiimote returns x and y co-ordinates which are very small as compared to screen resolution of my pc and I am looking for a way to map these small values to my large resolution values.
For example, pc least x value is 0 an...
HI,
I am willing to implement a logic in which i need to know about the amount of motion made by phone on x y or z axis,
using accelerometer i can only find acceleration on these axis, even if i try calculating the relative x coordinate value based on acceleration on x axis, its of no use as i cannot determine the direction of motion (i....
I have a list of cities (and some other locations) around the world, formatted like this:
America/Antigua
America/Anguilla
Europe/Tirane
Asia/Yerevan
America/Curacao
Africa/Luanda
Antarctica/McMurdo
And I need to get their corresponding coordinates formatted like this:
Europe/Stockholm 59.21N 18.04W
Since I have a r...