Opened 21 years ago

Closed 21 years ago

#286 closed defect (fixed)

TILEINDEX layers not displayed when using latest 3.7 CVS

Reported by: keon@… Owned by: sdlime
Priority: high Milestone:
Component: MapScript Version: 4.0
Severity: normal Keywords:
Cc:

Description

Using the latest CVS version I can't get TILEINDEX layers to display.  I'm using
a layer of tiled DRGs created with gdaltindex.  It works fine with an older CVS
version (from Feb 3).  There are no error messages being printed to the
error_log, even when MS is compiled with --enable-debug.  Also, it works to
display a single DRG tiff as a layer instead of the TILEINDEX layer.

Here's a simple example of something that doesn't work:

===============================================
<?php
//dl('php_mapscript.so.cvs.02-03-03');
dl('php_mapscript.so.cvs.02-21-03.debug');

$map = ms_newMapObj('/www/mapfiles/test.map');
$image = $map->draw();
$image_url = $image->saveWebImage();
?>

<html>
<body>
<img src="<?php echo $image_url?>">
</body>
</html>
===============================================

===============================================
NAME TEST
SIZE 400 400
STATUS ON
EXTENT 371000 5250000 492000 5353000 
UNITS METERS
SHAPEPATH "/a1/data/crypto"

IMAGETYPE png8

OUTPUTFORMAT
  NAME png8
  DRIVER "GD/PNG"
  MIMETYPE "image/png"
  IMAGEMODE PC256
  TRANSPARENT ON
END

WEB
  IMAGEPATH "/www/temp/"
  IMAGEURL "/temp/"
END

LAYER
  NAME drg_index
  STATUS ON
  TYPE RASTER
  TILEINDEX drg_index
  TILEITEM "location"
END

LAYER
  NAME ONP_boundary
  TYPE POLYGON
  STATUS ON
  TRANSPARENCY 70
  DATA onp_bnd_83                                             
  CLASS                                                       
    OUTLINECOLOR 0 0 0                                        
    COLOR 243 248 245                                         
  END                                                         
END                                                           

END
===============================================

Change History (2)

comment:1 by keon@…, 21 years ago

Sorry, I should have mentioned that in this simple example the polygon layer
*is* displayed fine...it's just the tileindex layer that doesn't get displayed.

comment:2 by keon@…, 21 years ago

Resolution: fixed
Status: newclosed
I've tried this again using a later CVS version (from 03-05-2003), and it now
seems to be working fine.  I have no problem displaying tileindex layers, so I'm
closing this bug.
Note: See TracTickets for help on using tickets.