/trunk/services/modules/0.1/chorodep/NomsPlus.php |
---|
File deleted |
\ No newline at end of file |
/trunk/services/modules/0.1/chorodep/Noms.php |
---|
101,13 → 101,13 |
$donnees['entete']['href.precedent'] = $url_base . '/' . $this->serviceNom . '?' |
. 'navigation.depart=' . max(0, ($this->depart - $this->limite)) . '&navigation.limite=' . $this->limite |
. '&retour.tri=' . $this->tri . '&retour.ordre=' . $this->tri_dir |
. ($masqueEnParams ? '&' . $masqueEnParams : ''); |
. '&' . $masqueEnParams; |
} |
if (($this->depart + $this->limite) < $total ) { |
$donnees['entete']['href.suivant'] = $url_base . '/' . $this->serviceNom . '?' |
. 'navigation.depart=' . ($this->depart + $this->limite) . '&navigation.limite=' . $this->limite |
. '&retour.tri=' . $this->tri . '&retour.ordre=' . $this->tri_dir |
. ($masqueEnParams ? '&' . $masqueEnParams : ''); |
. '&' . $masqueEnParams; |
} |
$donnees['resultat'] = $noms; |
/trunk/services/modules/0.1/chorodep/Observations.php |
---|
215,6 → 215,15 |
if ($nom_champ == 'station') { |
if (!preg_match('/^\s*([0-9]{2})\s*$/', $valeur, $colonne)) { // si le nom est passé |
$this->requete_condition[] = '1'; |
/* $url = $this->ajouterHrefAutreProjet('zone-geo',$key,'INSEE-D');// d'apres nom |
$dept = $this->rest_client->consulter($url); |
$entete = $this->rest_client->getReponseEntetes(); |
if (isset($entete['wrapper_data'])) { |
$colonne = json_decode($relation); |
} else { |
$this->renvoyerErreur(RestServeur::HTTP_CODE_RESSOURCE_INTROUVABLE, |
'Le service '.$this->service.' de ce projet comporte des erreurs. url lancée : '.$url); |
}*/ |
} else { |
$this->requete_condition[] = '`'.$valeur."` != '' "; |
$this->requete_champ .= ', `'.$valeur.'` '; |
/trunk/services/configurations/config_chorodep.ini |
---|
30,7 → 30,7 |
; +------------------------------------------------------------------------------------------------------+ |
; Config spécifique au projet |
; Noms des services disponibles pour ce projet |
servicesDispo = "meta-donnees,aide,ontologies,observations,cartes,noms,infos-espece,noms-plus" |
servicesDispo = "meta-donnees,aide,ontologies,observations,cartes,noms,infos-espece" |
[Cartes] |
; Chemin de base des cartes |
46,12 → 46,4 |
; table des noms vernaculaires |
table_nv = "nvjfl_v2007" |
; URL des status de protection |
url_service_sptb = "http://localhost/service:eflore:0.1/sptb/statuts?masque.nn=%s" |
[NomsPlus] |
; table des noms vernaculaires |
table_chorologie_nv = "chorologie_nv" |
; table des statuts de protection |
table_chorologie_sp = "chorologie_sp" |
; squelette d'url pour les codes INSEE des régions |
insee_d_url_tpl = http://localhost/service:eflore:0.1/insee-d/zone-geo/%s |
url_service_sptb = "http://localhost/service:eflore:0.1/sptb/statuts?masque.nn=%s" |