<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Slow down.<br>
<br>
Your first question was on rendering a custom graphic. <br>
know it's calculating distance between geometries.<br>
<br>
What is your objective exactly ?<br>
<br>
johann<br>
<br>
<br>
On 11/08/2011 15:52, Javier Manzano wrote:
<blockquote
cite="mid:CA+6Una36U=eGKuMds=U+ogbgancv3vAsKcZF5wye4E=QWoV5+A@mail.gmail.com"
type="cite">I have read some of the examples like this
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://hudson.geomatys.com/job/Geotoolkit-pending/ws/demos/geotk-demo-samples/src/main/java/org/geotoolkit/pending/demo/geometry/JTSDemo.java">http://hudson.geomatys.com/job/Geotoolkit-pending/ws/demos/geotk-demo-samples/src/main/java/org/geotoolkit/pending/demo/geometry/JTSDemo.java</a></div>
<div><br>
</div>
<div>And what I want is to use this but with a
CordinateReferenceSystem like WGS84. It has to be something like
this:</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://pending.geotoolkit.org/apidocs/index.html?org/geotoolkit/geometry/isoonjts/JTSUtils.html">http://pending.geotoolkit.org/apidocs/index.html?org/geotoolkit/geometry/isoonjts/JTSUtils.html</a></div>
<div><br>
</div>
<div>but it has no methods to calculate distance between two
geo-referenced points or if a Point (DirectPosition2D would be
the equivalent?) is inside a Polygon (which will be the
equivalent?). All of this referenced with WSG84.</div>
<div><br>
</div>
<div>I figured out how to make this in JTS quickly, but now, I'm a
little confused...</div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
<div class="gmail_quote">2011/8/11 sorel johann <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:johann.sorel@geomatys.fr">johann.sorel@geomatys.fr</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"> You can get the
sources using mercurial (similar to svn or git) with :<br>
hg clone <a moz-do-not-send="true"
href="http://hg.geotoolkit.org/geotoolkit-pending/"
target="_blank">http://hg.geotoolkit.org/geotoolkit-pending/</a>
geotk-pending<br>
<br>
after a few minutes you will have a geotk-pending folder
with all the source code and demos.<br>
<br>
If you don't have mercurial you can download it here : <br>
<a moz-do-not-send="true"
href="http://mercurial.selenic.com/" target="_blank">http://mercurial.selenic.com/</a><br>
<br>
Or you can explore the code source directly on your web
browser here :<br>
<a moz-do-not-send="true"
href="http://hg.geotoolkit.org/geotoolkit-pending/file/f1529d838035/demos/geotk-demo-samples/src/main/java/org/geotoolkit/pending/demo"
target="_blank">http://hg.geotoolkit.org/geotoolkit-pending/file/f1529d838035/demos/geotk-demo-samples/src/main/java/org/geotoolkit/pending/demo</a><br>
<br>
If you want the latest compiled jar files, they are
available here :<br>
<a moz-do-not-send="true"
href="http://hudson.geomatys.com/" target="_blank">http://hudson.geomatys.com/</a><br>
<font color="#888888"> <br>
johann</font>
<div>
<div class="h5"><br>
<br>
<br>
<br>
On 11/08/2011 13:08, Javier Manzano wrote:
<blockquote type="cite">Thanks, but... Where Can I
download it? I'm having problems downloading it!
<div><br>
</div>
<div>Thanks again!<br>
<br>
<div class="gmail_quote">2011/8/11 sorel johann <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:johann.sorel@geomatys.fr"
target="_blank">johann.sorel@geomatys.fr</a>></span><br>
<blockquote class="gmail_quote" style="margin:
0pt 0pt 0pt 0.8ex; border-left: 1px solid
rgb(204, 204, 204); padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"> Hello,<br>
<br>
Sure, you have plenty of solutions to
achieve it.<br>
<br>
I suggest you explore the demo module in
geotookit-pending :<br>
/demos/geotk-demo-samples/src/main/java/org/geotoolkit/pending/demo<br>
<br>
The usual way to render a map is to build a
MapContext and MapLayers defining sources
and styles. <br>
(check demos in folder /mapmodel and
/symbology)<br>
<br>
Or you can directly plug-in the rendering
engine to paint whatever you want.<br>
(check demos in folder /rendering)<br>
<br>
<br>
johann
<div>
<div><br>
<br>
<br>
<br>
On 11/08/2011 12:28, Javier Manzano
wrote: </div>
</div>
<blockquote type="cite">
<div>
<div>Hi,
<div><br>
</div>
<div>I'm new to GeoToolkit and I'm
having some questions:</div>
<div><br>
</div>
<div>1) My goal is to paint on a map a
zone (which will be a Polygon with
"n" vertex). Is there any class that
can represent that? Some method to
know if a point is contained in it?</div>
<div><br>
</div>
<div>2) Sometimes I have to display
Lines too.... </div>
<div><br>
</div>
<div>Is there any class that
represents (not graphically) that
kind of things?</div>
<div><br>
</div>
<div>I was using JTS, but it doesn't
take in account things like
geodesic...</div>
<div><br>
</div>
<div>Thanks in advance!</div>
<div><br>
</div>
<div>-- <br>
Javier Manzano Morilla<br>
</div>
</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
Geotoolkit mailing list
<a moz-do-not-send="true" href="mailto:Geotoolkit@lists.osgeo.org" target="_blank">Geotoolkit@lists.osgeo.org</a>
<a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/geotoolkit" target="_blank">http://lists.osgeo.org/mailman/listinfo/geotoolkit</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
Geotoolkit mailing list<br>
<a moz-do-not-send="true"
href="mailto:Geotoolkit@lists.osgeo.org"
target="_blank">Geotoolkit@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/geotoolkit"
target="_blank">http://lists.osgeo.org/mailman/listinfo/geotoolkit</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Javier Manzano Morilla<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Geotoolkit mailing list<br>
<a moz-do-not-send="true"
href="mailto:Geotoolkit@lists.osgeo.org">Geotoolkit@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/geotoolkit"
target="_blank">http://lists.osgeo.org/mailman/listinfo/geotoolkit</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Javier Manzano Morilla<br>
</div>
</blockquote>
<br>
</body>
</html>