0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

PostgreSQL:PostGisを使って座標から情報を取得

Last updated at Posted at 2021-06-09

座標データから、PostGISに格納している地域情報を取得するQueryの覚書です。

データの用意の方法は省略します。

SELECT * FROM TABLE_NAME
WHERE ST_Covers(
	geog, 
	ST_GeogFromText('POINT(139.0 35.0)')
);
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?