comparison gnv-artifacts/doc/conf/conf.xml @ 625:40ead2d2a08d

Restructured configuration, removed duplicated entry and store config information in MapfileGenerator to avoid reading config file every time while updating mapfile. gnv-artifacts/trunk@697 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 22 Feb 2010 11:29:34 +0000
parents 6a3a1da5e680
children c8749d83d9b6
comparison
equal deleted inserted replaced
624:6a3a1da5e680 625:40ead2d2a08d
459 <horizontal-cross-section> 459 <horizontal-cross-section>
460 <!-- This section configures the HorizontalCrossSection ("Horizontalschnitt") --> 460 <!-- This section configures the HorizontalCrossSection ("Horizontalschnitt") -->
461 <samples number="1024"/> 461 <samples number="1024"/>
462 <extrapolation rounds="0"/> 462 <extrapolation rounds="0"/>
463 <ground interpolation="bilinear" /> 463 <ground interpolation="bilinear" />
464 <result-shapefile-directory path="${artifacts.config.dir}/../shapefiles/"/>
465 </horizontal-cross-section> 464 </horizontal-cross-section>
466 465
467 <vertical-cross-section> 466 <vertical-cross-section>
468 <!-- This section configures the "Profilschnitt" --> 467 <!-- This section configures the "Profilschnitt" -->
469 <samples width="1024" height="768"/> 468 <samples width="1024" height="768"/>
474 sigma="1" 473 sigma="1"
475 radius="5"/> 474 radius="5"/>
476 </filters> 475 </filters>
477 --> 476 -->
478 </vertical-cross-section> 477 </vertical-cross-section>
478
479 <!-- The target directory for shapefiles -->
480 <shapefile-directory path="${artifacts.config.dir}/../shapefiles/" />
481
482 <!-- In this section the required Configuration for mapfile generation is
483 given. -->
484 <map-generator>
485 <mapfile path="/opt/artifacts/mapfiles/mapfile.map" />
486 <templates>
487 <path>${artifacts.config.dir}/maptemplates</path>
488 <maptemplate>mapfile.vm</maptemplate>
489 </templates>
490 </map-generator>
479 </gnv> 491 </gnv>
480 492
481 <velocity> 493 <velocity>
482 <logfile path="/var/log/artifacts/velocity.log" /> 494 <logfile path="/var/log/artifacts/velocity.log" />
483 </velocity> 495 </velocity>
512 <!--url>jdbc:h2:src/test/ressources/artifacts.db</url> 524 <!--url>jdbc:h2:src/test/ressources/artifacts.db</url>
513 <driver>org.h2.Driver</driver> 525 <driver>org.h2.Driver</driver>
514 <sql></sql> --> 526 <sql></sql> -->
515 </database> 527 </database>
516 528
517 <!-- In this section the required Configuration for mapfile generation is
518 given. -->
519 <map-generator>
520 <mapfile>
521 <name>mapfile.map</name>
522 <path>/opt/artifacts/mapfiles</path>
523 <shapefiles>/opt/artifacts/shapefiles</shapefiles>
524 </mapfile>
525 <templates>
526 <path>/opt/artifacts/conf/maptemplates</path>
527 <maptemplate>mapfile.vm</maptemplate>
528 </templates>
529 </map-generator>
530 </artifact-database> 529 </artifact-database>

http://dive4elements.wald.intevation.org