[OpenLayers-Users] ImageLayer Basic Questions Tilecache and Openlayers

Linda Rawson linda.rawson at gmail.com
Thu Oct 18 05:11:50 EDT 2007


Christopher,

I do have PIL installed.  I have a test.py that I make sure it runs with.  I
had an earlier error because I have a 64 bit operating system but the 32 bit
version works just fine.  TG.  The building of a 64 bit version of PIL was
more than I wanted to handle right now.  The image does work when I do not
specify filebounds.

The image is too big to attach.  It is 4MB.

Here is the URL of the very first div tag for this layer.  You can see that
the BBOX is not within the MaxExtent range.

<DIV style="LEFT: -201px; OVERFLOW: hidden; WIDTH: 256px; POSITION:
absolute; TOP: 899px; HEIGHT: 256px"><IMG class=olTileImage
id=OpenLayersDiv470 style="WIDTH: 256px; POSITION: relative; HEIGHT: 256px;
BACKGROUND-COLOR: pink; alt: OpenLayersDiv470" src=" tilecache.cgi?LAYERS=
MyImage
&amp;FORMAT=image%2Fpng&amp;TRANSPARENT=TRUE&amp;SERVICE=WMS&amp;VERSION=
1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;SRS=EPSG%3A4326&amp;BBOX=-
124.013671875,48.251953125,-123.9697265625,48.2958984375&amp;WIDTH=256&amp;HEIGHT=256"
_eventCacheID="OpenLayersDiv470_eventCacheID_471" galleryImg="no"
viewRequestID="2" _attempts="2"></DIV>

Thanks!
Linda

On 10/17/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
>
> On Wed, Oct 17, 2007 at 08:21:43PM -0600, Linda Rawson wrote:
> > The base layer shows up just like it should.  The imagelayer does not
> show
> > up and is full of pink.  It will show up if I take the filebounds entry
> out
> > of the configuration which tells me the path to the image is good but
> then
> > it does not represent the area it should it represents the default of
> > "-180,-90,180,90".  If I take the URL out of the rendered page the error
> > returned is CGI ErrorThe specified CGI application misbehaved by not
> > returning a complete set of HTTP headers.
>
> My first guess is that you don't have PIL installed:
> http://www.pythonware.com/products/pil/
>
> If you do...
>
> Does IIS have an error log you can read? Is it possible to share the
> image youer' reproducing the problem with? Can you get the URL of a pink
> tile, and send it to the list?
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20071018/edf5c7bd/attachment.html


More information about the Users mailing list