Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: Help needed - in-memory creation of shapefile

$
0
0
Thanks Paul. Made the changes that you suggested, but still no success. Tried both in-memory shapefile and on-disk shapefile. Neither method populates the dbf field with the required information. Furthermore, with the in-memory version, the StopEditingShapes returns a False value, but the LastErrorCode is zero, so there is no error message. I presume this is expected behaviour with in-memory version With the on-disk version, StopEditingShapes is successful.

I tried checking the value immediately after writing into the table, and found puzzling results. Should I be able to read back the value immediately, or is there some additional step required? Excerpt from my code:

bSuccess = sf.EditCellValue(iIDIndex, i, !ConsolidatedID) ' always successful
var = sf.CellValue(iIDIndex, i) ' always empty

I appreciate the help!

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>