comparison src/main/java/de/intevation/lada/importer/laf/LafObjectMapper.java @ 1220:faa6a2117d1e

Do not try to create a new Ort if coordinate transformation failed.
author Tom Gottfried <tom@intevation.de>
date Fri, 09 Dec 2016 12:26:10 +0100
parents 6e393b614edf
children 59b0e54426d4
comparison
equal deleted inserted replaced
1219:b3331bc71f30 1220:faa6a2117d1e
840 logger.debug("find Verwaltungseinheit"); 840 logger.debug("find Verwaltungseinheit");
841 ortFactory.findVerwaltungseinheit(ort); 841 ortFactory.findVerwaltungseinheit(ort);
842 } 842 }
843 if (ortFactory.hasErrors()) { 843 if (ortFactory.hasErrors()) {
844 currentErrors.addAll(ortFactory.getErrors()); 844 currentErrors.addAll(ortFactory.getErrors());
845 return null;
845 } 846 }
846 847
847 repository.create(ort, "stamm"); 848 repository.create(ort, "stamm");
848 return ort; 849 return ort;
849 } 850 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)