MapTools.org

[maplab-users] Tutorial Raster Layer Using maplab-2.0-dev20030422 Not rendering

Paul Spencer spencer@dmsolutions.ca
Wed, 23 Apr 2003 14:29:24 -0400
Not that I know of.  The same mapfile works with mapserv cgi?

John Norton wrote:

> I just replaced mapscript 37 with mapscript 36. Should I use a different
> one? Maplab Info shows...
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>   MapServer version 3.6.6-dev OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP 
>   SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT        
>   INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE                          
>                                                                             
>                                                                             
> 
> 
> 
> Still no raster layer rendered. Is there a file size limit? This tiff is
> about 250MB.
> ------------------------------------------------------
> John Norton
> USDA-RSAC
> 2222 W 2300 S
> Salt Lake City, UT 84119
> Phone: 801-975-3766
> Fax: 801-975-3478
> Intranet: fsweb.rsac.fs.fed.us
> Internet: www.fs.fed.us/eng/rsac/
> ------------------------------------------------------
> 
> 
> |---------+--------------------------->
> |         |           Paul Spencer    |
> |         |           <pagameba@magma.|
> |         |           ca>             |
> |         |                           |
> |         |           04/23/2003 11:40|
> |         |           AM              |
> |         |           Please respond  |
> |         |           to spencer      |
> |         |                           |
> |---------+--------------------------->
>   >-----------------------------------------------------------------------------------------------------------------------|
>   |                                                                                                                       |
>   |        To:      John Norton <jnorton@fs.fed.us>                                                                       |
>   |        cc:      maplab-users@dmsolutions.ca, Mapserver Users <Mapserver-users@lists.gis.umn.edu>                      |
>   |        Subject: Re: [maplab-users] Tutorial Raster Layer Using maplab-2.0-dev20030422 Not rendering                   |
>   >-----------------------------------------------------------------------------------------------------------------------|
> 
> 
> 
> 
> John,
> 
> a couple of things.  First, maplab is not yet compatible with mapserver
> 37 so I am going to assume (hope) that the rendering issues are related
> to that.
> 
> The other questions are more applicable to the mapserver-users mailing
> list so I have copied it on this reply.  I would imagine that Frank
> Warmerdam wrote the piece in the RASTER-HOW-TO since he is the GDAL
> maintainer.
> 
> Cheers,
> 
> Paul
> 
> John Norton wrote:
> 
> 
>>After installing maplab-2.0-dev20030422 and running the tutorial project
> 
> I
> 
>>could not get the bath_mapserver.tif layer to render. I noticed that
>>INPUT=TIFF is not compiled into mapscript_37 so I went and built a
>>tileindex shapefile and then that raster layer rendered with the map.
>>Great! But, now I want to build my own map with a RASTER layer. My raster
>>file looks like this:
>>Driver: GTiff/GeoTIFF
>>Size is 11453, 8504
>>Coordinate System is `'
>>Origin = (-5791247.097672,6903854.269482)
>>Pixel Size = (1000.000000,-1000.000000)
>>Metadata:
>>  TIFFTAG_SOFTWARE=Arc/Info
>>Corner Coordinates:
>>Upper Left  (-5791247.098, 6903854.269)
>>Lower Left  (-5791247.098,-1600145.731)
>>Upper Right ( 5661752.902, 6903854.269)
>>Lower Right ( 5661752.902,-1600145.731)
>>Center      (  -64747.098, 2651854.269)
>>Band 1 Block=11453x1 Type=Byte, ColorInterp=Red
>>  Min=0.000/0, Max=255.000/0, Computed Min/Max=0.000,250.000
>>Band 2 Block=11453x1 Type=Byte, ColorInterp=Green
>>  Min=0.000/0, Max=255.000/0, Computed Min/Max=0.000,250.000
>>Band 3 Block=11453x1 Type=Byte, ColorInterp=Blue
>>  Min=0.000/0, Max=255.000/0, Computed Min/Max=0.000,250.000
>>
>>World File is:
>>                1000.00000000000000
>>                   0.00000000000000
>>                   0.00000000000000
>>               -1000.00000000000000
>>            -5791247.09767184130000
>>             6903854.26948160120000
>>
>>I ran gdaltindex on this tiff file and got the tile shape file and
>>installed it into my map file just as I did with the tutorial image. Just
>>one tile (for now). The raster layer does not render at all! My map file
> 
> is
> 
>>using this for EXTENT -5791247.098 -1600145.731 5661752.902 6903854.269.
>>First thing I check for such problems. Maplab does not generate any
> 
> errors.
> 
>>This is my first time using INPUT=GDAL with Mapscript. I have used
> 
> GeoTiffs
> 
>>quite a bit with the mapserv CGI and have had no problems. In fact I
> 
> loaded
> 
>>some of those .map files into maplab and I could not get the raster
> 
> layers
> 
>>to render either. I have looked under every rock, I think, on the docs,
>>especially the RASTER-HOW-TO. I would imagine whoever wrote this...
>>
> 
> 
> 
> 
>>     Eventually I should add some general information on how to
> 
> 
>>     preprocess raster data for optimal use in MapServer, and give
> 
> 
>>     specific information on how to use GDAL's rgb2pct.py, gdaladdo and
> 
> 
>>     gdal_translate to converting stuff into pseudocolored, tiled GeoTIFF
> 
> 
>>     files with overviews.
> 
> 
> 
> 
> 
>>
>>Probably has some incite for this. I am running Windoze 2K with Apache 2.
>>Can anyone make suggestions on:
>>1. Why is my raster layer not rendering?
>>2. How can I break a large GeoTiff with wld file into smaller ones with
> 
> wld
> 
>>files? Are the wld files required?
>>3. How can I build a colormap into a GeoTiff to improve performance?
>>
>>Cheers
>>------------------------------------------------------
>>John Norton
>>USDA-RSAC
>>2222 W 2300 S
>>Salt Lake City, UT 84119
>>Phone: 801-975-3766
>>Fax: 801-975-3478
>>Intranet: fsweb.rsac.fs.fed.us
>>Internet: www.fs.fed.us/eng/rsac/
>>------------------------------------------------------
>>
>>
>>_______________________________________________
>>Maplab-users mailing list
>>Maplab-users@dmsolutions.ca
>>http://lists.dmsolutions.ca/mailman/listinfo/maplab-users
>>
> 
> 
> --
> Paul Spencer
> Applications and Software Development
> DM Solutions Group Inc.
> http://www.dmsolutions.ca
> 
> 
> 
> 
> 
> 
> 
> 

-- 
Paul Spencer
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca




This archive was generated by Pipermail.