简体   繁体   English

GeoTIFF-jai库的文档在哪里

[英]Where is the documentation for the GeoTIFF-jai Library

I am trying to use the GeoTIFF-jai Library to generate a geo-rectified, raster image in Java. 我正在尝试使用GeoTIFF-jai库在Java中生成经过地理校正的栅格图像。 I have tried looking on the SourceForge site for the documentation on how to do this, but SourceForge says "Unfortunately, this project hasn't indicated the best way to get help." 我曾尝试在SourceForge网站上查找有关如何执行此操作的文档,但是SourceForge说:“不幸的是,该项目并未表明获得帮助的最佳方法。” Has anyone else tried using this library and been able to find any documentation on it? 还有其他人尝试过使用此库并能够找到任何文档吗?

If there truly is no documentation, maybe you can answer this question. 如果确实没有文档,也许您可​​以回答这个问题。 When I import the library .jar file into my Eclipse project (using right-click->Import...->Archive File) all of the .properties files import but not the .class files. 当我将库.jar文件导入到我的Eclipse项目中时(使用右键单击->导入...->归档文件),所有.properties文件都将导入,但.class文件将不导入。 I need the GeoTIFFFactory class from org.geotiff.images.jai in order to create a new GeoTIFF image but it's not available. 我需要来自org.geotiff.images.jai的GeoTIFFFactory类,以便创建新的GeoTIFF图像,但是它不可用。 Any idea why the .class files are not importing? 知道为什么不导入.class文件吗? Am I doing something wrong on the import? 我在导入上做错了吗? Is the .jar in the wrong directory? .jar是否位于错误的目录中?

Any help with either of these questions is greatly appreciated. 非常感谢您对这些问题的任何帮助。

Thanks, Ryan 谢谢,瑞安

When I import the library .jar file into my Eclipse project (using right-click->Import...->Archive File) all of the .properties files import but not the .class files. 当我将库.jar文件导入到我的Eclipse项目中时(使用右键单击->导入...->归档文件),所有.properties文件都将导入,但.class文件将不导入。 Am I doing something wrong on the import? 我在导入上做错了吗?

Yes. 是。 That's not how you use third-party jars in Eclipse. 这不是您在Eclipse中使用第三方jar的方式。 The wizard you invoked is used primarily for importing archives with source code to make changes to them. 您调用的向导主要用于导入带有源代码的存档以对其进行更改。 Instead create Java project to hold your source code and add a dependency on the jar via Project Properties -> Java Build Path. 而是创建Java项目来保存您的源代码,并通过Project Properties-> Java Build Path在jar上添加依赖项。 You can also attach a source code archive in the same place (get this from project's site on SourceForge). 您还可以在同一位置附加源代码存档(从SourceForge上项目的站点获取)。 This will let you see any available javadoc and if there is no documentation at all, you can at least step through the code. 这将使您看到任何可用的javadoc,如果根本没有文档,则至少可以单步执行代码。

Regarding lack of documentation, you will be more likely to get help on that project's forum rather than on stack-overflow (since the odds of you finding help on stack-overflow with a particular library is inversely proportional to that library's popularity). 关于缺少文档,您将更有可能在该项目的论坛上获得帮助,而不是在堆栈溢出方面获得帮助(因为您在使用特定库的堆栈溢出方面寻求帮助的几率与该库的受欢迎程度成反比)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM