Re: [GENERAL] [postgis-users] point_ops with GiST PostGIS Spatial Index

2013-06-05 Thread Tambade, Kedar
Create the gist index on table containing points using the following syntax: CREATE INDEX ON USING GIST (); After the index is created use the criteria st_contains(polygon,point) in the where clause of select statement: Select * from where st_contains(polygon, point) ; Regards, Kedar

Re: [GENERAL] COPY command question

2009-02-11 Thread Kedar
trings to pass in. -- Thanks & Regards Kedar Parikh Netcore Solutions Pvt. Ltd. Tel: +91 (22) 6662 8135 Mob: +91 9819634734 Email: ke...@netcore.co.in Web: www.netcore.co.in

Re: [GENERAL] How to remove duplicate lines but save one of the lines?

2008-08-04 Thread Kedar
es('B',20); INSERT INTO temp values('B',20); select * from temp; text | id --+ A| 10 A| 10 B| 20 B| 20 B| 20 select text,id, count(1) from temp group by 1,2; text | id | count --++--- A| 10 | 2 B| 20 | 3 and