[Mapserver-users] mapplet question

Kevin Slover Kevin.Slover at noaa.gov
Thu Feb 6 06:12:57 PST 2003


Daniel,
  Thanks for the pointer.  However, in putting that in my
demo_init.html, it has now produced an error stating not enough argument
for imgext.  I have tried to place the extents in the demo.html within
the javascript, similar to imgbox and imgxy, but to no avail.  In the
query string now, it has
...mapext=%5Bmapext%5d...

So, in thinking, I placed the extents specifically in the
demo_init.html.  It finally loaded, but with a
java.lang.ClassNotFoundException: mapplet.class.  I will worry about
that later, but my [mapext] is not working properly it appears.  Any
idea why this might be??

"Martin, Daniel" wrote:
> 
> If you look at the query string, I'm willing to bet it doesn't have:
> imgext=-878484.262963+5196866.985682+1014366.106565+6615773.719472
> 
> (or anything involving imgext)
> 
> Without that parameter, you will get the error you mention.  Adding this to
> your client template should fix it:
> <input type="hidden" name="imgext" value="[mapext]">
> 
> -Dan Martin
> 
> > -----Original Message-----
> > From: Kevin Slover [mailto:Kevin.Slover at noaa.gov]
> > Sent: Wednesday, February 05, 2003 12:04 PM
> > To: Mapserver Mailing-List
> > Subject: [Mapserver-users] mapplet question
> >
> >
> > Well,
> >       I have gotten the demo to run, and so far, love what I
> > am seeing.  In
> > reading on more, I saw the use of java with mapserver, and tried the
> > example mapplet.  However, I am running into an error, and
> > not sure what
> > it is meaning..
> >
> > msCalculateScale(): General Error Message.  Invalid image extent.
> >
> > I don't know why, where this is coming from.  I have set all variables
> > properly, have double, and triple checked this.  Any thoughts?
> >
> >
> >
> > --
> > LTJG Kevin Slover, NOAA
> > GIS Specialist/Oceanographer
> > NOAA/TPC/TSB/Storm Surge Unit
> > 11691 SW 17th Street
> > Miami FL  33165
> >
> > W (305) 229-4456
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >

-- 
LTJG Kevin Slover, NOAA
GIS Specialist/Oceanographer
NOAA/TPC/TSB/Storm Surge Unit
11691 SW 17th Street 
Miami FL  33165

W (305) 229-4456



More information about the MapServer-users mailing list