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

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

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

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

[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

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

[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, --

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

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

[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

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

[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

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

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:

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

2009-09-03 Thread Even Rouault
Selon Frank Warmerdam warmer...@pobox.com: +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

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 warmer...@pobox.com Motion: Extent commit access to Harsh Govind. --- PSC members, Harsh reports: I am a GIS Developer at SPADAC Inc. and

[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

[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

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

2009-09-03 Thread Even Rouault
Selon Even Rouault even.roua...@mines-paris.org: 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

[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

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

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.

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

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

[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.