[{"data":1,"prerenderedAt":325},["ShallowReactive",2],{"/gis/create-turtles-from-points-manual":3,"/gis/create-turtles-from-points-manual-surround":314},{"id":4,"title":5,"body":6,"description":280,"extension":281,"meta":282,"navigation":300,"path":310,"seo":311,"stem":312,"__hash__":313},"content/gis/create-turtles-from-points-manual.md","GIS Extension Dictionary: create-turtles-from-points-manual",{"type":7,"value":8,"toc":269},"minimark",[9],[10,11,15,16,15,26,57,75,106,116,119],"div",{"className":12,"id":14},[13],"dict_entry","create-turtles-from-points-manual","\n  ",[17,18,20,21,15],"h3",{"id":19},"giscreate-turtles-from-points-manual","\n    ",[22,23,25],"a",{"href":24},"#create-turtles-from-points-manual","gis:create-turtles-from-points-manual",[27,28,32],"h4",{"id":29,"className":30},"giscreate-turtles-from-points-manual-vector-dataset-breed-property-mapping-commands",[31],"section-heading",[22,33,20,37,15],{"className":34,"href":36},[35],"section-anchor","#----giscreate-turtles-from-points-manual-vector-dataset-breed-property-mapping-commands--",[38,39,42,43,47,48,47,51,47,54],"span",{"className":40},[41],"prim_example","gis:create-turtles-from-points-manual ",[44,45,46],"i",{},"vector-dataset"," ",[44,49,50],{},"breed",[44,52,53],{},"property-mapping",[44,55,56],{},"commands",[58,59,60,61,74],"p",{},"Like ",[62,63,66],"primitive",{"displayText":64,"permalink":65},"gis:create-turtles-from-points","gis",[22,67,64],{"className":68,"dataDisplayText":64,"href":70,"rel":71,"target":73,"title":64},[69],"netlogo-wiki-link","/gis#create-turtles-from-points",[72],"noopener","_self",", creates a turtle for each point in a\nVectorDataset of points and populates their variables with the values of\ncorresponding gis properties.",[58,76,77,78],{},"This primitive can be used to specify\nadditional mappings between gis property names and NetLogo variable names.\nThese mappings are specified as a list of lists of strings like so:\n",[79,80,81,82,47,88,92,93,47,96,99,100,105],"code",{},"[[",[38,83,87],{"className":84},[85,86],"token","string","\"property-name\"",[38,89,91],{"className":90},[85,86],"\"turtle-variable-name\"","] [",[38,94,87],{"className":95},[85,86],[38,97,91],{"className":98},[85,86],"] (",[38,101,104],{"className":102},[85,103],"variable","etc.",")]",[58,107,108,109,115],{},"These manual mappings modify the automatic mapping process that takes\nplace in the ",[62,110,111],{"displayText":64,"permalink":65},[22,112,64],{"className":113,"dataDisplayText":64,"href":70,"rel":114,"target":73,"title":64},[69],[72]," primitive, so you only need\nto specify the changes you want to make to the default mappings, and\nthe rest of the mappings will be untouched.",[58,117,118],{},"To return to the cities example from the\ncreate-turtles-from-points entry, the variable name “capital” is not very\ndescriptive. something like “is-capital?” fits the NetLogo style much better.\nTo make that change, you would modify the example like so.",[120,121,122],"pre",{},[79,123,124,129,130,133,134,129,140,47,144,133,148,129,154,47,158,47,162,47,166,133,170,129,176,133,180,182,47,188,192,194,195,47,200,47,203,47,207,211,194,213,218,194,220,47,223,47,226,229,230,47,234,238,239,241,242,47,245,47,250,254,256,257,194,259,263],{},[38,125,128],{"className":126},[85,127],"keyword","extensions"," [",[38,131,65],{"className":132},[85,103],"]",[38,135,137,50],{"className":136},[85,127],[138,139],"br",{},[38,141,143],{"className":142},[85,103],"cities",[38,145,147],{"className":146},[85,103],"city",[38,149,151,153],{"className":150},[85,127],[138,152],{},"cities-own",[38,155,157],{"className":156},[85,103],"name",[38,159,161],{"className":160},[85,103],"country",[38,163,165],{"className":164},[85,103],"population",[38,167,169],{"className":168},[85,103],"is-capital?",[38,171,173,175],{"className":172},[85,127],[138,174],{},"globals",[38,177,179],{"className":178},[85,103],"cities-dataset",[138,181],{},[38,183,185,187],{"className":184},[85,127],[138,186],{},"to",[38,189,191],{"className":190},[85,103],"setup",[138,193],{},"  ",[38,196,199],{"className":197},[85,198],"command","set",[38,201,179],{"className":202},[85,103],[38,204,206],{"className":205},[85,103],"gis:load-dataset",[38,208,210],{"className":209},[85,86],"\"cities.shp\"",[138,212],{},[38,214,217],{"className":215},[85,216],"comment",";; Since we only want to change how the \"CAPITAL\" property is mapped, we only need to specify that one change.",[138,219],{},[38,221,25],{"className":222},[85,103],[38,224,179],{"className":225},[85,103],[38,227,143],{"className":228},[85,103]," [[",[38,231,233],{"className":232},[85,86],"\"CAPITAL\"",[38,235,237],{"className":236},[85,86],"\"is-capital?\"","]] [",[138,240],{},"    ",[38,243,199],{"className":244},[85,198],[38,246,249],{"className":247},[85,248],"reporter","shape",[38,251,253],{"className":252},[85,86],"\"circle\"",[138,255],{},"  ]",[138,258],{},[38,260,262],{"className":261},[85,216],";; Each city turtle still has a name, country, and population set just like the non-manual version.",[38,264,266,268],{"className":265},[85,127],[138,267],{},"end",{"title":270,"searchDepth":271,"depth":272,"links":273},"",5,3,[274],{"id":19,"depth":272,"text":275,"children":276},"\n    gis:create-turtles-from-points-manual\n  ",[277],{"id":29,"depth":278,"text":279},4,"\n    gis:create-turtles-from-points-manual vector-dataset breed property-mapping commands\n  ","Documentation for the create-turtles-from-points-manual primitive.","md",{"source":283,"metadataOutputPath":284,"projectConfig":285,"language":293,"inheritFrom":301,"output":300,"version":286,"layout":302,"dictionaryDisplayName":303,"dictionaryHomeDirectory":304,"indexFileURI":305,"currentItemId":14,"currentItemLabel":25,"primRoot":65,"netlogoUrl":306,"icon":307,"extensionName":308,"assetsRoot":288},"../../external/extensions/gis/gis/create-turtles-from-points-manual.md","content/gis/create-turtles-from-points-manual.metadata.yaml",{"version":286,"projectRoot":287,"scanRoot":288,"outputRoot":289,"defaults":290,"engine":296,"partials":297,"dedupeIdenticalDiskWrites":300},"7.0.4",".","/home/runner/work/Helio/Helio/external/extensions/gis","content",{"inheritFrom":291,"language":293,"output":294,"extension":281,"title":295,"version":286},[292],0,"en",false,"NetLogo User Manual","mustache",{"directoryPaths":298,"extensions":299},[287],[296,281],true,[292],"catalog","GIS Extension Dictionary","/gis.html","/_index/extensions/gis.txt","http://ccl.northwestern.edu/netlogo/docs/","i-lucide-map-pin",{"shortName":65,"fullName":309},"GIS","/gis/create-turtles-from-points-manual",{"title":5,"description":280},"gis/create-turtles-from-points-manual","0Eqtvne8ZLdU_3OZNobcn1DU57ALBTHYuMQgmoUfCxA",[315,320],{"title":316,"path":317,"stem":318,"description":319},"GIS Extension Dictionary: create-turtles-from-points","/gis/create-turtles-from-points","gis/create-turtles-from-points","Documentation for the create-turtles-from-points primitive.",{"title":321,"path":322,"stem":323,"description":324},"GIS Extension Dictionary: create-turtles-inside-polygon","/gis/create-turtles-inside-polygon","gis/create-turtles-inside-polygon","Documentation for the create-turtles-inside-polygon primitive.",1777657865932]