mapserver/tinyows — pull request #10 by sdikiy (2012-07-04 10:34:19+00:00)
Title: dirty hack for srid=900913

Hi,

some explanations:

1) PostGIS use auth_name="spatialreferencing.org" for srid=900913
see https://raw.github.com/postgis/postgis/svn-trunk/spatial_ref_sys.sql

2) As a result, the query
```
http://hostname/cgi-bin/tinyows?service=WFS&version=1.0.0&request=GetCapabilities
```
return:
```xml
...
spatialreferencing.org:900913
...
```
3) Some programs, like QGIS, use SRS in GetFeature reguest
```
http://hostname/cgi-bin/tinyows?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=foo:foo&SRSNAME=spatialreferencing.org:900913
```
and tinyows return:
```xml

srsName value use an unsupported value, for requested layer(s)

```

Please review and commit, thanks.

PS: there is a problem only for wfs 1.0.0