[gdal-dev] SOS! Zero pixel values in the output! Please help!

2011-02-04 Thread user gdal
Dear all, I am new to GDAL and I was at fault in being too hasty in asking for an advanced topic in my previous post. I am facing a fundamental difficulty. The problem is to retrieve projection and pixel data etc. from a source ERDAS .img file and copy 'as it is' to another file. For this, I

Re: [gdal-dev] gdalbuildvrt

2011-02-04 Thread Aníbal Pacheco
On 02/03/2011 04:59 PM, Frank Warmerdam wrote: On 11-02-03 01:30 PM, Aníbal Pacheco wrote: Hi, I'm using gdalbuildvrt to produce a virtual raster layer which can then used in Mapnik and its ogcserver(WMS), everything works except that the result image is black white and with a very poor

Re: [gdal-dev] Compiling only OGR

2011-02-04 Thread Frank Warmerdam
On 11-02-04 02:54 AM, Helm, P.W. (Pim) van den wrote: Hi all, I am using only vertex calculation (OGR part) of GDAL. Using the GDAL library does the work perfectly, but I think this 6mb+ dll is rather large for my usage only. Pim, If you really want to trim down GDAL/OGR you will likely have

Re: [gdal-dev] gdalbuildvrt

2011-02-04 Thread Marius Jigmond
Aníbal, Have you tried opening the .vrt file with a text editor? For each source .tif there should be three entries in the .vrt file (one per band). What does gdalinfo source.tif say? -marius On Fri, 2011-02-04 at 11:41 -0200, Aníbal Pacheco wrote: On 02/03/2011 04:59 PM, Frank Warmerdam

[gdal-dev] Online Shapefile Viewer

2011-02-04 Thread Mohammed Rashad
Hi, Sorry if my post doesnt belong this ML. I am posting because gis users may find this application useful. here is an online shapefile viewer which reads shapefile using OGR and rendered on webpage. http://lsi.iiit.ac.in/lsi/shpviewer/ Here the shapefile is directly rendered without mapserver,

[gdal-dev] gdal_rasterize 1.8.0 options

2011-02-04 Thread Marius Jigmond
Hi Everyone, Some of the options (I didn't test all) introduced with version 1.8.0 seem to behave strangely. Here's what I'm doing: 1. gdal_rasterize -burn 0 -i -l mask mask.shp sample.tif works fine but I get the following warning: Warning : the output raster dataset and the input vector layer

Re: [gdal-dev] gdal_rasterize 1.8.0 options

2011-02-04 Thread Marius Jigmond
Eli, Both input datasets (mask and raster) exist, which is why 1. works. Option 1 doesn't use any of version 1.8.0 flags, which is why I thought something else was introduced behind the scenes with the new flags. -marius On Fri, 2011-02-04 at 12:08 -0800, Eli Adam wrote: Marius, I don't

Re: [gdal-dev] gdal_rasterize 1.8.0 options

2011-02-04 Thread Eli Adam
Marius, I don't know about 1. but possibilities for 2. and 3 below. Hi Everyone, Some of the options (I didn't test all) introduced with version 1.8.0 seem to behave strangely. Here's what I'm doing: 1. gdal_rasterize -burn 0 -i -l mask mask.shp sample.tif works fine but I get the

[gdal-dev] possible (probably) dumb question w.r.t to OpenGrADS and GDAL

2011-02-04 Thread Matt Funk
Hi, i am fairly new to the earth science field and its implementation in terms of programming. I had a question that is probably fairly obvious to most: What is the difference/relationship between gdal and opengrads (or does there even exist such a relationship?). Is one build on top of the

Re: [gdal-dev] gdal_rasterize 1.8.0 options

2011-02-04 Thread Marius Jigmond
On Sat, 2011-02-05 at 00:06 +0100, Even Rouault wrote: Le vendredi 04 février 2011 20:25:43, Marius Jigmond a écrit : Hi Everyone, Some of the options (I didn't test all) introduced with version 1.8.0 seem to behave strangely. Here's what I'm doing: 1. gdal_rasterize -burn 0 -i -l

[gdal-dev] error adding ecw on Ubuntu 10.4 (lucid)

2011-02-04 Thread Matt Wilkie
Hi Folks, I'm trying to add ECW read support to gdal in Ubuntu 10.4 (Lucid) amd64 and not having much luck. The end goal is simply to be able to view ecw images in QGIS. What I've tried to date follows. Edited for space, things were not actually installed all at the same time or in the order as