[mapserver-users] php-mapscript is ok but new proj4 problem

Bruno Gendron bruno_gendron at yahoo.com
Fri Aug 31 12:09:56 PDT 2001


Hi again,

Sorry, I have found the problem... so simple: the gd
lib against which Mapserver was built had not been
configured with JPEG support (libjpeg). Sorry again
for this.

BUT....

Is there a limit in the size of the data (number of
objects) that can be reprojected with PROJ4?

I have a very simple test mapfile with 2 layers, one
is a polyline shapefile containing a gridline made of
5200 straight lines for a size of 500 k, the other is
a polygon shapefile with around 250 polygons with a
size of 6.5 megabytes. These files are in degrees, and
i'm using an Eckert2 projection...

When completely zoomed-out, I get an error (no map
displayed at all); when I zoom-in past a certain zoom
level, everything's fine. If I set the gridline layer
off, no problem at any zoom level... Looks to me like
a limit in the number of objects PROJ4 is able to
handle at once...

Sure, I could set the scale threshold of this gridline
layer to eliminate the problem, but...

Any advice??

--
Bruno Gendron

 --- Bruno Gendron <bruno_gendron at yahoo.com> a écrit :
> Hi,
> 
> Just to confirm my feeling about this, I just
> finished
> compiling the latest nightly source of
> Mapserver-PHP-Mapscript with no apparent problem
> (the
> mapserv binary is working fine). Curiously, when I
> load the php-mapscript extension with dl() and test
> it
> with phpinfo for example, no problem, but as soon as
> I
> begin using mapscript inside my PHP script, boom!, I
> receive the following error:
> 
> Warning: Unable to load dynamic library
> '/usr/lib/php/extensions/php_mapscript.so' -
> /usr/lib/php/extensions/php_mapscript.so: undefined
> symbol: gdImageJpeg in
> /var/www/html/mapserver/mapscript.php4 on line 14
> 
> My guess is that PHP and Mapscript are not using the
> same GD library: is this the case?
> 
> Thanks
> 
> 
> =====
> Bruno Gendron
> Consultant en TI et en geomatique / IT and GIS
> Consultant
> Lachine, QC Canada, Tel: 514-634-7024
> 
> "Quand on connait l'equilibre, on ne se passionne
> pour rien,
>    on ne s'attache meme pas a la vie, car on est la
> vie."
>  Emile Cioran
> 
>
___________________________________________________________
> Do You Yahoo!? -- Un e-mail gratuit @yahoo.fr !
> Yahoo! Courrier : http://fr.mail.yahoo.com 

___________________________________________________________
Do You Yahoo!? -- Un e-mail gratuit @yahoo.fr !
Yahoo! Courrier : http://fr.mail.yahoo.com



More information about the MapServer-users mailing list