MCPcopy Create free account

hub / github.com/colouring-cities/colouring-core / functions

Functions545 in github.com/colouring-cities/colouring-core

↓ 1 callersFunctionclear_cache
(cache_dir: Path, tile: str)
maintenance/tiles/recache.py:18
↓ 1 callersFunctioncompare
* 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 callersFunctioncompareObjects
(objA: object, objB: object)
app/src/frontend/helpers.ts:66
↓ 1 callersFunctioncreateBlankTile
()
app/src/tiles/renderers/createBlankTile.ts:5
↓ 1 callersFunctioncreatePasswordResetToken
(userId: string)
app/src/api/services/passwordReset.ts:72
↓ 1 callersFunctioncreateSeparator
(separator: any, idx: number)
app/src/frontend/components/with-separator.tsx:5
↓ 1 callersFunctiondate_in_future
(date)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:157
↓ 1 callersFunctiondoAsync
()
app/src/frontend/building/data-components/autofill-dropdown/autofill-dropdown.tsx:30
↓ 1 callersFunctionenrichHistoryEntries
(forwardPatch: object, reversePatch: object)
app/src/frontend/building/edit-history/building-edit-summary.tsx:30
↓ 1 callersFunctionenrichHistoryEntries
(forwardPatch: object, reversePatch: object)
app/src/frontend/building/edit-history/building-edit-latest.tsx:30
↓ 1 callersFunctionensureBuildingUserRecord
* 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 callersFunctionexpireBuildingTileCache
(buildingId: number)
app/src/api/services/building/tileCache.ts:25
↓ 1 callersFunctionfake_toid_prefix
Docstring
configuration/generate_footprint_import_sql.py:41
↓ 1 callersFunctionfetchData
()
app/src/frontend/building/edit-history/edit-history-latest.tsx:20
↓ 1 callersFunctionfetchData
()
app/src/frontend/building/edit-history/edit-history.tsx:20
↓ 1 callersFunctionfetchLatestRevision
()
app/src/frontend/api-data/use-revision.tsx:15
↓ 1 callersFunctionfile_location
Docstring
configuration/generate_footprint_import_sql.py:22
↓ 1 callersFunctionfile_location_name
Docstring
configuration/generate_footprint_import_sql.py:26
↓ 1 callersFunctionfiles_loaded
Docstring
configuration/generate_footprint_import_sql.py:45
↓ 1 callersFunctionfind_building
Find building_id by TOID or location
etl/join_building_data/load_shapefile_to_staging.py:83
↓ 1 callersFunctionfind_building
(data, base_url)
etl/join_building_data/load_csv_to_staging.py:64
↓ 1 callersFunctionfind_building
(data, base_url)
etl/join_building_data/load_csv.py:127
↓ 1 callersFunctionfind_building
Find building_id by TOID or location
etl/join_building_data/load_shapefile.py:83
↓ 1 callersFunctionformatDate
(dt: Date)
app/src/frontend/building/edit-history/building-edit-summary.tsx:19
↓ 1 callersFunctionformatDate
(dt: Date)
app/src/frontend/building/edit-history/building-edit-latest.tsx:19
↓ 1 callersFunctionformatRange
(minSpan: number, maxSpan: number)
app/src/frontend/building/data-containers/dynamics/dynamics-data-entry.tsx:32
↓ 1 callersFunctiongenerate_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 callersFunctiongetAllLayerNames
()
app/src/tiles/dataDefinition.ts:873
↓ 1 callersFunctiongetBuildingById
( buildingId: number, { editHistory = true, verified = true, userDataOptions
app/src/api/services/building/base.ts:25
↓ 1 callersFunctiongetBuildingEditHistory
(id: number)
app/src/api/services/building/history.ts:15
↓ 1 callersFunctiongetBuildingPlanningDataById
(id: number)
app/src/api/services/building/planningData.ts:3
↓ 1 callersFunctiongetBuildingUPRNsById
(id: number)
app/src/api/services/building/uprn.ts:3
↓ 1 callersFunctiongetBuildingUserAttributesById
(buildingId: number, userId: string)
app/src/api/services/building/base.ts:51
↓ 1 callersFunctiongetBuildingVerifications
(building: BaseBuilding)
app/src/api/services/building/verify.ts:55
↓ 1 callersFunctiongetCurrentMenuLinks
(username: string)
app/src/frontend/header.tsx:22
↓ 1 callersFunctiongetDataExtractFromRow
(er: DataExtractRow)
app/src/api/services/dataExtract.ts:49
↓ 1 callersFunctiongetDownloadLinkForExtract
(extract: DataExtractRow)
app/src/api/services/dataExtract.ts:57
↓ 1 callersFunctiongetHistoryAfterId
(id: string, count: number, filterDeletions: boolean = false)
app/src/api/dataAccess/editHistory.ts:20
↓ 1 callersFunctiongetHistoryBeforeId
(id: string, count: number, filterDeletions: boolean = false)
app/src/api/dataAccess/editHistory.ts:43
↓ 1 callersFunctiongetIdNewerThan
(id: string)
app/src/api/dataAccess/editHistory.ts:83
↓ 1 callersFunctiongetIdOlderThan
(id: string)
app/src/api/dataAccess/editHistory.ts:69
↓ 1 callersFunctiongetLatestRevisionId
()
app/src/api/services/building/history.ts:3
↓ 1 callersFunctiongetNewUserAPIKey
(id: string)
app/src/api/services/user.ts:124
↓ 1 callersFunctiongetPasswordResetEmail
(email: string, token: string, siteOrigin: string)
app/src/api/services/passwordReset.ts:49
↓ 1 callersFunctiongetTileWithCaching
(tileParams: TileParams, dataParams: any, tileCache: TileCache, renderTile: RendererFunction)
app/src/tiles/renderers/getTileWithCaching.ts:5
↓ 1 callersFunctiongetUserById
(id: string)
app/src/api/services/user.ts:88
↓ 1 callersFunctiongetUserVerifiedAttributes
(buildingId: number, userId: string)
app/src/api/services/building/verify.ts:51
↓ 1 callersFunctiongetWebAppOrigin
()
app/src/api/controllers/userController.ts:100
↓ 1 callersFunctionget_building
Get data for a building
etl/join_building_data/load_csv.py:110
↓ 1 callersFunctionget_connection
()
maintenance/extract_data/extract_data.py:16
↓ 1 callersFunctionget_connection
()
etl/planning_data/obtain_livestream_data_and_load_into_database.py:53
↓ 1 callersFunctionget_cursor_from_connection
(connection)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:42
↓ 1 callersFunctionget_extract_zip_file_path
(current_time)
maintenance/extract_data/extract_data.py:25
↓ 1 callersFunctionhandleChange
(value: string)
app/src/frontend/building/data-components/data-entry-input.tsx:38
↓ 1 callersFunctionhandleChange
(value: string)
app/src/frontend/building/data-components/pattern-data-entry.tsx:19
↓ 1 callersMethodhandleChange
(event: ChangeEvent<HTMLInputElement>)
app/src/frontend/user/forgotten-password.tsx:27
↓ 1 callersFunctionhandleConfirm
()
app/src/frontend/building/data-components/data-entry-input.tsx:42
↓ 1 callersMethodhandleSubmit
(event: FormEvent)
app/src/frontend/user/forgotten-password.tsx:32
↓ 1 callersMethodhandleSubmit
(event: FormEvent)
app/src/frontend/user/password-reset.tsx:48
↓ 1 callersFunctionhasDuplicates
(array: any[])
app/src/api/services/domainLogic/landUse.ts:33
↓ 1 callersFunctioninitCopyProps
(options?: Partial<CopyProps>)
app/src/frontend/building/data-containers/category-view-props.ts:11
↓ 1 callersFunctioninsert_entry
(cursor, e)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:244
↓ 1 callersFunctioninterweave
(arr1: any[], arr2: any[])
app/src/frontend/components/tooltip.tsx:24
↓ 1 callersFunctionisDefined
(key: string)
app/src/api/services/domainLogic/validateUpdate.ts:15
↓ 1 callersFunctionisEmptyArray
(obj: any)
app/src/helpers.ts:34
↓ 1 callersFunctionisOutsideExtent
({ x, y, z }: TileParams, bbox: BoundingBox)
app/src/tiles/util.ts:23
↓ 1 callersFunctionisValid
(val: DemolishedBuilding)
app/src/frontend/building/data-containers/dynamics/dynamics-data-entry.tsx:160
↓ 1 callersFunctionline_count
Count lines - relies on 'wc
etl/join_building_data/load_conservation_areas.py:39
↓ 1 callersFunctionload_data_into_database
(cursor, data, unexpected_status_statistics)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:62
↓ 1 callersFunctionload_into_table
Docstring
configuration/generate_footprint_import_sql.py:51
↓ 1 callersFunctionlocation_code
Docstring
configuration/generate_footprint_import_sql.py:30
↓ 1 callersFunctionmain
()
maintenance/extract_data/extract_data.py:82
↓ 1 callersFunctionmain
(cache_dir: Path, tile_list: Path, hostname: str, port: int)
maintenance/tiles/recache.py:31
↓ 1 callersFunctionmain
(mastermap_path)
etl/filter_mastermap.py:14
↓ 1 callersFunctionmain
Read from file, update buildings
etl/join_building_data/load_conservation_areas.py:29
↓ 1 callersFunctionmain
Read from file, update buildings
etl/join_building_data/load_shapefile_to_staging.py:27
↓ 1 callersFunctionmain
Read from file, update buildings
etl/join_building_data/load_csv_to_staging.py:35
↓ 1 callersFunctionmain
Read from file, update buildings
etl/join_building_data/load_csv.py:53
↓ 1 callersFunctionmain
Read from file, update buildings
etl/join_building_data/load_shapefile.py:27
↓ 1 callersFunctionmain
()
etl/planning_data/obtain_livestream_data_and_load_into_database.py:10
↓ 1 callersFunctionmakeDefaultUserData
()
app/src/api/dataAccess/building.ts:181
↓ 1 callersFunctionmakeUpdateData
(edits: BuildingEdits)
app/src/frontend/api-data/building-update.ts:9
↓ 1 callersFunctionmake_api_call
(url, headers, json_data)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:207
↓ 1 callersFunctionmake_data_extract
(current_time, connection, zip_file_path)
maintenance/extract_data/extract_data.py:51
↓ 1 callersFunctionnumAsc
(accessor: AccessorFunction<T, V>)
app/src/helpers.ts:42
↓ 1 callersFunctionobtain_entry_link
(provided_link, application_id)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:313
↓ 1 callersMethodonResize
(e)
app/src/frontend/map/search-box.tsx:139
↓ 1 callersFunctionparseBuildingURL
* Parse building ID from URL * * @param {String} url * @returns {number|undefined}
app/src/parse.ts:25
↓ 1 callersFunctionparseJsonOrDefault
(jsonString: string)
app/src/helpers.ts:18
↓ 1 callersFunctionparseTileParams
(params: any)
app/src/tiles/tileserver.ts:38
↓ 1 callersFunctionparse_json_columns
(row, json_columns)
etl/join_building_data/load_csv.py:167
↓ 1 callersFunctionprivateQueryBuildingBBOX
(buildingId: number)
app/src/api/services/building/tileCache.ts:5
↓ 1 callersFunctionprocessBuildingUpdate
(buildingId: number, {attributes, userAttributes}: BuildingUpdate, t?: ITask<any>)
app/src/api/services/domainLogic/processBuildingUpdate.ts:111
↓ 1 callersFunctionprocessCurrentLandUseClassifications
* Process current land use classifications - derive land use order from land use groups
app/src/api/services/domainLogic/processBuildingUpdate.ts:14
↓ 1 callersFunctionprocessDynamicsDemolishedBuildings
* Process Dynamics data - check field relationships and sort demolished buildings by construction date
app/src/api/services/domainLogic/processBuildingUpdate.ts:78
↓ 1 callersFunctionprocessOriginalLandUseClassifications
* Process original land use classifications - derive land use order from land use groups
app/src/api/services/domainLogic/processBuildingUpdate.ts:46
↓ 1 callersFunctionprocess_ca
(props)
etl/join_building_data/load_conservation_areas.py:47
↓ 1 callersFunctionprocess_camden
(props)
etl/join_building_data/load_shapefile_to_staging.py:49
↓ 1 callersFunctionprocess_camden
(props)
etl/join_building_data/load_shapefile.py:49
↓ 1 callersFunctionprocess_fitzrovia
(props)
etl/join_building_data/load_shapefile_to_staging.py:55
← previousnext →101–200 of 545, ranked by callers