support for postgis 2.0 usage of 0 for an undefined srid