Re: [gdal-dev] Labeling rasters

2011-05-19 Thread Jerl Simpson
Thanks Hernán, that's actually what I'm working on this morning. 2011/5/19 Hernán De Angelis : > Generic Mapping Tools (http://gmt.soest.hawaii.edu/) > > H. > > > 2011/5/16 Jerl Simpson : >> Ok, thank you. >> >> Does anyone else have any suggestions? >> >> >> >> On Mon, May 16, 2011 at 3:06 PM, Ch

Re: [gdal-dev] Labeling rasters

2011-05-19 Thread Hernán De Angelis
Generic Mapping Tools (http://gmt.soest.hawaii.edu/) H. 2011/5/16 Jerl Simpson : > Ok, thank you. > > Does anyone else have any suggestions? > > > > On Mon, May 16, 2011 at 3:06 PM, Chaitanya kumar CH > wrote: >> Jerl, >> >> I'm afraid gdal_rasterize can't do the labelling. You will need a >> s

Re: [gdal-dev] Labeling rasters

2011-05-16 Thread Simon Lyngby Kokkendorff
Hi Jerl, If you have python with matplotlib and the gdal bindings installed, you can use gdal to read the DEM (which I assume you are getting gdal_contour to draw contours from), and then matplotlibs contour-function to draw the labelled contours. You can draw on top of an imported map/image-fi

Re: [gdal-dev] Labeling rasters

2011-05-16 Thread Jerl Simpson
Ok, thank you. Does anyone else have any suggestions? On Mon, May 16, 2011 at 3:06 PM, Chaitanya kumar CH wrote: > Jerl, > > I'm afraid gdal_rasterize can't do the labelling. You will need a > specialized renderer for that. I'm not familiar with any of the desktop > applications that do this.

Re: [gdal-dev] Labeling rasters

2011-05-16 Thread Chaitanya kumar CH
Jerl, I'm afraid gdal_rasterize can't do the labelling. You will need a specialized renderer for that. I'm not familiar with any of the desktop applications that do this. Perhaps, qgis has a plugin. On Tue, May 17, 2011 at 1:30 AM, Jerl Simpson wrote: > I already have the resultant image, it lo

Re: [gdal-dev] Labeling rasters

2011-05-16 Thread Jerl Simpson
I already have the resultant image, it looks great. Just drawing lines on a map. I'm using a blank image so I can more clearly see what's going on. It's just a black and white image, and that's all I want. I'm trying to get the contour labeled, so I know which one I'm viewing. So on the 1000 c

Re: [gdal-dev] Labeling rasters

2011-05-16 Thread Chaitanya kumar CH
Jerl, The contour attribute and the Z values are same here. Just one of them is enough. With the Z values near the magnitude of 1000, the burn value of 255 is not going to make much of a difference. Use it if you want to offset any negative Z values. You should mention contour.shp instead of jus

[gdal-dev] Labeling rasters

2011-05-16 Thread Jerl Simpson
Hi guys and gals: I have something that's evading me. I have a basic ESRI Shape file (created using gdal_contour) that I run through gdal_rasterize to generate very nice looking contour map. But I want the value of the contour in there. I've been trying different things with the -a option, but