Hi Martin,<div><br></div><div>My code is not finding the following imports:</div><div><br></div><div><div>import org.geotoolkit.referencing.CRS</div><div>import org.geotoolkit.referencing.crs.DefaultGeographicCRS</div><div>
import org.geotoolkit.geometry.DirectPosition2D</div><div><br></div><div>I&#39;m referencing your Maven repo at <a href="http://maven.geotoolkit.org/">http://maven.geotoolkit.org/</a> and including the following:</div><div>
group = &quot;org.geotoolkit&quot;, module = &quot;geotoolkit&quot;, version=&quot;3.16&quot;</div><div>group = &quot;org.opengis&quot;, module = &quot;geoapi-pending&quot;, version=&quot;2.3-M9&quot;</div><div><br></div>
<div>So I&#39;m finding the opengis API with no problem, but I think I&#39;m referencing the wrong geotoolkit module (there&#39;s a ton of them). Can you point me at ones I need to include the above classes?</div><div><br>
</div><div>Thanks</div><div>B<br><br></div><br><div class="gmail_quote">On Wed, Feb 2, 2011 at 15:29, Martin Desruisseaux <span dir="ltr">&lt;<a href="mailto:martin.desruisseaux@geomatys.fr">martin.desruisseaux@geomatys.fr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello Brian<br>
<br>
Le 03/02/11 00:19, Brian Schlining a écrit :<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have a positions defined using latitude and longitude (WGS84) that I&#39;d like to convert to UTM Zone 10N eastings and northings. How do I go about doing that using Geotoolkit?<br>
</blockquote></div>
On <a href="http://www.geotoolkit.org/demos/index.html" target="_blank">http://www.geotoolkit.org/demos/index.html</a> there is a (unfortunately very small) set of demo. The &quot;Demonstration applets&quot; are broken for now, but the &quot;Demonstration code&quot; are okay. The CoordinateConversion demo should give you a starting point. Take any method from this demo and set source/target CRS as below:<br>

<br>
sourceCRS = DefaultGeographicCRS.WGS84;<br>
targetCRS = CRS.decode(&quot;EPSG:32610&quot;);<br>
<br>
The following page may be worth a look: <a href="http://www.geotoolkit.org/modules/referencing/faq.html" target="_blank">http://www.geotoolkit.org/modules/referencing/faq.html</a><br>
Please let me know if you have any other issue!<br>
<br>
    Regards,<br>
<br>
        Martin<br>
<br>
_______________________________________________<br>
Geotoolkit mailing list<br>
<a href="mailto:Geotoolkit@lists.osgeo.org" target="_blank">Geotoolkit@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geotoolkit" target="_blank">http://lists.osgeo.org/mailman/listinfo/geotoolkit</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ <br>Brian Schlining<br><a href="mailto:bschlining@gmail.com">bschlining@gmail.com</a><br>
</div>