[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] how to insersect a rectangle with a geometry?
From:       Arnaud Lesauvage <arnaud.listes () supermail ! fr>
Date:       2007-07-25 14:06:02
Message-ID: 46A758CA.4020905 () supermail ! fr
[Download RAW message or body]

Stefan Zweig a écrit :
> i would like to the following: i want to intersect a rectangle (e.g. a rectangle \
> obtained from a bounding box from another object) with an arbitrary geometry i \
> tried that the following way: \
> st_intersection(SetSRID(MakeBox2D(SetSRID(MakePoint(13, \
> 51),4326),SetSRID(MakePoint(20, 55),4326)),4326),staaten."the_geom")

I don't understand : you tell us about a rectangle, but you intersect two points with \
your geometry ?

What about st_intersection(st_envelope(your_first_object),staaten."the_geom") ?

Sorry if I did not understand correctly what you are trying to do.

Best Regards
--
Arnaud
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic