It's possible to define the parent node while editing an object. I'm afraid I don't have the syntax available at hand, but I'd suggest you to follow that option and create a select with the categories on your template to populate the list of available locations.