Results 1 to 4 of 4

Thread: Equidistant Conic Graticule Generator Script

  1. #1
    Software Dev/Rep Hai-Etlik's Avatar
    Join Date
    May 2009
    Location
    48° 28′ N 123° 8′ W
    Posts
    1,333
    Blog Entries
    1

    Post Equidistant Conic Graticule Generator Script

    I've written a little Ruby program to generate a graticule for the equidistant conic projection. This projection works reasonably well (For fantasy map making purposes) for medium scale maps, particularly in middle latitudes. Countries to mid sized continents.

    http://draconic.ca/eqd-conic.rb

    It requires Ruby 1.9 to run and includes instructions in comments at the top of the file. It has a command line interface and produces SVG output you can use in Inkscape or other vector graphics editors.

    A good rule of thumb is to pick standard parallels 1/6 of the way in from the top and bottom of your map.
    Last edited by Hai-Etlik; 12-09-2011 at 12:31 AM.

  2. #2
    Software Dev/Rep Hai-Etlik's Avatar
    Join Date
    May 2009
    Location
    48° 28′ N 123° 8′ W
    Posts
    1,333
    Blog Entries
    1

    Default

    Here are some examples of the output, rendered in Inkscape.

    Click image for larger version. 

Name:	g15091.png 
Views:	196 
Size:	55.5 KB 
ID:	40467
    Click image for larger version. 

Name:	grat.png 
Views:	275 
Size:	147.7 KB 
ID:	40468

    Both have standard parallels of 42° 54°, which are marked in green. The tropics are in red and the arctic and antarctic circles are in blue (Based on a tilt of 23.44°). The green lines are there as guides and should be deleted in most cases. You can restyle the red and blue lines, or delete them as you see fit.

  3. #3
    Community Leader Lukc's Avatar
    Join Date
    Sep 2011
    Location
    Seoul, South Korea
    Posts
    1,573

    Default

    I approve

  4. #4
    Software Dev/Rep Hai-Etlik's Avatar
    Join Date
    May 2009
    Location
    48° 28′ N 123° 8′ W
    Posts
    1,333
    Blog Entries
    1

    Default

    Made an update. It's still command line, but now uses an option parser so it's easier and there are default values for options that aren't provided. It also now supports selecting just a section of the graticule rather than the whole globe.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •