dBox Main image

Steve Lime Steve.Lime at DNR.STATE.MN.US
Tue Feb 27 11:14:28 EST 2007


Lawrence: The main image is being rendered it looks to me like there is
a disconnect between 
layer names. If you load your page, turn on all layers and refresh you
get just a blank image
back, but an image so things are working. In Firefox using one of the
developer extensions or
simply right clicking in the page and selecting 'View page info" you
can see what image URLs
the application is requesting. For example:

http://216.203.113.94/JasperMaps/cgi-bin/mapserv.exe?mode=map&map=C:\Inetpub\wwwroot\mapdocs\TMPdBox.map&mapext=1701807.7462334426+568602.2242148801+1759376.2865534427+612885.7167687264&mapsize=650+500&layers=counties+parks+county_seats

If you can figure out why that URL is producing a blank image then
you'll fix your application.
My guess is that the layer names in your application don't match those
in your mapfile. You 
can set one to STATUS DEFAULT to test quickly (always a good idea to
use at least on default
layer while getting started).

Steve

>>> Lawrence Hartpence <hartpence_gis at CO.JASPER.IA.US> 2/27/2007
9:09:59 AM >>>
Hello.
I am trying to implement my first map using dBox.  I am basing it off
of a
simple example provided by Steve Lime,
http://maps.socsci.umn.edu/~lime/2006/test_dbox.html  I am almost
there.  I
still am fuzzy on how to render the main image.  As I understand it, I
need
to anchor the image with either a <IMG> or <DIV> tag and it must have
an
id='main'.  Also, to browse, the mode must be "map"?  At this point, I
can't
get a map to render.  Is there something I need to do in the mapfile?

Here is the URL to my HTML document:
http://216.203.113.94/jaspermaps/DboxTest/test_dbox.html 

Thanks so much for your help!



More information about the mapserver-users mailing list