Re: [gdal-dev] Speed up gdaltranslate for really big tiffs

2012-11-16 Thread Billy Newman
Fri, Nov 16, 2012 at 1:18 PM, Even Rouault wrote: > Le vendredi 16 novembre 2012 21:12:07, Billy Newman a écrit : >> I have a process that is stitching together a lot of tif files to >> create on big tif. >> >> I am doing: >> >> gdalbuildvrt output.vrt *.tif &g

[gdal-dev] Speed up gdaltranslate for really big tiffs

2012-11-16 Thread Billy Newman
I have a process that is stitching together a lot of tif files to create on big tif. I am doing: gdalbuildvrt output.vrt *.tif gdaltranslate -co COMPRESS=LZW output.vrt final.tif Any more options that I can throw at gdaltranslate to speed up the translation? Thanks!

[gdal-dev] Create overview tiff from a set of tiff files

2012-11-13 Thread Billy Newman
I have a set f tiff files at different zoom levels/resolutions 0.tif (2048x1024) 1.tif (4096x2048) 2.tif (8192x4096) I would like to create one tif that is 8192x4096 but have 2 overviews that are the 0.tif and 1.tif. Is there a GDAL command that I can give multiple tiffs to create one tiff with

[gdal-dev] GDAL 64 bit libs for windows

2012-08-07 Thread Billy Newman
I recently asked about 32 bit GDAL libs with Java bindings for windows. I really need both 32 and 64 bit binaries. Thanks, Billy ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Windows 32 bit GDAL

2012-08-05 Thread Billy Newman
Anyone know where I can get windows 32 bit GDAL libs pre-compiled with Java bindings? Thanks, Billy ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Easy way to tell if my image is EPSG 4326

2012-07-12 Thread Billy Newman
I am using java bindings to read in some metadata from image files. I have a check for images that are in EPSG:4326 (if not I warp them). However I have an image which I know is EPSG:4326 that has the following: "GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["

[gdal-dev] Java gdal.jar in mvn repo?

2012-05-20 Thread Billy Newman
Is the java bindings jar and hopefully javadoc jar in a mvn repo somewhere? Thanks Sent from my iPhone ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Java binding gdal.AutoCreateWarpedVRT question

2012-05-19 Thread Billy Newman
When get a Dataset Object back from the gdal.AutoCreateWarpedVRT(dataset) call do I need to call delete on the warped dataset and the original dataset, or just the original when I am done using the warped dataset? Sorry I did not understand the javadocs. Ex Dataset origDataset= gdal.Open("imagefi

[gdal-dev] EPSG PCS/GCS code 5171 not found

2012-05-16 Thread Billy Newman
When I run gdalinfo or gdalwarp on a tiff that is a one band image with elevation data I get the following warning: EPSG PCS/GCS code 5171 not found in EPSG support files. I have GDAL_DATA set to /usr/local/share/gdal which I verified has the data. However looking at the supporting data files in

[gdal-dev] gdalwarp question

2012-05-16 Thread Billy Newman
If I do not provide a source spatial reference to gdalwarp will the information in the geotiff be used instead? ie. gdalwarp -t_srs 'EPSG:4326' input.tif output.tif? I do not have a real example because I do not have the file I am working with on this computer. But an example gdalinfo would be:

Re: [gdal-dev] gdal.AutoCreateWarpedVRT returning different results than osr.CoordinateTransformation

2012-05-05 Thread Billy Newman
ually warp the image right? Only creating virtual warped points when you ask for them? Thanks again for all the help, I really appreciate it. Billy On Sat, May 5, 2012 at 4:40 PM, Frank Warmerdam wrote: > On 12-05-05 02:22 PM, Billy Newman wrote: > >> Still very confused. >> &g

Re: [gdal-dev] gdal.AutoCreateWarpedVRT returning different results than osr.CoordinateTransformation

2012-05-05 Thread Billy Newman
the entire image. I am not sure what .vrt file you are talking about. Thanks again On Sat, May 5, 2012 at 3:15 PM, Frank Warmerdam wrote: > On 12-05-05 01:19 PM, Billy Newman wrote: > >> Can you think of a way that I can get the same metadata as gdalwarp would >> give >

Re: [gdal-dev] gdal.AutoCreateWarpedVRT returning different results than osr.CoordinateTransformation

2012-05-05 Thread Billy Newman
ithout actually warping the image? Thanks On Fri, May 4, 2012 at 11:23 PM, Frank Warmerdam wrote: > On 12-05-04 03:39 PM, Billy Newman wrote: > >> I ran a quick test and confirmed that gdal.AutoCreateWarpedVRT is >> returning >> different results than osr.CoordinateTransform

Re: [gdal-dev] Get SRID from image file

2012-05-05 Thread Billy Newman
o that for you. It takes the EPSG Authority code >>> from the input file and use it as SRID > when loading the image to the database sdo_georaster object. For more info: > http://gdal.org/frmt_georaster.html >>> >>> Regards, >>> >>> Ivan >

[gdal-dev] gdal.AutoCreateWarpedVRT returning different results than osr.CoordinateTransformation

2012-05-04 Thread Billy Newman
I ran a quick test and confirmed that gdal.AutoCreateWarpedVRT is returning different results than osr.CoordinateTransformation. I.E. I opened a file using: Dataset dataset = gdal.Open("/images/image.tif"); I grabbed the corner point and used osr.CoordinateTransformation.TransformPoint(), to tran

Re: [gdal-dev] Get SRID from image file

2012-05-03 Thread Billy Newman
you. It takes the EPSG Authority code > from the input file and use it as SRID when loading the image to the database > sdo_georaster object. For more info: http://gdal.org/frmt_georaster.html > > Regards, > > Ivan > > > >> ---Original Message---

[gdal-dev] Get SRID from image file

2012-05-03 Thread Billy Newman
I have some image files (geotiff's) and I would like to store some of the metadata about the image files in oracle spatial. Is there any way to get the SRID for an image file? Thanks, Billy ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists

[gdal-dev] Errors in NITF gdal 1.8.1

2012-02-15 Thread Billy Newman
I am getting the following warnings/errors when try to open/read NITF files using gdal 1.8.1. Wondering if anyone has seen these before and can tell me what they mean. Warning 1: Block start for block 0 is wrong. Retrying with one extra byte shift. Error 1: For , assert sizeX == ds_sizeX failed.

[gdal-dev] Attribute subsection not large enough....

2012-02-07 Thread Billy Newman
I am getting the following error when trying to open NITF files for read: Warning 1: Attribute subsection not large enough (124 bytes) to contain 196 attributes. I am running multi threaded, and processing many different NITF files for read (I am extracting the metadata). Is this a memory issue?

Re: [gdal-dev] Thread safe?

2012-02-06 Thread Billy Newman
Is the DataSource.delete() method (from java binding) thread safe? Thanks On Wed, Jan 11, 2012 at 3:09 PM, Even Rouault wrote: > ** > > Le mercredi 11 janvier 2012 22:32:45, Billy Newman a écrit : > > > I am using a third party lib (imageio-ext) to leverage gdal in java

[gdal-dev] Getting VPF data via OGR java bindings

2012-02-01 Thread Billy Newman
I am able to get VPF (vector product format) info and perform operations (like convert to shape files) command line using ogrinfo and ogr2ogr. What I am wondering is if the java bindings for ogr support the same. i.e. to get a list of layer names ogrinfo gltp:/vrf/usr4/mppl/v0eur/vmaplv0/eurnasia

[gdal-dev] Support for VPF (vector product format) files with OGDI

2012-01-22 Thread Billy Newman
I am trying to read VPF files like VMAP0 and having some problems. Far as I can tell the only way to read VPF using gdal is to compile OGDI. I compiled on Redhat EL version 5.6 64 bit, gcc 4.2.x When trying to run ogrinfo (pulled directly from examples). VMAP files are on my local box. ogrinfo

[gdal-dev] Thread safe?

2012-01-11 Thread Billy Newman
I am using a third party lib (imageio-ext) to leverage gdal in java code. I have noticed that the imageio-ext folks have wrapped the gdal.Open(..) call in a synchronized method. I am assuming this is to prevent imageio-ext users from hanging themselves with regard to thread safety. I have looked