You can use the WITH operator to select the patches of interest.
You can use the SPROUT command to make a patch sprout one or more
turtles and make those turtles run commands to initialize themselves.
e.g.:
ask patches with [ landuse-code = 47 ] ;; select patches
[ ;; the patches run this code
hatch 1 ;; make a turtles
[ ;; the turtle runs this code
set breed breed-47
set color blue
set shape "house"
set size 1.5
;; and so on...
]
]
~~james
On Thu, Mar 27, 2008 at 12:31 PM, olaniyi1979 < olaniyi1979%40yahoo.com">olaniyi1979
yahoo.com> wrote:
> I am new to Netlogo, i am working on a GIS map i inputted to the
> netlogo through an ascii file. However i want to create turtles on
> specific patches through their values.
> Does anyone has an idea about a way to go about doing this, or perhaps
> the code i can use for this .
>
>
>
> Olaniyi Vincent Odunuga
> Department of Urban and Regional Planning and Geo-Information
> Management & Applications (PGM),
> International Institute for Geo-Information Science and Earth
> Observation (ITC),
> PO Box 6, 7500 AA Enschede, The Netherlands.
> Tel: +31-534874258
> Fax: +31-534874575
> E-mail: odunuga17392%40itc.nl">odunuga17392
itc.nl
> http://www.itc.nl
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
.