Re: [gdal-dev] Can't get gdal_rasterize to work... with anything.

2014-12-14 Thread Andre Joost
I guess you are getting an empty image because you have not told gdal which field includes the height data. I was successful with gdal_rasterize -a HAEDDYPIME -ts 5000 3000 -l is50v_haedarlinur_24122013 D:/Download/NEU/IS50V_HAEDARGOGN_24122013_ISN2004/IS50V_HAEDARGOGN_SHP/is50v_haedarlinur_241

Re: [gdal-dev] Can't get gdal_rasterize to work... with anything.

2014-12-14 Thread Andre Joost
Am 14.12.2014 um 01:02 schrieb Karen Pease: And there's also the whole different dataset HAEDARLIKAN_LMI which contains an img and a 1 gig ige file, but it looks like they're not supported by gdal. You are right that the .ige file is not supported, but take the .img and you get the DEM data

Re: [gdal-dev] Can't get gdal_rasterize to work... with anything.

2014-12-13 Thread Karen Pease
I'm installing qgis right now to try, hopefully it's not too complicated. I think haedarpunkar is just mountain peaks, not full details providing the contour like the polygons are - when I rendered it out with gdal_rasterize the points were very sparse. I know nothing about the internal details o

Re: [gdal-dev] Can't get gdal_rasterize to work... with anything.

2014-12-13 Thread Ari Jolma
Karen, What is the field with the elevations? I tried with HAEDDYPIME: gdal_grid -of GTiff -l is50v_haedarpunktar_24122013 -outsize 1000 1000 -zfield HAEDDYPIME is50v_haedarpunktar_24122013.shp x.tiff Grid data type is "Float64" Grid size = (1000 1000). Corner coordinates = (248491.242441 674

Re: [gdal-dev] Can't get gdal_rasterize to work... with anything.

2014-12-13 Thread Karen Pease
The problem exists when I output straight to a PNM as well, not just with geotiff. Can you give me an example gdal_grid command which actually works to create a heightmap image that your average program can read? Because I'm getting nowhere. :( For example, as a test: gdal_grid -ot Byte -of PNM -

Re: [gdal-dev] Can't get gdal_rasterize to work... with anything.

2014-12-13 Thread Ari Jolma
13.12.2014, 18:07, Karen Pease kirjoitti: Okay, so, I think this may be getting me a bit closer to a solution. The output image of your command still wasn't viewable to me, either in gimp or gwenview. However, when I used ImageMagick to convert it to a PNG or other format, for the first time I s

Re: [gdal-dev] Can't get gdal_rasterize to work... with anything.

2014-12-13 Thread Karen Pease
Okay, so, I think this may be getting me a bit closer to a solution. The output image of your command still wasn't viewable to me, either in gimp or gwenview. However, when I used ImageMagick to convert it to a PNG or other format, for the first time I saw some detail, so I guess it's a tif format

Re: [gdal-dev] Can't get gdal_rasterize to work... with anything.

2014-12-13 Thread Ari Jolma
Karen, For example this command on my computer gdal_rasterize -burn 1 -l is50v_mannvirki_flakar_24122013 -of GTiff -ts 1000 1000 is50v_mannvirki_flakar_24122013.shp x.tiff produces a 1000 x 1000 geotiff which is mostly zeros except ones where the polygons are. Can you tell us what command

[gdal-dev] Can't get gdal_rasterize to work... with anything.

2014-12-12 Thread Karen Pease
Hi all, I'm running Fedora 21 with a fresh built gdal-1.9.2. Try as I might, I can't get gdal_rasterize to output anything other than purely transparent images, purely white images, or purely black images. I want to use it on this dataset - "Elevation data. GDB og SHP. ISN2004": http://atlas.l