Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Map points within a circle or distance -- Pythagoras --
Message
De
24/10/2011 11:20:21
 
 
À
24/10/2011 09:23:45
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01527151
Message ID:
01527183
Vues:
63
>>I have absolutely no idea what the lat/lons are in your code samples. If they're some sort of military grid system you'll need to convert them to conventional lat/lon.
>
>Looks like that's the longitude/lattitude in feet (measured from equator and prime meridian, I guess). These, divided with the radius (in feet) would give the angle in radians. And that would fit nicely with the rest of measurements being in feet. But then... how is the distance from the prime meridian taken - at equator, at the current lattitude, or as a distance from the (0,0) point?
>
>But then, this seems like the Australian maps where the south pole is on top... I mean, just guessing that these are coordinates in Tc's neighborhood, then these would be north and west, so... the numbers for the west should be negative.
>
>This is not the first time I've seen this - someone at the source of these data is so youesscentric that they have mirrored the coordinates so the horizontal axis has the negative semiaxis on the right, and the positive one on the left...

They are in negative, but I have the values in state plane - I was tired and burned out I guess because it just dawned on me this morning!

So:
1713881.3750,833601.8125 = 36.0365602, -079.9677260

Now I just have to find the code to convert back
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform