[postgis-users] newbie WITHIN query

strk at refractions.net strk at refractions.net
Thu Dec 1 06:41:52 PST 2005


It could be a bug, what about extracting the_geom
of district 22 and send it out ?

Also, output of postgis_full_version() would help.

--strk;

On Thu, Dec 01, 2005 at 09:35:25AM -0500, Alec Brecher wrote:
> I have searched the docs and am still a bit confused....
> 
> I have successfully (I think) loaded a set of Washington State polygons 
> into a table with SRID 2285 (NAD83 ftUS Washington North).
> 
> When I try to test WITHIN with a point which I know is within one of the 
> polygons:
> SELECT district,
>   WITHIN( pointFromText('POINT(-122.916725 47.046528)',2156), the_geom)
> FROM dist
> 
> all districts return false. I have tested this point in MapInfo with the 
> same projections and find the point within district 22.
> 
> Any help would be greatly appreciated.  -Alec
> -- 
> Alec Brecher
> AtomD / E Research Resources
> office: 802 253-8908
> http://www.atomd.com
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

-- 

 /"\    ASCII Ribbon Campaign
 \ /    Respect for open standards
  X     No HTML/RTF in email
 / \    No M$ Word docs in email




More information about the postgis-users mailing list