Skip to content
Prev 7853 / 29559 Next

writeOGR issue in dbf

On Thu, 18 Mar 2010, Robert J. Hijmans wrote:

            
Since OGR uses drivers, incorporating lots of driver-specific fixes is not 
a practical solution, as many others accept field names that DBF chokes 
on. If I get a well-tested patch in R for writeOGR() with no side-effects, 
I might consider it. There is C code in foreign/src/Rdbfwrite.c, but I 
think that it will permit a leading underscore - it crops to 11 characters 
plus a closing \0. The only driver-specific check in writeOGR() now is to 
to warn when KML files not in geographical coordinates are written.

Roger