Hi John,
It looks like you've covered all the regular bases, now you just have to
check the location of your map (making sure it's over your data) and the
scale of your map (making sure it's close to the native scale of the
data you are trying to display).
If you set the layer.coverage property to be true in the RpfLayer, then
a button on the palette should become visible, allowing you to bring up
the coverage tool. The scales corresponding to the different CADRG
charts are listed on the coverage tool palette that will appear. The
scale of the map has to be within the scale of the chart * or / the
scale factor set in the layer (4 by default). Depending on what
coverage tool palette checkboxes are enabled, you should see colored
rectangles on the map showing you where the data is. If you don't see
these rectangles, then the A.TOC is not being read properly and data
will not appear.
So for the first disk, you map has to be in the northern hemisphere, and
the scale has to be within 1:20M and 1:1.25M for GNC charts to appear,
and between 1:10M and 1:500k for JNC charts to appear. The chart that
has the native scale closest to the map scale wins in case of overlap.
You can run openmap with different debug flags for more information. Add
-Ddebug.rpf, -Ddebug.rpftoc and/or -Ddebug.rpfdetail in the execute
command for more information about what's going on in the layer. You
can modify the openmap.bat file to do this.
As an aside, you can run RpfTocHandler on an RPF directory to get a
printout of the A.TOC file contents. You can also run RpfFrame on an
individual RPF frame to get a printout of the frame attributes, as well
as a JFrame that shows the image for that frame.
DTEDFrame does the same thing. Oh, wait, that might be for 4.2,
released tomorrow.
John Mairs wrote:
>
> Hi Folks,
>
> I've been trying to display Compressed ARC Digitized Raster Graphics (CADRG)
> on Openmap without much success.
>
> Let me start with what I know:
>
> -I have 2 CDs that were produced from Defense Mapping Agency. One is labeled
>
> Series: CDRG
> Edition: 2
> Stock No: CDRG GNCJNCN I take it JNC is Jet Navigation Charts while
> GNC is Global Nav & Planning Charts
>
> The second is labeled:
>
> Series: CDRG
> Edition: 1
> Stock No: CDRG 5NINM3538
>
> -I have displayed data from the 2nd one on another tool. So I know its good.
> -I have set the paths properly in the Openmap.properties file. I know this
> because it complained about finding the TOC file. Both CDs have a TOC file
> in the RPF home directory.
> -I have set projection to CADRG
> -I have moved the RPF/CADRG layer to have a higher priority than the default
> Political Solid layer
> -I have "ajusted" the CADRG palette
> -I am running Openmap 4.1.1 on Windows NT 4.0 with sp 6a
> -I rebuilt Openmap using JDK 1.2.2 v1
> -I've also tried to display data from CIB and DTED cds but to no avail;
> correction the DTED displayed squares.
Were you using the DTEDCoverageLayer or the DTEDLayer? The DTEDLayer
creates image data from the data, the DTEDCoverageLayer shows squares
where the data is.
> Any ideas? If this isn't the right forum for this question please let me know.
This forum is absolutely fine.
Cheers,
Don
> thanks,
>
> John
>
> **********************************************************************
> This email and any files transmitted with it are Private and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> **********************************************************************
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe openmap-users"]
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT