Top "Geography" questions

Geography is the science that deals with the study of the Earth and its lands, features, inhabitants, and phenomena.

Create polygon (rectangle) from min and max lat/long

Given a lat/lon representing a South West point and a lat/lon representing a North East point When I …

sql sql-server polygon spatial geography
How to convert latitude and longitude to world coordinates à la Google Maps

I am designing an application in C++ to view and edit a map of a fictional planet. How it works …

google-maps latitude-longitude geography
NHibernate.Spatial and Sql 2008 Geography type - How to configure

I am trying to use Nhibernate with the Sql 2008 Geography type and am having difficulty. I am using Fluent Nhibernate …

c# nhibernate sql-server-2008 fluent-nhibernate geography
Database Mapping World Cities to Metropolitan Statistical Areas (and non-US MSA equivalents)

My problem is that I have a file with thousands of cities and I want to map city names to (…

python csv geocoding geography google-ads-api
PostGIS: register a "geometry" column without AddGeometryColumn

The usual way to create a geometry column is AddGeometryColumn, however I have to work with pre-existing columns, so I …

sql postgresql geospatial postgis geography
How to use System.Spatial.GeographyPoint

I need a function to calculate distance between point A and point B. Namespace System.Spatial seems to be exactly …

c# geography
Sql Server spatial data type Geometry, STDistance and units : Get meters?

I'm using Sql server 2012 and google maps client-side, I use SRID 3785, as it's mercator that maps uses. I use geometry …

sql-server geometry geospatial spatial geography
Python: speeding up geographic comparison

I've written some code that includes a nested loop where the inner loop is executed about 1.5 million times. I have …

python optimization distance geography
Getting all zip codes within an n mile radius

What's the best way to get a function like the following to work: def getNearest(zipCode, miles): That is, given …

location geography zipcode