Jump to content

 
Photo

Importing geotiff into MAPublisher

- - - - -

  • Please log in to reply
9 replies to this topic

#1
Schroder

Schroder

    Contributor

  • Validated Member
  • PipPip
  • 15 posts
  • Gender:Male
  • Location:Perth, AUSTRALIA
  • Australia

Hi,

 

I hope someone can let me know what I am doing wrong.

 

I have a geo-referenced tiff (1m resolution aerial photo) file that looks fine in Arc, BUT I cant import it into Illustrator using Mapublisher.

This is my first attempt using MAPublisher for importing raster data so sure I have just missed a step.

 

It imports correctly for position but all I get is a black image. 

 

Any help appreciated.

 

Cheers

Chris.

 

 



#2
Hans van der Maarel

Hans van der Maarel

    CartoTalk Editor-in-Chief

  • Admin
  • PipPipPipPipPipPipPip
  • 3,805 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Cartography, GIS, history, popular science, music.
  • Netherlands

Open the tiff in Photoshop and see what it looks like there. Look for the mode and channel depth. RGB, 8 bit/channel should always work, but you can do a lot of weird stuff with TIFF's that not every other application can handle fine. If you have a TIFF with a seperate TFW/PRJ you can save it from Photoshop, otherwise save a copy, then import the original as a linked file in MAPublisher and change the link to point to the copy afterwards.

 

Also, try just placing the image in Illustrator (File -> Place) rather than importing it through MAPublisher. If you get the same result it's actually an Illustrator issue ;)


Hans van der Maarel - Cartotalk Editor
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics

#3
David Medeiros

David Medeiros

    Hall of Fame

  • Validated Member
  • PipPipPipPipPipPipPip
  • 1,045 posts
  • Gender:Male
  • Location:Redwood City CA
  • Interests:Cartography, wood working, wooden boats, fishing, camping, overland travel, exploring.
  • United States

I've had the same issues with TIFs from Arc before. One thing to know about Arc creating GeoTIFs is that it frequently saves TIFs with the No Data value stored as value 256 in the TIF, which converts it from 8bit to 16 bit and can cause problems with the file being read in other apps. Try doing a Raster to New format in Arc and set the No Data value back to 0. You also have the option of saving it out as either a signed or unsigned TIF which might effect the outcome as well.

 

Play around with the various saves. Also do as Hans suggested and open and re save the image in PhotoShop (without changing dimensions). This can clear the Arc headers which may be causing the issue, but will still allow you to use the TFW file with MAPub.


GIS Reference and Instruction Specialist, Stanford Geospatial Center.

 

www.mapbliss.com

 


#4
Schroder

Schroder

    Contributor

  • Validated Member
  • PipPip
  • 15 posts
  • Gender:Male
  • Location:Perth, AUSTRALIA
  • Australia

Thanks for your suggestions Hans and David.

 

There seems to be an issue with the tif file directly. Although it displays fine in Arc. It's not just MAPublisher that shows it as a black image. 

I get the same result when I have tried to import/open it in to any of my other programs, including Photoshop.

 

I've tried a couple of other conversion techniques to the tiff (using ER mapper etc) and saving it as a jpeg2 image. 

Still no luck. But I'll hopefully get back to that job sometime early next week and give it another go.

 

I appreciated your replies.

Chris.



#5
David Medeiros

David Medeiros

    Hall of Fame

  • Validated Member
  • PipPipPipPipPipPipPip
  • 1,045 posts
  • Gender:Male
  • Location:Redwood City CA
  • Interests:Cartography, wood working, wooden boats, fishing, camping, overland travel, exploring.
  • United States

Schroder, did you try exporting at different bit depths and types or forcing the no data value to zero in "Raster to New Format"?

 

I've had this issue many time before and it's usually not the original file itself but the Arc export. If Arc can read the and display the image you should be able to get an export that work you'll just need to play with the export settings.

 

Good luck.


GIS Reference and Instruction Specialist, Stanford Geospatial Center.

 

www.mapbliss.com

 


#6
ProMapper

ProMapper

    Master Contributor

  • Validated Member
  • PipPipPipPip
  • 216 posts
  • Gender:Female
  • Location:India
  • Interests:promapper@gmail.com
  • India

Thanks for your suggestions Hans and David.

 

There seems to be an issue with the tif file directly. Although it displays fine in Arc. It's not just MAPublisher that shows it as a black image. 

I get the same result when I have tried to import/open it in to any of my other programs, including Photoshop.

 

I've tried a couple of other conversion techniques to the tiff (using ER mapper etc) and saving it as a jpeg2 image. 

Still no luck. But I'll hopefully get back to that job sometime early next week and give it another go.

 

I appreciated your replies.

Chris.

Chris

 

Most of the GIS software export Geotiff with non-square pixel in default settings. This primarily means that the pixel size in x and y direction is different. The Geotiff header contains this information and that is utilized by other GIS software to display the tiff. So you need to export Geotiffs with square pixel for display in Photoshop or other image display software. The second reason could be LZW compression, it will be good to export the Geotiff without any compression.

 

Now as far as Mapublisher is concerned it does not read Geotiff header, but uses a small file with an extension .tfw (World File) to geographically position it. So you need to enable creation of .tfw file in the software you are using to export Geotiff. Another suggestion, do not export it as Geotiff because Mapubisher does not read the Geotiff header at all.

 

If you want then I can help you out, just send the geotiff file to me and I will send you Mapublisher compatible file. I use Mapublisher 9.3, so I will first check so that you do not face any problems in importing.

 

Anu

http://www.mapsandlocations.com



#7
Hans van der Maarel

Hans van der Maarel

    CartoTalk Editor-in-Chief

  • Admin
  • PipPipPipPipPipPipPip
  • 3,805 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Cartography, GIS, history, popular science, music.
  • Netherlands

Actually, MAPublisher does read GeoTiff headers.


Hans van der Maarel - Cartotalk Editor
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics

#8
ProMapper

ProMapper

    Master Contributor

  • Validated Member
  • PipPipPipPip
  • 216 posts
  • Gender:Female
  • Location:India
  • Interests:promapper@gmail.com
  • India

Actually, MAPublisher does read GeoTiff headers.

I really do not know how would Mapublisher read the header, when we need to place the image files in Illustrator and then apply the world file for geo-referencing it. Is there a direct way to import Geotiff in Mapublisher? Only then Mapublisher will read the Geotiff header, won't it....



#9
Hans van der Maarel

Hans van der Maarel

    CartoTalk Editor-in-Chief

  • Admin
  • PipPipPipPipPipPipPip
  • 3,805 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Cartography, GIS, history, popular science, music.
  • Netherlands

Since 8.something you can import raster images directly through the Simple and Advanced Import of MAPublisher. It supports a number of different formats, I find the PSD option quite useful.

 

Attached File  Screen shot 2014-02-14 at 09.30.37.png   101.89KB   1 downloads


Hans van der Maarel - Cartotalk Editor
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics

#10
ProMapper

ProMapper

    Master Contributor

  • Validated Member
  • PipPipPipPip
  • 216 posts
  • Gender:Female
  • Location:India
  • Interests:promapper@gmail.com
  • India

Since 8.something you can import raster images directly through the Simple and Advanced Import of MAPublisher. It supports a number of different formats, I find the PSD option quite useful.

Thanks Hans, I was not aware of this import option of images. I tried reading a Geotiff without the world file and it reads it and placed it correctly too.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->