Cadastre controller
Members
-
bootstrapTableTemp
-
temp for bootstrap table type {array
Methods
-
addInfos(data, tabName){string}
modules/Cadastre/cadastre.js, line 1715 -
add the infos on the infoContainer
Name Type Description data
array.<object> example: {id_com: "340006", sections: "A", state: true}
tabName
string Name of the tab
Returns:
error if something goes wrong
-
addLocationGeometries(aData, type, zoom)
modules/Cadastre/cadastre.js, line 1603 -
Add the gemetries to the location feature overlay on the map
Name Type Description aData
Name Type Description i.geom:
object geometry
i.proj:
string projection integers of the geometry (ex: 2154)
type
string | undefined the type of element (commune/parcelle/lieuDit..)
zoom
boolean | undefined true for zoom on the feature after
-
addSelectionFrom2Select(path, param1, selectorId1, param2, selectorId2, tabName, callBack){Number}
modules/Cadastre/cadastre.js, line 1912 -
Add the select selection to the selection
Name Type Description path
string API path (ex: cadastre/communes)
param1
type type of param to filter by (ex: id_com)
selectorId1
type identifier of the select
param2
type type of param to filter by (ex: id_com)
selectorId2
type identifier of the select
tabName
string name of the tab
callBack
function function to call after the ajax request
-
addSelectionFrom2Values(path, param1, value1, param2, value2, tabName, callBack){Number}
modules/Cadastre/cadastre.js, line 1853 -
Name Type Description path
string API path (ex: cadastre/communes)
param1
string value1
string param2
string value2
string tabName
string name of the tab
callBack
function function to call after the ajax request
-
addSelectionFromArray(path, param, array, arrayParam, tabName, callBack)
modules/Cadastre/cadastre.js, line 1870 -
Add the table selection on the selection
Name Type Description path
string API path (ex: cadastre/communes)
param
string type of param to filter by (ex: id_com)
array
string array
arrayParam
string param name
tabName
string name of the tab to create
callBack
function function to load after the request
-
addSelectionFromFilter(path, filter, tabName, callBack){undefined}
modules/Cadastre/cadastre.js, line 1770 -
Add selection from filter
Name Type Description path
string API path
filter
string API filter
tabName
string Name of the tab to create
callBack
function function to load after
-
addSelectionFromSelect(path, param, selectorId, tabName, callBack){Number}
modules/Cadastre/cadastre.js, line 1893 -
Add the select selection to the selection
Name Type Description path
string API path (ex: cadastre/communes)
param
string type of param to filter by (ex: id_com)
selectorId
string identifier of the select
tabName
string name of the tab
callBack
function function to call after the ajax request
-
addSelectionFromTable(path, param, tableId, tabName, callBack)
modules/Cadastre/cadastre.js, line 1930 -
Add the table selection on the selection
Name Type Description path
string API path (ex: cadastre/communes)
param
string type of param to filter by (ex: id_com)
tableId
string id of the bootstrap-table element
tabName
string name of the tab to create
callBack
function function to load after the request
-
addSelectionFromValue(path, param, value, tabName, callBack){Number}
modules/Cadastre/cadastre.js, line 1834 -
Add the select selection to the selection
Name Type Description path
string API path (ex: cadastre/communes)
param
string type of param to filter by (ex: id_com)
value
string value
tabName
string name of the tab
callBack
function function to call after the ajax request
-
addToCard(type){undefined}
modules/Cadastre/cadastre.js, line 252 -
Add a item to the Card (selection)
Name Type Description type
string (commune/section/lieuDit/parcelle/bati)
-
displayInvariantDescriptiveSheet(id_bat){String}
modules/Cadastre/cadastre.js, line 1345 -
Display de descriptive sheet
Name Type Description id_bat
string -
displayInvariantDescriptiveSheet2(){Number}
modules/Cadastre/cadastre.js, line 1392 -
function called after the ajax requests
-
displayLastTab(tabName){undefined}
modules/Cadastre/cadastre.js, line 2987 -
Display the last tab to add
Name Type Description tabName
string Name of the tab
-
displayParcelleDescriptiveSheet(id_par)
modules/Cadastre/cadastre.js, line 1078 -
Display the fiche descriptive by id_par
Name Type Description id_par
string id_par
-
displayParcelleDescriptiveSheet2(){Number}
modules/Cadastre/cadastre.js, line 1122 -
Function called after the displayParcelleDescriptiveSheet ajax http requests
-
displayParcelleDescriptiveSheetByTable(parcelleTable)
modules/Cadastre/cadastre.js, line 1060 -
Display the fiche descriptive by a talbe
Name Type Description parcelleTable
string parcelle table identifier
-
displayReleveDeProprieteSheet(type, idnupro, id_par){undefined}
modules/Cadastre/cadastre.js, line 1434 -
Display a Relevé de propeiété sheet
Name Type Description type
string type (parcelle, standard, tiers)
idnupro
string idnupro (id_com + dnupro)
id_par
string id_par
-
displayReleveDeProprieteSheetOnMap(type, idnupro, id_par){undefined}
modules/Cadastre/cadastre.js, line 1582 -
Display a Relevé de propeiété sheet
Name Type Description type
string type (parcelle, standard, tiers)
idnupro
string idnupro (id_com + dnupro)
id_par
string id_par
-
displayReleveDeProprieteSheetParcelle(parcelleTable){Number}
modules/Cadastre/cadastre.js, line 1495 -
Display a relevé de propriété parcelle sheet
Name Type Description parcelleTable
string identifier of the parcelle table
-
displayReleveDeProprieteSheetStandard(compteTable){Number}
modules/Cadastre/cadastre.js, line 1523 -
Display a relevé de propriété standard sheet
Name Type Description compteTable
string identifier of the compte table
-
displayReleveDeProprieteSheetTiers(parcelleTable){Number}
modules/Cadastre/cadastre.js, line 1552 -
Display a relevé de propriété tiers sheet
Name Type Description parcelleTable
string identifier of the parcelle table
-
displayUrbanismeSheet(id_par){Number}
modules/Cadastre/cadastre.js, line 1214 -
Print the Urbanisme sheet by id_par
Name Type Description id_par
string -
displayUrbanismeSheetByTable(parcelleTable)
modules/Cadastre/cadastre.js, line 1196 -
Display the fiche descriptive by a talbe
Name Type Description parcelleTable
string parcelle table identifier
-
emptySelection()
modules/Cadastre/cadastre.js, line 1948 -
Empty the selection
-
getBaseElem(path, variableName, filter){undefined}
modules/Cadastre/cadastre.js, line 2147 -
Update the variableName value
Name Type Description path
string API path (ex: cadastre/communes)
variableName
string name of the controller variable to update
filter
string filter
-
getBaseElemBySelect(path, param, selector, variableName){undefined}
modules/Cadastre/cadastre.js, line 2202 -
Update the variableName value by the selector value
Name Type Description path
string API path (ex: cadastre/communes)
param
type param (ex: id_com)
selector
type selector identifier
variableName
string name of the controller variable to update
-
getBaseElemByValue(path, variableName, param, value, callback){undefined}
modules/Cadastre/cadastre.js, line 2437 -
Update a varialbe value
Name Type Description path
string API path (ex: cadastre/communes)
variableName
string name of the variable
param
string API param
value
string API param value
callback
string Function to load after the http request
-
getBaseParcellesByProprietaireOnTable(id_com, tableSelections, tableId)
modules/Cadastre/cadastre.js, line 2625 -
Update the list and the table
Name Type Description id_com
string commune id_com
tableSelections
array.<object> comptes selectionnés
tableId
string id of the table to write
-
getBaseVoiesOnTable(path, param, selectorId, tableId){undefined}
modules/Cadastre/cadastre.js, line 2363 -
Get database elements from the select and put the result on a table
Name Type Description path
string API path (ex: cadastre/communes)
param
string type of param to filter by (ex: id_com)
selectorId
string identifier of the select
tableId
string identifier of the table
-
getBatiBaseComptesOnTable(row, tableId, invariantsTableId, parcellesTableId)
modules/Cadastre/cadastre.js, line 2770 -
Update the comptes list and the table
Name Type Description row
string row (ID_COM, DDENOM)
tableId
string id of the table to write
invariantsTableId
string id of the compte table to load the infos when clicking on the comptes table
parcellesTableId
string id of the compte table to load the infos when clicking on the invariants table
-
getBatiBaseInvariantsOnTable(commune, tableSelections, tableId, parcellesTableId)
modules/Cadastre/cadastre.js, line 2833 -
Update the invariants list and the table
Name Type Description commune
string commune
tableSelections
string tableId
string id of the table to write
parcellesTableId
string id of the compte table to load the infos when clicking on the invariants table
-
getBatiBaseParcellesOnTable(tableSelections, tableId)
modules/Cadastre/cadastre.js, line 2903 -
Update the parcelles list and the table
Name Type Description tableSelections
string tableId
string id of the table to write
-
getBatiBaseProprietairesOnTable(communeSelectorId, proprietaireSearchId, tableId, comptesTableId, invariantsTableId, parcellesTableId)
modules/Cadastre/cadastre.js, line 2694 -
Update the list and the table
Name Type Description communeSelectorId
string id of the communes selector
proprietaireSearchId
string id of the proprietaire search field
tableId
string id of the table to load
comptesTableId
string id of the compte table to load the infos when clicking on the proprietaire table
invariantsTableId
string id of the compte table to load the infos when clicking on the comptes table
parcellesTableId
string id of the compte table to load the infos when clicking on the invariants table
-
getInfosByWKTGeometry(ressource, tabName, WKTGeometry, lastPointCoordinates){undefined}
modules/Cadastre/cadastre.js, line 692 -
Get the infos from a WKTGeometry
Name Type Description ressource
string type of ressource
tabName
string Name of the tab
WKTGeometry
string WKT Geometry
lastPointCoordinates
string last Point Coordinates
-
getParcelleBaseComptesOnTable(row, tableId, parcelleTableId)
modules/Cadastre/cadastre.js, line 2566 -
Update the list and the table
Name Type Description row
string row (contains DDENOM DNUPRO ID_COM state)
tableId
string id of the table to write
parcelleTableId
string id of the parcelle table
-
getParcelleBaseProprietairesOnTable(communeSelectorId, proprietaireSearchId, tableId, comptesTableId, parcelleTableId)
modules/Cadastre/cadastre.js, line 2493 -
Update the list and the table
Name Type Description communeSelectorId
string id of the communes selector
proprietaireSearchId
string id of the proprietaire search field
tableId
string id of the table to load
comptesTableId
string id of the comptes table to load the infos when clicking on the proprietaire table
parcelleTableId
string id of the comptes table to load the infos when clicking on the compte table
-
initRapportsBootstrapTables(rapports)
modules/Cadastre/cadastre.js, line 1013 -
Init the tables
Name Type Description rapports
rapports rapports div identifier
-
localiseFromArray(path, param, array, arrayParam){undefined}
modules/Cadastre/cadastre.js, line 2016 -
Localise the element sected on the table
Name Type Description path
string API path (ex: cadastre/communes)
param
string type of param to filter by (ex: id_com)
array
string arrayParam
string -
localiseFromSelect(path, param, selectorId){undefined}
modules/Cadastre/cadastre.js, line 1965 -
Localise the element on the select
Name Type Description path
string API path (ex: cadastre/communes)
param
string type of param to filter by (ex: id_com)
selectorId
string html id of the select
-
localiseFromTable(path, param, tableId){undefined}
modules/Cadastre/cadastre.js, line 2071 -
Localise the element sected on the table
Name Type Description path
string API path (ex: cadastre/communes)
param
string type of param to filter by (ex: id_com)
tableId
string html id of the table
-
localiseParcelleByAdresse(tableVoie, selectAdresse){undefined}
modules/Cadastre/cadastre.js, line 3296 -
Localise parcelles by adresse
Name Type Description tableVoie
type selectAdresse
type -
locateByDrawing(type){undefined}
modules/Cadastre/cadastre.js, line 936 -
Add the interaction of drawing for location
Name Type Description type
ol.geom.GeometryType Type of draw
-
locateByPoint(evt){undefined}
modules/Cadastre/cadastre.js, line 914 -
Locate by point
Name Type Description evt
object html event onclick
-
locateByWKTGeom(WKTGeometry, currentMode, lastPointCoordinates){String}
modules/Cadastre/cadastre.js, line 801 -
Locate item by WKT geometry
Name Type Description WKTGeometry
string WKT Geometry
currentMode
string the current mode (parcelle/commune...)
lastPointCoordinates
string last Point Coordinates
-
locateCadastreOnMap(type, isActive){Number}
modules/Cadastre/cadastre.js, line 465 -
Select the cadastre infos on the map
Name Type Description type
string Type of selection
isActive
boolean true if the action is already active
-
locateSelection(type){undefined}
modules/Cadastre/cadastre.js, line 307 -
Add a item to the location
Name Type Description type
string (commune/section/lieuDit/parcelle/bati)
-
putBaseElemBy2SelectOnTable(path, param1, selector1, param2, selector2, table, order_by){undefined}
modules/Cadastre/cadastre.js, line 2341 -
Get database elements from the selects and put the result on a table
Name Type Description path
string API path (ex: cadastre/communes)
param1
string type of param to filter by (ex: id_com)
selector1
string identifier of the select
param2
string type of param to filter by (ex: id_com)
selector2
string identifier of the select
table
string identifier of the table
order_by
string -
putBaseElemBySelectOnTable(path, param, selectorId, table, order_by){undefined}
modules/Cadastre/cadastre.js, line 2318 -
Get database elements from the select and put the result on a table
Name Type Description path
string API path (ex: cadastre/communes)
param
string type of param to filter by (ex: id_com)
selectorId
string identifier of the select
table
string identifier of the table
order_by
string -
putBaseElemOnTable(path, filter, table, order_by){undefined}
modules/Cadastre/cadastre.js, line 2257 -
Get database elements and put the result on a table
Name Type Description path
string filter
string table
string order_by
string -
removeMapInteractions(){undefined}
modules/Cadastre/cadastre.js, line 3509 -
Remove the cadastre map interactions
-
searchOnMapInit(searchOnMapCurrentMode){Number}
modules/Cadastre/cadastre.js, line 965 -
In the 'Recherche avancée' menu, put Point mode selection by default
Name Type Description searchOnMapCurrentMode
string -
selectBatiByProprietaire(selectCommune, tableProprietaires, tableComptes, tableInvariants, tableParcelles){string}
modules/Cadastre/cadastre.js, line 3409 -
Add all the elements from the form to the selection
Name Type Description selectCommune
string commune selector
tableProprietaires
string Prorpietaires selector
tableComptes
string Comptes selector
tableInvariants
string Invariants selector
tableParcelles
string Parcelles selector
Returns:
error
-
selectByDrawing(type){undefined}
modules/Cadastre/cadastre.js, line 985 -
Add the interaction of drawing for selection
Name Type Description type
ol.geom.GeometryType Type of draw
-
selectByPoint(evt){undefined}
modules/Cadastre/cadastre.js, line 892 -
Select by point
Name Type Description evt
object html event onclick
-
selectByWKTGeom(WKTGeometry, currentMode, lastPointCoordinates){String}
modules/Cadastre/cadastre.js, line 750 -
Select by a WKT geometry
Name Type Description WKTGeometry
string WKT Geometry
currentMode
string mode (commune, section, lieuDit, parcelle, bati)
lastPointCoordinates
string last Point Coordinates
-
selectCadastreOnMap(type, isActive){Number}
modules/Cadastre/cadastre.js, line 512 -
Select the cadastre infos on the map
Name Type Description type
string Type of selection
isActive
boolean true if the action is already active
-
selectCommuneForm(selectCommune){string}
modules/Cadastre/cadastre.js, line 3008 -
Add all the elements from the form to the selection
Name Type Description selectCommune
string commune selector
Returns:
error
-
selectLieuDitForm(selectCommune, tableLieuDit){string}
modules/Cadastre/cadastre.js, line 3094 -
Add all the elements from the form to the selection
Name Type Description selectCommune
string commune selector
tableLieuDit
string Lieu-dit selector
Returns:
error
-
selectLocation(){undefined}
modules/Cadastre/cadastre.js, line 352 -
Select the located elements
-
selectParcelleByAdresse(selectCommune, tableVoie, selectAdresse){string}
modules/Cadastre/cadastre.js, line 3210 -
Add all the elements from the form to the selection
Name Type Description selectCommune
string commune selector
tableVoie
string voie selector
selectAdresse
string adresse selector
Returns:
error
-
selectParcelleByProprietaire(selectCommune, tableProprietaires, tableComptes, tableParcelles){string}
modules/Cadastre/cadastre.js, line 3315 -
Add all the elements from the form to the selection
Name Type Description selectCommune
string commune selector
tableProprietaires
string Prorpietaires selector
tableComptes
string Comptes selector
tableParcelles
string Parcelles selector
Returns:
error
-
selectParcelleBySectionForm(selectCommune, selectSection, tableParcelle){string}
modules/Cadastre/cadastre.js, line 3145 -
Add all the elements from the form to the selection
Name Type Description selectCommune
string commune selector
selectSection
string section selector
tableParcelle
string parcelle selector
Returns:
error
-
selectRapportOnMap(evt, type){undefined}
modules/Cadastre/cadastre.js, line 568 -
Name Type Description evt
event type
string (ficheDescriptive/releveDePropriete/ficheUrbanisme
-
selectSectionForm(selectCommune, tableSection){string}
modules/Cadastre/cadastre.js, line 3044 -
Add all the elements from the form to the selection
Name Type Description selectCommune
string commune selector
tableSection
string section selector
Returns:
error
-
setInfos(data)
modules/Cadastre/cadastre.js, line 1742 -
Display the infos on the infoContainer
Name Type Description data
array.<object> bootstrap-table data, example: {id_com: "340006", sections: "A", state: true}
-
setSelectionGeometries(aInfos)
modules/Cadastre/cadastre.js, line 1675 -
Add the gemetries to the location selection overlay on the map
Name Type Description aInfos
array.<object> geom: geometry, proj: projection integers of the geometry (ex: 2154)
-
zoomOnLastTabFeatures(tabName){undefined}
modules/Cadastre/cadastre.js, line 2966 -
Zoom on the features of the last tab to add
Name Type Description tabName
string Name of the tabzoomOnLastTabFeatures