Closed GoogleCodeExporter closed 9 years ago
see: http://code.google.com/p/marinemap/issues/detail?id=415
Original comment by sfletche@gmail.com
on 22 Nov 2010 at 9:56
nearly finished. remaining problem with date_modified and aoi_modified_date
fields showing as NULL when exported from chinook (doesn't occur when exporting
from local machine). this happens even though the table in the chinook db
shows values for both of these attributes...not sure why this is happening...
Original comment by sfletche@gmail.com
on 24 Nov 2010 at 1:51
figured out what was happening with the unexpected NULL field values...
sometime after 1.6.3 gdal changed Layer.CreateField so that it truncates the
field names to 10 characters or less. this prevented the command
Feature.SetField from finding the field name (using the non-truncated field
name as a lookup).
changed SetField to use ordinal lookup rather than by name, and this seems to
be working for all platforms and all versions of gdal.
Original comment by sfletche@gmail.com
on 9 Dec 2010 at 9:17
Original issue reported on code.google.com by
sfletche@gmail.com
on 2 Nov 2010 at 7:20