[postgis-users] Selecting geocoded postal codes within a given distance ( miles for example )

Sung-Gheel Jang sjang3 at uiuc.edu
Mon Dec 16 12:00:10 PST 2002


Hello,

You had better project your dataset first according to a proper projection
such as UTM, state plane etc. I believe the decimal degress can't deal with
the surface distance. It's only for a location of the earth sphere.

Sung-Gheel

-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net]On Behalf Of Hugh
W. O'Brien
Sent: Monday, December 16, 2002 1:42 PM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] Selecting geocoded postal codes within a given
distance ( miles for example )


Dear List,

How would one go about selecting the geocoded postal codes within given
a distance ( say in miles ) of another geocoded postal code.  Finding
the long/lat of the postal code we are searching around is simple ( no
help is needed there ). I have read/seen the faq for postgis.  The
example given  there using a bounding box doesn't really fit what I am
trying to do exactly because I will be dealing with degrees
longitude/latitude and miles ( the example in the faq uses meters
exclusively ).

Thanks in advance for any help you can give.

-- Hugh W. O'Brien


_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list