[postgis-users] Fixed limits on text functions in PostGIS?
Michael Fuhr
mike at fuhr.org
Tue Jun 19 03:56:03 PDT 2007
On Mon, Jun 18, 2007 at 10:02:18PM -0600, Bruce Rindahl wrote:
> Apparently my issue is with PHP. This is where I am getting null results in
> the asSVG function.
Works here with PHP 5.2.3 and 5.2.2:
$res = pg_query($conn, 'select assvg(the_geom) from floodplain6');
while ($row = pg_fetch_assoc($res)) {
echo 'isset = ', isset($row['assvg']), "\n";
echo 'empty = ', empty($row['assvg']), "\n";
echo 'is_null = ', is_null($row['assvg']), "\n";
echo 'strlen = ', strlen($row['assvg']), "\n";
}
pg_free_result($res);
I get the following output with both native PostgreSQL calls and
with PDO:
isset = 1
empty =
is_null =
strlen = 114164
Can you provide a simple PHP script that demonstrates the problem
you're seeing?
--
Michael Fuhr
More information about the postgis-users
mailing list