[Mapserver-users] Perl Mapscript - render shapefile with no m ap

Simpson, Andrew Andrew.Simpson at ssc.nasa.gov
Tue Mar 11 10:45:31 PST 2003


I suppose I'm not the most competent communicator, I have been using
mapserver for several years (great software btw) and have many production
applications using mapscript and rendering away.  I did not sit down this
morning and try to use your example, I spent Sunday morning tweaking a copy
of one of my production/working scripts to try and remove dynamic
"placeholder" xx.map generation and instead dynamically populate a map
object from scratch with the necessary attributes to render a shape file
using Perl mapscript.

Has anyone had any success with this?

Sorry for the mumblings,
Drew.

-----Original Message-----
From: Sean Gillies [mailto:sgillies at frii.com]
Sent: Tuesday, March 11, 2003 11:19 AM
To: Simpson, Andrew
Cc: Mapserver Users
Subject: Re: [Mapserver-users] Perl Mapscript - render shapefile with no
m ap


Drew,

Like I said in my email: I omitted necessary attributes.  My example is
not complete.  I develop mapscript apps with Python rather than Perl,
so I don't have any working examples for you.

Your best bet is to look at a mapfile that works with the CGI mapserver.
Then, following the instructions on the Perl mapscript documentation,
translate the mapfile directives into Perl statements.  Also, check the
mailing list archives, there are likely to be several good examples of
Perl mapscript apps.

peace,
Sean

On Tuesday, March 11, 2003, at 09:56  AM, Simpson, Andrew wrote:

> Yes, exactly what I am looking for.
> Do you have an example that works?  I have tried what you've outlined, 
> but
> have not been able to render the shape; no errors appear in the error 
> log
> and all I get is a blank image.
>
> Thanks,
> Drew.
>
>
--
Sean Gillies
sgillies at frii.com
http://www.frii.com/~sgillies




More information about the MapServer-users mailing list