Image Generator

V1.0

 

Static images of the sky map can be generated and used by Users on their websites.

 

A sample form to generate one such image is listed below

 

<form name="starmap" action="http://server2.sky-map.org/map" method="GET">

<input type="hidden" name="type" value="FULL">

<input type="hidden" name="w" value="900">

<input type="hidden" name="h" value="450">

<input type="hidden" name="angel" value="5.0">

<input type="hidden" name="ra" value="12">

<input type="hidden" name="de" value="00">

<input type="hidden" name="rotation" value="0.0">

<input type="hidden" name="mag" value="7.5">

<input type="hidden" name="max_stars" value="100000">

<input type="hidden" name="zoom" value="0.0">

<input type="hidden" name="borders" value="0.0">

<input type="hidden" name="border_color" value="400000">

<input type="hidden" name="show_grid" value="1">

<input type="hidden" name="grid_color" value="404040">

<input type="hidden" name="grid_color_zero" value="808080">

<input type="hidden" name="grid_lines_width" value="1.0">

<input type="hidden" name="grid_ra_step" value="1.0">

<input type="hidden" name="grid_de_step" value="1.0">

<input type="hidden" name="show_const_lines" value="1">

<input type="hidden" name="constellation_lines_color" value="006000">

<input type="hidden" name="constellation_lines_width" value="1.0">

<input type="hidden" name="language" value="EN">

<input type="hidden" name="show_const_names" value="1">

<input type="hidden" name="constellation_names_color" value="006000">

<input type="hidden" name="const_name_font_type" value="PLAIN">

<input type="hidden" name="const_name_font_name" value="SanSerif">

<input type="hidden" name="const_name_font_size" value="15">

<input type="hidden" name="show_const_boundaries" value="1">

<input type="hidden" name="constellation_boundaries_color" value="000060">

<input type="hidden" name="constellation_boundaries_width" value="1.0">

<input type="hidden" name="background_color" value="1.0">

<input type="hidden" name="output" value="1.0">

<input type="Submit">

</form>

 

 

Here's the form to produce image: full_map.html

 

 

 

 

Variable

Description

Size

Possible values

Default

Image Settings

type

Determines whether a full or a partial image of the sky-map is required.  If partial view is required, then angel, ra, de and rotation must be specified.

4A

·        FULL

·        PART

FULL

w

Width of the required image in pixels. Maximum Size is 2000 pixels

4N

Any numeric value between

900

h

Height of the required image in pixels. Maximum Size is 2000 pixels

4N

Any numeric value between

450

background_color

The image background color. If the value “TRANSPARENT” is used, then a transparent image is generated.

11A

Any hexadecimal color value (RRGGBB).

000000

output

The desired format of the image

3A

GIF
PNG

GIF

borders

This option determine whether the Image Border must be displayed

 

0 - ON

1 -  OFF

<blank> - Default

<blank>

border_color

The color of the image border

 

Any hexadecimal color value RRGGBB format

400000

The following variables must be used only when a partial map (type=part) is required

angel

Angel

3N

0.01 - Minimum

180.00 – Maximum

5.0

ra

Right ascension

2N

00 – Minimum

24 – Maximum

12

de

Declination

2N

-90 degrees – Minimum

+ 90 degrees - Maximum

00

rotation

Rotation

3N

0.0

360.0

0.0

These variable determine the number of stars that will be displayed in the required image. Only ONE of these variables must be used

mag

Magnitude

2N

-26.7 – Minimum

+20.0 - Maximum

7.5

max_stars

Maximum number of stars to be displayed in the image

 

 

100000

zoom

 

 

0.0

0.0

Grid Settings

show_grid

Display Grids in the image

 

0 - ON

1 -  OFF

O

grid_color

The color of the Grid

6A

Any hexadecimal color value in RRGGBB format

404040

grid_color_zero

?????

6A

Any hexadecimal color value RRGGBB format

808080

grid_lines_width

The size of the Grid line in mm

??

??

1.0

grid_ra_step

 

 

0

24

1.0

grid_de_step

 

 

0

90

15.0

Constellation Line Settings

show_const_lines

Determines whether the constellation lines must be displayed

1N

0

1

0

constellation_lines_color

The color of the constellation lines

6A

Any hexadecimal color value

006000

constellation_lines_width

Width of the constellation lines in mm

 

 

 

Option to configure Constellation Name

language

Language of display. The name of the stars or constellation will be displayed in the selected language.

2A

·        "NL" – Dutch

·        "EN" – English

·        "FR" - French 

·        "DE" - German

·        “EL" - Greek     

·        “HE" - Hebrew       

·        “IT" - Italian       

·        “JA" - Japanese       

·        “PL" - Polish       

·        "PT" - Portuguese        

·        “RU" - Russian       

·        “ES" - Spanish       

·        “SV" - Swedish

EN

show_const_names

Determines whether the constellation Name must be displayed

1N

0

1

O

constellation_names_color

The color of the displayed constellation names

6A

Any hexadecimal color value

006000

const_name_font_type

The Font type of the displayed constellation name

11A

PLAIN, BOLD, ITALIC, BOLD_ITALIC

PLAIN

const_name_font_name

The Font Type

2N

0 = Bitstream Charter
1 = Century Schoolbook L
2 = Courier
3 = Courier 10 Pitch
4 = Cursor
5 = Dialog
6 = DialogInput
7 = Dingbats
8 = Hershey
9 = Lucida Bright
10 = Lucida Sans
11 = Lucida Sans Typewriter
12 = Luxi Mono
13 = Luxi Sans
14 = Luxi Serif
15 = Monospaced
16 = Nimbus Mono L
17 = Nimbus Roman No9 L
18 = Nimbus Sans L
19 = SansSerif
20 = Serif
21 = Standard Symbols L
22 = URW Bookman L
23 = URW Chancery L
24 = URW Gothic L
25 = URW Palladio L
26 = Utopia

19

const_name_font_size

The Font size of the displayed constellation name

2N

 

15

Option to configure Constellation boundaries

show_const_boundaries

Determines whether the constellation Boundary must be displayed

1N

0

1

0

constellation_boundaries_color

The color of the displayed constellation boundary

6A

Any hexadecimal color value

000060

constellation_boundaries_width

Width of the constellation Boundary in mm

 

 

1.0