mapinfo trouble in mapserver {Scanned}
Siki Zoltan
siki at AGT.BME.HU
Tue Jul 26 19:06:32 PDT 2005
Dear MAtthew,
To display a raster in mapserver you need georeference in a separate world
file or a geotiff file. MapInfo uses different georeference style in tab
files. As far as I know mapserver/gdal doesn't support it. You must
read raster howto.
I hope it helps you
Zoltan
On Tue, 26 Jul 2005, Matthew Edmondson wrote:
> I started using mapserver a few days ago (ith a kitchen sink binary"
> and have had great sucess with .shp's and .jpegs. I've tried to load
> in a few diffrent raster images from mapinfo and have yet to be able
> to get any to display. If i try to load the .tab, I get an error
> saying that it doesnt recognize that, and that eppl7 is not supported
> (again, im using a current kitchen sink binary). If i try to load the
> .tif, the map will display, but i wont have that layer. I've searched
> all over the net for 2 days, have set a projection value etc, and
> still no luck. Any help or ideas would be greatly appreciated.
>
> Thanks,
>
> Matt
>
> MAP
>
> IMAGETYPE PNG24
> SIZE 500 500
> EXTENT -110.06722222 31.18804936 -109.02110274 31.9625
> IMAGECOLOR 255 255 255
> PROJECTION
> "init=epsg:4326"
> END
>
>
> web
> template test_douglas.html
> imagepath "C:/Program Files/Apache Group/Apache2/htdocs/tmp/"
> imageurl "/tmp/"
> end
>
> UNITS DD
>
>
> SCALEBAR
> STATUS ON
> UNITS MILES
> INTERVALS 3
> TRANSPARENT TRUE
> OUTLINECOLOR 0 0 0
> END
>
> #
> # Start of legend
> #
> LEGEND
> KEYSIZE 18 12
> LABEL
> TYPE BITMAP
> SIZE MEDIUM
> COLOR 0 0 89
> END
> STATUS ON
> END
> #
> # Start of reference map
> #
> REFERENCE
> IMAGE graphics/douglas10.jpg
> EXTENT -110.06722222 31.18804936 -109.02110274 31.9625
> SIZE 120 120
> STATUS ON
> COLOR -1 -1 -1
> OUTLINECOLOR 255 0 0
> END
>
> LAYER
> name douglas_raster1
> type raster
> status off
> data "C:/Program Files/Apache
> Group/Apache2/htdocs/itasca/graphics/douglas.jpg"
>
> end
>
> LAYER
> name douglas_arial_1
> type raster
> status default
> data "C:/Program Files/Apache
> Group/Apache2/htdocs/itasca/graphics/grid100a.tif"
>
>
> end
>
> LAYER name mexico_region
> type polygon
> status default
> data "C:/Program Files/Apache
> Group/Apache2/htdocs/itasca/data/mexico_region.shp"
> labelitem 'state_name'
> class
> name 'Mexico'
> color 120 120 120
> outlinecolor 0 0 0
> label
> color 0 0 0
> outlinecolor 255 255 255
> END
> END
> END
>
More information about the MapServer-users
mailing list