... インストール ¶ GEOSとPROJ は、 SpatiaLite をビルドする前にインストールする必要があります。 SQLite ¶ まず最初に、SQLite が R*Tree module でコンパイルされているかどうかを確認してください。sqlite3 コマンドラインインターフェースを起動し、以下のクエリを入力 ... してください: sqlite> CREATE VIRTUAL TABLE testrtree USING rtree ( id , minX , maxX , minY , maxY ); エラーが発生した場合は、SQLite をソースから再コンパイルする必要があります。 ... ite-amalgamation-XXX0000.zip $ cd sqlite-amalgamation-XXX0000 次に、 configure スクリプトを実行します。ただし、SQLite が R*Tree モジュールをビルドすることを認識できるように、 CFLAGS 環境変数をカスタマイズする必要があります: $ CFLAGS = "-DSQLITE_ENABL ... ... インストール ¶ GEOSとPROJ は、 SpatiaLite をビルドする前にインストールする必要があります。 SQLite ¶ まず最初に、SQLite が R*Tree module でコンパイルされているかどうかを確認してください。sqlite3 コマンドラインインターフェースを起動し、以下のクエリを入力 ... してください: sqlite> CREATE VIRTUAL TABLE testrtree USING rtree ( id , minX , maxX , minY , maxY ); エラーが発生した場合は、SQLite をソースから再コンパイルする必要があります。 ... ite-amalgamation-XXX0000.zip $ cd sqlite-amalgamation-XXX0000 次に、 configure スクリプトを実行します。ただし、SQLite が R*Tree モジュールをビルドすることを認識できるように、 CFLAGS 環境変数をカスタマイズする必要があります: $ CFLAGS = "-DSQLITE_ENABL ... ... e , db_tablespace = None , opclasses = () , condition = None , include = None ) [ソース] ¶ データベース内にインデックス (B-Tree) を作成します。 expressions ¶ Index. expressions ¶ 位置引数 *expressions を使用すると、式およびデータベース関数に対して関数 ... indexes に関する詳細については、PostgreSQL のドキュメントを参照してください。 PostgreSQL-specific indexes In addition to B-Tree indexes (via Index ), PostgreSQL also supports GistIndex and SpGistIndex indexes. 目次 モデル index リファレンス Index オプ ... ... e , db_tablespace = None , opclasses = () , condition = None , include = None ) [ソース] ¶ データベース内にインデックス (B-Tree) を作成します。 expressions ¶ Index. expressions ¶ 位置引数 *expressions を使用すると、式およびデータベース関数に対して関数 ... indexes に関する詳細については、PostgreSQL のドキュメントを参照してください。 PostgreSQL-specific indexes In addition to B-Tree indexes (via Index ), PostgreSQL also supports GistIndex and SpGistIndex indexes. 目次 モデル index リファレンス Index オプ ... ... ocumentation spelling checker , and code formatting ), install and run the tox command from any place in the Django source tree: / $ python -m pip install tox $ tox ...\> py -m pip install tox ...\> tox By default, tox runs the test suite with th ... .0+ You can find these dependencies in pip requirements files inside the tests/requirements directory of the Django source tree and install them like so: / $ python -m pip install -r tests/requirements/py3.txt ...\> py -m pip install -r tests\req ... ... リレーション) Django copies the fetch mode of an instance to any related objects it fetches, so the mode applies to a whole tree of relationships, not just the top-level model in the initial QuerySet . This copying is also done in related managers, ev ... ... ocumentation spelling checker , and code formatting ), install and run the tox command from any place in the Django source tree: / $ python -m pip install tox $ tox ...\> py -m pip install tox ...\> tox By default, tox runs the test suite with th ... .0+ You can find these dependencies in pip requirements files inside the tests/requirements directory of the Django source tree and install them like so: / $ python -m pip install -r tests/requirements/py3.txt ...\> py -m pip install -r tests\req ... ... リレーション) Django copies the fetch mode of an instance to any related objects it fetches, so the mode applies to a whole tree of relationships, not just the top-level model in the initial QuerySet . This copying is also done in related managers, ev ... ... fferent manner than regular database indexes. Specifically, spatial indexes are typically created using a variant of the R-Tree, while regular database indexes typically use B-Trees. ジオメトリフィールドのオプション ¶ ジオメトリフィールドには追加オプ ... ... rue に設定すると、autovacuum による automatic summarization を有効にできます。 pages_per_range 引数は正の整数を取ります。 BTreeIndex ¶ class BTreeIndex ( * expressions , fillfactor = None , deduplicate_items = None , ** options ) [ソース] ¶ B-Tree イ ... ] ¶ gin インデックス を作成します。 組み込みの演算子クラス 以外のデータ型でこのインデックスを使用するには、 PostgreSQL で btree_gin 拡張 を有効にする必要があります。これをインストールするには BtreeGinExtension というマイグレーションオペレーションを使 ... など他のタイプでも有用です。 組み込みの gist 演算子クラス 以外のデータ型でこのインデックスを使用するには、 PostgreSQL で btree_gist 拡張 を有効にする必要があります。これをインストールするには BtreeGistExtension というマイグレーションオペレーションを ... 2026年10月08日