| 01:37:41 | chiossif: | Watching on line Arnulf Christl at multimedia room at ntua on eellak conference - It is OK now #ellakconf |
| 01:38:06 | chiossif: | http://live.ellak.gr/work1.php |
| 02:30:17 | chiossif: | @ Arnulf Christl: Thank you. http://www.pixeljoint.com/files/icons/full/pjclap.gif #ellakconf |
| 19:56:32 | Bec: | Hello |
| 19:57:51 | Bec: | If anyone's around. I'm a ogr/gdal newbie and I'm having trouble setting fields in a shapefile. Any help would be really appreciated. |
| 20:01:57 | FrankW: | Bec: what are you doing now? |
| 20:02:57 | Bec: | right now? being thankful that someone's here |
| 20:03:14 | FrankW: | :- ) |
| 20:03:20 | FrankW: | How are you trying to set the fields? |
| 20:05:49 | Bec: | ahhhhhh. Right. Just field.Unset( <fieldname> ), followed by field.SetField( <fieldname>, <value> ). I think that's it. It works in the script but once I open the shapefile it hasn't changed. |
| 20:06:41 | hobu: | http://osgeo.pastebin.com relevant portions of yoru script please |
| 20:06:42 | sigq: | Title: osgeo private pastebin - collaborative debugging tool ( at osgeo.pastebin.com ) |
| 20:11:54 | Bec: | right. I think I've pasted it. |
| 20:13:50 | : | * FrankW takes a peek. |
| 20:14:16 | Bec: | I'm not doing anything special. I just want to update a field. |
| 20:15:20 | FrankW: | I'm afraid you haven't provided much context. |
| 20:15:48 | FrankW: | I will note that it isn't sufficient to modify the feature in memory, you also need to write it back to disk using SetFeature( ) on the layer and passing in the modified memory feature. |
| 20:15:53 | FrankW: | Many people miss this step. |
| 20:19:43 | Bec: | I set the feature down in the main program and pass in the ( hopefully ) modified feature there. I'll paste that bit in the groovy pastebin section. |
| 20:21:08 | FrankW: | btw, normally you should paste the url of your pastebin upload here for us to follow easiliy. |
| 20:24:03 | Bec: | did I mention I don't have a clue what I'm doing.... |
| 20:24:20 | Bec: | http://osgeo.pastebin.com/d7f1031e3 |
| 20:24:22 | sigq: | Title: osgeo private pastebin - collaborative debugging tool ( at osgeo.pastebin.com ) |
| 20:24:34 | FrankW: | np |
| 20:25:45 | FrankW: | the procedure looks reasonable as written. |
| 20:31:49 | Bec: | really? I was hoping for glaring error with flashing lights. well thanks for your help. |
| 20:35:41 | : | * FrankW crashes... |