Skip to content

Commit 4e9e1e4

Browse files
committed
Adding some internal doc
1 parent 2142ec0 commit 4e9e1e4

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,26 @@ This software is free to use under CeCILL license. However, if you use this libr
1010
Furthermore, we are interested in every feedbacks about this library if you find it useful, if you want to contribute or if you have some suggestions to improve it.
1111

1212

13+
Distribution method
14+
---------------------
15+
The zonepacker script allow to split parcels into homogeneous groups in term of number of simulation for calculation distribution with OpenMOLE. In order to run this script, an OSGI bundle have to be built by using *sbt osgiBundle* command from the root of the projet.
16+
17+
The resulting bundle has to be placed in the same directory than the script and can be run by updating the reference to the different folders.
18+
./zonepacker.sh "/home/mbrasebin/Bureau/parcels_rulez/real/parcels_rulez.shp" "/tmp/tmp/" "/tmp/out/" 20
19+
20+
The folder produced by this process can be used to be distributed with OpenMole, a template with the script is available in the release of this project. You only have to paste the folders in a subfolder of dataBasicSimu folder and to add the osgi bundle as an OpenMole plugin.
21+
22+
1323
Exploration method
1424
---------------------
1525
Using the Pattern Search Exploration (PSE) method allows the production of diversity of simulation models outputs. This methods is applied on SimPLU3D model in order to generate a variety of built configurations according to external measure (density, distribution of height, etc.).
1626

27+
1728
[More information, implementation and results are provided in the dedicated branch (results_pse)](https://github.com/IGNF/simplu3D-openmole/tree/results_pse)
1829

1930
Contact for feedbacks
2031
---------------------
21-
* [Mickaël Brasebin](http://recherche.ign.fr/labos/cogit/cv.php?nom=Brasebin)
32+
* [Mickaël Brasebin](http://recherche.ign.fr/labos/cogit/cv.php?nom=Brasebin)
2233
* [Julien Perret](http://recherche.ign.fr/labos/cogit/cv.php?prenom=Julien&nom=Perret)
2334
* [Paul Chapron](https://scholar.google.com/citations?user=EHGHwR8AAAAJ&hl=en)
2435

script/zonepacker.sh

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
#!/bin/bash
22

3-
#Parcel shapefile
4-
parcelfile="/home/mbrasebin/Bureau/parcels_rulez/real/parcels_rulez.shp"
3+
#Memory arguments
4+
javaargs="-Xms8156m -Xmx8156m -XX:PermSize=512m -XX:MaxPermSize=512m"
55

6-
#Temporary folder (has to be empty)
7-
tempfolder="/tmp/tmp/"
6+
#First argument : Parcel shapefile "/home/mbrasebin/Bureau/parcels_rulez/real/parcels_rulez.shp"
87

9-
#OutputFolder
10-
outfolder="/tmp/out/"
8+
#Second argument : temporary folder (must be empty) "/tmp/tmp/"
119

12-
#Nuber of simulable parcels per final package
13-
numberofsimulbypackage=20
10+
#Third argument folder out "/tmp/out/"
1411

15-
#Mememory arguments
16-
javaargs="-Xms8156m -Xmx8156m -XX:PermSize=512m -XX:MaxPermSize=512m"
12+
#Forth argument : the number of simulable parcel by package 20
1713

18-
java $javaargs -cp simplu3d-openmole-plugin_2.12-1.0.jar fr.ign.simplu3d.ZonePackerExecIAUIDF $parcelfile $tempfolder $outfolder $numberofsimulbypackage
14+
java $javaargs -cp simplu3d-openmole-plugin_2.12-1.0.jar fr.ign.simplu3d.ZonePackerExecIAUIDF $*
1915

0 commit comments

Comments
 (0)