[jira] Created: (GEOT-2786) PyramidBuilder does not accept -name argument

1 message Options
Embed this post
Permalink
JIRA jira@codehaus.org

[jira] Created: (GEOT-2786) PyramidBuilder does not accept -name argument

Reply Threaded More More options
Print post
Permalink
PyramidBuilder does not accept -name argument
---------------------------------------------

                 Key: GEOT-2786
                 URL: http://jira.codehaus.org/browse/GEOT-2786
             Project: GeoTools
          Issue Type: Improvement
          Components: gc coveragetools
    Affects Versions: 2.6-RC1
         Environment: Windows XP, JDK 1.5.x, but affects all environments and platforms
            Reporter: Ken Barron
            Priority: Minor


The tool org.geotools.utils.imagepyramid.PyramidBuilder accepts a series of command line options.  However the -name (or -pyramid_name) option, which is very useful for specifying the pyramid names, is not taken into consideration.  
In the code the nameOpt is processed in the constructor of PyramidBuilder, but it is not added as an option.  I added the line:
addOption(nameOpt);
on line 391 of the constructor and this seems to do the trick - the pyramid files produced take the name argument into consideration.
I'm just not sure if it was left out for a reason?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geotools-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-devel