Fwd: Re: [geotk] Problems beginning with GeoToolkit

sorel johann johann.sorel at geomatys.fr
Thu Aug 11 11:13:08 EDT 2011


Slow down.

Your first question was on rendering a custom graphic.
know it's calculating distance between geometries.

What is your objective exactly ?

johann


On 11/08/2011 15:52, Javier Manzano wrote:
> I have read some of the examples like this
>
> http://hudson.geomatys.com/job/Geotoolkit-pending/ws/demos/geotk-demo-samples/src/main/java/org/geotoolkit/pending/demo/geometry/JTSDemo.java
>
> And what I want is to use this but with a CordinateReferenceSystem 
> like WGS84. It has to be something like this:
>
> http://pending.geotoolkit.org/apidocs/index.html?org/geotoolkit/geometry/isoonjts/JTSUtils.html
>
> 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.
>
> I figured out how to make this in JTS quickly, but now, I'm a little 
> confused...
>
> Thanks!
>
> 2011/8/11 sorel johann <johann.sorel at geomatys.fr 
> <mailto:johann.sorel at geomatys.fr>>
>
>     You can get the sources using mercurial (similar to svn or git) with :
>     hg clone http://hg.geotoolkit.org/geotoolkit-pending/ geotk-pending
>
>     after a few minutes you will have a geotk-pending folder with all
>     the source code and demos.
>
>     If you don't have mercurial you can download it here :
>     http://mercurial.selenic.com/
>
>     Or you can explore the code source directly on your web browser here :
>     http://hg.geotoolkit.org/geotoolkit-pending/file/f1529d838035/demos/geotk-demo-samples/src/main/java/org/geotoolkit/pending/demo
>
>     If you want the latest compiled jar files, they are available here :
>     http://hudson.geomatys.com/
>
>     johann
>
>
>
>
>     On 11/08/2011 13:08, Javier Manzano wrote:
>>     Thanks, but... Where Can I download it? I'm having problems
>>     downloading it!
>>
>>     Thanks again!
>>
>>     2011/8/11 sorel johann <johann.sorel at geomatys.fr
>>     <mailto:johann.sorel at geomatys.fr>>
>>
>>         Hello,
>>
>>         Sure, you have plenty of solutions to achieve it.
>>
>>         I suggest you explore the demo module in geotookit-pending :
>>         /demos/geotk-demo-samples/src/main/java/org/geotoolkit/pending/demo
>>
>>         The usual way to render a map is to build a MapContext and
>>         MapLayers defining sources and styles.
>>         (check demos in folder /mapmodel and /symbology)
>>
>>         Or you can directly plug-in the rendering engine to paint
>>         whatever you want.
>>         (check demos in folder /rendering)
>>
>>
>>         johann
>>
>>
>>
>>
>>         On 11/08/2011 12:28, Javier Manzano wrote:
>>>         Hi,
>>>
>>>         I'm new to GeoToolkit and I'm having some questions:
>>>
>>>         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?
>>>
>>>         2) Sometimes I have to display Lines too....
>>>
>>>         Is there any class that represents (not graphically) that
>>>         kind of things?
>>>
>>>         I was using JTS, but it doesn't take in account things like
>>>         geodesic...
>>>
>>>         Thanks in advance!
>>>
>>>         -- 
>>>         Javier Manzano Morilla
>>>
>>>
>>>         _______________________________________________
>>>         Geotoolkit mailing list
>>>         Geotoolkit at lists.osgeo.org  <mailto:Geotoolkit at lists.osgeo.org>
>>>         http://lists.osgeo.org/mailman/listinfo/geotoolkit
>>
>>
>>         _______________________________________________
>>         Geotoolkit mailing list
>>         Geotoolkit at lists.osgeo.org <mailto:Geotoolkit at lists.osgeo.org>
>>         http://lists.osgeo.org/mailman/listinfo/geotoolkit
>>
>>
>>
>>
>>     -- 
>>     Javier Manzano Morilla
>
>
>     _______________________________________________
>     Geotoolkit mailing list
>     Geotoolkit at lists.osgeo.org <mailto:Geotoolkit at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/geotoolkit
>
>
>
>
> -- 
> Javier Manzano Morilla

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geotoolkit/attachments/20110811/e9d78c8e/attachment.html


More information about the Geotoolkit mailing list