<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
is there somewhere in the code I can disable the constraint?<br>
<br>
Regards<br>
Nigel<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:strk@refractions.net">strk@refractions.net</a> wrote:
<blockquote cite="mid20050314130558.GD2958@freek.keybit.net" type="cite">
  <pre wrap="">On Mon, Mar 14, 2005 at 01:02:31PM +0000, Nigel Kukard wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap=""><a class="moz-txt-link-abbreviated" href="mailto:strk@refractions.net">strk@refractions.net</a> wrote:

    </pre>
    <blockquote type="cite">
      <pre wrap="">Here you specify that the geometry column will store geometries with
4 dimensions (XYZM).

      </pre>
    </blockquote>
    <pre wrap="">heh, shp2pgsql specified that.. not me ... :-)

    </pre>
    <blockquote type="cite">
      <pre wrap="">If you want to be free to add other-dimensioned
geometries an option you have is to drop the enforce_dims_the_geom
constraint
on your table.

      </pre>
    </blockquote>
    <pre wrap="">cool

    </pre>
    <blockquote type="cite">
      <pre wrap="">Note that in that case your geometry_columns entry will
contain a non-true specification.

      </pre>
    </blockquote>
    <pre wrap="">would this affect mapserver btw? I'm up to try and experiment anything,
and help where I can.

    </pre>
    <blockquote type="cite">
      <pre wrap="">You might want to use a fake value
there, as a notice of 'freely-dimensioned', like '-1'.


      </pre>
    </blockquote>
    <pre wrap="">sounds like a good idea!

    </pre>
    <blockquote type="cite">
      <pre wrap="">Maybe we should support -1 as a dimension value to specify this, like
we do for SRID...


      </pre>
    </blockquote>
    <pre wrap="">I'm up to test it out!!
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Nigel, to say the truth SRID=-1 *special* handling is not used yet,
but has been proposed. It won't be in PostGIS-1.0.0 though. The
dimension -1 will probably be implemented at the same time.

About mapserver you shouldn't have any problem as all geometries are
converted to 2d before parsing anyway, I don't think it uses
the 'dimension' field of geometry_columns at all.

--strk;

  </pre>
  <blockquote type="cite">
    <pre wrap="">
-Nigel

    </pre>
  </blockquote>
  <pre wrap=""><!---->


  </pre>
  <blockquote type="cite">
    <pre wrap="">_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Nigel Kukard, PhD CompSc
(Chief Executive Officer)
Linux Based Systems Design
Web: <a class="moz-txt-link-abbreviated" href="http://www.lbsd.net">www.lbsd.net</a>          Email: <a class="moz-txt-link-abbreviated" href="mailto:nkukard@lbsd.net">nkukard@lbsd.net</a>
Tel: (+27) 023 349 8000     Cell: (+27) 082 333 3723
Fax: (+27) 023 349 1395  Support: 086 747 7600
Address: LIGT House, 2 Klipdrift Rd, Rawsonville
Linux Systems Design & Technology Solutions


   The best language to use is the language that was designed for
                  what you want to use it for.


=====================================================================

Disclaimer
----------
The contents of this message and any attachments are intended
solely for the addressee's use and may be legally privileged and/or
confidential information. This message may not be retained,
distributed, copied or used if you are not he addressee of this
message. If this message was sent to you in error, please notify
the sender immediately by reply e-mail and then destroy the message
and any copies thereof.

Opinions, conclusions and other information in this message may be
personal to the sender and is not that of Linux Based Systems Design,
LinuxRulz or any of it's subsideries, associated companies or
principals and is therefore not endorsed by Linux Based Systems
Design or LinuxRulz. Due to e-maill communication being insecure,
Linux Based Systems Design and LinuxRulz do not guarantee
confidentiality, security, accuracy or performance of the e-mail.
Any liability for viruses is excluded to the fullest extent.
</pre>
</body>
</html>