added some gis tests for monetdb
more fixes to PA generation
various fixes