Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colouring-cities/colouring-core
/ functions
Functions
545 in github.com/colouring-cities/colouring-core
⨍
Functions
545
◇
Types & classes
150
↓ 1 callers
Function
clear_cache
(cache_dir: Path, tile: str)
maintenance/tiles/recache.py:18
↓ 1 callers
Function
compare
* Compare old and new data objects, generate shallow merge patch of changed fields * - forward patch is object with {keys: new_values} * - reverse p
app/src/api/services/building/edit.ts:96
↓ 1 callers
Function
compareObjects
(objA: object, objB: object)
app/src/frontend/helpers.ts:66
↓ 1 callers
Function
createBlankTile
()
app/src/tiles/renderers/createBlankTile.ts:5
↓ 1 callers
Function
createPasswordResetToken
(userId: string)
app/src/api/services/passwordReset.ts:72
↓ 1 callers
Function
createSeparator
(separator: any, idx: number)
app/src/frontend/components/with-separator.tsx:5
↓ 1 callers
Function
date_in_future
(date)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:157
↓ 1 callers
Function
doAsync
()
app/src/frontend/building/data-components/autofill-dropdown/autofill-dropdown.tsx:30
↓ 1 callers
Function
enrichHistoryEntries
(forwardPatch: object, reversePatch: object)
app/src/frontend/building/edit-history/building-edit-summary.tsx:30
↓ 1 callers
Function
enrichHistoryEntries
(forwardPatch: object, reversePatch: object)
app/src/frontend/building/edit-history/building-edit-latest.tsx:30
↓ 1 callers
Function
ensureBuildingUserRecord
* Function that ensures a building-user attribute record exists. * The record is created if there isn't one yet.
app/src/api/dataAccess/building.ts:110
↓ 1 callers
Function
expireBuildingTileCache
(buildingId: number)
app/src/api/services/building/tileCache.ts:25
↓ 1 callers
Function
fake_toid_prefix
Docstring
configuration/generate_footprint_import_sql.py:41
↓ 1 callers
Function
fetchData
()
app/src/frontend/building/edit-history/edit-history-latest.tsx:20
↓ 1 callers
Function
fetchData
()
app/src/frontend/building/edit-history/edit-history.tsx:20
↓ 1 callers
Function
fetchLatestRevision
()
app/src/frontend/api-data/use-revision.tsx:15
↓ 1 callers
Function
file_location
Docstring
configuration/generate_footprint_import_sql.py:22
↓ 1 callers
Function
file_location_name
Docstring
configuration/generate_footprint_import_sql.py:26
↓ 1 callers
Function
files_loaded
Docstring
configuration/generate_footprint_import_sql.py:45
↓ 1 callers
Function
find_building
Find building_id by TOID or location
etl/join_building_data/load_shapefile_to_staging.py:83
↓ 1 callers
Function
find_building
(data, base_url)
etl/join_building_data/load_csv_to_staging.py:64
↓ 1 callers
Function
find_building
(data, base_url)
etl/join_building_data/load_csv.py:127
↓ 1 callers
Function
find_building
Find building_id by TOID or location
etl/join_building_data/load_shapefile.py:83
↓ 1 callers
Function
formatDate
(dt: Date)
app/src/frontend/building/edit-history/building-edit-summary.tsx:19
↓ 1 callers
Function
formatDate
(dt: Date)
app/src/frontend/building/edit-history/building-edit-latest.tsx:19
↓ 1 callers
Function
formatRange
(minSpan: number, maxSpan: number)
app/src/frontend/building/data-containers/dynamics/dynamics-data-entry.tsx:32
↓ 1 callers
Function
generate_address
this function generates address from planning data that was provided sadly it does not always works well and relies on many heuristics as dat
etl/planning_data/address_data.py:13
↓ 1 callers
Function
getAllLayerNames
()
app/src/tiles/dataDefinition.ts:873
↓ 1 callers
Function
getBuildingById
( buildingId: number, { editHistory = true, verified = true, userDataOptions
app/src/api/services/building/base.ts:25
↓ 1 callers
Function
getBuildingEditHistory
(id: number)
app/src/api/services/building/history.ts:15
↓ 1 callers
Function
getBuildingPlanningDataById
(id: number)
app/src/api/services/building/planningData.ts:3
↓ 1 callers
Function
getBuildingUPRNsById
(id: number)
app/src/api/services/building/uprn.ts:3
↓ 1 callers
Function
getBuildingUserAttributesById
(buildingId: number, userId: string)
app/src/api/services/building/base.ts:51
↓ 1 callers
Function
getBuildingVerifications
(building: BaseBuilding)
app/src/api/services/building/verify.ts:55
↓ 1 callers
Function
getCurrentMenuLinks
(username: string)
app/src/frontend/header.tsx:22
↓ 1 callers
Function
getDataExtractFromRow
(er: DataExtractRow)
app/src/api/services/dataExtract.ts:49
↓ 1 callers
Function
getDownloadLinkForExtract
(extract: DataExtractRow)
app/src/api/services/dataExtract.ts:57
↓ 1 callers
Function
getHistoryAfterId
(id: string, count: number, filterDeletions: boolean = false)
app/src/api/dataAccess/editHistory.ts:20
↓ 1 callers
Function
getHistoryBeforeId
(id: string, count: number, filterDeletions: boolean = false)
app/src/api/dataAccess/editHistory.ts:43
↓ 1 callers
Function
getIdNewerThan
(id: string)
app/src/api/dataAccess/editHistory.ts:83
↓ 1 callers
Function
getIdOlderThan
(id: string)
app/src/api/dataAccess/editHistory.ts:69
↓ 1 callers
Function
getLatestRevisionId
()
app/src/api/services/building/history.ts:3
↓ 1 callers
Function
getNewUserAPIKey
(id: string)
app/src/api/services/user.ts:124
↓ 1 callers
Function
getPasswordResetEmail
(email: string, token: string, siteOrigin: string)
app/src/api/services/passwordReset.ts:49
↓ 1 callers
Function
getTileWithCaching
(tileParams: TileParams, dataParams: any, tileCache: TileCache, renderTile: RendererFunction)
app/src/tiles/renderers/getTileWithCaching.ts:5
↓ 1 callers
Function
getUserById
(id: string)
app/src/api/services/user.ts:88
↓ 1 callers
Function
getUserVerifiedAttributes
(buildingId: number, userId: string)
app/src/api/services/building/verify.ts:51
↓ 1 callers
Function
getWebAppOrigin
()
app/src/api/controllers/userController.ts:100
↓ 1 callers
Function
get_building
Get data for a building
etl/join_building_data/load_csv.py:110
↓ 1 callers
Function
get_connection
()
maintenance/extract_data/extract_data.py:16
↓ 1 callers
Function
get_connection
()
etl/planning_data/obtain_livestream_data_and_load_into_database.py:53
↓ 1 callers
Function
get_cursor_from_connection
(connection)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:42
↓ 1 callers
Function
get_extract_zip_file_path
(current_time)
maintenance/extract_data/extract_data.py:25
↓ 1 callers
Function
handleChange
(value: string)
app/src/frontend/building/data-components/data-entry-input.tsx:38
↓ 1 callers
Function
handleChange
(value: string)
app/src/frontend/building/data-components/pattern-data-entry.tsx:19
↓ 1 callers
Method
handleChange
(event: ChangeEvent<HTMLInputElement>)
app/src/frontend/user/forgotten-password.tsx:27
↓ 1 callers
Function
handleConfirm
()
app/src/frontend/building/data-components/data-entry-input.tsx:42
↓ 1 callers
Method
handleSubmit
(event: FormEvent)
app/src/frontend/user/forgotten-password.tsx:32
↓ 1 callers
Method
handleSubmit
(event: FormEvent)
app/src/frontend/user/password-reset.tsx:48
↓ 1 callers
Function
hasDuplicates
(array: any[])
app/src/api/services/domainLogic/landUse.ts:33
↓ 1 callers
Function
initCopyProps
(options?: Partial<CopyProps>)
app/src/frontend/building/data-containers/category-view-props.ts:11
↓ 1 callers
Function
insert_entry
(cursor, e)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:244
↓ 1 callers
Function
interweave
(arr1: any[], arr2: any[])
app/src/frontend/components/tooltip.tsx:24
↓ 1 callers
Function
isDefined
(key: string)
app/src/api/services/domainLogic/validateUpdate.ts:15
↓ 1 callers
Function
isEmptyArray
(obj: any)
app/src/helpers.ts:34
↓ 1 callers
Function
isOutsideExtent
({ x, y, z }: TileParams, bbox: BoundingBox)
app/src/tiles/util.ts:23
↓ 1 callers
Function
isValid
(val: DemolishedBuilding)
app/src/frontend/building/data-containers/dynamics/dynamics-data-entry.tsx:160
↓ 1 callers
Function
line_count
Count lines - relies on 'wc
etl/join_building_data/load_conservation_areas.py:39
↓ 1 callers
Function
load_data_into_database
(cursor, data, unexpected_status_statistics)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:62
↓ 1 callers
Function
load_into_table
Docstring
configuration/generate_footprint_import_sql.py:51
↓ 1 callers
Function
location_code
Docstring
configuration/generate_footprint_import_sql.py:30
↓ 1 callers
Function
main
()
maintenance/extract_data/extract_data.py:82
↓ 1 callers
Function
main
(cache_dir: Path, tile_list: Path, hostname: str, port: int)
maintenance/tiles/recache.py:31
↓ 1 callers
Function
main
(mastermap_path)
etl/filter_mastermap.py:14
↓ 1 callers
Function
main
Read from file, update buildings
etl/join_building_data/load_conservation_areas.py:29
↓ 1 callers
Function
main
Read from file, update buildings
etl/join_building_data/load_shapefile_to_staging.py:27
↓ 1 callers
Function
main
Read from file, update buildings
etl/join_building_data/load_csv_to_staging.py:35
↓ 1 callers
Function
main
Read from file, update buildings
etl/join_building_data/load_csv.py:53
↓ 1 callers
Function
main
Read from file, update buildings
etl/join_building_data/load_shapefile.py:27
↓ 1 callers
Function
main
()
etl/planning_data/obtain_livestream_data_and_load_into_database.py:10
↓ 1 callers
Function
makeDefaultUserData
()
app/src/api/dataAccess/building.ts:181
↓ 1 callers
Function
makeUpdateData
(edits: BuildingEdits)
app/src/frontend/api-data/building-update.ts:9
↓ 1 callers
Function
make_api_call
(url, headers, json_data)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:207
↓ 1 callers
Function
make_data_extract
(current_time, connection, zip_file_path)
maintenance/extract_data/extract_data.py:51
↓ 1 callers
Function
numAsc
(accessor: AccessorFunction<T, V>)
app/src/helpers.ts:42
↓ 1 callers
Function
obtain_entry_link
(provided_link, application_id)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:313
↓ 1 callers
Method
onResize
(e)
app/src/frontend/map/search-box.tsx:139
↓ 1 callers
Function
parseBuildingURL
* Parse building ID from URL * * @param {String} url * @returns {number|undefined}
app/src/parse.ts:25
↓ 1 callers
Function
parseJsonOrDefault
(jsonString: string)
app/src/helpers.ts:18
↓ 1 callers
Function
parseTileParams
(params: any)
app/src/tiles/tileserver.ts:38
↓ 1 callers
Function
parse_json_columns
(row, json_columns)
etl/join_building_data/load_csv.py:167
↓ 1 callers
Function
privateQueryBuildingBBOX
(buildingId: number)
app/src/api/services/building/tileCache.ts:5
↓ 1 callers
Function
processBuildingUpdate
(buildingId: number, {attributes, userAttributes}: BuildingUpdate, t?: ITask<any>)
app/src/api/services/domainLogic/processBuildingUpdate.ts:111
↓ 1 callers
Function
processCurrentLandUseClassifications
* Process current land use classifications - derive land use order from land use groups
app/src/api/services/domainLogic/processBuildingUpdate.ts:14
↓ 1 callers
Function
processDynamicsDemolishedBuildings
* Process Dynamics data - check field relationships and sort demolished buildings by construction date
app/src/api/services/domainLogic/processBuildingUpdate.ts:78
↓ 1 callers
Function
processOriginalLandUseClassifications
* Process original land use classifications - derive land use order from land use groups
app/src/api/services/domainLogic/processBuildingUpdate.ts:46
↓ 1 callers
Function
process_ca
(props)
etl/join_building_data/load_conservation_areas.py:47
↓ 1 callers
Function
process_camden
(props)
etl/join_building_data/load_shapefile_to_staging.py:49
↓ 1 callers
Function
process_camden
(props)
etl/join_building_data/load_shapefile.py:49
↓ 1 callers
Function
process_fitzrovia
(props)
etl/join_building_data/load_shapefile_to_staging.py:55
← previous
next →
101–200 of 545, ranked by callers