<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi all !<br><br>Here are my first steps. I am trying to do a small demo file that I could share if it works... I am reading PUZZLE-GIS code source to do this.<br><br>There's something strange. When I run <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mapWidget = new JMap2D();<br><br>I get :<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error while parsing JAI registry file "file:/E:/rep/org/geotoolkit/pending/geotk-go2/3.02/geotk-go2-3.02.jar!/META-INF/registryFile.jai" :<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error in registry file at line number #36<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; No descriptor by name "org.geotoolkit.ShadedRelief" is registered under mode "rendered".<br><br>But this doesn't crash the program at all... Is it normal ?<br><br>Then I saw that GeoTIFF is not fully implemented (GeoTiffFactory.buildSimpleReader) so I decided to try to get an image from a WMS server.<br><br>Now, my compiler complains about<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final MapLayer layer = new WMSMapLayer(server,featureName);<br><br>saying that<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cannot find symbol symbol&nbsp; : constructor WMSMapLayer(org.geotoolkit.wms.WebMapServer,java.lang.String)<br><br>Which seems strange, because the WMSMapLayer.java has a constructor ( public WMSMapLayer(WebMapServer server,String ... layers) ).<br><br>When I expand the JAR from the "libraries" in my netbeans project, the Navigator only displays "WMSMapLayer :: AbstractMapLayer : DynamicMapLayer", with no methods nor constructor...<br><br>Is it a way to solve this problem ?<br><br>Many thanks in advance,<br><br>Sam<br><br /><hr />La Suisse reçoit plus d'espace! Votre disque dur virtuel de 25 Go:  <a href='http://skydrive.live.com' target='_new'>Windows Live avec SkyDrive!</a></body>
</html>