CSearch
Search engine in french town heraldic database v1.0.4
http://www.quisque.com
The following operations are supported. For a formal definition, please review the Service Description.
-
Search
Searches in french town heraldic database.
Parameters description:- string cp : postal code. Can contain wildcards (% and _)
- bool bycp : true means search by postal code. Otherwise cp is ignored
- string ci : insee code. Can contain wildcards (% and _)
- bool byci : true means search by insee code. Otherwise ci is ignored
- string dept : department (country). Can contain wildcards (% and _)
- bool bydept : true means search by dept. Otherwise dept is ignored
- string region : region. Can contain wildcards (% and _)
- bool byregion : true means search by region. Otherwise region is ignored
- string description : arms's description. Can contain wildcards (% and _)
- bool bydescription : true means search by description. Otherwise description is ignored
- string info : arms's explanation. Can contain wildcards (% and _)
- bool byinfo : true means search by info. Otherwise info is ignored
- int limit : maximum of returned results (30)
Function returns CSearchInfo[] :- string region_name : name of region
- string dept_name : name of department
- int dept_num : number of department
- string town_name : name of town
- int town_ci : insee of town
- int town_cp : postal code of town
- int town_id : database's id of town
-
SearchImage
Search arms by image comparison.
Parameters description :- string url : url of arms to compare
- int limit : maximum of returned results (30)
Function returns CSearchPertinence[] :- double pertinence : distance between image to compare and this arms. 0 means identical.
- string url : url of arms
- int id : database's id
- string name : name of town, region or department
- int type : 1 means region, 2 means department, 3 means town
-
SearchImageStream
Search arms by image comparison.
Parameters description :- byte[] img : image's stream of arms to compare
- int limit : maximum of returned results (30)
Function returns CSearchPertinence[] :- double pertinence : distance between image to compare and this arms. 0 means identical.
- string url : url of arms
- int id : database's id
- string name : name of town, region or department
- int type : 1 means region, 2 means department, 3 means town