ポイントだけでなく、ポリゴンをベースにGISシステムを構築します。MongoDBまたはPostGISを使用したかった。
これはMongoDBでどのように行われますか?
クエリA-ポリゴンの中心を取得します
クエリB-2つのポリゴン間の距離
クエリC-私が指定した3分の1の一部であるポリゴンのリスト
クエリD-ポリゴンの近距離
SRIDをサポートしますか?
ポイントだけでなく、ポリゴンをベースにGISシステムを構築します。MongoDBまたはPostGISを使用したかった。
これはMongoDBでどのように行われますか?
クエリA-ポリゴンの中心を取得します
クエリB-2つのポリゴン間の距離
クエリC-私が指定した3分の1の一部であるポリゴンのリスト
クエリD-ポリゴンの近距離
SRIDをサポートしますか?
MongoDB's geospatial indexing currently only indexes points. Although it does support proximity and bounds queries, documents are matched by a single point. You may be able to take advantage of multi-location documents and index multiple points along a polygon, which might support some of your queries with reduced precision; however, that would certainly not be ideal.
PostGIS seems more appropriate for your requirements.