Michael Bedward | 1 Dec 2010 01:14
Picon
Gravatar

Re: ECQL encoding

Hello Nicolas,

A Jira issue was recently created for the missing toECQL function to be added...

http://jira.codehaus.org/browse/GEOT-3326

Michael

On 1 December 2010 05:11,  <nicolas.lecart@...> wrote:
> Hi,
>
> I am looking for encoding a Filter in an ECQL representation.
> I don't want to store Filter in OGC XML which is too verbose but in CQL.
>
> I noticed that there is already a class dedicated to CQL that allows to
> encode a Filter in CQL :
> org.geotools.filter.text.cql2.CQL.toCQL(Filter)
>
> but not for ECQL (org.geotools.filter.text.ecql.ECQL)
> I can't see anywhere in GeoTools documents a description on the extensions
> provided by ECQL? What is the real difference between the 2 languages ECQL
> and CQL?
>
> Perhaps CQL is sufficient for my needs and I don't have to use ECQL?
>
> Thank you for your help
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
(Continue reading)

nicolas.lecart | 1 Dec 2010 09:54

ECQl vs CQL

Hello

 

I would like to get a clear description about the extension provided by ECQL compare to OGC CQL.

I couldn’t find any details bout this.

 

Thank you

 

Nicolas

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@...
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
Michael Bedward | 1 Dec 2010 10:24
Picon
Gravatar

Re: ECQl vs CQL

Hi Nicolas,

Not the summary you're looking for, but you could compare these two
pages which describe the CQL and ECQL grammars:

http://docs.codehaus.org/display/GEOTOOLS/CQL+Parser+Design

http://docs.codehaus.org/display/GEOTOOLS/ECQL+Parser+Design

Hope this helps.

Michael

On 1 December 2010 19:54,  <nicolas.lecart@...> wrote:
> Hello
>
>
>
> I would like to get a clear description about the extension provided by ECQL
> compare to OGC CQL.
>
> I couldn’t find any details bout this.
>
>
>
> Thank you
>
>
>
> Nicolas
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Geotools-gt2-users mailing list
> Geotools-gt2-users@...
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
Mauricio Pazos | 1 Dec 2010 11:00
Picon

Re: ECQL encoding

On Wednesday 01 December 2010 01:14:05 am Michael Bedward wrote:
> > I noticed that there is already a class dedicated to CQL that allows to
> > encode a Filter in CQL :
> > org.geotools.filter.text.cql2.CQL.toCQL(Filter)
Hello: pay attention
WARNING THIS IS A WORK IN PROGRESS.


Some month ago, I have a look at this function. Actually, it requires more work to become a robust solution.


cheers
--
Mauricio Pazos
www.axios.es
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@...
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
nicolas.lecart | 1 Dec 2010 14:35

Stereographic projection

Hello,

 

I am using GeoTools 2.7-M3 and I am looking for building stereographic projection

In order to simply transform points corrdinates.

 

Unfortunaltely I did not manage to find runnable example in the GeoTools documentation.

 

I don’t understand which appropriate class to use and how to use it.

 

Thank you for your help.

 

Nicolas

 

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@...
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
nicolas.lecart | 1 Dec 2010 14:55

test left/right position

Hello,

I am wondering if geotools provides function to test if a point is on the
left or on the right of an oriented line (implemented trough a LineString
for instance).

For example, in this case:

------------------>
          x

the point "x" is on the right of the oriented line

but in this case:

<------------------
          x

the point "x" is on the left of the oriented line

thank you 

Nicolas

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
Alessio Fabiani | 1 Dec 2010 19:17
Picon

GeoTools 2.7-M4 released

The GeoTools 2.7-M4 release is now available for download:


-------------------------------------------------------
Ing. Alessio Fabiani
Founder / CTO GeoSolutions S.A.S.

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: (+39) 0584 96.23.13
fax:     (+39) 0584 96.23.13
mobile:(+39) 349 82.27.000

http://www.geo-solutions.it
http://geo-solutions.blogspot.com
http://www.linkedin.com/in/alessiofabiani
http://twitter.com/simogeo
-------------------------------------------------------
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@...
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
Ian Turton | 1 Dec 2010 20:11
Picon
Gravatar

Re: Natural Breaks algorithm

On Tue, Nov 9, 2010 at 2:55 AM, LSA <lsa5@...> wrote:
> Hi all!
>
> Have everyone implemented the Jenks Natural Breaks Classification method?

Find attached a GeoTools implementation of the Jenks' Algorithm
(including tests). Currently it will work when unpacked into it's own
module. But I'd like to add it gt-main (with the other classification
methods) if no one has any objections.

Please experiment with it and let me know if there are any issues. I
added some real data and compared the answer to R's Jenks
implementation (which on inspection clearly shares a common ancestor
with my code so I'm not sure what it proves but they claim to have
compared their answers with ArcMap and MapInfo).

Ian

--

-- 
Ian Turton
Attachment (jenks.zip): application/zip, 10 KiB
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@...
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
Balint Persics | 1 Dec 2010 21:33
Picon

Re: test left/right position

Hello,

I think this is not GeoTool's job, it's a topology problem. I suggest
using JTS to solve this problem:
com.vividsolutions.jts.algorithm.CGAlgorithms.orientationIndex(Coordinate
p1,Coordinate p2, Coordinate q) will do the job.

Hope that helps,

Balint

On Wed, Dec 1, 2010 at 14:55,  <nicolas.lecart <at> fr.thalesgroup.com> wrote:
> Hello,
>
> I am wondering if geotools provides function to test if a point is on the
> left or on the right of an oriented line (implemented trough a LineString
> for instance).
>
> For example, in this case:
>
> ------------------>
>          x
>
> the point "x" is on the right of the oriented line
>
> but in this case:
>
> <------------------
>          x
>
> the point "x" is on the left of the oriented line
>
> thank you
>
> Nicolas
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Geotools-gt2-users mailing list
> Geotools-gt2-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>

--

-- 
Persics Balint

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
Rueben Schulz | 1 Dec 2010 21:54
Picon

Re: Stereographic projection

To Nicolas,
 
You need to provide some more specific information about what you are trying to do for us to help you. You will want to start by reading:
 
 
Most likely you will be making use of the CRS utility class. Usually when transforming points (or anything) you will be using a math transform. To create the math transform, you can specify the source coordinate reference system (CRS) and the target CRS. For example, if transforming some stereographic points to lat/long I would create a source projected CRS consisting of a stereographic projection (and its parameters) and an underlying datum (WGS 84 for example). I would then create a target geographic CRS using a WGS 84 datum. The CRS utility class can then be used to find a math transform between these two CRSs, and the transform can be used to convert your points.
 
As for creating CRS objects, there are many ways. Check out the examples for creating them from EPSG authority numbers or WKT strings.
 
Rueben
 
Note, geotools supports two different stereographic projections. Read the class descriptions of them (link below to source code) to make sure you are using the one you need.
 
-----Original Message-----
From: nicolas.lecart-s/S/64wAxt+H1Tvi1vFFB9BPR1lH4CV8@public.gmane.org [mailto:nicolas.lecart-s/S/64wAxt+H1Tvi1vFFB9BPR1lH4CV8@public.gmane.org]
Sent: Wednesday, December 01, 2010 5:36 AM
To: geotools-gt2-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [Geotools-gt2-users] Stereographic projection

Hello,

 

I am using GeoTools 2.7-M3 and I am looking for building stereographic projection

In order to simply transform points corrdinates.

 

Unfortunaltely I did not manage to find runnable example in the GeoTools documentation.

 

I don’t understand which appropriate class to use and how to use it.

 

Thank you for your help.

 

Nicolas

 

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@...
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Gmane