[Geomoose-users] Raster Imagery

Brent Fraser bfraser at geoanalytic.com
Tue Oct 13 17:12:19 EDT 2009


Jeremy,

  Sorry, I should have said gdalinfo (ogrinfo is only for vector formats).
 Could you try:
    gdalinfo /ms4w/data/All_Crimes_Density1.tif

Thanks!
Brent


> The "init=epsg:99999" is a custom projection for Anoka County
> Coordinates that I added to the epsg file.
>
> When I do the ogrinfo command, I get the following:
> FAILURE:  Unable to open the datasource
> '/ms4/data/all_crimes_density1.tif' with the following drivers.
> ->ESRI Shapefile
> ->Mapinfo File
> ->UK .NTF
> ->SDTS
> ->Tiger
> ->S57
> ->DGN
> ->VRT
> ->REC
> ->MEMORY
> ->BNA
> ->CSV
> ->GML
> ->GPX
> ->KML
> ->GEOJSON
> ->GMT
> ->SQLITE
> ->ODBC
> ->PGEO
> ->POSTGRESQL
> ->MYSQL
> ->AVCBIN
>
> I also did the same on the SID files I have in the same directory that I
> show up just fine, and I received the same error
>
>
> Jeremy Johnson, GISP
> City of Blaine
>
> -----Original Message-----
> From: Brent Fraser [mailto:bfraser at geoanalytic.com]
> Sent: Tuesday, October 13, 2009 3:03 PM
> To: Johnson, Jeremy
> Cc: geomoose-users at lists.sourceforge.net
> Subject: Re: [Geomoose-users] Raster Imagery
>
> That  "init=epsg:99999" doesn't look right.  Can you do a ogrinfo on the
> command line:
>
> ogrinfo /ms4w/data/All_Crimes_Density1.tif
>
> Best Regards,
> Brent Fraser
>
>> Nope.  That wasn't it. And yes, I am on 1.6.
>>
>>
>>
>> Jeremy Johnson, GISP
>>
>> City of Blaine
>>
>> ________________________________
>>
>> From: Dan Little [mailto:danlittle at yahoo.com]
>> Sent: Tuesday, October 13, 2009 2:28 PM
>> To: Johnson, Jeremy; geomoose-users at lists.sourceforge.net
>> Subject: Re: [Geomoose-users] Raster Imagery
>>
>>
>>
>> If this is GeoMOOSE 1.6.X change STATUS to DEFAULT.
>>
>>
>>
>> 	From: "Johnson, Jeremy" <JJohnson at ci.blaine.mn.us>
>> 	To: geomoose-users at lists.sourceforge.net
>> 	Sent: Tue, October 13, 2009 1:43:06 PM
>> 	Subject: [Geomoose-users] Raster Imagery
>>
>> 	I have created a crime density raster with Spatial Analyst and I
>> want to have it display in Geomoose.  However, when I add it to my map
>> and turn it on, it is just white.  I have attached a PDF showing my
>> dilemma and a copy of the mapfile.  Any thoughts would be appreciated.
>>
>>
>>
>> 	PS - I purposely put the call to the map file under the street
>> centerline and above everything else to show what happens when the
> layer
>> is activated.
>>
>>
>>
>> 	MAP
>>
>> 	      NAME 'crimedensity'
>>
>> 	      EXTENT  474400 4995000 494000 5007000
>>
>> 	      UNITS METERS
>>
>> 	      FONTSET '../fonts/fontset.list'
>>
>> 	      SYMBOLSET '../symbols/symbol.sym'
>>
>> 	      RESOLUTION 96
>>
>> 	      IMAGETYPE png
>>
>> 	      INTERLACE OFF
>>
>> 	      PROJECTION
>>
>> 	        "init=epsg:26915"
>>
>> 	      END
>>
>>
>>
>> 	      QUERYMAP
>>
>> 	            STATUS ON
>>
>> 	            STYLE SELECTED
>>
>> 	      END
>>
>>
>>
>> 	      WEB
>>
>> 	              INCLUDE "../temp_directory.map"
>>
>> 	      END
>>
>>
>>
>>
>>
>> 	LAYER
>>
>> 	  NAME crimedensity
>>
>> 	  DATA '/ms4w/data/All_Crimes_Density1.tif'
>>
>> 	  TYPE raster
>>
>> 	  STATUS ON
>>
>> 	  PROCESSING "BANDS=1,2,3"
>>
>> 	      PROJECTION
>>
>> 	          "init=epsg:99999"
>>
>> 	      END #PROJECTION
>>
>> 	END #LAYER
>>
>>
>>
>>
>>
>> 	END  #Map
>>
>>
>>
>> 	Jeremy Johnson, GISP
>>
>> 	G.I.S. Coordinator
>>
>> 	City of Blaine
>>
>> 	10801 Town Square Dr Ne
>>
>> 	Blaine, MN   55449
>>
>> 	(763) 717-2639
>>
>>
>>
>>
>>
>>
>>
>>
>>
> ------------------------------------------------------------------------
> ------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart
> your
>> developing skills, take BlackBerry mobile applications to market and
> stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> Geomoose-users mailing list
>> Geomoose-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geomoose-users
>>
>>
>
>
>






More information about the Geomoose-users mailing list