Re: [gdal-dev] Anyone tried using ogr2ogr on a remote MySQL db?

2013-01-29 Thread Muskie
Hi Jeff Anyway you can be more specific? I have paid DBA customer service on the host side...but I wasn't having much luck trouble shooting the issue with them. Do you happen to know what they might have to do to configure the site better? They say they've set the ports up for input and outpu

Re: [gdal-dev] Anyone tried using ogr2ogr on a remote MySQL db?

2013-01-29 Thread Jeff Lake
the remote host needs the permissions set properly for the ogr2ogr host to connect to it just using the proper user name/password most times is not enough ... -Jeff Lake MichiganWxSystem.com AllisonHouse.com TheWeatherCenter.net GRLevelXStuff.com On 1/29/2013 21:17, Muskie wrote: I can use o

[gdal-dev] Anyone tried using ogr2ogr on a remote MySQL db?

2013-01-29 Thread Muskie
I can use ogrinfo and ogr2ogr fine on a local MySQL database...but not on a remote site. Can the problem be my provider? Has anyone had successfully connected via remote to upload data using ogr2ogr? If so, where was your site...what type of input did you use for 'host=' (IP?)? -- View this mess

Re: [gdal-dev] dxf linewidth

2013-01-29 Thread Even Rouault
Le mardi 29 janvier 2013 10:48:11, Marco Hugentobler a écrit : > Hi > > I have a question regarding writing the linewith from ogr feature style > in the dxf driver. > In ogrdxfwriterlayer.cpp, linewith is written using code 370. This seems > to work if I open the dxf file with inkscape. However, i

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

2013-01-29 Thread Tyler Mitchell
Do you have elevation data stored in the source data somewhere? You can convert lines to points using QGIS Vector tool -> Extract Nodes, but if you do not have elevation values stored in the attribute table for the lines, it won't help you :) Feel free to share a zipped set of files with me (d

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 point

[gdal-dev] ogr2ogr: Import .dbf and .shp to MySQL in WKT format

2013-01-29 Thread Arielle Simmons
Hi, I have two goals: 1) Use ogr2ogr to get polygon data into MySQL in a non-blob format (i.e. I was hoping for WKT) 2) Get the full polygon dbf table into the same database... I have figured out a way to get data into a MySQL database using (in FWTools Shell). It is a total hack (from wh

[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 Count:

Re: [gdal-dev] onestep vs twostep reproject and change format

2013-01-29 Thread Etienne Tourigny
See http://trac.osgeo.org/gdal/ticket/4484 On Tue, Jan 29, 2013 at 6:19 AM, Even Rouault wrote: > Selon Terry Rankine : > >> Hi Guys >> >> I have an ERS (ermapper) dataset I want to reproject into wsg84 and then >> change the file format to netcdf4. I am using GDAL 1.9.2 linked against >> netcdf

Re: [gdal-dev] dxf linewidth

2013-01-29 Thread Jürgen E . Fischer
Hi Marco, On Tue, 29. Jan 2013 at 10:48:11 +0100, Marco Hugentobler wrote: > I have a question regarding writing the linewith from ogr feature style > in the dxf driver. > In ogrdxfwriterlayer.cpp, linewith is written using code 370. This seems > to work if I open the dxf file with inkscape. H

[gdal-dev] dxf linewidth

2013-01-29 Thread Marco Hugentobler
Hi I have a question regarding writing the linewith from ogr feature style in the dxf driver. In ogrdxfwriterlayer.cpp, linewith is written using code 370. This seems to work if I open the dxf file with inkscape. However, if I open it with TrueView (AutoCAD engine), code 370 has no effect on l

Re: [gdal-dev] onestep vs twostep reproject and change format

2013-01-29 Thread Even Rouault
Selon Terry Rankine : > Hi Guys > > I have an ERS (ermapper) dataset I want to reproject into wsg84 and then > change the file format to netcdf4. I am using GDAL 1.9.2 linked against > netcdf 4.1.3 > > I get different results using the following. > > One step: > * gdalwarp /projects/r17/GA/GSQ_P12

Re: [gdal-dev] strange error

2013-01-29 Thread Terry.Rankine
So the -r options are in the stock standard help screen? Ok - shows I paid attention. I would recommend having it spit out 'x' not recognised as an option - or something similar for the silly people like me who miss type things. Regards, Terry -Original Message- From: gdal-de