Author Topic: Projections used in "daisy" to make globes  (Read 17740 times)

Planetary Researcher

  • Ra (Power Member)
  • *****
  • Posts: 134
Projections used in "daisy" to make globes
« on: March 05, 2005, 06:00:54 PM »
What projection was used to create the mars mini-globe project? i found the globe project here:
http://astrogeology.usgs.gov/Gallery/MapsAndGlobes/mars.html

Perhaps a more appropriate question would be, "What projection does the USGS use to produce globes?" Any help that you can offer me is greatly appreciated!

Thanks!

thare

  • GIS Support Team
  • Isis (Extreme Power Member)
  • *****
  • Posts: 1217
    • http://webgis.wr.usgs.gov
    • Email
Projections used in "daisy" to make globes
« Reply #1 on: March 05, 2005, 06:02:14 PM »
The software we use to generate the "flower petal" projection is an in-house software package called ISIS2. This software is currently only supported on Linux (Suse9 - works with Red Hat) and Sun Solaris (OSX soon). The source code for ISIS2 is free can be used by all. The actual program is called "daisy".

By following the directions below one could use other cartographic software to emulate the daisy program. (ie. make all the pieces and combine them in photoshop or other image package). One free software package that can project raster to an from different projections in windows is Generic Mapping Tools (GMT). This software is command line driven and can be confusing but it is very powerful. Any commercial software package that supports image reprojection and the two projection listed below could also be used.

Link to GMT:
http://gmt.soest.hawaii.edu/

Link to ISIS2 (and ISIS3):
http://astrogeology.usgs.gov/Projects/ISIS/

Here is the ISIS help on Daisy:

HELP INFORMATION - proc "daisy" library "$ISISEXE"

DAISY - Create a "flower petal" projection for globes
Create a series of 12 Transverse Mercator projections that are 32 degrees in longitude and 91 degrees in latitude to form a "flower petal" projection for making globes. If the northern hemisphere is being created, the latitude range is -1 to +90. If the southern hemisphere is being created, the latitude range is -90 to 1. The petals are formed by changing the center longitude and map rotation in steps of 30 degrees for each Transverse Mercator projection. Each section is put into the mosaic. The final center of the projection is a Lambert Azimuthal Equal-area centered on the pole and covers from -90 to -75 or 75 to 90 degrees latitude and 360 degrees in longitude. This is the last cube that is placed in the mosaic.

The programs that are used are: NUPROJ, GEOM, MOSAIC and DAISPARM (a special program that calculates parameters for DAISY).


Trent
« Last Edit: March 13, 2011, 07:39:43 AM by thare »

globuli

  • Osiris (Active Member)
  • **
  • Posts: 5
“flower petal” projection only possible with ISIS 2?
« Reply #2 on: February 22, 2008, 03:01:01 PM »
the mentioned daisy program is not included in the ISIS 3 package i just downloaded. is it still possible to generate this flower petal gore pattern nevertheless?

thanks

thare

  • GIS Support Team
  • Isis (Extreme Power Member)
  • *****
  • Posts: 1217
    • http://webgis.wr.usgs.gov
    • Email
Projections used in "daisy" to make globes
« Reply #3 on: February 23, 2008, 08:15:05 AM »
The daisy program was just a series of projection loops.  This looping script has not been converted to ISIS3 but it also would not be possible to write at this time.  ISIS3 currently does not support the Lambert Azimuthal Equal-area projection which is required to cap the dasiy projection pedals.  Not sure if the ISIS3 supported projections Lambert Conformal Conic or Polar Stereographic could be substituted but I doubt it.

Update: ISIS3 has added Lambert Azimuthal but the daisy program still has not been ported. Michal (Winski) has an attempt to replicate it on his site below.

ISIS2 is still semi-supported and can be freely installed.  There are also Virtual Machine versions for ISIS2 and ISIS3 that we are testing so you don't have to install anything except the free VMWare Player (or cheap VMWare Fusion for Mac).  These VMs are not officially released so you would need to send a request (posting back would work).

Trent
« Last Edit: March 28, 2015, 12:45:50 PM by thare »

globuli

  • Osiris (Active Member)
  • **
  • Posts: 5
creating flower petal gore patterns
« Reply #4 on: February 23, 2008, 11:37:30 AM »
thanks for the reply. please tell me if you think isis2 daisy would be the right tool for me.
this is what i do: my source imagery are computer generated planar projection (disk shaped polar) images. they will be printed and glued on a globe. at the moment i work with photoshop and flaming pears flexify plugin http://www.flamingpear.com/download.html#flexify to create gores and then i manually rotate and align them to form a flower petal pattern. i'd like to streamline this work a bit to manipulate the image easier. can daisy help here?

thare

  • GIS Support Team
  • Isis (Extreme Power Member)
  • *****
  • Posts: 1217
    • http://webgis.wr.usgs.gov
    • Email
Projections used in "daisy" to make globes
« Reply #5 on: February 25, 2008, 11:02:34 AM »
Once you get the image into ISIS2 format (raw2isis) and define the label correctly (maplab or lev2lab) you simple run the dasiy program and after several minutes you have two gores to cut out and paste.  The output size can be tricky to calculate depending on your globe.  And there might be a couple other minor gotchas along the way but that is it.

The easiest input is just a Simple Cylindrical projection.  Not sure what planar projection (disk shaped polar) looks like.

Alternative programs:
http://netpbm.sourceforge.net/doc/ppmglobe.html

Gimp plugin and "make_gores.pl" PERL script:
http://www.vendian.org/mncharity/dir3/planet_globes/

-Trent

0adrian

  • Guest
Projections used in "daisy" to make globes
« Reply #6 on: May 13, 2008, 06:38:01 PM »
Hi all, I'm new to this forum.

I just wonder is Netpbm freeware? How to get it?

Thanks,

Adrian

globuli

  • Osiris (Active Member)
  • **
  • Posts: 5
Projections used in "daisy" to make globes
« Reply #7 on: May 13, 2008, 06:48:14 PM »
netpbm[1] is open source. you can get it using your packet manager, or typing apt-get netpbm in terminal if you are on linux. but: chances are, that you will still miss ppmglobe since it is not included in the debian package[2] of netpbm. but you can download the source and just compile ppmglobe only and put it to the rest of the netpbm package, that works for me.


[1] http://netpbm.sourceforge.net
[2] http://netpbm.alioth.debian.org

thare

  • GIS Support Team
  • Isis (Extreme Power Member)
  • *****
  • Posts: 1217
    • http://webgis.wr.usgs.gov
    • Email
Projections used in "daisy" to make globes
« Reply #8 on: May 13, 2008, 08:18:41 PM »
To run the PERL script, make_gores.pl, you just need the file to be PPM so I don't think you need the PPM library.  But maybe you are just looking for Netpbm anyway. To save out a PPM file from other formats you can use the freeware imagemagick (for most systems) or irfanview (windows).  If you want ppmglobe then you do need netbpm but it looks like it is included on most systems including cygwin for Windows. older list of OSs: http://www.math.utah.edu/~beebe/unix/p/ppmglobe.html

BTW, if you are stuck on Windows and can't run PERL scripts you can get ActivePerl for Windows.  Once installed, you can check out perl2exe to create an executable from a PERL script.

-Trent

globuli

  • Osiris (Active Member)
  • **
  • Posts: 5
comparison of tools, ISIS2 install, glue
« Reply #9 on: May 16, 2008, 06:10:26 AM »
hi,

thanks to your hints i've done some tests comparing
1. flaming pears flexify2 photoshop plugin
2. make_gores.pl pearl script
3. ppmglobe from netpbm

http://www.maxneupert.de/luc/

left is to try ISIS2 and compare the results. I still struggle with the installation.

globuli

  • Osiris (Active Member)
  • **
  • Posts: 5
ISIS2 on Ubuntu? / How to get the VM version of ISIS2?
« Reply #10 on: May 19, 2008, 07:13:15 AM »
I still need help with the ISIS2 installation. I have OS X, WinXP and Ubuntu at hand. I would appreciate either a confirmation if ISIS2 runs on Ubuntu HH or the mentioned Virtual Machine versions for ISIS2.
Thank you.

jumpjack

  • Horus (New Member)
  • *
  • Posts: 1
Projections used in "daisy" to make globes
« Reply #11 on: December 24, 2008, 05:02:36 AM »
I successfully installed both GMT and Win4GMT (a GUI interface for GMT)

But I can't fully understand how to use both of them to generate a "flower petal" mosaic...  :oops:

How do I specify the input image file and the output image file? Which of the dozens of executables should I use?

thare

  • GIS Support Team
  • Isis (Extreme Power Member)
  • *****
  • Posts: 1217
    • http://webgis.wr.usgs.gov
    • Email
Re: Projections used in "daisy" to make globes
« Reply #12 on: August 13, 2014, 02:43:51 PM »
New gore application has been made available. Worked great for a global Titan mosaic.
http://www.winski.net/?page_id=7 (link updated March, 2015)

Now you can just run an input into a gore on his website: http://www.winski.net/globus-projector/simplified/
and other projections are supported too: http://www.winski.net/?page_id=12 (including custom projections).

thanks to Michal Wisniewski for writing it (source code also available).

-Trent
« Last Edit: March 14, 2015, 06:10:52 AM by thare »

JohnVV

  • Isis (Extreme Power Member)
  • *****
  • Posts: 287
    • Email
Re: Projections used in "daisy" to make globes
« Reply #13 on: January 12, 2015, 01:33:46 AM »
for NON Microsoft users Thares link above REQUIRES Microsoft .Net 2.0

this C# code  may or may not be covered in the linux and apple MONO project

thare

  • GIS Support Team
  • Isis (Extreme Power Member)
  • *****
  • Posts: 1217
    • http://webgis.wr.usgs.gov
    • Email
Re: Projections used in "daisy" to make globes
« Reply #14 on: January 14, 2015, 09:05:15 PM »
Because Michal so nicely documented the program I converted the gore program to Python (requires GDAL -- I currently recommend Anaconda (Python 2.7) environment to get yourself a GDAL/Python environment running quickly. Once Andaconda is installed, from the command prompt run "conda install gdal").

I spent very very minimal time on this so it isn't optimized or robust (and barely tested). For example, currently it will only output a Tiff. It works per band and per line so it should have no trouble with huge files (just slow). Just want to make sure Python could easily handle this (of course with the help of GDAL).

source: https://github.com/USGS-Astrogeology/GDAL_scripts/tree/master/gdal2Gores

Have fun,
Trent

Usage: python gdal2gores.py -ng 8 infile outfile.tif
    where -ng is number of gores in output file. Input format can be any format GDAL recognizes but it should be in a global Simple Cylindrical map projection. It doesn't even need a proper map projection defined in the header.

Example image from converting a 1440x720 Mars MDIM1 grayscale map to an image with 8 gores.
https://www.dropbox.com/s/p2miwi34aq0l5xc/mdim1_gores.jpg?dl=0

« Last Edit: January 18, 2015, 10:41:29 PM by thare »