Hi Eric,
On Friday, December 21, 2001, at 02:33 PM, Eric K. Corl wrote:
>
> I'm attempting to create a layer with CADRG data.
>
> I've determined that I need to set the projectionType to CADRG, but
> it's expecting an integer and I can't find within any documentation
> which
> integer represents the type "CADRG".
Programmatically, You can get the integer a couple of different ways:
com.bbn.openmap.proj.CADRG.CADRGType;
ProjectionFactory.getProjType(CADRG.getProjType(CADRG.getName());
>
> Also, I'm getting the error message:
>
> *** ERROR ***
> Anonymous|RpfLayer.prepare(): null frame provider - either no RPF paths
> were
> set
> , or no frame provider was assigned. The RpfLayer has no way to get
> RPF
> data.
> *************
>
> when attempting to set up my frame and I can find no documentation
> on
> "frame provider".
The RpfLayer isn't being set up properly. You have to tell it where the
data is, by setting it's properties or calling rpflayer.setPaths() on it.
If you are using the OpenMap app, you can modify the openmap.properties
file. The 'jrpf' layer is a predefined RpfLayer. and you just need to
modify the jrpf.paths property, and then add jrpf to the openmap.layers
property.
- Don
-- [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"]Received on Fri Dec 21 15:51:32 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT