Re: [gdal-dev] shape file to GMT dem file

2013-01-30 Thread Tyler Mitchell
Glad you had some success Murat! Are you okay now or you have more questions? Best wishes, Tyler On 2013-01-30, at 12:49 AM, Murat Beyhan wrote: Dear Tyler, I really thank you, you gave me very useful hints. Yes As you say I have obtain point data from shape file than I use Qgis to obtain

[gdal-dev] shape file to GMT dem file

2013-01-29 Thread Murat BEYHAN
Dear All, Is it possible to obtain dem grid data from shapefile using gdal or ogr. info about shape file as follows murat@murat:~/maps$ ogrinfo -so -al e34c3_n.shp INFO: Open of `e34c3_n.shp' using driver `ESRI Shapefile' successful. Layer name: e34c3_n Geometry: Line String Feature

Re: [gdal-dev] shape file to GMT dem file

2013-01-29 Thread Tyler Mitchell
gdal_grid command can convert OGR to GDAL formats, but you need to only have point data. Your line shape file won't work with it. So if you can convert your lines into a set of points, and you will need a Z or elevation point or attribute to point gdal_grid to. Perhaps you already have the