Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Proximity search
Message
De
13/04/2010 18:41:23
 
 
À
13/04/2010 18:28:37
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01459851
Message ID:
01460094
Vues:
32
>This is likely related to your latitude, longitude question in SQL server. If so, again I would use MSSQL's spatial data methods. ie:
>
>
DECLARE @g geography;
>SET @g1 = geography::STGeomFromText('POINT(-65.7142 47.7661)', 4326); --Petit-Rocher nord
>SET @g2 = geography::STGeomFromText('POINT(-65.7305 47.7975)', 4326); --Petit-Rocher sud
>
>select @g1.STDistance(@g2);
>
>SELECT @g1.STBuffer(3700).STIntersects(@g2); -- true, within 3700 meters
Cetin

I will have to take a look at this later on. I would need to check if this can apply and if the performance is as good.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform