Thanks a lot for your reply, I have already succeded in displaying RPF-CADRG Data.... I don't see it because of:
"3. Your map scale needs to be set to a value that fits with the RPF image type [...]"
However what lead me to think that things doesn't work is because i try to use MakeToc and it says me that the RPF Image file are invalid... so i used the one I have and setting the proper scale i see RPF-CADRG Data
Thanks, Again
Best Regards
Alessio Iannone
Software Engineer
Mobile: 39 329 8834960
Email: alessio.iannone_at_nextant.it
IM: quonn77_at_hotmail.com (AIM)
http://www.linkedin.com/in/alessioiannone
Web sites of the Martial Arts I play
Nextant - Navcomm Applications
Via Alessandro Noale
See who we know in common Want a signature like this?
----- Messaggio originale -----
Da: Don Dietrick <dietrick@bbn.com>
A: Alessio Iannone <alessio_iannone@yahoo.it>
Cc: OpenMapUsers <openmap-users@bbn.com>
Inviato: Martedì 12 febbraio 2008, 22:37:07
Oggetto: Re: [OpenMap Users] Reading a RPF CADRG File
Hi Alessio,
This FAQ entry might be helpful:
http://openmap.bbn.com/cgi-bin/faqw.py?req=show&file=faq09.017.htp
You'll want to make sure your projection scale is close to the base
scale of the RPF charts. If your custom application doesn't have the
projection controls, it might be easier to define your layer in the
openmap.properties file and use the default OpenMap application, just
to get an idea if where your data is so you can set up your projection
accordingly.
Hope this helps,
Don
On Feb 11, 2008, at 1:07 PM, Alessio Iannone wrote:
> Hi all. I am trying to read an RPF - CADRG Set of File into my Apps
> (that of cours is using OpenMap).
> Basically what i have done is to create an RpfLayer and call the
> setProperties with the values returned by this method:
>
> @Override
> public Properties getDefaultLayerProperties() {
> Properties p = new Properties();
> p.put("prettyName", "CADRG Layer");
> p.put("class","com.bbn.openmap.layer.rpf.RpfLayer");
>
> //For testing purpose THE PATH is Hardcoded...
> p.put("paths", "/home/agl_dev/Mappe/RPF/CADRG/KT_CADRG/RPF");
> p.put("opaque","255");
> p.put("killCache", "true");
> p.put("subframeCacheSize","128");
> return p;
> }
>
> the RPFLayer is made visible of course and added to the LayerHandler.
>
> I have tested VPF, Shape and Grid layer using the same approach and
> these works but for the RPF i wasn't able to show anything. Also i
> didn't get any Error on the output....
>
> I Have tested the RPF-CADRG File with fugawi and it shows the
> data...so probably I am forgetting or missing something or OpenMap
> isn't fully compliant with RPF-CADRG???
> There is any tutorial on how to show a CADRG-RPF file using OpenMap ?
>
> Note:
> I have also set the Projection to be CADRG:
> mapBean.setProjection(new
> CADRG(mapBean.getCenter(),mapBean.getScale(),800, 600));
>
> Thanks for the Support.
>
>
> Alessio Iannone
> Software Engineer
>
> Mobile: 39 329 8834960
> Email: alessio.iannone@nextant.it
>
IM: quonn77@hotmail.com (AIM)
> http://www.linkedin.com/in/alessioiannone
> Web sites of the Martial Arts I play
>
> Nextant - Navcomm Applications
> Via Alessandro Noale
> See who we know in common
> Want a signature like this?
>
>
> L'email della prossima generazione? Puoi averla con la nuova Yahoo!
> Mail
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
[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"]
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:
http://it.docs.yahoo.com/nowyoucan.html
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Feb 13 2008 - 07:01:59 EST