[ka-Map-users] Issue regarding display format of Shapefiles
riteshambastha
ritesh.linux at gmail.com
Fri Mar 14 04:16:09 EDT 2008
Outputformat is independent from the type of shapefile you are using.
outputformat does depend on the support provided by installed mapserver on
your machine. Check the format support by issuing this command on 'mapserv
-v' . you will get a list of image formats like jpeg, png, agg, etc.
Regards,
Ritesh
Kunal Krishna wrote:
>
> Hi all,
>
> This is Kunal. I am a master' student at georgia tech. We are developing
> a electricity market project using Kamap for the United States.
>
> I have downloaded the shapefile of USA and was trying to integrate it with
> Kamap.
>
> Link -
> http://nationalatlas.gov/atlasftp.html?openChapters=chpbound#chpbound
>
> I am able to see data being downloaded in the browser but cannot see the
> map. I feel its a issue with the output format. How do i know what is the
> output format supported by this shapefile ?
>
> It would be great if you can help us out and resolve this issue.
>
> Here is the mapfile that i am using
>
> MAP
> NAME US_map
> STATUS ON
> SIZE 600 600
> EXTENT -180 17 180 72
> UNITS DD
> SHAPEPATH "/ms4w/apps/gmap/data/us"
> IMAGECOLOR 255 255 255
> IMAGETYPE png
>
> WEB
> IMAGEPATH "ms4w/tmp/ms_tmp/"
> IMAGEURL "ms4w/tmp/ms_tmp/"
> END
>
> OUTPUTFORMAT
> NAME 'AGG'
> DRIVER AGG/PNG
> IMAGEMODE RGB
> END
>
> OUTPUTFORMAT
> NAME 'AGGA'
> DRIVER AGG/PNG
> IMAGEMODE RGBA
> END
>
> OUTPUTFORMAT
> NAME 'AGG_JPEG'
> DRIVER AGG/JPEG
> IMAGEMODE RGB
> END
>
> OUTPUTFORMAT ##added for jpg background
> NAME jpeg
> DRIVER "GD/JPEG"
> IMAGEMODE RGB
> EXTENSION "jpeg"
> FORMATOPTION "QUALITY=75,PROGRESSIVE=TRUE"
> END
> OUTPUTFORMAT
> NAME png
> DRIVER "GD/PNG"
> MIMETYPE "image/png"
> IMAGEMODE RGB
> FORMATOPTION INTERLACE=OFF
> TRANSPARENT OFF
> END
> OUTPUTFORMAT
> NAME png8
> DRIVER "GD/PNG"
> MIMETYPE "image/png"
> IMAGEMODE PC256
> FORMATOPTION INTERLACE=OFF
> TRANSPARENT OFF
> END
> OUTPUTFORMAT
> NAME GTiff
> DRIVER "GDAL/GTiff"
> MIMETYPE "image/tiff"
> IMAGEMODE RGB
> #FORMATOPTION "TFW=YES"
> #FORMATOPTION "COMPRESS=PACKBITS"
> END
> OUTPUTFORMAT
> NAME imagemap
> MIMETYPE "text/html"
> FORMATOPTION SKIPENDTAG=ON
> DRIVER imagemap
> END
>
>
>
>
>
> LEGEND
> TRANSPARENT TRUE
> END
>
> SCALEBAR
> TRANSPARENT TRUE
> END
>
>
> LAYER
> NAME countries
> TYPE Polygon
> STATUS ON
> DATA "/ms4w/apps/gmap/data/us/cgd10p020.shp"
>
> CLASS
> NAME "Country Boundaries"
> STYLE
> COLOR 200 100 100
> END
> END
> END
> END #MAP END
>
>
> Regards,
>
> Kunal Krishna
> MS - Quantitative Computational Finance - 08
> Georgia Institute of Technology
> Email:- kunal.krishna at gatech.edu
>
> ---------------------------------
> Forgot the famous last words? Access your message archive online. Click
> here.
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
>
--
View this message in context: http://www.nabble.com/Issue-regarding-display-format-of-Shapefiles-tp15816213p16046337.html
Sent from the ka-map-users mailing list archive at Nabble.com.
More information about the ka-Map-users
mailing list