1 |
<?php |
2 |
//$Id: strategyDynmap.inc,v 1.1 2010-08-22 21:49:26 fraynaud Exp $ |
3 |
|
4 |
// **************************** |
5 |
// parametrage connexion dynmap |
6 |
// **************************** |
7 |
|
8 |
// ==================== |
9 |
// connexion au serveur |
10 |
// ==================== |
11 |
/* *** ERREUR CARTE (path_application) |
12 |
* [Erreur de configuration] cnf.class.php introuvable : |
13 |
* C:/dynmap/webopenmairie1dynmap.conf/cnf.class.php |
14 |
* document_root=C:/dynmap/web |
15 |
et impossible de retrouver les informations en base car aucune carte n est |
16 |
reference par ce nom sur le serveur |
17 |
* *** ERREUR DE HOST |
18 |
** si adresse IP inexistante -> Firefox ne peut trouver le serveur à |
19 |
* l'adresse 10.1.0.39 |
20 |
** si erreur IP existante -> Délai d'attente dépassé - |
21 |
* Le serveur à l'adresse 10.1.0.40 |
22 |
* met trop de temps à répondre. |
23 |
* *** ERREUR USER : connexion ok mais erreur dans les methodes |
24 |
* "utilisateur non authentifie" |
25 |
*/ |
26 |
|
27 |
// ==================== |
28 |
// connexion au serveur |
29 |
// ==================== |
30 |
// carte dynmap à mettre à jour |
31 |
$pathApplication='/cadastre_majic/'; |
32 |
// host serveur dynmap |
33 |
$host = 'localhost'; |
34 |
// connexion du $this->user |
35 |
$login = 'admin'; |
36 |
$pwd ='';// *** A COMPLETER *** |
37 |
// url de dynmap |
38 |
// à tester en url -> retour sous forme de fichier xml |
39 |
// http://10.1.0.39/dynmap/extensions/ |
40 |
// service.php?wsdl=1&path_application=openmairie&service=DynmapGeometry |
41 |
// <definitions name="DynmapGeometry" |
42 |
// targetNamespace="http://10.1.0.39/dynmap/extensions/ |
43 |
// service.php?service=DynmapGeometry___openmairie"> |
44 |
$url_dynmap = 'http://'.$host.'/dynmap/extensions/service.php?wsdl=1&path_application='.$pathApplication.'&service='; |
45 |
// ======== |
46 |
// PARCELLE |
47 |
// ======== |
48 |
// do = data object |
49 |
// couche 12 -> table sb_data_12 |
50 |
// columnId -> nom du champ identifiant dans la table |
51 |
$commune_insee = '004000'; |
52 |
$table_parcelle = 12; |
53 |
$table_parcelle_id='IDU_id'; |
54 |
// ======= |
55 |
// DOSSIER |
56 |
// ======= |
57 |
// couche 76 table des permis - identifiant - colonne identifiante |
58 |
$table_dossier=76; |
59 |
$table_dossier_id ='IDENT'; |
60 |
// =========================== |
61 |
// pos |
62 |
// recuperation de la zone pos |
63 |
// =========================== |
64 |
$table_pos= '36'; |
65 |
$table_pos_field='sb_data_36.`TYPE`'; // attention au champ type (cde sql) |
66 |
|
67 |
?> |