SQL query to query nearby points of interest based on lat/long - SQLite

后端 未结 3 848
面向向阳花
面向向阳花 2021-02-08 03:46

Given a database that contains three fields:

Latitude Longitude Proximity

Where Lat and Long are GPS coordinates, and Proximity is (some unit - feet? Seconds? Mi

3条回答
  •  無奈伤痛
    2021-02-08 04:21

    You also know that there is a plugin for SQLite called Spatialite which has all the same functions as PostGIS and SQLServer? I assume you are trying to use SQLLite on the iPhone or in the browser or something. If not they I HIGHLY reccomend spatialite.

提交回复
热议问题