I agree on that: these postings are valuable to the MapInfo MI-L; when this comes to a solution, I will post our findings there as well.<div><br></div><div>Anyhow, this made me think of what might be different between your and mine configuration... How about the encoding of the database?</div>
<div><br></div><div>Mine is defined as follows:</div><div><br></div><div><div>CREATE DATABASE "nwpgdb"</div><div>  WITH OWNER = postgres</div><div>       ENCODING = 'SQL_ASCII'</div><div>       LC_COLLATE = 'Dutch_Netherlands.1252'</div>
<div>       LC_CTYPE = 'Dutch_Netherlands.1252'</div><div>       CONNECTION LIMIT = -1;</div><div><br></div><div>Both 'UTF8' and 'SQL ASCII' render the same message in MapInfo: "Unable to translate the Spatial Constraint." (using pgsqlODBC ANSI v8.03.04.00), for both little datasets I tested with: provinces of the Netherlands (national spatial reference system; EPSG 28992) and the political map op Africa (non-earth), resulting in the following spatial constraints, respectively:</div>
<div>Provinces: CONSTRAINT "enforce_srid_SP_GEOMETRY" CHECK (st_srid("SP_GEOMETRY") = 28992)</div><div>Africa: CONSTRAINT "enforce_srid_SP_GEOMETRY" CHECK (st_srid("SP_GEOMETRY") = (-1))</div>
<div><br></div><div>What other differences between our set-ups may we think of?</div><div><br></div><div><br></div><div>Rob</div><div><br></div></div><div><br><div class="gmail_quote">2009/10/7 Richard Greenwood <span dir="ltr"><<a href="mailto:richard.greenwood@gmail.com">richard.greenwood@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wed, Oct 7, 2009 at 12:24 AM, InterRob <<a href="mailto:rob.marjot@gmail.com">rob.marjot@gmail.com</a>> wrote:<br>

> Thank you for the suggestion; again something I did not think of (!)...<br>
> So I tried some really 'easy' little datasets; points with some INT<br>
> attributes. Still no luck, though...<br>
> It seems that MapInfo v10 is not compatible with PostGIS 1.4.0. This makes<br>
> me wondering, having the error message in mind ("Unable to translate the<br>
> Spatial Constraint."): is this spatial constraint expressed differently in<br>
> PostGIS 1.4.0 , comparing it to, say, 1.3.5? One could even think of even<br>
> very small differences like capitals in functions e.g. st_srid() versus<br>
> ST_srID() etc. etc. At least success has been reported (by some other users,<br>
> like you Richard) of working with PostGIS (1.3.5 or lower) from MapInfo...<br>
<br>
</div>Okay, I just installed Postgres 8.4 and PostGIS 1.4 and uploaded my<br>
test table via Easyloader, and then connected to it with un-cached<br>
Live access and it seems to be working for me. The spatial constraint<br>
that MapInfo is imposing on my table is:<br>
   st_srid("SP_GEOMETRY") = (-1)<br>
What's your spatial constrain? What happens if you drop it?<br>
<br>
This thread might be valuable on MapInfo-L as I think the issues are<br>
more with MI than PostGIS.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Richard Greenwood<br>
<a href="mailto:richard.greenwood@gmail.com">richard.greenwood@gmail.com</a><br>
<a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a><br>
<br>
</div></div></blockquote></div><br></div>