Re: [Gdal-dev] GDAL 1.6 Java binding, Windows

2009-02-22 Thread trailcode
I got gdal java binding to work with win32. I downloaded the jre from: http://udig.refractions.net/files/downloads/jre/ And used it to execute my test program. For the java .jar files I am not using gdal.jar but the jars which come with: imageio-ext The thing which is strange is if I copy the gd

Re: [gdal-dev] Converting from Lambert (LCC) to latlong/mercator

2009-02-22 Thread Brian Murray
Yep. Its a tad bit off (less then 5% for sure), but I also have the lat/long values about 5% off, since I picked a lat/long that wasn't at the edges. Once I adjust those, it will be OK now. I did remove the legend, which will help. I just left it on there while it wasn't scaling at all. On Sun, Fe

Re: [gdal-dev] Converting from Lambert (LCC) to latlong/mercator

2009-02-22 Thread Joaquim Luis
Brian Murray wrote: I know. I left that on there in the mean time while I figured out the translations. It wasn't even bending the map at all before. The software just sees the image as a blob of data, that you have to tell it how to transform, so it really didn't care that the map had a legend l

Re: [gdal-dev] Converting from Lambert (LCC) to latlong/mercator

2009-02-22 Thread Brian Murray
I know. I left that on there in the mean time while I figured out the translations. It wasn't even bending the map at all before. The software just sees the image as a blob of data, that you have to tell it how to transform, so it really didn't care that the map had a legend left on it. In my last

Re: [gdal-dev] Converting from Lambert (LCC) to latlong/mercator

2009-02-22 Thread Brian Murray
I finally have positive results, that I figured I should share here (especially since this thread is already indexed on google...) First, I created the world file for my map. I calculated the pixel size by getting the number of pixels between each line of longitude. I found this to be 65.5 (1 divi

Re: [gdal-dev] Converting from Lambert (LCC) to latlong/mercator

2009-02-22 Thread Joaquim Luis
Brian, The left side of your image contains a ... legend, so it's not part of the map. How can any program guess what is legend and where the map starts? Joaquim Luis I am still battleing this conversion. I was just informed, via IRC, that gdal won't overwrite existing files, so I may have b

Re: [gdal-dev] Converting from Lambert (LCC) to latlong/mercator

2009-02-22 Thread Brian Murray
I am still battleing this conversion. I was just informed, via IRC, that gdal won't overwrite existing files, so I may have been making a difference, but not knowing it. In any case, I tossed together a simple script, that thus far, does nothing... #!/bin/sh rm -rf nn.tif n-merc.tif echo '*** Tr

[gdal-dev] MapServer and GDAL build SDKs available

2009-02-22 Thread Tamas Szekeres
Folks, I've uploaded my latest SDK packages which provide a quick solution to make consistent debug or release builds with various compiler versions and architectures. The Windows builders of the GDAL buildbot have already been relying on these packages for quite a long time (until the buildbot wa