The first example should be using the category slug, so just double check you have a slug “nsw”.
In the second, “category” isn’t valid, you need to use “cat”:
See here for some examples:
You can also put a little code in your theme to see what WordPress would output for a query – without using a map:
<?php $query = new WP_Query( 'cat=7' ); print_r($query->posts); ?>