This is an old revision of the document!
Object TGeoplace provides an easy and fast way to retrieve, change and save the data of some geographical place or unit.
Name | Type | Description |
---|---|---|
id | integer | ID of the geoplace. |
id_local | String | External ID of the geoplace taken from external source where we get informations about this place. |
label | String | Title of geoplace in original case, for example “Cannes La Bocca” |
longitude | float | Longitude value (>= -180 && <= 180) of the geoplace. |
latitude | float | Latitude value (>= -90 && <= 90) of the geoplace. |
havechilds | Boolean | '1' if the geoplace has some childs else '0'. |
ski_resort | Tgeoplace_ski_resort | ski resort informations. |
aggregated_data | Tgeoplace_aggregated_data | aggregated data of the geolace. |
languages | array Of Text | The list of spoken languages in this geoplace. Available at country level mostly. |
zip_codes | array Of Text | list of ZIP codes of the geoplace |
breadcrumbs | Tgeoplace_breadcrumbs | Breadcrumbs of the geoplace (Ex France > Provence Alpes Côtes D'azur > alpes maritimes > cannes |
parents | Tgeoplace_parents | list of parents of the geoplace |
non_preferred_labels | array Of Text | list of not preferred labels of the geoplace |
nationality_labels | List Of Text | Nationality title (ex: russian for russia). Available at country. |
translations | Tgeoplace_translations | Translation labels |
Name | Type | parameters | Description |
---|---|---|---|
country | function:string | ISO3166: Boolean = false | The country in with the geoplace is |
load | function:integer | ID: String RaiseError: Boolean | load the Tgeoplace object from the database and return the error code (0 if ok) |
load | procedure | ID: ansiString; | load the Tgeoplace object from the database |
Name | Type | parameters | Description |
---|---|---|---|
create | constructor:string | ID: String; Varname: string = 'geoplace'; Template: string; | Creates an instance of a TGeoplace object. |
You can also create a TGeoplace object (That will be named geoplace) via a call to <#geoplace>
none