Jody Garnett | 1 Mar 2006 11:54
Favicon

Re: JAI download problem

Sorry this is in reference to uDig? The uDig quickstarts provide 
instructions including a JRE with JAI and JAI ImageIO ready to go....for 
geotools you will need to install these by hand?

Oh wait you said JDK1.4? That does imply geotools ... but that was an 
error message.

Lets try again, JAI and ImageIO are extentions to Java 1.4 or Java 5. 
They will not work with Java 1.3, and you need to install java first. I 
imagine you have Java 5?
Do you have a JRE (for uDig) or a JDK(for Geotools)? There are seperate 
downloads required to extend each.

Here is the geotools docs:
- http://docs.codehaus.org/display/GEOT/2.2+Dependencies

And here is the uDig docs (which may be more detailed and have pictures):
- http://udig.refractions.net/confluence/display/UDIG/Windows+System+Check
- http://udig.refractions.net/confluence/display/UDIG/Windows+JRE+Install
- 
http://udig.refractions.net/confluence/display/UDIG/Windows+Java+Advanced+Imaging+Install
- 
http://udig.refractions.net/confluence/display/UDIG/Windows+Image+IO+Install

Cheers,
Jody

>  I have been trying to install JAI on my system but there seems to be 
> problems with that. It says, JDK1.4 or a higher version must be 
> installed, which i already have. I would appreciate it if you could 
(Continue reading)

Martin Desruisseaux | 1 Mar 2006 12:10

Re: [Geotools-gt2-users] Re: JAI download problem

>> I have been trying to install JAI on my system but there seems to be 
>> problems with that. It says, JDK1.4 or a higher version must be 
>> installed, which i already have. I would appreciate it if you could 
>> specify detailed instructions to download JAI. Besides, what is the 
>> difference between installing JAI and the JAI API?

Installing JAI should be straightforward at least on Windows machine, providing that Java 1.4 or 
higher is already installed. Download the JDK or JRE (or both) at 
http://java.sun.com/products/java-media/jai/downloads/download-1_1_2_01.html

>> And for working with JAI, is the JMF or anything else required?

No. JMF (Java Media Framework) is not used neither by JAI or Geotools. The fact that JAI is defined 
in the javax.media package namespace do not means that it requires JMF. javax.media is just a 
"familly" of Java extensions by Sun.

	Martin.

Manuele Ventoruzzo | 1 Mar 2006 14:54
Picon

Re: TextSymbolizer displaying labels

Thank you, Dave.

So, I would be glad to add changes about cache clear bug.
Also, I find useful a method that allows to set a different CacheLabel than the default one, in StreamingRenderer. Something like a setLabelCache(...).

But I have not any account to commit changes. How can I get it?

Thanks,
Manuele.

in data 27/02/2006 7.48 dblasby-FT8GhGvzL34gsBAKwltoeQ@public.gmane.org ha detto:
MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.7 X-Originating-IP: 203.209.25.115
I think that it can be done only modifying LabelCacheDefault class. Suppose that group option could be 'yes', 'no', or a group name. With yes and no, behaviour is the actual one. With group name, LabelCacheDeafult uses a specific map for that group. What do you think about that?
My original plan for allowing grouping to be turned on/off was to do what you're suggesting above, but i didnt have the time to do all the fancy stuff. It seems you've found a use case for it. You should be able to easily add this in. Just make sure the priority stuff still functions correctly. This should be easy if you just merge all the different hash tables together with the non-grouped list. dave ---------------------------------------------------------- This mail sent through IMP: https://webmail.limegroup.com/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

Jody Garnett | 1 Mar 2006 15:19
Favicon

Re: Hybrid JDBCDataSource

Manuele Ventoruzzo wrote:
> Hi all,
>
> As written in document 
> http://www.geotools.org/display/GEOTOOLS/Extending+the+JDBCDataStore/, 
> Geotools uses two approaches for managing cartographic data: using a 
> spatial database or storing every feature into BLOB field of a 
> traditional relational database.
>
> Using other GIS toolkits, I founded very useful a hybrid approach 
> (sometimes named as data binding).
> In this mode geographic shapes are stored in a file, as using 
> ShapefileDataStore, but features are found joining with data in some 
> database table/view.
>
> This is important when we cannot use a spatial database, because 
> loading geometries from file is often faster than loading from blob 
> into database.
>
> I doesn't find this feature in standard Geotools modules. Does anybody 
> tried this approach?
Not yet, you are welcome to float the idea at a Monday IRC meeting. I am 
sure we could set you up with some subversion space if you wanted to 
pursue the idea.
I understand this approach is common w/ coverages.
Jody

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Fernando Avalos García | 1 Mar 2006 16:22
Picon
Favicon

GridCoverage legend...

Hi:

I have been working with GridCoverage, but when I add
a GridCoverage to the MapContext it is not visible on
the legend. Is it not posible???

Or the solution is create a Legend with the features
layers, and a ColorMap as a GridCoverage Legend???
But, If i have multiple GridCoverage which is the
solution??? How can I show and hide the
GridCoverage???

Thanks in advance...

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Bernhard Kastner | 1 Mar 2006 17:08
Picon
Favicon

Re: Re: JAI download problem

Martin Desruisseaux wrote:

> Installing JAI should be straightforward at least on Windows machine, 
> providing that Java 1.4 or higher is already installed. Download the 
> JDK or JRE (or both) at 
> http://java.sun.com/products/java-media/jai/downloads/download-1_1_2_01.html 
>
>
>>> And for working with JAI, is the JMF or anything else required?
>>
>
> No. JMF (Java Media Framework) is not used neither by JAI or Geotools.

btw: Theres an 1.1.3 alpha version of JAI out. It now works with Java 5.

I recently had problems, getting my geotools renderer things to work on 
windows-machines with the JAI, because I wasn't able to install the JAI 
on Java 5 (but my code relied on Java 5). JAI 1.1.3 alpha (it was at 
least alpha when I downloaded it a month ago or something) was 
compatible to Java 5, so just try it

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Joel Mirkin | 1 Mar 2006 20:54
Picon

Std methodology for coordinate transformation

Hi,
I've been struggling with geotools for the past couple of days. I would like to know if there is a standard methodology for converting coordinates of geometry into latitude and longitude. Thanks for the help.

Joel

Martin Desruisseaux | 2 Mar 2006 01:20

Re: Re: JAI download problem

Bernhard Kastner a écrit :
> btw: Theres an 1.1.3 alpha version of JAI out. It now works with Java 5.

??? JAI 1.1.2_01 work with Java 5 too; I have Java 5 on my Window machine, and I use JAI with no 
problem. Which specific problem do you encounter?

	Martin.

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
Bernhard Kastner | 2 Mar 2006 06:45
Picon
Favicon

Re: Re: JAI download problem


Martin Desruisseaux wrote:

> Bernhard Kastner a écrit :
>
>> btw: Theres an 1.1.3 alpha version of JAI out. It now works with Java 5.
>
>
> ??? JAI 1.1.2_01 work with Java 5 too; I have Java 5 on my Window 
> machine, and I use JAI with no problem. Which specific problem do you 
> encounter?
>
interesting...

well, I  have the problem no more, but I had it: the installer just 
crashed with the message, that Java could not be found or was not the 
right version somewhere at the beginning of the installation.

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Rueben Schulz | 2 Mar 2006 08:26
Picon
Favicon

Re: Std methodology for coordinate transformation

Hi,

Please see the (unfinished) coordinate transformation tutorial at:

http://www.geotools.org/display/GEOTOOLS/Coordinate+Transformation
+Services+for+Geotools+2.1

The general procedure is:

1) Create a Coordinate Reference System (CRS) for you source geometries
(ex. UTM Zone 10N WGS 84 Datum Projected CRS, Lambert Conic Projected
CRS). I am assuming your source is a projected CRS, which is composed of
a map projection, and a geographic CRS. The easiest way to create a CRS
is use an authority factory (if you know the EPSG code for your crs) or
a wkt string.

2) Create a CRS for your output geometries. This will be a geographic
CRS (lat/long or long/lat) in your case. Geographic CRS have a datum.
Watch out for the axis order! Watch out for the axis order of your
source CRS too.

3) Use a CoordinateOperationFactory to create a math transform between
the source and target CRS's.

4) Use the math transform to transform your points.

Alternatively you could create a math transform by hand. This is not
recommended, but is not too difficult for simple transforms. For
example, if you are just going from some projected coordinates (ex.
Mercator) to geographic coordinates with the same datum, the transform
just needs to specify the map projection and its parameters. Anything
more complex and you need to concat transforms together.

Good luck,
Rueben

On Wed, 2006-01-03 at 14:54 -0500, Joel Mirkin wrote:
> Hi, 
> I've been struggling with geotools for the past couple of days. I
> would like to know if there is a standard methodology for converting
> coordinates of geometry into latitude and longitude. Thanks for the
> help. 
> 
> Joel

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

Gmane