Matej<br><br>Yes it&#39;s definitely the case.<br><br>You application should set a reference to the managed mapscript_csharp.dll assembly and it will implicitly load furher unmanaged dlls to provide the desired functionality.<br>
<br>Best regards,<br><br>Tamas<br><br><br><div class="gmail_quote">2009/4/7 Matej <span dir="ltr">&lt;<a href="mailto:matej@matnet.net">matej@matnet.net</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div bgcolor="#ffffff">
<div><font size="2" face="Arial">Hi,</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">this might not be directly connected but I am 
planning to build a client desktop app which should be able to connect to the 
PostGIS db that is running on the remote server and display objects from it / 
add new etc.</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">Is this possible in C# with fwtools without the 
need to have the Mapserver running on every client computer?</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">Thanks and sorry for interrupting,</font></div>
<div><font size="2" face="Arial">Matej</font></div><font color="#888888">
</font><blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div><div></div><div class="h5">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
  <div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b> 
  <a title="szekerest@gmail.com" href="mailto:szekerest@gmail.com" target="_blank">Tamas 
  Szekeres</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="pauljame@gmail.com" href="mailto:pauljame@gmail.com" target="_blank">Paul james</a> </div>

  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Cc:</b> <a title="mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a> 
  </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Tuesday, April 07, 2009 8:29 
  PM</div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: [mapserver-users] 
  getExtent(c#) with Postgis data ...</div>
  <div><br></div>Paul,<br><br>You can refer to the ogrinfo C# sample application 
  in the gdal source tree:<br><a href="http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/ogrinfo.cs" target="_blank">http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/ogrinfo.cs</a><br><br>Best 
  regards,<br><br>Tamas<br><br><br><br>
  <div class="gmail_quote">2009/4/7 Paul james <span dir="ltr">&lt;<a href="mailto:pauljame@gmail.com" target="_blank">pauljame@gmail.com</a>&gt;</span><br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks 
    Tamas...<br><br>But now I´m a little lost... Am I supposed to create a OGR 
    layer?<br>Do you have any sample how to get extent´s layer using 
    OGR?<br><font color="#888888"><br>P</font>
    <div>
    <div></div>
    <div><br><br>
    <div class="gmail_quote">On Mon, Apr 6, 2009 at 6:30 PM, Tamas Szekeres <span dir="ltr">&lt;<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>&gt;</span> wrote:<br>
    <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Choose 
      a package with the best match for your compiler and architecture from 
      here:<br><a href="http://vbkto.dyndns.org:1280/sdk/index.html" target="_blank">http://vbkto.dyndns.org:1280/sdk/index.html</a>
      <div>
      <div></div>
      <div><br><br>Best regards,<br><br>Tamas<br><br><br><br>
      <div class="gmail_quote">2009/4/6 Paul james <span dir="ltr">&lt;<a href="mailto:pauljame@gmail.com" target="_blank">pauljame@gmail.com</a>&gt;</span><br>
      <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Where 
        can I find ogr_csharp.dll ?<br><br>Thanks Tamas!<br><font color="#888888"><br>Paul</font>
        <div>
        <div></div>
        <div><br><br>
        <div class="gmail_quote">On Mon, Apr 6, 2009 at 6:22 PM, Tamas Szekeres 
        <span dir="ltr">&lt;<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>&gt;</span> wrote:<br>
        <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Paul,<br><br>Unfortunately 
          this function is not implemented by the MapServer postgis driver, you 
          might want to use the OGR C# API (ie. ogr_csharp.dll)  for this 
          purpose.
          <div>
          <div></div>
          <div><br><br>Best regards,<br><br>Tamas<br><br><br><br>
          <div class="gmail_quote">2009/4/6 Paul james <span dir="ltr">&lt;<a href="mailto:pauljame@gmail.com" target="_blank">pauljame@gmail.com</a>&gt;</span><br>
          <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">All 
            value from getExtent (Postgis layer) is : 
            3.4028234663852886E+38<br><br>Is it a bug?
            <div>
            <div></div>
            <div><br><br><br>
            <div class="gmail_quote">On Mon, Apr 6, 2009 at 5:56 PM, Tamas 
            Szekeres <span dir="ltr">&lt;<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>&gt;</span> wrote:<br>
            <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Why 
              don&#39;t? That function have already been exposed for <b>layerObj</b> 
              with the following signature:<br><br><b>public rectObj 
              getExtent(void)</b><br><br>Best 
              regards,<br><br>Tamas<br><br><br><br>
              <div class="gmail_quote">2009/4/6 Paul james <span dir="ltr">&lt;<a href="mailto:pauljame@gmail.com" target="_blank">pauljame@gmail.com</a>&gt;</span><br>
              <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
                <div>Hello, It seems that getExtent (c#) is not 
                implemented...<br>Any other solution to get extent of a layer 
                using mapscript?<br><font color="#888888"><br>Paul<br></font><br></div>_______________________________________________<br>mapserver-users 
                mailing list<br><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br></blockquote></div><br></div></div></blockquote></div><br></div></div></blockquote></div><br></div></div></blockquote></div><br></div></div></blockquote></div><br></div></div></blockquote></div>
<br>
  </div></div><p>
  </p><hr><div class="im">

  <p></p>_______________________________________________<br>mapserver-users 
  mailing 
  list<br><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div></blockquote></div>
</blockquote></div><br>