Bonjour Eric merci ! je ne peux pas lancer de suite mon script. Peux-tu me dire si cela te semble correct ? merci bonne journée Stephanie Le 15/01/2024 à 09:37, Eric Chatellier a écrit :
import fr.ifremer.isisfish.map.GeoTools;
for (Zone zone : zones) { File file = new File(...); FisheryRegion fisheryRegion = zone.getFisheryRegion(); List<Cell> cells = zone.getCell(); GeoTools.setCellToShapefile(fisheryRegion, cells, zone.getName(), file); }
-- ...................................................................... Stephanie MAHEVAS UMR MARBEC - site de Sète IFREMER/HM https://annuaire.ifremer.fr/cv/16343/ Tel: (33) 04 99 57 32 39 (8239) - 06 75 83 59 33 o \ o / _ o __| \ / |__ o _ \ o / o /|\ | /\ ___\o \o | o/ o/__ /\ | /|\ / \ / \ | \ /) | ( \ /o\ / ) | (\ / | / \ / \ ......................................................................