[mapserver-users] Imgext error!

Ed McNierney ed at topozone.com
Mon Jan 14 08:03:31 PST 2002


Nuno -

OK - let me restate the problem.  Your images are working properly, but
for certain map image requests one or more of your map layers is not
being drawn.  In the "before" and "after" images you attach in the Zip
file, it appears that you zoomed in a little bit (shifting the map
center a little) and the blue data layer disappeared (but the other
layers remain).  I'm guessing that this is the "agua" layer in your MAP
file.

Your data layers seem to be MapInfo TAB files accessed via OGR using
STYLEITEM "auto" for attributes.  I am not an OGR or MapInfo user at
all, so I really can't help there.  Perhaps someone who knows that
material better can take a look!

	- Ed

-----Original Message-----
From: Nuno Alves [mailto:est-n-alves at ptinovacao.pt]
Sent: Monday, January 14, 2002 10:13 AM
To: Ed McNierney; MAPSERVER (E-mail)
Subject: RE: [mapserver-users] Imgext error!



Yes, i've got a valid image. The problem is that in some position (of
zoom)
i can't see some layers, but then,
i make some PAN's and the image appear. I sent here a demo.zip file with
my
demo.map, demo.htm, a log.txt file
where you can see the URL before the zoom - the initial URL - and the
respective image "before.gif", and after 
the zoom in with the respective image "after.gif". I post too in the
log.txt
file the extents of the .TAB files
that i use.

	Thanks for the help allready given.


-----Original Message-----
From: Ed McNierney [mailto:ed at topozone.com]
Sent: segunda-feira, 14 de Janeiro de 2002 13:54
To: Nuno Alves; MAPSERVER (E-mail)
Subject: RE: [mapserver-users] Imgext error!


Nuno -

It could *always* be a MapServer bug, but that's really not very likely
in this case.  When you say you get a "blank image", what exactly
happens?  Does your browser display a valid image file (i.e. one you
could right-click on and save to your local disk) that's just set to the
background color, or does your browser display a "broken link" icon with
no image at all?

The "broken link" problem often occurs if there is either an error in
the addressing of your tmp directory or an error with the permissions on
that directory.

	- Ed

Ed McNierney
Chief Mapmaker
TopoZone.com
ed at topozone.com
(978) 251-4242


-----Original Message-----
From: Nuno Alves [mailto:est-n-alves at ptinovacao.pt]
Sent: Monday, January 14, 2002 5:39 AM
To: Ed McNierney; MAPSERVER (E-mail)
Subject: RE: [mapserver-users] Imgext error!



In the beggining i had an image with 600x600 pixels, but now i'm using
one
with 300x300 with the same results. Could it be a mapserver bug?

Thanks.


-----Original Message-----
From: Ed McNierney [mailto:ed at topozone.com]
Sent: sexta-feira, 11 de Janeiro de 2002 15:50
To: Nuno Alves; mapserver-users at lists.gis.umn.edu
Subject: RE: [mapserver-users] Imgext error!


Nuno -

How large is the image you are requesting?  MapServer is compiled to
limit images (by default) to 1024 x 1024 pixels, to prevent users from
generating requests for enormous maps that would slow down your server.
It is easy to rebuild MapServer and change this limit, but if you are
asking for an image greater than 1024 pixels in either dimension, this
is probably your problem.

	- Ed

Ed McNierney
Chief Mapmaker
TopoZone.com
ed at topozone.com
(978) 251-4242


-----Original Message-----
From: Nuno Alves [mailto:est-n-alves at ptinovacao.pt]
Sent: Friday, January 11, 2002 10:16 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] Imgext error!




I all. I've allready posted a message about mapserver generats blank
images.
One new thing:
I think the blank images generated by mapserver are due to the URL
imgext
request, that asks for
a box bigger than the original extensions defined in the original .MAP
file.
How can i correct this problem?
I allready see a message posted in the mailing list with the same
problem,
but i could not find any
response to it. 

I'm using mapserver 3.5 compiled with Postgis, OGR (in gdal) and GD-1.2
for
GIF support. My data files
are in .TAB format. I send here to a zip file with my demo.map.

Any help would be greatly appreciated. Thanks.     (sorry about my
english)


 <<demo.zip>> 

 <<...OLE_Obj...>> 

Nuno Ricardo Ribeiro Alves
PT Inovação, S.A.
Serviços e Redes Móveis
* R. Engº José Ferreira Pinto Basto - 3810 Aveiro
* mailto:est-n-alves at ptinovacao.pt




More information about the MapServer-users mailing list