[gdal-dev] [gdal 1.8.0] Covert OGRlayer in Graphics2D object, how? [Java]

2011-07-23 Thread mett
Hello everybody! I created some OGRlayers georeferenced, and I need to convert them somehow in a java.awt.Shape object, to handle subsequently the Graphics2D object. Is there any clever way to do that? Thank you very much, Matt -- View this message in context: http://osgeo-org.1803224.n2.nabb

[gdal-dev] Re: [gdal-1.8.0] Get new Coordinates from Geotiff avoiding black area

2011-07-13 Thread mett
Chaitanya, I do not understand how can I use that tool to reset the coordinates. Could you be more precise? Thanks! Luiz, thank you very much for your contribute, I need it for Java, I will try to convert it. Thank you again, Mett luizmotta wrote: > > Sorry Folk, > > I forgo

[gdal-dev] [gdal-1.8.0] Get new Coordinates from Geotiff avoiding black area

2011-07-12 Thread mett
that I can use gdalwarp to set trasparency of black area, but I think it is not suitable to re-set the coordinates. Thank you for any help! Mett -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/gdal-1-8-0-Get-new-Coordinates-from-Geotiff-avoiding-black-area-tp6575681p6575681

[gdal-dev] Re: [gdal-java-1.8.0]TransformPoint() - different values for same inputs, why?

2011-07-06 Thread mett
Jean-Claude Repetto wrote: > > On 07/06/11 22:54, mett wrote: > > I think your results are correct, because PROJ.4 gives exactly the same > ones : > > proj -I -f "%.12f" +proj=lcc +lat_1=64.25 +lat_2=65.75 +lat_0=65 > +lon_0=-19 +x_0=50 +y_0=500

[gdal-dev] Re: [gdal-java-1.8.0]TransformPoint() - different values for same inputs, why?

2011-07-06 Thread mett
Jean-Claude Repetto wrote: > > Probably because your projection is not cylindrical. What projection are > you using ? > Jean-Claude > > The projection is > `PROJCS["User-Defined WGS84/Lambert Conformal Conic (IS.)",GEOGCS["WGS > 84",DATUM["WGS_1984",SPHEROID["WGS > 84",6378137,298.257223563,AUT

[gdal-dev] Re: [gdal-java-1.8.0]TransformPoint() - different values for same inputs, why?

2011-07-06 Thread mett
Hello, thank you very much for your reply. For example: Upper Left = (*258321.25943477*, 655225.28062628) Lower Left = (*258321.25943477*, 574605.28062628) here the X value is the same (258321.25943477), so, I would aspect that also the conversion is the same related to the X value (in fact is a

[gdal-dev] [gdal-java-1.8.0]TransformPoint() - different values for same inputs, why?

2011-07-06 Thread mett
Hello everybody, I'm using GDAL 1.8.0 with Java, and I do not why but I got different results with TransformPoint with same inputs. Maybe I'm wrong, anyway see this: Upper Left = (/258321.25943477/, 655225.28062628) Abs: *-24.39163021771631*, 66.2996405709653 Lower Left = (/258321.25943477/, 5746