Re: [gdal-dev] grouping shapefiles

2010-10-19 Thread Jayesh Chaudhary
On Tue, Oct 19, 2010 at 3:08 PM, Dan Putler wrote: > Hi Jayesh, > > I think the short answer is "no". A shapefile can only deal with one > geometry layer at a time by construction. Thanks, I know this. > To handle multiple layers in the same file, folks have gone to geospatial > databases, wh

[gdal-dev] Re: Testing Geospatial PDF support

2010-10-19 Thread Brent Fraser
Evan, For the original PDF, gdalinfo shows: Driver: PDF/Geospatial PDF Files: my.pdf Size is 7487, 5229 Coordinate System is: PROJCS["WGS_1984_UTM_Zone_35N", GEOGCS["GCS_WGS_1984", DATUM["WGS_1984", SPHEROID["WGS_1984",6378137.0,298.257223563]], PRIMEM["Greenwich

[gdal-dev] Re: Testing Geospatial PDF support

2010-10-19 Thread Eli Adam
There are more geospatial pdfs available here: http://nationalmap.gov/ustopo/index.html - then click on 'Download Maps (Map Store)' on the left side. Then you need to place a marker, then click the marker, then hit download. I've not worked with them very much yet. Bests, Eli >>> Even Rouau

Re: [gdal-dev] grouping shapefiles

2010-10-19 Thread Dan Putler
Hi Jayesh, I think the short answer is "no". A shapefile can only deal with one geometry layer at a time by construction. To handle multiple layers in the same file, folks have gone to geospatial databases, where each table is a separate layer if the table has a geometry column. An "open" form

[gdal-dev] Re: Testing Geospatial PDF support

2010-10-19 Thread Even Rouault
Brent, I'm not sure what you find is wrong. What does gdalinfo returns ? The PDF driver will reproject the coordinates of the GPTS array from geographic into UTM 35N and try to build a geotransform matrix from that. The matrix may have rotating terms, so you likely need to use gdalwarp afterwar

[gdal-dev] grouping shapefiles

2010-10-19 Thread Jayesh Chaudhary
I know I can merge shapefiles using ogr2ogr but is there a way to group them? So that each layer can be separate and we just send users a single file (other then zip)? I don't know any but wondering if someone. Thanks, ___ gdal-dev mailing list gdal-dev

[gdal-dev] Testing Geospatial PDF support

2010-10-19 Thread Brent Fraser
Even, I've tested a couple of Geospatial PDFs with the code that's in GDAL trunk. The Canadian topos work well (e.g. ftp://ftp2.cits.rncan.gc.ca/pub/cantopo/50k_geopdf/085/b/cantopo_085b14_geopdf.zip). They were produced using ESRI ArcMap 9.2.6.1500. I get a properly geo-referenced G

Re: [gdal-dev] DTED Elevations with Java and gdal

2010-10-19 Thread Even Rouault
George, It's not appropriate to convert from DTED to PNG. See the warning of gdal_translate : DTED is signed 16 bits, but PNG can only support unsigned 16 bits. So if you translate from DTED to PNG you'll lose the negative values (and in particular the nodata=-32767). I'm not sure why you want

Re: [gdal-dev] gdaldem color-relief color_text_files

2010-10-19 Thread Joaquim Luis
Even, Thanks. It was when I wrote it long time ago. Now fixed. Joaquim, by the way the link to GDAL on Mirone home page (http://w3.ualg.pt/~jluis/mirone) is broken. It should point to http://gdal.org and not to http://remotesensing.org/gdal Le mardi 19 octobre 2010 12:08:14, Joaquim Luis a é

[gdal-dev] DTED Elevations with Java and gdal

2010-10-19 Thread Corrado, George P.
Hello, Does anyone have a java example on how to get elevations from a .dt1 file. My ultimate goal would be to take a .dt1, translate it to a png, and then feed the png into gdal to get elevations and coordinates. I ran the gdal_translate on one of my .dt1 files and came up with this. Note:

Re: [gdal-dev] gdaldem color-relief color_text_files

2010-10-19 Thread Even Rouault
Joaquim, by the way the link to GDAL on Mirone home page (http://w3.ualg.pt/~jluis/mirone) is broken. It should point to http://gdal.org and not to http://remotesensing.org/gdal Le mardi 19 octobre 2010 12:08:14, Joaquim Luis a écrit : > Now that the ability to read GMT .cpt palettes was added

Re: [gdal-dev] building with PDF driver on Windows + ?

2010-10-19 Thread Brent Fraser
To all, Here's a list of steps for building GDAL with KDE-win's poppler.lib on Windows (win32): 1. Install compiler ( MS VC 9 Express Ed.), or better yet use the full MS VC 9 if you have it. http://www.microsoft.com/express/Downloads/#2008-Visual-CPP I don't think the SDK is require

Re: [gdal-dev] gdaldem color-relief color_text_files

2010-10-19 Thread Joaquim Luis
Now that the ability to read GMT .cpt palettes was added to trunk I'll make a little advertise on the Mirone's "Color Palette" tool. It has over a hundred internal color scales and one can manipulate each one of them with lifter and/or click-and-drags. At the end, the color scale can be exported

RE: [gdal-dev] gdaldem color-relief color_text_files

2010-10-19 Thread John Donovan
This isn't quite what you need, but for creating thematic colour schemes, http://colorbrewer2.org/ is a rather neat tool. I suppose it wouldn't be too much of a stretch to interpolate between the colours it generates for a full 256 pallette. -JD From: gdal-dev-b

Re: [gdal-dev] RFC 29 - OGR Ignored Fields Applied in Trunk

2010-10-19 Thread Alexander Bruy
Thanks for this Frank We used this functionality in our project and were forced to compile GDAL with this patch. Also we add this capability to the SQLite driver. I've upload our patch for it this evening 2010/10/19 Frank Warmerdam : > Folks, > > With minor adjustments and the addition of swig bi