[Mapserver-users] ArcMap and Geo-referenced TIFF file problem

Davis Michael A DPW GIS TECH michael.davis at richardson.army.mil
Wed Jul 14 12:16:57 EDT 2004


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C469BD.FC3F7890
Content-Type: text/plain

I am not sure why you are having problems with the GeoTIFF, here are a
couple of things to check:

-Are you checking the box to create a world file under options in the export
dialog?

-Are you exporting from "Map" view or "Layout" view?  If you are in Layout
mode you might be exporting a GeoTIFF of an 8.5x11 sheet of paper.

-Arc map will export whatever is in the view extent.  If you need to convert
the whole image to GeoTIFF you are better off using ArcToolbox or ERDAS
Imagine.

-What is your source data? Is is another image format, or is it map data?  

If you cant figure it out, you might try converting your imagery to ECW with
the free compressor here:

http://www.ermapper.com/downloads/

I have had great success with ECW imagery on low compression settings.
 

Mike Davis
GIS Analyst
Fort Richardson, AK


-----Original Message-----
From: P Wilkerson [mailto:1wilkerson at charter.net] 
Sent: Wednesday, July 14, 2004 7:30 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] ArcMap and Geo-referenced TIFF file problem

I am nearing a critical deadline and I am really stumped and need help.

I cannot generate a georeferenced  TIFF using ArcMap that works within
Mapserver  The resolution is either too low or only a section of the map is
exported.

Help!

Peter


==============

BACKGROUND INFORMATION

The group I am working with is trying to get a geo-referenced TIFF image
file exported from ArcMap so it can be used by Mapserver.   The problem is
that we can export a low-resolution map that is a working geo-referenced
TIFF but when we go to export the same map at, say, 300 dpi one of two
things happen:

    1) We only get an output of a part of the map that we can see on our
monitor screen rather than the whole map.   The resulting map also has its
colors changed to some unexpected colors, or...

    2) We get a high-resolution TIFF file that has lost its geo-referencing.

-----------------

    I tried the Geotiffe utility without success to set the values for the
high-resolution, non-georeferenced TIFF (scenario #2 above).

-----------------------

Below is a copy of a portion of my map file.   The boston1844 layer works
fine.  I cannot generate a georef TIFF that works for the  a1874 layer.

MAP
  NAME bostonstreets
  SIZE 600 450
  IMAGECOLOR 195 195 195
# Extent below is for Ortho map which covers a wider area than the 1874a map
  EXTENT  232128.515      897273.863                     239515.676
903627.798
  UNITS meters
# IMAGETYPE PNG
  SHAPEPATH "/usr/local/www/htdocs/pwilkerson.decimaldegrees.com/data/"
  SYMBOLSET
"/usr/local/www/htdocs/pwilkerson.decimaldegrees.com/data/etc/symbols.sym"
  FONTSET
"/usr/local/www/htdocs/pwilkerson.decimaldegrees.com/data/etc/fonts.txt"

WEB
  IMAGEPATH "/usr/local/www/htdocs/pwilkerson.decimaldegrees.com/tmp/"
  IMAGEURL "/tmp/"
  MAXSCALE 44956.225339
  MINSCALE 1100.000
END

REFERENCE
   IMAGE
"/usr/local/www/htdocs/pwilkerson.decimaldegrees.com/data/keymap/2001keymap.
gif"
# Extent below is for Ortho map which covers a wider area than the 1874a map
  EXTENT  232128.515      897273.863                     239515.676
903627.798
   STATUS ON
  COLOR -1 -1 -1
  OUTLINECOLOR 255 0 0
 SIZE 200 150
END


#-------------------------------------

LAYER
     NAME "boston1844"
     STATUS Off
     TYPE RASTER
     DATA
"/usr/local/www/htdocs/pwilkerson.decimaldegrees.com/data/m1844/dickinson_18
44.tiff"
END # Layer for Boston 1844 map

LAYER
     NAME "a1874"
     STATUS ON
     TYPE RASTER
     DATA
"/usr/local/www/htdocs/pwilkerson.decimaldegrees.com/data/a1874/1874_index.t
if"
END # Layer for Boston 1874 map

....

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

------_=_NextPart_001_01C469BD.FC3F7890
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Mapserver-users] ArcMap and Geo-referenced TIFF file =
problem</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I am not sure why you are having problems with the =
GeoTIFF, here are a couple of things to check:</FONT>
</P>

<P><FONT SIZE=3D2>-Are you checking the box to create a world file =
under options in the export dialog?</FONT>
</P>

<P><FONT SIZE=3D2>-Are you exporting from &quot;Map&quot; view or =
&quot;Layout&quot; view?&nbsp; If you are in Layout mode you might be =
exporting a GeoTIFF of an 8.5x11 sheet of paper.</FONT></P>

<P><FONT SIZE=3D2>-Arc map will export whatever is in the view =
extent.&nbsp; If you need to convert the whole image to GeoTIFF you are =
better off using ArcToolbox or ERDAS Imagine.</FONT></P>

<P><FONT SIZE=3D2>-What is your source data? Is is another image =
format, or is it map data?&nbsp; </FONT>
</P>

<P><FONT SIZE=3D2>If you cant figure it out, you might try converting =
your imagery to ECW with the free compressor here:</FONT>
</P>

<P><FONT SIZE=3D2><A HREF=3D"http://www.ermapper.com/downloads/" =
TARGET=3D"_blank">http://www.ermapper.com/downloads/</A></FONT>
</P>

<P><FONT SIZE=3D2>I have had great success with ECW imagery on low =
compression settings.</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
</P>

<P><FONT SIZE=3D2>Mike Davis</FONT>
<BR><FONT SIZE=3D2>GIS Analyst</FONT>
<BR><FONT SIZE=3D2>Fort Richardson, AK</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: P Wilkerson [<A =
HREF=3D"mailto:1wilkerson at charter.net">mailto:1wilkerson at charter.net</A>=
] </FONT>
<BR><FONT SIZE=3D2>Sent: Wednesday, July 14, 2004 7:30 AM</FONT>
<BR><FONT SIZE=3D2>To: mapserver-users at lists.gis.umn.edu</FONT>
<BR><FONT SIZE=3D2>Subject: [Mapserver-users] ArcMap and Geo-referenced =
TIFF file problem</FONT>
</P>

<P><FONT SIZE=3D2>I am nearing a critical deadline and I am really =
stumped and need help.</FONT>
</P>

<P><FONT SIZE=3D2>I cannot generate a georeferenced&nbsp; TIFF using =
ArcMap that works within</FONT>
<BR><FONT SIZE=3D2>Mapserver&nbsp; The resolution is either too low or =
only a section of the map is</FONT>
<BR><FONT SIZE=3D2>exported.</FONT>
</P>

<P><FONT SIZE=3D2>Help!</FONT>
</P>

<P><FONT SIZE=3D2>Peter</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT>
</P>

<P><FONT SIZE=3D2>BACKGROUND INFORMATION</FONT>
</P>

<P><FONT SIZE=3D2>The group I am working with is trying to get a =
geo-referenced TIFF image</FONT>
<BR><FONT SIZE=3D2>file exported from ArcMap so it can be used by =
Mapserver.&nbsp;&nbsp; The problem is</FONT>
<BR><FONT SIZE=3D2>that we can export a low-resolution map that is a =
working geo-referenced</FONT>
<BR><FONT SIZE=3D2>TIFF but when we go to export the same map at, say, =
300 dpi one of two</FONT>
<BR><FONT SIZE=3D2>things happen:</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; 1) We only get an output of a part =
of the map that we can see on our</FONT>
<BR><FONT SIZE=3D2>monitor screen rather than the whole =
map.&nbsp;&nbsp; The resulting map also has its</FONT>
<BR><FONT SIZE=3D2>colors changed to some unexpected colors, =
or...</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; 2) We get a high-resolution TIFF =
file that has lost its geo-referencing.</FONT>
</P>

<P><FONT SIZE=3D2>-----------------</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; I tried the Geotiffe utility =
without success to set the values for the</FONT>
<BR><FONT SIZE=3D2>high-resolution, non-georeferenced TIFF (scenario #2 =
above).</FONT>
</P>

<P><FONT SIZE=3D2>-----------------------</FONT>
</P>

<P><FONT SIZE=3D2>Below is a copy of a portion of my map =
file.&nbsp;&nbsp; The boston1844 layer works</FONT>
<BR><FONT SIZE=3D2>fine.&nbsp; I cannot generate a georef TIFF that =
works for the&nbsp; a1874 layer.</FONT>
</P>

<P><FONT SIZE=3D2>MAP</FONT>
<BR><FONT SIZE=3D2>&nbsp; NAME bostonstreets</FONT>
<BR><FONT SIZE=3D2>&nbsp; SIZE 600 450</FONT>
<BR><FONT SIZE=3D2>&nbsp; IMAGECOLOR 195 195 195</FONT>
<BR><FONT SIZE=3D2># Extent below is for Ortho map which covers a wider =
area than the 1874a map</FONT>
<BR><FONT SIZE=3D2>&nbsp; EXTENT&nbsp; =
232128.515&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
897273.863&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
239515.676</FONT>
<BR><FONT SIZE=3D2>903627.798</FONT>
<BR><FONT SIZE=3D2>&nbsp; UNITS meters</FONT>
<BR><FONT SIZE=3D2># IMAGETYPE PNG</FONT>
<BR><FONT SIZE=3D2>&nbsp; SHAPEPATH =
&quot;/usr/local/www/htdocs/pwilkerson.decimaldegrees.com/data/&quot;</F=
ONT>
<BR><FONT SIZE=3D2>&nbsp; SYMBOLSET</FONT>
<BR><FONT =
SIZE=3D2>&quot;/usr/local/www/htdocs/pwilkerson.decimaldegrees.com/data/=
etc/symbols.sym&quot;</FONT>
<BR><FONT SIZE=3D2>&nbsp; FONTSET</FONT>
<BR><FONT =
SIZE=3D2>&quot;/usr/local/www/htdocs/pwilkerson.decimaldegrees.com/data/=
etc/fonts.txt&quot;</FONT>
</P>

<P><FONT SIZE=3D2>WEB</FONT>
<BR><FONT SIZE=3D2>&nbsp; IMAGEPATH =
&quot;/usr/local/www/htdocs/pwilkerson.decimaldegrees.com/tmp/&quot;</FO=
NT>
<BR><FONT SIZE=3D2>&nbsp; IMAGEURL &quot;/tmp/&quot;</FONT>
<BR><FONT SIZE=3D2>&nbsp; MAXSCALE 44956.225339</FONT>
<BR><FONT SIZE=3D2>&nbsp; MINSCALE 1100.000</FONT>
<BR><FONT SIZE=3D2>END</FONT>
</P>

<P><FONT SIZE=3D2>REFERENCE</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; IMAGE</FONT>
<BR><FONT =
SIZE=3D2>&quot;/usr/local/www/htdocs/pwilkerson.decimaldegrees.com/data/=
keymap/2001keymap.</FONT>
<BR><FONT SIZE=3D2>gif&quot;</FONT>
<BR><FONT SIZE=3D2># Extent below is for Ortho map which covers a wider =
area than the 1874a map</FONT>
<BR><FONT SIZE=3D2>&nbsp; EXTENT&nbsp; =
232128.515&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
897273.863&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
239515.676</FONT>
<BR><FONT SIZE=3D2>903627.798</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; STATUS ON</FONT>
<BR><FONT SIZE=3D2>&nbsp; COLOR -1 -1 -1</FONT>
<BR><FONT SIZE=3D2>&nbsp; OUTLINECOLOR 255 0 0</FONT>
<BR><FONT SIZE=3D2>&nbsp;SIZE 200 150</FONT>
<BR><FONT SIZE=3D2>END</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>#-------------------------------------</FONT>
</P>

<P><FONT SIZE=3D2>LAYER</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; NAME =
&quot;boston1844&quot;</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; STATUS Off</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; TYPE RASTER</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; DATA</FONT>
<BR><FONT =
SIZE=3D2>&quot;/usr/local/www/htdocs/pwilkerson.decimaldegrees.com/data/=
m1844/dickinson_18</FONT>
<BR><FONT SIZE=3D2>44.tiff&quot;</FONT>
<BR><FONT SIZE=3D2>END # Layer for Boston 1844 map</FONT>
</P>

<P><FONT SIZE=3D2>LAYER</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; NAME =
&quot;a1874&quot;</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; STATUS ON</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; TYPE RASTER</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; DATA</FONT>
<BR><FONT =
SIZE=3D2>&quot;/usr/local/www/htdocs/pwilkerson.decimaldegrees.com/data/=
a1874/1874_index.t</FONT>
<BR><FONT SIZE=3D2>if&quot;</FONT>
<BR><FONT SIZE=3D2>END # Layer for Boston 1874 map</FONT>
</P>

<P><FONT SIZE=3D2>....</FONT>
</P>

<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Mapserver-users mailing list</FONT>
<BR><FONT SIZE=3D2>Mapserver-users at lists.gis.umn.edu</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://lists.gis.umn.edu/mailman/listinfo/mapserver-users" =
TARGET=3D"_blank">http://lists.gis.umn.edu/mailman/listinfo/mapserver-us=
ers</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C469BD.FC3F7890--




More information about the mapserver-users mailing list