Re: [Gdal-dev] How to save picture into bmp-file?

2009-09-03 Thread ryabis
Frank Warmerdam, Thank you for your help! Best regards, Alex. -- View this message in context: http://n2.nabble.com/How-to-save-picture-into-bmp-file-tp3566284p3577926.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mail

[Gdal-dev] Rotating image...

2009-09-03 Thread ryabis
I have "bmp" file, and I would like to rotate it on some angle... (For example 38... 45,7... 2,3 degrees). How can I make it by using GDAL? -- View this message in context: http://n2.nabble.com/Rotating-image-tp3577921p3577921.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___

RE: [gdal-dev] GDAL: How to create one NITF image from CIB CD

2009-09-03 Thread Martin Chapman
Carol, If you write code the way to go about mosaicing all rpf frame files into one image would be to create a GDAL MEM dataset that is the width and height of an entire RPF Boundary. Then loop through each Frame file in the Boundary, open up each Frame file with the GDAL NITF driver and copy the

RE: [gdal-dev] GDAL: How to create one NITF image from CIB CD

2009-09-03 Thread Martin Chapman
Carol, Also see the switch: src_dataset: The source dataset name. It can be either file name, URL of data source or subdataset name for multi-dataset files. Martin -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of R

RE: [gdal-dev] GDAL: How to create one NITF image from CIB CD

2009-09-03 Thread Martin Chapman
Carol, http://www.gdal.org/gdal_translate.html says the command switch: -sds: Copy all subdatasets of this file to individual output files. Use withformats like HDF or OGDI that have subdatasets. OGDI is the old RP driver so I imagine it applies. Maybe that's what you need. Also,

RE: [gdal-dev] GDAL: How to create one NITF image from CIB CD

2009-09-03 Thread Rydzak, Carol-P28503
Hi. Thank you for getting back to me on this! Yes, I am using the 1.6.0 version of GDAL. I did what you suggested and it gives me a bus error when I run the gdalinfo command on the a.toc file. Do you recall what the problems were with the CIB data that you heard about? I have a 1 meter, 5 me

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-03 Thread Joaquim Luis
Brent Fraser wrote: Since the TerraGo way has been superceded by the Adobe/ISO way (thank goodness!), it makes it easier to identify the reference system definition in GDAL, so there may be some hope for GDAL and GeoPDF. Still on this matter, the GeoPDF http://www.terragotech.com/blog/quad

RE: [gdal-dev] Missing msvcr80.dll ?

2009-09-03 Thread Martin Chapman
I am a glutton for pain. :) -Original Message- From: Joaquim Luis [mailto:jl...@ualg.pt] Sent: Thursday, September 03, 2009 2:25 PM To: Harsh Govind Cc: Martin Chapman; 'Martin Hvidberg'; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Missing msvcr80.dll ? Harsh Govind wrote: > And unl

RE: [gdal-dev] Missing msvcr80.dll ?

2009-09-03 Thread Martin Chapman
Harsh, Hey, good point and on another note, recently Microsoft released a Visual Studio update that deploys an even newer version of the CRT that fixes a security fix. Problem is that if you have Automatic Updates turned on and you don't know that you got this update you can make the mistake of r

Re: [gdal-dev] Missing msvcr80.dll ?

2009-09-03 Thread Joaquim Luis
Harsh Govind wrote: And unlike previous versions (msvcrt71) you cannot copy over 8.0 versions dlls from somewhere to your application directory in order to make it work. The solution per Martin's suggestion is to install vcredist.exe. Excuse the ingenuity, but than why build GDAL with MSVC >

RE: [gdal-dev] Missing msvcr80.dll ?

2009-09-03 Thread Harsh Govind
And unlike previous versions (msvcrt71) you cannot copy over 8.0 versions dlls from somewhere to your application directory in order to make it work. The solution per Martin's suggestion is to install vcredist.exe. Regards, Harsh Govind SPADAC Inc. -Original Message- From: gdal-dev-boun

RE: [gdal-dev] Missing msvcr80.dll ?

2009-09-03 Thread Martin Chapman
Martin Here are the links for VC2005 redist installs: x86: (win 32 bit) http://www.microsoft.com/downloads/details.aspx?FamilyId=32BC1BEE-A3F9-4C13- 9C99-220B62A191EE&displaylang=en x64: (win 64 bit) http://www.microsoft.com/downloads/details.aspx?FamilyId=90548130-4468-4BBC- 9673-D6ACABD5D13B

RE: [gdal-dev] Missing msvcr80.dll ?

2009-09-03 Thread Martin Chapman
Martin, Sounds like that copy of GDAL you have has a manifest dependency on that version of the C runtime. You can download the vcredist.exe for the 8.0 version of the CRT from Microsoft and install it on that computer or make your own by including the merge module for that CRT in a custom setup

[gdal-dev] Missing msvcr80.dll ?

2009-09-03 Thread Martin Hvidberg
Dear Group Thanks for GDAL I am running a script in Python, using GDAL. Would like to run it on another (faster) computer. Installed Python and GDAL When I run the program it asks for a MSVCR80.dll file Cant find it anywhere on the computer Tried to copy it from the old computer, but it won't

Re: [gdal-dev] GDAL: How to create one NITF image from CIB CD

2009-09-03 Thread Even Rouault
Selon Even Rouault : Actually, I read too fast. You want to convert all the NITF tiles into a single NITF file. That is possible too of course. Just add -of NITF in the gdal_translate command line. Note that the resulting NITF will be larger in size than the sum of source NITF tiles, as CIB uses t

Re: [gdal-dev] GDAL: How to create one NITF image from CIB CD

2009-09-03 Thread Even Rouault
Selon "Rydzak, Carol-P28503" : I assume you are using a recent enough GDAL version (>= 1.5.0) that has the RPFTOC driver. If so, gdalinfo on the a.toc should return a list of subdatasets (at least one). You can then select one and translate it to a GeoTIFF. It will mosaic all the underlying NITF t

[gdal-dev] Re: Can't get 1*N dataset in HDFfile

2009-09-03 Thread Martin Hvidberg
jor sion wrote: Hi, I can't get 1*N dataset in HDF file by GDAL, The dataset looks like this: dataset.png It shows in HDF Explorer show.png Any suggestions? Well it's not a GDAL solution... But have a look at PyTables (depends NumPy) for Python. PyTables reads HDF files (4 and 5) and ca

[gdal-dev] GDAL: How to create one NITF image from CIB CD

2009-09-03 Thread Rydzak, Carol-P28503
I am trying to use GDAL utilities (on a Solaris 10 system) against CIB files (from a CD) to convert them to a single NITF image. When I run gdal_translate, it doesn't seem to accept the a.toc, but it does create a one-to-one nitf image for each CIB file the command is run against. Is there a

Re: [gdal-dev] Motion: Commit access for Harsh Govind

2009-09-03 Thread Tamas Szekeres
+1 I would also be interested in having SDE for Win64 to be compiled somehow ;-) Best regards, Tamas 2009/9/2 Frank Warmerdam > Motion: Extent commit access to Harsh Govind. > > --- > > PSC members, > > Harsh reports: > > """ > I am a GIS Developer at SPADAC Inc. and responsibilities inc

Re: [gdal-dev] Seek error accessing TIFF directory

2009-09-03 Thread Matt Bartolome
Thanks guys, I did a make clean (on both gdal and mapnik (scons.py -c)), then compiled gdal with the --with-hide-internal-symbols. This seems to have resolved the libtiff conflict going on with mapnik. -Matt On Thu, Sep 3, 2009 at 11:11 AM, Even Rouault wrote: > Selon Frank Warmerdam : > > In cas

Re: [gdal-dev] Seek error accessing TIFF directory

2009-09-03 Thread Even Rouault
Selon Frank Warmerdam : In case of conflict between GDAL internal libtiff and system libtiff with which mapnik would be linked, you can also try adding --with-hide-internal-symbols to the GDAL configure line. > Matt Bartolome wrote: > > Hello list, > > > > I just compiled gdal 1.6.2 on my fedora

Re: [gdal-dev] Motion: Commit access for Harsh Govind

2009-09-03 Thread Even Rouault
Selon Frank Warmerdam : +1 > Motion: Extent commit access to Harsh Govind. > > --- > > PSC members, > > Harsh reports: > > """ > I am a GIS Developer at SPADAC Inc. and responsibilities include compiling > and > upgrading GDAL for our products. In the past 4+ years at SPADAC I have setup > autom

Re: [gdal-dev] Motion: Commit access for Harsh Govind

2009-09-03 Thread Daniel Morissette
+1. Welcome :) Daniel Harsh Govind wrote: Good Afternoon All, I have read and understood the RFC 3 GDAL committer guidelines (http://trac.osgeo.org/gdal/wiki/rfc3_commiters) and I accept the agreement. Regards, Harsh Govind SPADAC Inc. -Original Message- From: gdal-dev-boun...@lists

Re: [gdal-dev] Seek error accessing TIFF directory

2009-09-03 Thread Frank Warmerdam
Matt Bartolome wrote: Hello list, I just compiled gdal 1.6.2 on my fedora 10 box from source. I'm in the process of evaluating some 2009 imagery in geotiff format. I've tried compiling with external libs and internal options with the same result. # ./configure --with-libtiff=internal --with-geo

Re: [gdal-dev] Motion: Commit access for Harsh Govind

2009-09-03 Thread Howard Butler
+1. I look forward to SDE maintenance, as I haven't had much time to keep up with that lately :( Howard On Sep 2, 2009, at 2:55 PM, Frank Warmerdam wrote: Motion: Extent commit access to Harsh Govind. --- PSC members, Harsh reports: """ I am a GIS Developer at SPADAC Inc. and responsib

Re: [gdal-dev] about one-dimensional vector dataset

2009-09-03 Thread Frank Warmerdam
jor sion wrote: Hi, How to get values of one-dimensional vector dataset like this 1.png the X_Axis dataset is showed in HDF Explorer like this: 2.png I could not access these dataset via GetMetadata("SUBDATASETS") method, Anybody could tell me how to access these datasets? JoSn, The grap

[gdal-dev] Seek error accessing TIFF directory

2009-09-03 Thread Matt Bartolome
Hello list, I just compiled gdal 1.6.2 on my fedora 10 box from source. I'm in the process of evaluating some 2009 imagery in geotiff format. I've tried compiling with external libs and internal options with the same result. # ./configure --with-libtiff=internal --with-geotiff=internal When proc

RE: [gdal-dev] Motion: Commit access for Harsh Govind

2009-09-03 Thread Harsh Govind
Good Afternoon All, I have read and understood the RFC 3 GDAL committer guidelines (http://trac.osgeo.org/gdal/wiki/rfc3_commiters) and I accept the agreement. Regards, Harsh Govind SPADAC Inc. -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osg

[gdal-dev] Re: Shapefile to Arc/info ascii

2009-09-03 Thread Hermann Peifer
Jonas Malmqvist wrote: *Put together a mosaic of several shape files into one single shape file. http://www.gdal.org/ogr/drv_shapefile.html (see the example at the bottom of the page) *Crop a rectangular area of the new shape file. *Rasterize the new shapefile file (all shapes should be used

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-03 Thread Joaquim Luis
Brent Fraser wrote: Joaquim, Interesting! As Peter pointed out, the LPTS tag is the transformation matrix to go from projected coords to page coords, and is created by forming the UTM->page coordinates tranformation (from the information in the CTM tag below) and inverting it (there's a bri

Re: [gdal-dev] Shapefile to Arc/info ascii

2009-09-03 Thread Frank Warmerdam
Jonas Malmqvist wrote: Hi all, I've been looking around in your mailing list searching for a way to convert a vector shapefile to a raster Arc/Info ascii format but haven't found any applicable example. It seems like rasterize could be a solution in the GDAL library but I don't get how. The s

[gdal-dev] about one-dimensional vector dataset

2009-09-03 Thread jor sion
Hi, How to get values of one-dimensional vector dataset like this [image: 1.png] the X_Axis dataset is showed in HDF Explorer like this: [image: 2.png] I could not access these dataset via GetMetadata("SUBDATASETS") method, Anybody could tell me how to access these datasets? Best wishes, -- J

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-03 Thread Brent Fraser
Joaquim, Interesting! As Peter pointed out, the LPTS tag is the transformation matrix to go from projected coords to page coords, and is created by forming the UTM->page coordinates tranformation (from the information in the CTM tag below) and inverting it (there's a brief mention near the e

[gdal-dev] Shapefile to Arc/info ascii

2009-09-03 Thread Jonas Malmqvist
Hi all, I've been looking around in your mailing list searching for a way to convert a vector shapefile to a raster Arc/Info ascii format but haven't found any applicable example. It seems like rasterize could be a solution in the GDAL library but I don't get how. The steps I'm aiming to perf

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-03 Thread Joaquim Luis
Peter J Halls wrote: A bit of googling determines that the 'Adobe way' structure, together with its elements, is defined in the ISO PDF definition - ISO 32000-1 (2008). Looking at this with a PostScript Developer hat, the /LPTS has to be associated with scaling / transforming the GPTS coordin

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-03 Thread Peter J Halls
A bit of googling determines that the 'Adobe way' structure, together with its elements, is defined in the ISO PDF definition - ISO 32000-1 (2008). Looking at this with a PostScript Developer hat, the /LPTS has to be associated with scaling / transforming the GPTS coordinates to the page coordi

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-03 Thread Joaquim Luis
Brent, I was also digging a bit on this matter. It's true that the blogger only opens our appetite as there is no more details on how to do it generally. I mean, for UTM maps it has become fairly obvious how one can do it. The relevant part in the PS file is [ {ThisPage} << /LGIDict << /Descr

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-03 Thread Brent Fraser
Joaquim, Doing the format conversion from .ps to pdf is one thing (and there are several ways to do it), but embedding the georeferencing in the PDF to make it a GeoPDF is the interesting bit. I haven't found any open source project capable of do that. Or even capable of writing the PDF el