MCPcopy Create free account

hub / github.com/achapkowski/pygeopackage / functions

Functions116 in github.com/achapkowski/pygeopackage

↓ 37 callersMethodvalues
returns the row values
src/geopackage/_geopackage.py:347
↓ 30 callersFunctionas_bin_str
(a_list)
src/geopackage/_utils.py:62
↓ 28 callersFunctiontake
Return first n items of the iterable as a list Copied shamelessly from http://docs.python.org/2/library/itertools.html#recipes.
src/geopackage/_utils.py:52
↓ 24 callersMethodcreate
The `create` method generates a new table or feature class in the geopackage. =============== ==========================
src/geopackage/_geopackage.py:189
↓ 17 callersMethodinsert
Inserts a new row via dictionary =============== =============================================== **Arguements** **D
src/geopackage/_geopackage.py:622
↓ 15 callersMethodkeys
returns the column names in the dataset
src/geopackage/_geopackage.py:331
↓ 12 callersFunctiondumps
Dump a EsriJSON-like `dict` to a WKB string. :param dict obj: GeoJson-like `dict` object. :param bool big_endian: Defaul
src/geopackage/_wkb.py:167
↓ 11 callersMethodget
Returns a table if it exists in the geopackage. =============== =============================================== **Arguem
src/geopackage/_geopackage.py:135
↓ 9 callersMethodrows
Search/update cursor like iterator =============== =============================================== **Arguements** *
src/geopackage/_geopackage.py:583
↓ 7 callersFunction_header_bytefmt_byteorder
Utility function to get the WKB header (endian byte + type header), byte format string, and byte order string.
src/geopackage/_wkb.py:265
↓ 6 callersFunction_insert_values
inserts multiple values into a table
src/geopackage/_gpkg.py:77
↓ 6 callersFunction_strip_header
removes the GP header
src/geopackage/_rtree.py:14
↓ 3 callersMethod_refresh
internal method that refreshes the table information
src/geopackage/_geopackage.py:745
↓ 3 callersFunctionblock_splitter
Creates a generator by slicing ``data`` into chunks of ``block_size``. >>> data = range(10) >>> list(block_splitter(data, 2)) [[0, 1
src/geopackage/_utils.py:11
↓ 3 callersMethodexists
Returns boolean if the table exists :returns: boolean
src/geopackage/_geopackage.py:120
↓ 2 callersFunction_check_dimensionality
(geom, num_dims)
src/geopackage/_wkb.py:802
↓ 2 callersMethod_flag_to_bytes
converts single integer to bytes
src/geopackage/_geopackage.py:841
↓ 2 callersFunction_load_data
loads the coordinate information into memory
src/geopackage/_coord.py:14
↓ 2 callersFunction_unsupported_geom_type
(geom_type)
src/geopackage/_wkb.py:260
↓ 2 callersMethod_update
updates the current row
src/geopackage/_geopackage.py:352
↓ 2 callersMethodadd_field
Adds a new column to the table. =============== =============================================== **Arguements** **D
src/geopackage/_geopackage.py:473
↓ 2 callersFunctionloads
Construct a EsriJSON `dict` from WKB (`string`). :param str string: WKB string. :param int wkid: The srid of the coordi
src/geopackage/_wkb.py:203
↓ 2 callersMethodto_pandas
Exports a table to a Pandas' DataFrame. =============== =============================================== **Arguements**
src/geopackage/_geopackage.py:657
↓ 1 callersMethod__getattr__
(self, name)
src/geopackage/_geopackage.py:317
↓ 1 callersMethod__setattr__
(self, name, value)
src/geopackage/_geopackage.py:301
↓ 1 callersMethod__str__
(self)
src/geopackage/_geopackage.py:293
↓ 1 callersMethod__str__
(self)
src/geopackage/_geopackage.py:445
↓ 1 callersMethod__str__
(self)
src/geopackage/_geopackage.py:761
↓ 1 callersMethod_build_gp_header
assembles the GP header for WKB geometry
src/geopackage/_geopackage.py:851
↓ 1 callersFunction_create_feature_class
Creates a spatial table ============== ==================================================== **Argument** **Description** -
src/geopackage/_gpkg.py:217
↓ 1 callersFunction_create_gpkg
Creates an empty geopackage
src/geopackage/_gpkg.py:119
↓ 1 callersFunction_create_table
creates an attribute table
src/geopackage/_gpkg.py:184
↓ 1 callersFunction_get_geom_type
Get the GeoJSON geometry type label from a WKB type byte string. :param type_bytes: 4 byte string in big endian byte order containing a W
src/geopackage/_wkb.py:100
↓ 1 callersMethod_setup
sets up the registration for the GeoPackage
src/geopackage/_geopackage.py:78
↓ 1 callersMethod_srid_to_bytes
converst WKID values to bytes
src/geopackage/_geopackage.py:846
↓ 1 callersMethoddelete_field
Drops a Field from a Table =============== =============================================== **Arguements** **Descrip
src/geopackage/_geopackage.py:557
↓ 1 callersFunctionlookup_coordinate_system
Looks up the wkt and name of the wkid coordinate system ================ ========================================= ** Arguement **
src/geopackage/_coord.py:28
↓ 1 callersFunctionlu_geom
(ks)
src/geopackage/_wkb.py:181
↓ 1 callersFunctionread_file
(file)
src/setup.py:40
FunctionST_IsEmpty
returns 1 if geometry value is empoty 0 if not empty, NULL if geometry is NULL
src/geopackage/_rtree.py:53
FunctionST_MaxX
Returns the maximum X value of the bounding envelope of a geometry
src/geopackage/_rtree.py:86
FunctionST_MaxY
Returns the maximum Y value of the bounding envelope of a geometry
src/geopackage/_rtree.py:95
FunctionST_MinX
Returns the minimum X value of the bounding envelope of a geometry
src/geopackage/_rtree.py:66
FunctionST_MinY
Returns the minimum Y value of the bounding envelope of a geometry
src/geopackage/_rtree.py:77
Method__enter__
(self)
src/geopackage/_geopackage.py:109
Method__exit__
(self, type, value, traceback)
src/geopackage/_geopackage.py:115
Method__getitem__
(self, name)
src/geopackage/_geopackage.py:323
Method__init__
Constructor
src/geopackage/_geopackage.py:50
Method__init__
Constructor
src/geopackage/_geopackage.py:285
Method__init__
Constructor
src/geopackage/_geopackage.py:433
Method__init__
Constructor
src/geopackage/_geopackage.py:738
Method__iter__
(self)
src/geopackage/_geopackage.py:453
Method__len__
returns the number of registered tables
src/geopackage/_geopackage.py:99
Method__repr__
(self)
src/geopackage/_geopackage.py:297
Method__repr__
(self)
src/geopackage/_geopackage.py:449
Method__repr__
(self)
src/geopackage/_geopackage.py:767
Method__setitem__
(self, name, value)
src/geopackage/_geopackage.py:327
Function_adapt_wkb
ensures the wkb values are bytes, not bytearrays
src/geopackage/_geopackage.py:33
Function_copy_table_schema
copies a table's schema to a new table
src/geopackage/_gpkg.py:97
Function_dump_geometrycollection
(obj, big_endian, meta)
src/geopackage/_wkb.py:488
Function_dump_linestring
Dump a GeoJSON-like `dict` to a linestring WKB string. Input parameters and output are similar to :func:`_dump_point`.
src/geopackage/_wkb.py:340
Function_dump_multilinestring
Dump a GeoJSON-like `dict` to a multilinestring WKB string. Input parameters and output are similar to :funct:`_dump_point`.
src/geopackage/_wkb.py:418
Function_dump_multipoint
Dump a GeoJSON-like `dict` to a multipoint WKB string. Input parameters and output are similar to :funct:`_dump_point`.
src/geopackage/_wkb.py:389
Function_dump_multipolygon
Dump a GeoJSON-like `dict` to a multipolygon WKB string. Input parameters and output are similar to :funct:`_dump_point`.
src/geopackage/_wkb.py:451
Function_dump_point
Dump a EsriJSON-like `dict` to a point WKB string. :param dict obj: EsriJSON-like `dict` object. :param bool big_endian:
src/geopackage/_wkb.py:305
Function_dump_polygon
Dump a GeoJSON-like `dict` to a polygon WKB string. Input parameters and output are similar to :funct:`_dump_point`.
src/geopackage/_wkb.py:363
Function_extent
gets the extent value from the geometry
src/geopackage/_rtree.py:37
Function_flatten_list
moves all x,y pairs into two lists
src/geopackage/_rtree.py:21
Method_gpheader
internal only, builds the geopackage binary header
src/geopackage/_geopackage.py:862
Function_handle_wkb
handles the insert convertion for the custom geometry types
src/geopackage/_geopackage.py:25
Function_load_geometrycollection
(big_endian, type_bytes, data_bytes)
src/geopackage/_wkb.py:821
Function_load_linestring_esri
converts wkb to esri json
src/geopackage/_wkb.py:561
Function_load_multilinestring_esri
converts wkb to esri json
src/geopackage/_wkb.py:687
Function_load_multipoint_esri
converts wkb to esri json
src/geopackage/_wkb.py:637
Function_load_multipolygon_esri
converts wkb to esri json
src/geopackage/_wkb.py:742
Function_load_point_esri
Convert byte data for a Point to a EsriJSON `dict`. :param bool big_endian: If `True`, interpret the ``data_bytes`` in big endian or
src/geopackage/_wkb.py:521
Function_load_polygon_esri
converts wkb to esri json
src/geopackage/_wkb.py:595
Methodas_dict
returns the row as a dictionary
src/geopackage/_geopackage.py:342
Methoddelete
Deletes the current row :returns: Boolean
src/geopackage/_geopackage.py:394
Methoddtype
returns the table type
src/geopackage/_geopackage.py:440
Methoddtype
Returns the table type :returns: String
src/geopackage/_geopackage.py:779
Functiondump
Dump GeoJSON-like `dict` to WKB and write it to the `dest_file`. :param dict obj: A GeoJSON-like dictionary. It must at least the ke
src/geopackage/_wkb.py:140
Methodenable
enables the sqlite database to be a geopackage :returns: Boolean
src/geopackage/_geopackage.py:175
Methodfields
returns the field names in the dataset
src/geopackage/_geopackage.py:337
Methodfields
returns the field information for a table :returns: Dictionary
src/geopackage/_geopackage.py:459
Functionfirst_geom
(gc)
src/geopackage/_wkb.py:803
Functionflatten_multi_dim
Flatten a multi-dimensional array-like to a single dimensional sequence (as a generator).
src/geopackage/_utils.py:107
Methodgeometry_type
(self)
src/geopackage/_geopackage.py:772
Functioninfo
Returns all the support projections :returns: pd.DataFrame
src/geopackage/_coord.py:67
Methodinsert
Inserts a new row via dictionary =============== =============================================== **Arguements** **D
src/geopackage/_geopackage.py:869
Functionload
Load a EsriJSON `dict` object from a ``source_file`` containing WKB (as a byte string). :param source_file: Open and readable fi
src/geopackage/_wkb.py:153
Functionrequires_dependency
Decorator to declare required dependencies for tests. Examples -------- :: from gammapy.utils.testing import requires_dependenc
src/tests.py:71
Functionround_geom
Round coordinates of a geometric object to given precision.
src/geopackage/_utils.py:69
Methodrows
Search/update cursor like iterator =============== =============================================== **Arguements** *
src/geopackage/_geopackage.py:801
Methodtables
Gets a list of registered table names with the geopackage :returns: iterator
src/geopackage/_geopackage.py:159
Methodtest_add_field
tests adding a field on a table
src/tests.py:230
Methodtest_create_overwrite
tests creation gpkg patterns
src/tests.py:111
Methodtest_create_spatial_table_fields_test
Creates a spatial tables with multiple table field combinations
src/tests.py:199
Methodtest_create_table_fields_test
Creates a tables with multiple table field combinations
src/tests.py:177
Methodtest_exists
tests the table exists function
src/tests.py:146
next →1–100 of 116, ranked by callers