0

私はこの質問と私が見つけたすべての答えを探しています

http://postgis.refractions.net/documentation/manual-1.3/ch04.html#id2572194

SELECT road_id, road_name 
FROM roads 
WHERE roads_geom && GeomFromText('POLYGON((...))',-1);

'...'を置き換えて、このSQLに境界頂点を配置する必要がありますか?

4

1 に答える 1

1

assuming your arc is not inside a postgis geometry object, yes. You would construct a polygon in Well Known Text (WKT) representation:

My best guess would be you need the linestring:

LINESTRING((1 1, 1 2, 1 3, 1 4))

where you put the nodes on the arc in sequence, reconstructing a rough representation of the original arc.

于 2009-06-11T10:27:30.093 に答える