<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000066">
Hello, while trying to dome this query in geoserver, I've got the
following error: ERROR: Operation on two geometries with different
SRIDs. My kanagawa table (downloaded from pgrouting sample app, was
registered in geometry column with SRID 4326(manually by me). I cannot
understand what's happening, because I simply don't understand wich is
the second geometry that (probably) has the SRDI=-1. Any clue?<br>
<br>
SELECT "gid", "length", "x1", "y1", "x2", "y2", "source", "target",
encode(AsBinary(force_2d("the_geom"), 'XDR'),'base64') FROM
"public"."kanagawa" WHERE "the_geom" &&
GeometryFromText('POLYGON ((138.86892242431625 35.10309162139895,
138.86892242431625 35.69988307952885, 139.90027313232477
35.69988307952885, 139.90027313232477 35.10309162139895,
138.86892242431625 35.10309162139895))', 4326) AND
intersects("the_geom", GeometryFromText('POLYGON ((138.86892242431625
35.10309162139895, 138.86892242431625 35.69988307952885,
139.90027313232477 35.69988307952885, 139.90027313232477
35.10309162139895, 138.86892242431625 35.10309162139895))', 4326))<br>
<br>
Thanks<br>
<br>
Andrea Maschio<br>
<br>
</body>
</html>