coordinates

google maps: find out coordinates

hi, i'm parsing some html data which has google maps embedded (displaying just one certain point) and i was wondering: how can i find out the exact geographic coordinates of that point? thx ...

Determining if a set of coordinates are within the same area

When I say coordinates I mean latitude and longitude coordinates of earth. I want to determine if a set of coordinates are within the same area (my cutoff is 200 miles). I've been googling "cluster alorithm" but I'm uncertain which would work best for me. Thanks ...

Android-Java: Constructing a triangle based on Coordinates on a map and your bearing

Thanks, EDIT/// Converting the outcome to radians gives me a lat of 5.6xxxxxxxxxxxxxx .I have a feeling this bug has something to do with conversions but its not THAT simple. The equation is correct, it just.. outputs wrong.. ...

How to get left-top and right-buttom latitude and longitude of map in MapKit For iPad ?

Hi, i'm looking for answer about getting latitude and longitude from uimapkit. there is same problem that has been answered, but it didn't give right coordinate. http://yit.me/3ddp73 it's code from thread i'm linking above. CLLocationCoordinate2D topLeft, bottomRight; topLeft = [mapView convertPoint:CGPointMake(0,0) toCoordinateFromV...

How to find out the coordinates of rotated textframe

Hi All, With the help of (idml) itemtransform horizontal / vertical distances and path point arrays, I can find out the coordinates of text frame (x1,y1), (x2,y2), (x3,y3), (x4,y4). If the textframe is rotated then item transform values are getting changed, but the path point array values are same. I can find rotation angle by the matri...

How to know coordinates in a real image from a scaled image.

Hi folks, First of all thanks for your time reading my question :-) I have an original image (w': 2124, h': 3204) and the same image scaled (w: 512, h: 768). The ratio for width is 4.14 (rw) and the ratio for height is 4.17 (rh). I'm trying to know the coordinates (x', y') in the original image when I receive the coordinates in the s...

Why do we need normalized coordinate system? Options

Hi, I have problem understand following sentences in my textbook Computer Graphics with OpenGL. "To make viewing process independent of the requirements of any output device,graphic system convert object descriptions to normalized coordinates and apply the clipping routines." Why normalized coordinates could make view...

Computing latitude longitude center point of a Polygon in PHP

I have a set of points (stored as lat/lon) for a polygon, I want to compute the lat/lon center point of the polygon in PHP. Basically to do the same thing as the getCenter() function in Google Maps LatLngBounds. Any ideas on how I can achieve this? ...

transform longitude latitude into meters

I need a function that maps gps positions to x/y values like this: getXYpos(GeoPoint relativeNullPoint, GeoPoint p){ deltaLatitude=p.latitude-relativeNullPoint.latitude; deltaLongitude=p.longitude-relativeNullPoint.longitude; ... resultX=latitude (or west to east) distance in meters from p to relativeNullPoint resultY=lon...

Coordinate confusion

I subclassed QGraphicsItem and reimplemented paint. In paint I wrote something like this for labeling the item: painter->drawText("Test",10,40); After some time I think It may be useful to handle labeling with seperate item. So I wrote something like this. QGraphicsTextItem *label = new QGraphicsTextItem("TEST",this); setPos(10,40);...

image map software for coordinates using magic wand

Quick question... there are lots of ways to create an image map (old school, I know!) for a web page, but I have a requirement for one. I want to have an interactive map showing UK counties. I have the map, I have "mapspinner" (also dreamweaver) to do the polymap... but, I was wondering if there was a way to use a magic wand to get the...

How to detect if a marker is inside a polygon in google maps

I've got loads of coordinates for a polygon in a database. I also have coordinates for an marker in my database. How do i detect if the marker is inside this polyon. Note: I use a cronjob to move the marker, and in this cronjob it needs to detect this. So javascript isn't involved! Shape of polygon is not just a circle or square. It c...

How to move a marker 100 meters with coordinates

I have 2 coordinates. Coordinate 1 is a 'person'. Coordinate 2 is a destination. How do I move coordinate 1 100 meters closer to coordinate 2? This would be used in a cron job, so only php and mysql included. For example: Person is at: 51.26667, 3.45417 Destination is: 51.575001, 4.83889 How would i calculate the new coordi...

Math Problem: Getting Coordinates From Position And Angle

let me begin by stating that's i'm dreadful at math. i'm attempting to reposition and rotate a rectangle. however, i need to rotate the rectangle from a point that is not 0,0 but according to how far its coordinates has shifted. i'm sure that doesn't make much sense, so i've made some sketches to help explain what i need. the image...

Supporting different orientations using Cocos2d on iPhone

I’m trying to support both landscape and portrait orientations in my iPhone Cocos2D game, but I’m having trouble getting the coordinates to translate properly. Here’s what I’m doing so far. I have a GameWorld layer that I always keep in portrait, regardless of the device orientation. The following code is in my DeviceRotated event f...

Mouse coordinates action

Is there a way to do it in Flex to say: if mouseClick x<300&y<200 currentState=''; Thanks, ...

How to get coordinates from a image for CGRectMake

Is there a program, that you can drag a box around a specific area of an image, and it will give you the coordinates you need to input into CGRectMake? //The numbers in here CCSprite *sprite = [CCSprite spriteWithSpriteSheet:spriteSheet rect:CGRectMake(608,6,44,45)]; The way i do it know, is by guessing, and recompiling every time til...

What is the best way to calculate distance on earth with 2 coordinates in meters in MYSQL?

I have got 2 sets google maps geo coordinates. Like 51.2, 6.1 and 50.3 and 5.5. How do i calculate the distance between those 2 coordinates in meters with mysql? I'm looking for the geo calculation, with earth radius and stuff. What is the best way to do this? ...

Android: Placing a view in an arbitrary location

Hi. I have been trying to place a view in an arbitrary location. My aim: To overlay some rectangle of a JPG/PNG, given coordinates that relate to the JPG/PNG, with some other view, say, Gallery, or some video. I don't want to use AbsoluteLayout, as it is depricated. Therefore, I am using RelativeLayout, defining a dummy textbox as a p...

Locking the mouse position.

Hi guys, I have to resort to you again. Is there a way to lock the mouse X and Y position?, I mean, I want to move my mouse but I want that the mouse position to be locked on.. let say, the center of the screen. Btw, I need to do this using Flash. If there is ANY workaround, i.e, using JS or something like that, would be appreciated. ...