MapTools.org

[maplab-users] Limited length to layer connection string?

Mike Leahy mgleahy@fes.uwaterloo.ca
Tue, 11 Nov 2003 22:30:27 -0500
Daniel,

I gave the new dll a shot, but this one wasn't compiled to work with a 
MapServer exe that supports PostGIS.  Even though I'm still using the 
MapServer version that does support PostGIS, I get the following messages:

Warning: [MapServer Error]: msDrawMap(): Failed to draw layer named '<Layer 
Name>'. in <script.php> on line ###

Warning: [MapServer Error]: msPOSTGISLayerOpen(): msPOSTGISLayerOpen called 
but unimplemented! (mapserver not compiled with postgis support) in 
<script.php> on line ###.

As for creating a test scenario for a bug report, I'll make a reminder to do 
it in a few weeks.  I'll be on the road for the first field testing of our 
site next week, so clearly the crunch is on to get other stuff done first.

Again, I really appreciate your help.

Kind regards,

Mike


Quoting Daniel Morissette <morissette@dmsolutions.ca>:

> Mike Leahy wrote:
> > Daniel,
> > 
> > It seems you are correct.  I have been saving the map files in temporary
> > files for debugging purposes.  I wrote the following script to try out the
> > mapfile with the long query string:
> > 
> > 	$oRefMap=ms_newMapObj('d:/tmp/session.map');
> > 	$oImage = $oRefMap->draw();
> > 	echo $oImage->saveWebImage;
> > 
> > The same error happens.  I'm using MapScript 4.1 with the Mapserver that
> > comes with it from the DM Solutions download site.
> > 
> 
> Can you try again with the following DLL that was built a few days ago:
> http://www2.dmsolutions.ca/mapserver/dl/php_mapscript_4.1-php-4.3.2-
Oct72003.zip
> 
> > If it is a postgis driver problem, then is that something potentially
> > fixable?
> > 
> 
> I hope so!  :D
> 
> However we may need help from the Refractions guys since they are the 
> ones who know the PostGIS driver.  To help in tracking/fixing this, is 
> there any way you could provide a complete testcase that reproduces the 
> bug?  If you could file a bug in the MapServer bugzilla with a mapfile 
> with a small postgis db that reproduces the bug then that would be 
> great!  Please include me in the CC of the bug if you do that.
> 
> Daniel
> -- 
> ------------------------------------------------------------
>   Daniel Morissette               morissette@dmsolutions.ca
>   DM Solutions Group              http://www.dmsolutions.ca/
> ------------------------------------------------------------
> 




----------------------------------------
This mail sent through www.mywaterloo.ca


This archive was generated by Pipermail.