Location | Name | Type | Reference |
---|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sqlite> .load /usr/local/lib/mod_spatialite.so | |
sqlite> CREATE TABLE test_geometries ( | |
id INTEGER PRIMARY KEY, | |
name TEXT, | |
geom GEOMETRY | |
); | |
sqlite> INSERT INTO test_geometries (id, name, geom) VALUES | |
(1, 'Valid Point', GeomFromText('POINT(1 1)', 4326)), | |
(2, 'Valid Polygon', GeomFromText('POLYGON((0 0, 1 0, 1 1, 0 1, 0 0))', 4326)), | |
(3, 'Empty Point', GeomFromText('POINT EMPTY', 4326)), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Enable PostGIS extension | |
CREATE EXTENSION IF NOT EXISTS postgis; | |
-- Create City table with PostGIS geometry column | |
CREATE TABLE City ( | |
ID SERIAL PRIMARY KEY, | |
name VARCHAR(255) NOT NULL, | |
point GEOMETRY(POINT, 4326) | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python : Creating test database for alias 'default'... | |
At line:1 char:1 | |
+ python .\runtests.py gis_tests.geoapp.tests.GeoLookupTest.test_relate ... | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : NotSpecified: (Creating test d...as 'default'...:String) [], RemoteException | |
+ FullyQualifiedErrorId : NativeCommandError | |
E | |
====================================================================== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import timeit | |
crispy = """{% load crispy_forms_field %} | |
{% if field.is_hidden %} | |
{{ field }} | |
{% else %} | |
{% if field|is_checkbox and tag != "td" %} | |
<div class="mb-3{% if 'form-horizontal' in form_class %} row{% endif %}"> | |
{% if label_class %} |
Location | Name | Type | Reference |
---|
Location | Name | Type | Reference |
---|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'PCIDSK' | |
'netCDF' | |
'PDS4' | |
'VICAR' | |
'JP2OpenJPEG' | |
'PDF' | |
'MBTiles' | |
'EEDA' | |
'OGCAPI' | |
'ESRI Shapefile' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(django) PS C:\Users\smith\PycharmProjects\django\tests> python .\runtests.py --shuffle | |
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes | |
Using shuffle seed: 2714725009 (generated) | |
Found 15614 test(s). | |
Creating test database for alias 'default'... | |
Cloning test database for alias 'default'... | |
Cloning test database for alias 'default'... | |
Cloning test database for alias 'default'... | |
Cloning test database for alias 'default'... | |
Cloning test database for alias 'default'... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================================== | |
ERROR: test_bulk_update (postgres_tests.test_bulk_update.BulkSaveTests) [<object object at 0x000002D559D6DFE0>] (model=<class 'postgres_tests.models.HStoreModel'>, field='field') | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "c:\users\smith\pycharmprojects\django\django\db\backends\utils.py", line 89, in _execute | |
return self.cursor.execute(sql, params) | |
psycopg2.ProgrammingError: can't adapt type 'dict' | |
The above exception was the direct cause of the following exception: |
NewerOlder