[Mapserver-users] Perl Mapscript - render shapefile with no map
Simpson, Andrew
Andrew.Simpson at ssc.nasa.gov
Mon Mar 10 14:22:24 PST 2003
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C2E753.3DA55A46
Content-Type: text/plain;
charset="iso-8859-1"
Greetings,
Has anyone had any success rendering a map using Perl mapscript and a
shapefile with no map file and without having to open the shapefile and step
through and draw every shape.
I have had success instantiating a map object with dynamically generated map
files.
I have also had success manually opening the shapefile and iterating through
the shapes rendering each, but this is cumbersome and does not take
advantage of tiling.
I have not been able render a map by just setting the layer->{data}
attribute to a shapefile.
Is this possible?
Thanks for any help,
Drew.
------_=_NextPart_001_01C2E753.3DA55A46
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV>
<DIV><SPAN class=915224814-10032003><FONT face=Arial
size=2>Greetings,</FONT></SPAN></DIV>
<DIV><SPAN class=915224814-10032003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=915224814-10032003><FONT face=Arial size=2>Has anyone had any
success rendering a map using Perl mapscript and a shapefile with no map file
and <SPAN class=117351722-10032003>without</SPAN> having to open the
shapefile and step through and draw every shape.</FONT></SPAN></DIV>
<DIV><SPAN class=915224814-10032003><FONT face=Arial size=2>I have had success
instantiating a map object with dynamically generated map
files.</FONT></SPAN></DIV>
<DIV><SPAN class=915224814-10032003><FONT face=Arial size=2>I have also had
success manually opening the shapefile and iterating through the shapes
rendering each, but this is cumbersome and does not take advantage of
tiling.</FONT></SPAN></DIV>
<DIV><SPAN class=915224814-10032003><FONT face=Arial size=2>I have not been
able render a map by just setting the layer->{data} attribute to a
shapefile.</FONT></SPAN></DIV>
<DIV><SPAN class=915224814-10032003><FONT face=Arial size=2>Is this
possible?</FONT></SPAN></DIV>
<DIV><SPAN class=915224814-10032003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=915224814-10032003><FONT face=Arial size=2>Thanks for any
help,</FONT></SPAN></DIV>
<DIV><SPAN class=915224814-10032003><FONT face=Arial
size=2>Drew.</FONT></SPAN></DIV>
<DIV><BR> </DIV></DIV>
<DIV> </DIV></BODY></HTML>
------_=_NextPart_001_01C2E753.3DA55A46--
More information about the MapServer-users
mailing list