Re: [Geotools-gt2-users] Coordinates conversion

2007-08-21 Thread mj
Martin Desruisseaux ha scritto: mj a écrit : I need to convert CH1903 / LV03 in wgs84 on a mousemove event on my map. Problem: sometimes conversion is working somtimes not. When working coordintes shown are ok expamle: 9°00.15' 46°11.59' When not working coordinates show are: 0°04.0'

Re: [Geotools-gt2-users] Coordinates conversion

2007-08-21 Thread mj
mj ha scritto: Martin Desruisseaux ha scritto: mj a écrit : I need to convert CH1903 / LV03 in wgs84 on a mousemove event on my map. Problem: sometimes conversion is working somtimes not. When working coordintes shown are ok expamle: 9°00.15' 46°11.59' When not working coordinates show

Re: [Geotools-gt2-users] Complex Coordsys

2007-08-21 Thread Martin Desruisseaux
Jody Garnett a écrit : I had some similar docs here Martin: - http://docs.codehaus.org/display/GEOTDOC/04+What+Axis+is+X Do you want to check over them and see if they are correct? Added the following tip: tip: in the OGC Geographic Objects specification, the viewport CRS is named

Re: [Geotools-gt2-users] Problem parsing GML with geotools in Jdeveloper + JDK 1.5

2007-08-21 Thread Ruben Pardo
thanks Justin, like you say, the problem was the order of the libraries in the classpath, I have in my classpath an Oracle Xml Parser library, that causes the error. I could not change the classpath, (the project doesn't work if i do it, only the geoespatial subsystem), I had the same problem when

Re: [Geotools-gt2-users] Coordinates conversion

2007-08-21 Thread mj
Martin Desruisseaux ha scritto: mj a écrit : Excuse me, after I send the e-mail I tried again and this time not worked. Could you send us an example of source coordinates that don't produces the expected target coordinates please? Any log (e.g. log warnings if there is no exception

[Geotools-gt2-users] How to use an rtree index?

2007-08-21 Thread leaffan
Hejhej, using the classes ShapeFileIndexer and FidIndexer I've been able to create feature and tree indices for an instance of IndexedShapefileDataStore so that corresponding method isIndexed returns true. I was also able to extract the generated rtree using the according constructor and the

[Geotools-gt2-users] Virtual Earth Transformation Question

2007-08-21 Thread Brad Cooper
Hello all, I’m new to the GeoTools community and to GIS. I’ve searched the archives and couldn’t find any posts/examples on handling Virtual Earth Tile requests (like this one http://viavirtualearth.com/vve/Articles/WMS.ashx). Basically I’d like to create a java based proxy Servlet that would 1)

[Geotools-gt2-users] question on GML generation

2007-08-21 Thread Andrea . CTR . Abraham
hello - is there anyone out there who is actually using GeoTools to WRITE OUT features in GML (org.geotools.gml.producer package)? it seems the entire library is mostly used to read (shape)files/data, and display a map rather than generate GML - what we need for our web feature service. I'm

[Geotools-gt2-users] Help needed in CRS transformation

2007-08-21 Thread Ramon Casha
Hi, I'm writing an application which loads and displays several layers in WGS84 format. One layer contains lines which (multilinestring) representing a route. Given a position on that route, I can derive the distance travelled down that route by using LengthIndexedLine, but how to covert it to

Re: [Geotools-gt2-users] Virtual Earth Transformation Question

2007-08-21 Thread Randy George
Hi Coop, Hmm... I would have thought the opposite - zoom in bad fit, zoom out good fit. I will be curious to know if EPSG:900913 solves the issue. I see that now the veapi.js doesn't have to be modified (the blog was from 2006). Did you work out how to fool the tileSourceSpec to

Re: [Geotools-gt2-users] Virtual Earth Transformation Question

2007-08-21 Thread Chris Holmes
Note that there was a small bug fix to the 900913 transform, I think for high zoom levels, that didn't make it in to 1.5.3. So you may try to download the 1.5.x nightly (http://geo.openplans.org/nightlies/1.5.x/ I think is the url) and see if that fixes your problem. Note also that the transform

[Geotools-gt2-users] FW: Virtual Earth Transformation Question

2007-08-21 Thread Randy George
Brad's message didn't cop to this list. I assume this is the bug you mentioned being fixed in the svn. -Original Message- From: Brad Cooper [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 9:26 AM To: Randy George Subject: RE: [Geotools-gt2-users] Virtual Earth Transformation

Re: [Geotools-gt2-users] FW: Virtual Earth Transformation Question

2007-08-21 Thread Chris Holmes
1.5.3 should return something, and it should recognize 900913. It may get the error he got if 900913 isn't defined in the data directory, like if he's using an older data directory. On Tue, August 21, 2007 12:10 pm, Randy George wrote: Brad's message didn't cop to this list. I assume this is

Re: [Geotools-gt2-users] Problem parsing GML with geotools in Jdeveloper + JDK 1.5

2007-08-21 Thread Justin Deoliveira
I see... yeah that makes sense. So it appears that the XSD library just will not work properly with the oracle xml parser that is being found. I will have to look into if it is possible to force xsd to use a particular sax implementation for parsing. Can you supply your patch for

Re: [Geotools-gt2-users] question on GML generation

2007-08-21 Thread Justin Deoliveira
Hi Andrea, Indeed. Here are some docs that should help get you started: http://docs.codehaus.org/display/GEOTDOC/03+XML+Transform -Justin [EMAIL PROTECTED] wrote: hello - is there anyone out there who is actually using GeoTools to WRITE OUT features in GML ( org.geotools.gml.producer

Re: [Geotools-gt2-users] Complex Coordsys

2007-08-21 Thread Rafal Glowinski
Hi, Since my additional transform is in the following order: 1. Translation 2. Scaling and AffineTransform does not support such operation on one step I ended up creating two additional MathTransform objects (one for each step), combining them into one, and then again combine the result with

[Geotools-gt2-users] Renering ESRI ArcGrid ascii file (displayed in one color)

2007-08-21 Thread Jong Lee
Hi, I used geotools 2.2.0 for rendering raster (ESRI ArcGrid Ascii file). Now, I am upgrading to geotools 2.3.3 (or 2.3.4). Then, JMapPane displays the raster with one color (green). I don't know what I am doing wrong. The following is the code. Please help me out. mapPane =

Re: [Geotools-gt2-users] Virtual Earth Transformation Question

2007-08-21 Thread Brad Cooper
Thanks for all the info Randy, To get this particular topic back on track, I'm trying to use the new 900913 projection with GeoTools (not currently supported as far as I know). I'm trying to create a custom CRS using the below code. CRSFactory crsFactory = FactoryFinder.getCRSFactory(null);

Re: [Geotools-gt2-users] Writing one-band GeoTiff

2007-08-21 Thread Jody Garnett
Hi Stefan; you may want to make a bug report or email the module maintainer on this one. Jody - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events

Re: [Geotools-gt2-users] R: To intercept changes of feature

2007-08-21 Thread Jody Garnett
Interesting, we solved the same problem in a different manner. We added validation to GeoServer the same validation tests (many of which express integrity constraints) can be run from within uDig. Perhaps you should consider hooking up the validation checks to the commit button - as

Re: [Geotools-gt2-users] Complex Coordsys

2007-08-21 Thread Jody Garnett
I always though you could call the methods in the order you needed to ... can you cut and paste your code example? It would be good for the wiki Jody Rafal Glowinski wrote: Hi, Since my additional transform is in the following order: 1. Translation 2. Scaling and AffineTransform