Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proximity search
Message
From
13/04/2010 18:41:23
 
 
To
13/04/2010 18:28:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01459851
Message ID:
01460094
Views:
33
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform