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 dataarray.<object> example: {id_com: "340006", sections: "A", state: true}
tabNamestring 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 aDataName Type Description i.geom:object geometry
i.proj:string projection integers of the geometry (ex: 2154)
typestring | undefined the type of element (commune/parcelle/lieuDit..)
zoomboolean | 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 pathstring API path (ex: cadastre/communes)
param1type type of param to filter by (ex: id_com)
selectorId1type identifier of the select
param2type type of param to filter by (ex: id_com)
selectorId2type identifier of the select
tabNamestring name of the tab
callBackfunction 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 pathstring API path (ex: cadastre/communes)
param1string value1string param2string value2string tabNamestring name of the tab
callBackfunction 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 pathstring API path (ex: cadastre/communes)
paramstring type of param to filter by (ex: id_com)
arraystring array
arrayParamstring param name
tabNamestring name of the tab to create
callBackfunction 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 pathstring API path
filterstring API filter
tabNamestring Name of the tab to create
callBackfunction 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 pathstring API path (ex: cadastre/communes)
paramstring type of param to filter by (ex: id_com)
selectorIdstring identifier of the select
tabNamestring name of the tab
callBackfunction 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 pathstring API path (ex: cadastre/communes)
paramstring type of param to filter by (ex: id_com)
tableIdstring id of the bootstrap-table element
tabNamestring name of the tab to create
callBackfunction 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 pathstring API path (ex: cadastre/communes)
paramstring type of param to filter by (ex: id_com)
valuestring value
tabNamestring name of the tab
callBackfunction 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 typestring (commune/section/lieuDit/parcelle/bati)
-
displayInvariantDescriptiveSheet(id_bat){String}
modules/Cadastre/cadastre.js, line 1345 -
Display de descriptive sheet
Name Type Description id_batstring -
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 tabNamestring Name of the tab
-
displayParcelleDescriptiveSheet(id_par)
modules/Cadastre/cadastre.js, line 1078 -
Display the fiche descriptive by id_par
Name Type Description id_parstring 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 parcelleTablestring 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 typestring type (parcelle, standard, tiers)
idnuprostring idnupro (id_com + dnupro)
id_parstring id_par
-
displayReleveDeProprieteSheetOnMap(type, idnupro, id_par){undefined}
modules/Cadastre/cadastre.js, line 1582 -
Display a Relevé de propeiété sheet
Name Type Description typestring type (parcelle, standard, tiers)
idnuprostring idnupro (id_com + dnupro)
id_parstring id_par
-
displayReleveDeProprieteSheetParcelle(parcelleTable){Number}
modules/Cadastre/cadastre.js, line 1495 -
Display a relevé de propriété parcelle sheet
Name Type Description parcelleTablestring 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 compteTablestring 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 parcelleTablestring 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_parstring -
displayUrbanismeSheetByTable(parcelleTable)
modules/Cadastre/cadastre.js, line 1196 -
Display the fiche descriptive by a talbe
Name Type Description parcelleTablestring 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 pathstring API path (ex: cadastre/communes)
variableNamestring name of the controller variable to update
filterstring filter
-
getBaseElemBySelect(path, param, selector, variableName){undefined}
modules/Cadastre/cadastre.js, line 2202 -
Update the variableName value by the selector value
Name Type Description pathstring API path (ex: cadastre/communes)
paramtype param (ex: id_com)
selectortype selector identifier
variableNamestring 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 pathstring API path (ex: cadastre/communes)
variableNamestring name of the variable
paramstring API param
valuestring API param value
callbackstring 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_comstring commune id_com
tableSelectionsarray.<object> comptes selectionnés
tableIdstring 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 pathstring API path (ex: cadastre/communes)
paramstring type of param to filter by (ex: id_com)
selectorIdstring identifier of the select
tableIdstring 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 rowstring row (ID_COM, DDENOM)
tableIdstring id of the table to write
invariantsTableIdstring id of the compte table to load the infos when clicking on the comptes table
parcellesTableIdstring 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 communestring commune
tableSelectionsstring tableIdstring id of the table to write
parcellesTableIdstring 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 tableSelectionsstring tableIdstring 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 communeSelectorIdstring id of the communes selector
proprietaireSearchIdstring id of the proprietaire search field
tableIdstring id of the table to load
comptesTableIdstring id of the compte table to load the infos when clicking on the proprietaire table
invariantsTableIdstring id of the compte table to load the infos when clicking on the comptes table
parcellesTableIdstring 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 ressourcestring type of ressource
tabNamestring Name of the tab
WKTGeometrystring WKT Geometry
lastPointCoordinatesstring last Point Coordinates
-
getParcelleBaseComptesOnTable(row, tableId, parcelleTableId)
modules/Cadastre/cadastre.js, line 2566 -
Update the list and the table
Name Type Description rowstring row (contains DDENOM DNUPRO ID_COM state)
tableIdstring id of the table to write
parcelleTableIdstring 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 communeSelectorIdstring id of the communes selector
proprietaireSearchIdstring id of the proprietaire search field
tableIdstring id of the table to load
comptesTableIdstring id of the comptes table to load the infos when clicking on the proprietaire table
parcelleTableIdstring 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 rapportsrapports 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 pathstring API path (ex: cadastre/communes)
paramstring type of param to filter by (ex: id_com)
arraystring arrayParamstring -
localiseFromSelect(path, param, selectorId){undefined}
modules/Cadastre/cadastre.js, line 1965 -
Localise the element on the select
Name Type Description pathstring API path (ex: cadastre/communes)
paramstring type of param to filter by (ex: id_com)
selectorIdstring 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 pathstring API path (ex: cadastre/communes)
paramstring type of param to filter by (ex: id_com)
tableIdstring html id of the table
-
localiseParcelleByAdresse(tableVoie, selectAdresse){undefined}
modules/Cadastre/cadastre.js, line 3296 -
Localise parcelles by adresse
Name Type Description tableVoietype selectAdressetype -
locateByDrawing(type){undefined}
modules/Cadastre/cadastre.js, line 936 -
Add the interaction of drawing for location
Name Type Description typeol.geom.GeometryType Type of draw
-
locateByPoint(evt){undefined}
modules/Cadastre/cadastre.js, line 914 -
Locate by point
Name Type Description evtobject html event onclick
-
locateByWKTGeom(WKTGeometry, currentMode, lastPointCoordinates){String}
modules/Cadastre/cadastre.js, line 801 -
Locate item by WKT geometry
Name Type Description WKTGeometrystring WKT Geometry
currentModestring the current mode (parcelle/commune...)
lastPointCoordinatesstring last Point Coordinates
-
locateCadastreOnMap(type, isActive){Number}
modules/Cadastre/cadastre.js, line 465 -
Select the cadastre infos on the map
Name Type Description typestring Type of selection
isActiveboolean 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 typestring (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 pathstring API path (ex: cadastre/communes)
param1string type of param to filter by (ex: id_com)
selector1string identifier of the select
param2string type of param to filter by (ex: id_com)
selector2string identifier of the select
tablestring identifier of the table
order_bystring -
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 pathstring API path (ex: cadastre/communes)
paramstring type of param to filter by (ex: id_com)
selectorIdstring identifier of the select
tablestring identifier of the table
order_bystring -
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 pathstring filterstring tablestring order_bystring -
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 searchOnMapCurrentModestring -
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 selectCommunestring commune selector
tableProprietairesstring Prorpietaires selector
tableComptesstring Comptes selector
tableInvariantsstring Invariants selector
tableParcellesstring Parcelles selector
Returns:
error
-
selectByDrawing(type){undefined}
modules/Cadastre/cadastre.js, line 985 -
Add the interaction of drawing for selection
Name Type Description typeol.geom.GeometryType Type of draw
-
selectByPoint(evt){undefined}
modules/Cadastre/cadastre.js, line 892 -
Select by point
Name Type Description evtobject html event onclick
-
selectByWKTGeom(WKTGeometry, currentMode, lastPointCoordinates){String}
modules/Cadastre/cadastre.js, line 750 -
Select by a WKT geometry
Name Type Description WKTGeometrystring WKT Geometry
currentModestring mode (commune, section, lieuDit, parcelle, bati)
lastPointCoordinatesstring last Point Coordinates
-
selectCadastreOnMap(type, isActive){Number}
modules/Cadastre/cadastre.js, line 512 -
Select the cadastre infos on the map
Name Type Description typestring Type of selection
isActiveboolean 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 selectCommunestring 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 selectCommunestring commune selector
tableLieuDitstring 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 selectCommunestring commune selector
tableVoiestring voie selector
selectAdressestring 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 selectCommunestring commune selector
tableProprietairesstring Prorpietaires selector
tableComptesstring Comptes selector
tableParcellesstring 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 selectCommunestring commune selector
selectSectionstring section selector
tableParcellestring parcelle selector
Returns:
error
-
selectRapportOnMap(evt, type){undefined}
modules/Cadastre/cadastre.js, line 568 -
Name Type Description evtevent typestring (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 selectCommunestring commune selector
tableSectionstring section selector
Returns:
error
-
setInfos(data)
modules/Cadastre/cadastre.js, line 1742 -
Display the infos on the infoContainer
Name Type Description dataarray.<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 aInfosarray.<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 tabNamestring Name of the tabzoomOnLastTabFeatures