Changes between Version 51 and Version 52 of ZooWorkshop/FOSS4GJapan/CreatingOGRBasedWebServices
- Timestamp:
- Oct 16, 2010, 2:29:40 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ZooWorkshop/FOSS4GJapan/CreatingOGRBasedWebServices
v51 v52 227 227 228 228 Please note that the {{{setMapInMaps}}} function is able to create or update an existing {{{map}}}. Indeed, if a {{{map}}} called « value » allready exists, then its value will be updated automatically. 229 230 Even if you will mainly use {{{map}}} from {{{maps}}} during this workshop, you can also add or update values in a {{{map}}} directly using the {{{addToMap}}} function defined in {{{zoo-kernel/service.h}}}. The {{{addToMap}}} function take three paramters : 231 232 * {{{m}}} : a {{{map}}} pointer you want to update, 233 * {{{n}}} : the name of the {{{map}}} you want to add or update the value, 234 * {{{v}}} : the value you want to set in this {{{map}}}. 229 235 230 236 This datatype is really important cause it is used in every C based ZOO Services. It is also the same representation used in other languages but using their respectives datatypes. For Example in Python, the dictionaries datatype is used, so manipulation is much easier.