[Geomoose-users] Raster layer question

Brent Fraser bfraser at geoanalytic.com
Thu Jan 20 23:56:48 EST 2011


Try adding

     CONFIG  "PROJ_LIB" "\ms4w\proj\nad"

to your map file

Best Regards,
Brent Fraser


On 1/20/2011 6:21 PM, Carl Burn wrote:
> Hi guys,
>
> still puzzled on this one, I can get an image on the url by triggering 
> the map file,
>
> http://www.aqua3.com:2112/cgi-bin/mapserv.exe?MAP=D:/ms4w/Apache/cgi-bin/osminiscale.map&LAYERS=ALL&MODE=MAP 
> <http://www.aqua3.com:2112/cgi-bin/mapserv.exe?MAP=D:/ms4w/Apache/cgi-bin/osminiscale.map&LAYERS=ALL&MODE=MAP>
>
>  the capabilities document shows no errors when accessed as a wms and 
> I can connect to the service and see the image using a wms client.
>
> I ran shp2img and am getting an error message relating to projections;
>
> "msProcessProjection(): Projection library error. unknown elliptical 
> parameter name"
>
>  so went back and rechecked the projection in the layer and it is 
> exactly what I have in the map file and mapbook as are the extents.
> I tried hunting for the error message on google and didnt really come 
> up with anything, so as a last ditch I turned on the debug in 
> mapserver and got nothing, tried it in stdout, stderr and to a named 
> file (just in case) all with debug set to 5.
> If anyone can see what I have missed then let me know.
>
> Carl
>
> On Thu, Jan 20, 2011 at 3:31 PM, DEAN ANDERSON 
> <ANDERSON.DEAN at co.polk.or.us <mailto:ANDERSON.DEAN at co.polk.or.us>> wrote:
>
>
>     Carl
>     Documentation on how to use shp2img is on the Geomoose wiki.
>     http://geomoose.org/wiki/index.php/Troubleshooting_map_files_with_shp2img
>     Dean
>
>     >>> Carl Burn <burnsy at northcountrywoods.co.uk
>     <mailto:burnsy at northcountrywoods.co.uk>> 1/20/2011 6:43 AM >>>
>     Hello All,
>
>     I am attempting to add a raster layer to my application and I am
>     getting a broken image link rather than a map. I think this is
>     related to storing of my source data but am not sure. My map file
>     entry for the layer is as follows:
>
>     LAYER
>     NAME 'MiniScalenogrid'
>     TYPE RASTER
>     DUMP true
>     TEMPLATE fooOnlyForWMSGetFeatureInfo
>     EXTENT 41069.1 -1149.02 665378.01 1231178.57
>     DATA
>     'D:/opendata/minisc_gb/MiniScale/data/MiniScale_(no_grid)_R12.tif'
>     METADATA
>     'ows_title' 'MiniScalenogrid'
>     'ows_srs' 'EPSG:27700'
>     END
>     STATUS OFF
>     TRANSPARENCY 100
>     PROJECTION
>     'init=epsg:27700'
>     END
>     END
>
>
>     Any clues or pointers?
>
>     Carl
>
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
>
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20110120/7175ec60/attachment.html


More information about the Geomoose-users mailing list