coordinates

Apache RewriteRule removing submit x y coordinates from Querystring (Mac Snow Leopard OS X)

This ought to be a simple exercise in Apache with mod_rewrite and all of it's flexibility. I have verified the Rewrite module is working with full logging but no matter how I shake out my rules and conditions, I can't get it to work. What I want is to rewrite the following url: http://www.domain.com/search?x=10&y=10&query=sear...

Precision error when transforming coordinates using proj4js.

Hello everyone. I am using the library Proj4js to transform coordinates. I'm transforming coordinates from EPSG: 23029 to EPSG: 4326. The problem is that by transforming the coordinates there is some deviation from the precision used in the processing load. I noticed this by transforming a coordinate system from origin to destination and...

AS3 x and y property precision

In ActionScript 3 (and IIRC 2), the x and y properties on a display object are always stored as multiples of 0.05. so something like obj.x = 66.6666 is the same as obj.x = 66.65 Most of the time, this doesn't matter. But sometimes I can end up with really slow-moving objects, eg 1 pixel per second. 1/60 (fps) = 0.017 pixels per frame. ...

Best algorithm for comparing a base coordinate to a list of n coordinates and determining the closest m coordinates?

I have some code doing this right now. It works fine with small to medium sized lists, but when I have a list of size n > 5000 then the my algorithm can take almost 1 minute on a mobile device to run. I'm basically comparing a Coordinate object in Java to a list (Vector) of Coordinate objects. Here's my basic algorithm: traverse each ...