Skip to content
Prev 7678 / 29559 Next

problem writing GML file

On Sun, Feb 21, 2010 at 9:28 PM, Michael Denslow
<michael.denslow at gmail.com> wrote:
That's weird - writeOGR looks like it should output the type and class
of the column when it gets this problem:

else stop(paste(dfcls[i], dftof[i], "unknown data type"))

 - unless you're on a different version. Try running writeOGR in debug
mode - do:

debug(writeOGR)

then run your writeOGR function call. Hit return to step a line at a
time, and inspect variables. Or how about cutting some of your
variables out and seeing what fixes it/breaks it?

your sp object only seemed to have factors, numbers, and logicals and
so writeOGR shouldnt have any problem with it...

Barry