RE: [gdal-dev] Call to users and devs - ESRI .prj files needed for testing

2011-12-02 Thread Konstantin Baumann
Hi Etienne, maybe you could also use the ESRI WKTs from: http://spatialreference.org/ e.g.: http://spatialreference.org/ref/epsg/4326/esriwkt/ Kosta -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev- boun...@lists.osgeo.org] On Behalf Of Etienne Tourigny

Re: [gdal-dev] Call to users and devs - ESRI .prj files needed for testing

2011-12-02 Thread Etienne Tourigny
According to the about page, GDAL and proj.4 are used to generate the database, so it would be of limited use in this case (as the ESRI .prj files are generated by GDAL). However, it seems that there are some User-defined (called sr-org) definitions that might not be related to GDAL?

[gdal-dev] Gdal_translate + Google + Wgs84

2011-12-02 Thread Roger Phillips
Hello folks, I'm a beginner with Gdal and I have a question: Say, I have a rectangular tile defined in WGS84 coordinates using longitude and latitude. I want to receive this file from google for the respective rect. However, as far as I know, google uses mercator coordinates in its maps so

[gdal-dev] GTiff format does not preserve WKT EXTENSION nodes?

2011-12-02 Thread Etienne Tourigny
Hi all, I have been trying to override the MODIS WKT definition (derived from the source HDF4 files using gdal_translate), which apparently is not sufficient for correct transformations. The correct srs is '+proj=sinu +R=6371007.181 +nadgrids=@null +wktext', whereas the one stored in GTiff files

Re: [gdal-dev] Gdal_translate + Google + Wgs84

2011-12-02 Thread Chaitanya kumar CH
Roger, Use gdalwarp instead. Set the -t_srs option to EPSG:4326 Extents can be set using -te Since the projection is changing, specifying the size in percentage of the original is not possible. You can use -tr or -ts for this. Also, note the order of the arguments for filenames. On Fri, Dec 2,

Re: [gdal-dev] Gdal_translate + Google + Wgs84

2011-12-02 Thread Travis Kirstine
Roger, It appears that you are attempting to use the GDAL TMS driver to convert Google Maps Data into a Geotiff, this would be a violation of the Google Maps Terms and Conditions: http://www.google.com/intl/en_ALL/help/terms_local.html Regards On 2 December 2011 09:22, Chaitanya kumar CH

RE: [gdal-dev] Call to users and devs - ESRI .prj files needed for testing

2011-12-02 Thread Martin Daly
Martin, thanks for this reference! It seems that the dattrans.htm file contains datum transformations used by ESRI, with a number of methods. Would it make any sense to use that information (using a new derived .csv file) to add TOWGS84 parameters to ESRI WKT definitions, instead of

RE: [gdal-dev] Call to users and devs - ESRI .prj files needed for testing

2011-12-02 Thread Martin Daly
I'm not sure I understand. one of these standard ones refers to the WKT definitions by ESRI? In that case, we could compare the given WKT (in .prj file), and lookup the associated ESRI code, matching it to EPSG code. Correct. Are you suggesting that we could use the GDAL definition (as

Re: [gdal-dev] GTiff format does not preserve WKT EXTENSION nodes?

2011-12-02 Thread Frank Warmerdam
On 11-12-02 05:31 AM, Etienne Tourigny wrote: Hi all, I have been trying to override the MODIS WKT definition (derived from the source HDF4 files using gdal_translate), which apparently is not sufficient for correct transformations. The correct srs is '+proj=sinu +R=6371007.181 +nadgrids=@null

RE: [gdal-dev] GDAL Ruby Bindings

2011-12-02 Thread Ethan Alpert
Does anyone know if this made it into 1.8.1? The bug is closed but my ruby compile with swig 2.04 is still failing. From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Jim Klassen Sent: Thursday, March 17, 2011 8:21 AM To: gdal-dev@lists.osgeo.org

Re: [gdal-dev] GDAL Ruby Bindings

2011-12-02 Thread Even Rouault
Le vendredi 02 décembre 2011 22:19:36, Ethan Alpert a écrit : Does anyone know if this made it into 1.8.1? The bug is closed but my ruby compile with swig 2.04 is still failing. According to the comments in the ticket, this was pushed in the developement version (1.9.0dev), but not backported

RE: [gdal-dev] GDAL Ruby Bindings

2011-12-02 Thread Ethan Alpert
Thanks that's what I just discovered. I applied the patches to 1.8.1 and now have successfully built ruby bindings for 1.8.1 -e -Original Message- From: Even Rouault [mailto:even.roua...@mines-paris.org] Sent: Friday, December 02, 2011 2:31 PM To: gdal-dev@lists.osgeo.org Cc: Ethan

[gdal-dev] how to get gis layer information from GeoPDF (e.g. retrieve building polygon coordinates)

2011-12-02 Thread Jared Rubin
I am looking at a few sample GeoPDF files in acrobat reader. For example to retrieve the Parcel lot features from the Town of OakVille example http://acrobatusers.com/gallery/geospatial Is this layer information available from the gdal pdf driver. I have successfully built the gdal trunk using

Re: [gdal-dev] how to get gis layer information from GeoPDF (e.g. retrieve building polygon coordinates)

2011-12-02 Thread Jared Rubin
Even, Would it be possible to do an ogr driver to get the vector features (I guess similar to shape files? Or maybe update the pdf driver to dump each indivual vector feature into gdal metadata? I'm not too familiar with GeoPDF, I just have seen how Adobe allows for selection of specific

Re: [gdal-dev] how to get gis layer information from GeoPDF (e.g. retrieve building polygon coordinates)

2011-12-02 Thread Frank Warmerdam
Jared, I looked into the Poppler library a while ago and decided it was possible to use it in a way that would allow extracting features at the vector level from GeoPDF. However, it also looked to be quite a complex task and it would be capturing vector drawing primitives which might not be 1:1

Re: [gdal-dev] how to get gis layer information from GeoPDF (e.g. retrieve building polygon coordinates)

2011-12-02 Thread Jared Rubin
I believe I also have access to corresponding files of my GeoPDF samples in ESRI Personal GeoDatabase .mdb format. So maybe I am better off just trying to use GDAL's ESRI database driver. thanks Jared On 12/2/11 3:30 PM, Frank Warmerdam warmer...@pobox.com wrote: Jared, I looked into the

Re: [gdal-dev] how to get gis layer information from GeoPDF (e.g. retrieve building polygon coordinates)

2011-12-02 Thread Even Rouault
Le vendredi 02 décembre 2011 23:19:10, Jared Rubin a écrit : Even, Would it be possible to do an ogr driver to get the vector features (I guess similar to shape files? Or maybe update the pdf driver to dump each indivual vector feature into gdal metadata? A OGR driver would perhaps be

Re: [gdal-dev] how to get gis layer information from GeoPDF (e.g. retrieve building polygon coordinates)

2011-12-02 Thread Brent Fraser
I wonder if it would be possible to leverage pstoedit (http://www.pstoedit.net/)? I've used it with Ghostview to extract PDF vectors to DXF (with no georeferencing of course) with varying success. Best Regards, Brent Fraser On 12/2/2011 3:37 PM, Even Rouault wrote: Le vendredi 02 décembre