Changeset 199
- Timestamp:
- 09/16/11 16:23:06 (13 years ago)
- Location:
- ether_megapoli/trunk
- Files:
-
- 1 added
- 3 deleted
- 14 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
ether_megapoli/trunk/build.xml
r170 r199 41 41 42 42 <!-- le classpath --> 43 < path id="classpath">44 < fileset dir="${jars.dir}"/>45 < pathelement location="${classes.dir}"/>43 <!--<path id="classpath">--> 44 <!--<fileset dir="${jars.dir}"/>--> 45 <!--<pathelement location="${classes.dir}"/>--> 46 46 <!-- Ajout pour Hibernate --> 47 47 <!-- <pathelement location="${conf.dir}"/> --> 48 < /path>48 <!--</path>--> 49 49 50 50 <target name="all" /> -
ether_megapoli/trunk/domain/interface/com/ether/AxeTypeForFixedPlateform.java
r171 r199 1 1 package com.ether; 2 2 3 /** 4 * User: vmipsl 5 * Date: sept. 2011 6 */ 3 7 public enum AxeTypeForFixedPlateform 4 8 { -
ether_megapoli/trunk/domain/interface/com/ether/AxeTypeForMobilePlateform.java
r194 r199 1 1 package com.ether; 2 2 3 /** 4 * User: vmipsl 5 * Date: sept. 2011 6 */ 3 7 public enum AxeTypeForMobilePlateform 4 8 { -
ether_megapoli/trunk/persistence/implementation/com/ether/dao/ValueDAOImpl.java
r194 r199 2 2 3 3 import com.ether.Data; 4 import com.ether.Pair; 4 5 import com.ether.PersistenceException; 5 6 import com.medias.Nombre; … … 85 86 .add( Projections.property( "localisation.localisationLon" ) ) ) ); 86 87 87 criteria.addOrder( Order.asc( " localisation.localisationLon" ) );88 criteria.addOrder( Order.asc( "measure.mesureDate" ) ); 88 89 89 90 final List<Object[]> objects = selectAllByCriteria( Object[].class, criteria ); … … 135 136 final List<Double> parameterValues = new ArrayList<Double>( objects.size() ); 136 137 137 int i = 0;138 final List<Pair<Double, Double>> latLonList = new ArrayList<Pair<Double, Double>>(); 138 139 for( final Object[] value : objects ) 139 140 { 140 parameterValues.add( (Double) value[0] ); 141 latitudeValues.add( Double.valueOf( Nombre.latIntToFloat( (Integer) value[1] ) ) ); 142 longitudeValues.add( Double.valueOf( Nombre.latIntToFloat( (Integer) value[2] ) ) ); 143 i++; 141 final Double latitude = Double.valueOf( Nombre.latIntToFloat( (Integer) value[1] ) ); 142 final Double longitude = Double.valueOf( Nombre.latIntToFloat( (Integer) value[2] ) ); 143 144 final Pair<Double, Double> latLon = new Pair( latitude, longitude ); 145 if( !latLonList.contains( latLon ) ) 146 { 147 parameterValues.add( (Double) value[0] ); 148 latitudeValues.add( latitude ); 149 longitudeValues.add( longitude ); 150 latLonList.add( latLon ); 151 } 152 else 153 { 154 final String pif = "paf"; 155 } 144 156 } 145 157 -
ether_megapoli/trunk/persistence/implementation/hibernate-domain.cfg.xml
r186 r199 7 7 <session-factory> 8 8 9 < !--<mapping resource="com/medias/objects/Adresse.hbm.xml"/>-->10 < !--<mapping resource="com/medias/objects/Bilan.hbm.xml"/>-->11 < !--<mapping resource="com/medias/objects/Capteur.hbm.xml"/>-->12 < !--<mapping resource="com/medias/objects/Categorie.hbm.xml"/>-->13 < !--<mapping resource="com/medias/objects/CategorieParam.hbm.xml"/>-->14 < !--<mapping resource="com/medias/objects/Commentaire.hbm.xml"/>-->15 < !--<mapping resource="com/medias/objects/DeltaMesure.hbm.xml"/>-->16 < !--<mapping resource="com/medias/objects/Fabriquant.hbm.xml"/>-->17 < !--<mapping resource="com/medias/objects/Fichier.hbm.xml"/>-->18 < !--<mapping resource="com/medias/objects/Flag.hbm.xml"/>-->19 < !--<mapping resource="com/medias/objects/Jeu.hbm.xml"/>-->20 < !--<mapping resource="com/medias/objects/Langue.hbm.xml"/>-->21 < !--<mapping resource="com/medias/objects/Localisation.hbm.xml"/>-->22 < !--<mapping resource="com/medias/objects/Mesure.hbm.xml"/>-->23 < !--<mapping resource="com/medias/objects/Organisme.hbm.xml"/>-->24 < !--<mapping resource="com/medias/objects/Parametre.hbm.xml"/>-->25 < !--<mapping resource="com/medias/objects/Personne.hbm.xml"/>-->26 < !--<mapping resource="com/medias/objects/Plateforme.hbm.xml"/>-->27 < !--<mapping resource="com/medias/objects/RequeteNbvalsJeu.hbm.xml"/>-->28 < !--<mapping resource="com/medias/objects/RequetePlatLoc.hbm.xml"/>-->29 < !--<mapping resource="com/medias/objects/Sequence.hbm.xml"/>-->30 < !--<mapping resource="com/medias/objects/TypeCapteur.hbm.xml"/>-->31 < !--<mapping resource="com/medias/objects/TypePlateforme.hbm.xml"/>-->32 < !--<mapping resource="com/medias/objects/Unite.hbm.xml"/>-->33 < !--<mapping resource="com/medias/objects/Valeur.hbm.xml"/>-->34 < !--<mapping resource="com/medias/objects/Zone.hbm.xml"/>-->9 <mapping resource="com/medias/objects/Adresse.hbm.xml"/> 10 <mapping resource="com/medias/objects/Bilan.hbm.xml"/> 11 <mapping resource="com/medias/objects/Capteur.hbm.xml"/> 12 <mapping resource="com/medias/objects/Categorie.hbm.xml"/> 13 <mapping resource="com/medias/objects/CategorieParam.hbm.xml"/> 14 <mapping resource="com/medias/objects/Commentaire.hbm.xml"/> 15 <mapping resource="com/medias/objects/DeltaMesure.hbm.xml"/> 16 <mapping resource="com/medias/objects/Fabriquant.hbm.xml"/> 17 <mapping resource="com/medias/objects/Fichier.hbm.xml"/> 18 <mapping resource="com/medias/objects/Flag.hbm.xml"/> 19 <mapping resource="com/medias/objects/Jeu.hbm.xml"/> 20 <mapping resource="com/medias/objects/Langue.hbm.xml"/> 21 <mapping resource="com/medias/objects/Localisation.hbm.xml"/> 22 <mapping resource="com/medias/objects/Mesure.hbm.xml"/> 23 <mapping resource="com/medias/objects/Organisme.hbm.xml"/> 24 <mapping resource="com/medias/objects/Parametre.hbm.xml"/> 25 <mapping resource="com/medias/objects/Personne.hbm.xml"/> 26 <mapping resource="com/medias/objects/Plateforme.hbm.xml"/> 27 <mapping resource="com/medias/objects/RequeteNbvalsJeu.hbm.xml"/> 28 <mapping resource="com/medias/objects/RequetePlatLoc.hbm.xml"/> 29 <mapping resource="com/medias/objects/Sequence.hbm.xml"/> 30 <mapping resource="com/medias/objects/TypeCapteur.hbm.xml"/> 31 <mapping resource="com/medias/objects/TypePlateforme.hbm.xml"/> 32 <mapping resource="com/medias/objects/Unite.hbm.xml"/> 33 <mapping resource="com/medias/objects/Valeur.hbm.xml"/> 34 <mapping resource="com/medias/objects/Zone.hbm.xml"/> 35 35 36 36 </session-factory> -
ether_megapoli/trunk/persistence/implementation/hibernate.cfg.xml
r154 r199 17 17 <prop key="hibernate.bytecode.use_reflection_optimizer">false</prop> 18 18 <prop key="hibernate.connection.driver_class">org.postgresql.Driver</prop> 19 < prop key="hibernate.connection.url">jdbc:postgresql://darkstar.ipslnet:5432/MEGAPOLI_VM3</prop>20 <!-- <prop key="hibernate.connection.url">jdbc:postgresql://darkstar.ipslnet:5432/NAFE_TEST</prop>-->19 <!--<prop key="hibernate.connection.url">jdbc:postgresql://darkstar.ipslnet:5432/megapoli_2</prop>--> 20 <prop key="hibernate.connection.url">jdbc:postgresql://darkstar.private.ipsl.fr:5432/megapoli_2</prop> 21 21 <prop key="hibernate.connection.username">postgres</prop> 22 22 <prop key="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</prop> -
ether_megapoli/trunk/persistence/implementation/hibernate.properties
r171 r199 1 1 hibernate.connection.driver_class = org.postgresql.Driver 2 hibernate.connection.url=jdbc:postgresql://darkstar. ipslnet:5432/MEGAPOLI_VM32 hibernate.connection.url=jdbc:postgresql://darkstar.private.ipsl.fr:5432/megapoli_2 3 3 hibernate.connection.username=postgres 4 4 #hibernate.c3p0.min_size=5 -
ether_megapoli/trunk/service/implementation/com/ether/BouchonHelper.java
r195 r199 16 16 import java.util.TimeZone; 17 17 18 /** 19 * @author vmipsl 20 * @date sept. 2011 21 */ 18 22 public class BouchonHelper 19 23 { -
ether_megapoli/trunk/web/WEB-INF/megapoli.properties
r140 r199 1 1 #les path d'acces aux données 2 data.upload.root=/ home_local/PROJETS/MEGAPOLI/megapoli/data/upload3 data.access.root=/ home_local/PROJETS/MEGAPOLI/megapoli/data/download4 data.upload.desc=/ home_local/PROJETS/MEGAPOLI/megapoli/data/xml/uploadHierarchie.xml5 data.access.desc=/ home_local/PROJETS/MEGAPOLI/megapoli/data/xml/accessHierarchie.xml6 annuaire=/ home_local/PROJETS/MEGAPOLI/megapoli/data/xml/annuaire.xml2 data.upload.root=/www/Megapoli/megapoli_data/data/upload 3 data.access.root=/www/Megapoli/megapoli_data/data/download 4 data.upload.desc=/www/Megapoli/megapoli_data/data/xml/uploadHierarchie.xml 5 data.access.desc=/www/Megapoli/megapoli_data/data/xml/accessHierarchie.xml 6 annuaire=/usr/local/megapoli/annuaire.xml 7 7 8 8 #le path d'accÚs aux images 9 data.img=/ home_local/PROJETS/MEGAPOLI/megapoli/data/images9 data.img=/www/Megapoli/megapoli_data/data/images 10 10 11 11 #le serveur mail 12 12 mail.host=vmipsl@ipsl.jussieu.fr 13 13 mail.webmaster=vmipsl@ipsl.jussieu.fr 14 url.upload=http:// localhost:8080/megapoli/InitLogon.do15 url.extractcgi=http:// medias3.mediasfrance.org/megapoli_data/cgi-bin/megapoli_extract.cgi14 url.upload=http://chewie.private.ipsl.fr:8080/megapoli/InitLogon.do 15 url.extractcgi=http://chewie.private.ipsl.fr/cgi-bin/megapoli_extract.cgi 16 16 17 17 #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -
ether_megapoli/trunk/web/WEB-INF/megapoli_local.properties
r160 r199 13 13 mail.webmaster=vmipsl@ipsl.jussieu.fr 14 14 url.upload=http://localhost:8080/megapoli/InitLogon.do 15 url.extractcgi=http:// medias3.mediasfrance.org/megapoli_data/cgi-bin/megapoli_extract.cgi15 url.extractcgi=http://localhost:8080/megapoli_data/cgi-bin/megapoli_extract.cgi 16 16 17 17 #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -
ether_megapoli/trunk/web/WEB-INF/web.xml
r146 r199 8 8 </welcome-file-list> 9 9 10 <!--<context-param>--> 11 <!--<param-name>contextConfigLocation</param-name>--> 12 <!--<param-value>--> 13 <!--classpath:hibernate.cfg.xml,--> 14 <!--classpath:dao-context.xml,--> 15 <!--classpath:service-context.xml,--> 16 <!----> 17 <!--classpath:json/json-context.xml--> 18 <!--</param-value>--> 19 <!--</context-param>--> 20 10 21 <context-param> 11 22 <param-name>contextConfigLocation</param-name> 12 23 <param-value> 13 classpath:dao-context.xml,14 classpath:service-context.xml,15 classpath:hibernate.cfg.xml,24 /WEB-INF/classes/hibernate.cfg.xml, 25 /WEB-INF/classes/dao-context.xml, 26 /WEB-INF/classes/service-context.xml, 16 27 17 classpath:json/json-context.xml28 /WEB-INF/classes/json/json-context.xml 18 29 </param-value> 19 30 </context-param> -
ether_megapoli/trunk/web/src/ApplicationResources.properties
r198 r199 471 471 data.visualization.parameter=param\u00E8tre(s) 472 472 data.visualization.parameter.buttons.help=Aide 473 data.visualization.parameter.buttons.help.text=En cliquant sur 'Ajouter', vous int\u00E9grez le param\u00E8tre s\u00E9lectionn\u00E9 au quicklook final. Vous ne pouvez visualiser que deux types de param\u00E9tres diff\u00E8rents sur autant de plateformes souhait\u00E8es.<BR><BR>Le bouton 'Initialiser' vide la liste des param\u00E8tres.473 data.visualization.parameter.buttons.help.text=En cliquant sur 'Ajouter', vous int\u00E9grez le param\u00E8tre s\u00E9lectionn\u00E9 au quicklook final. Pour une s\u00E8rie temporelle, vous pouvez visualiser jusqu'\u00E0 deux types de param\u00E9tres diff\u00E8rents sur autant de plateformes souhait\u00E8es.Pour un 2D par contre, un seul param\u00E9tre est visualisable.<BR><BR>Le bouton 'Initialiser' vide la liste des param\u00E8tres. 474 474 475 475 data.visualization.axeType.TimeLine=S\u00E9rie temporelle (ligne) -
ether_megapoli/trunk/web/src/ApplicationResources_en.properties
r198 r199 470 470 data.visualization.parameter=parameter(s) 471 471 data.visualization.parameter.buttons.help=Help 472 data.visualization.parameter.buttons.help.text=By clicking on 'Add' you add the selected parameter to the final quicklook. You can visualize up to two differents parameters at the same time for many plateforms.<BR><BR>The button 'Init' remove the parameters from the list.472 data.visualization.parameter.buttons.help.text=By clicking on 'Add' you add the selected parameter to the final quicklook. For a time serie you can visualize up to two differents parameters at the same time for many plateforms.For a 2D only one parameter is available.<BR><BR>The button 'Init' remove the parameters from the list. 473 473 474 474 data.visualization.axeType.TimeLine=Time serie (line) -
ether_megapoli/trunk/web/src/com/ether/ControllerPlot.java
r197 r199 106 106 megapoliPlot.setTimeSerie( true ); 107 107 megapoliPlot.setLegendToHide( pIdPIdList.size() == 1 ); 108 // megapoliPlot.setValuesNumber( 10 );109 108 } 110 109 else -
ether_megapoli/trunk/web/visualization/visu_parameter_by_pf-script.jsp
r198 r199 432 432 this.helpWindow.setTitle( interfaceTexts["data.visualization.parameter.buttons.help"] ); 433 433 this.helpWindow.getContent().innerHTML = '<div class="textExamplesTD">' + interfaceTexts["data.visualization.parameter.buttons.help.text"] + '</div>'; 434 this.helpWindow.setSize( 3 00, 80 );434 this.helpWindow.setSize( 350, 100 ); 435 435 this.helpWindow.show(); 436 436 }
Note: See TracChangeset
for help on using the changeset viewer.