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:
_at_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_at_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:
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 Mon Feb 11 2008 - 13:14:33 EST