GeoSpatial Search on Latitude and longitude values

Topics: General, Writing modules
Jan 16, 2013 at 12:17 PM

Has anyone implemented a GeoSpatial search in an Orchard module?

I'm looking at doing a property search module where the Lat and Lng values are entered by the editor setting up a property. A user is then able to enter a postcode / zipcode and radius in miles / km, the search would then only retrieve properties within that radius.

I know SQL 2008 implemented Geography types and I could possibly use a standard SQL query to retrieve that data but is there anyway to do this using nhibernate etc?

Any help is appreciated. 



Jan 17, 2013 at 1:20 AM

I've seen stuff like that, yes, but not in any publicly available modules. Your best best is probably to use an existing library.

Jan 17, 2013 at 7:31 AM

Thanks BertrandLeRoy, do you have any suggestions for a existing library?

Jan 17, 2013 at 4:51 PM

Sorry, no, but some Googling on "geo search .net" should get you something, hopefully.