All Projects → jgigault → 42MapGenerator

jgigault / 42MapGenerator

Licence: other
Generate FdF maps of the real world, the Earth's moon and the planet Venus for the project Fil de Fer

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to 42MapGenerator

passport-42
Passport strategy for authenticating with 42 using the OAuth 2.0 API
Stars: ✭ 26 (-55.17%)
Mutual labels:  42born2code, 42, 42school
ft get next line
42 São Paulo - get_next_line
Stars: ✭ 17 (-70.69%)
Mutual labels:  42born2code, 42, 42school
42ShellTester
Integration test suite for Shell implementation
Stars: ✭ 35 (-39.66%)
Mutual labels:  42born2code, 42, 42school
42header.vim
Add and update the 42 comment header at the top of your files
Stars: ✭ 15 (-74.14%)
Mutual labels:  42born2code, 42, 42school
1337
This repository contains a collection of 42School cursus projects in addition to the pool/piscine days (with a detailed step by step explanation). Enjoy!
Stars: ✭ 35 (-39.66%)
Mutual labels:  42born2code, 42, 42school
minishell tester
42 | Complex tester for minishell (42cursus)
Stars: ✭ 31 (-46.55%)
Mutual labels:  42born2code, 42, 42school
42 Projects
What is 42? How does curriculum look like? A manual reference for all 42 projects I've done so far (Zappy, Malloc, C++ Piscine... check out for more)! 💡📈
Stars: ✭ 111 (+91.38%)
Mutual labels:  42born2code, 42, 42school
IRC-Server
IRC server based on TCP/IP protocol to rfc1459 standard
Stars: ✭ 27 (-53.45%)
Mutual labels:  42born2code, 42school
init
School 42 project // DevOps project
Stars: ✭ 13 (-77.59%)
Mutual labels:  42, 42school
examrank-02-03-04-05-06
exam project 2020
Stars: ✭ 195 (+236.21%)
Mutual labels:  42born2code, 42school
42tools
Making 42 life better
Stars: ✭ 43 (-25.86%)
Mutual labels:  42born2code, 42
42-piscine-exam
This repo has all exercises of "C Exam Alone In The Dark - Beginner" sorted from level_00 to Level_05
Stars: ✭ 218 (+275.86%)
Mutual labels:  42born2code, 42
ftprintfdestructor
A script that destroys the school 42 project ft_printf
Stars: ✭ 20 (-65.52%)
Mutual labels:  42born2code, 42
BetterBlackHole
Feeling pressured by the Black Hole and the counter that comes with it? With this extension, you are able to hide the demotivating countdown and sad emote, replacing it by just a date and a motivating message for extra motivation.
Stars: ✭ 17 (-70.69%)
Mutual labels:  42
42cursus
42 project!
Stars: ✭ 27 (-53.45%)
Mutual labels:  42born2code
Cleaner 42
Only for 42Network schools, Cleaner_42 script is linked to cclean command/program, and it saves you some memory space.
Stars: ✭ 186 (+220.69%)
Mutual labels:  42born2code
coalibot
Slack bot for the school 42 using nlopes/slack Slack api client. This bot provide tools for student to access school informations.
Stars: ✭ 22 (-62.07%)
Mutual labels:  42
miniRT
School project for 42 Paris
Stars: ✭ 23 (-60.34%)
Mutual labels:  42
AsLib
🎨: RPG map maker (paint tool)
Stars: ✭ 82 (+41.38%)
Mutual labels:  map-generator
libft-war-machine
forked repository of libftest (by jtoty) for libft at 42
Stars: ✭ 167 (+187.93%)
Mutual labels:  42

42MapGenerator (v2)

42MapGenerator is a tiny bash script developed at School 42 (Paris) for downloading and generating maps of the real world, the Earth's moon and the planet Venus for the pedagogical project Fil de Fer (FdF).

It allows you to find by name the coordinates of a country or a city thanks to the Google Geocoding API and to reduce the exported file size by providing 5 different formats (XXL, XL, L, M, S).

It extracts topography data from 4 different providers:

  • IGN (National Institute of Geographic and Forest Information / France), providing horizontal accuracy up to 250 meters of France and Overseas but excluding marine topography.

  • NOAA (National Oceanic and Atmospheric Administration / USA), providing horizontal accuracy up to 1852 meters (1 arc-meter) of any region of the world but with a limited capacity of exported file size.

  • MGDS (Marine Geoscience Data System / USA), providing an exceptional horizontal accuracy up to 100 meters of any region of the world, including marine topography but excluding some continental regions like Europe.

  • USGS (Astrogeology Science Center / USA), providing planetary data with horizontal accuracy up to 100 meters of Earth's moon and Venus, derived from Earth-based & spatial missions photographs.

install

git clone https://github.com/jgigault/42MapGenerator ~/42MapGenerator

usage

sh ~/42MapGenerator/42MapGenerator.sh

At first, you're asked to select an export directory in which to save the computed FdF maps. Then select a data provider and an available region of the world or a planet. Finally, choose a format and a mode of export of the marine's topography between flatten and keep data.

options

--no-update   // Do not check for updates at launch
--no-color    // Do not display color tags
--no-timeout  // Disable time-out for child processes

Add your options as arguments at launch:

sh ./42MapGenerator --no-update --no-timeout

preset maps

##### IGN
  • France Métropolitaine
  • DOM-TOM: Guadeloupe
  • DOM-TOM: Martinique
  • DOM-TOM: Réunion
  • DOM-TOM: Guyane
  • DOM-TOM: Saint Martin - Saint Barthélémy
USGS
  • Earth's moon
  • Venus
NOAA / MGDS
  • Whole world (MGDS only)
  • Antarctic (MGDS only)
  • Arctic (MGDS only)
  • Europe (NOAA only)
  • Alaska-Aleutians (MGDS only)
  • Cascade Range (West Coast USA)
  • Central America
  • East African Rift System
  • Eastern North American Margin
  • Gulf of California
  • Amazonia
  • Cordillera de los Andes
  • Izu-Bonin-Marinia
  • Nankai
  • New Zealand
  • Papua New Guinea
  • Red Sea
  • Himalaya
  • Mid-Ocean Ridges: EPR 8-11 N
  • Mid-Ocean Ridges: JdF Endeavour
  • Mid-Ocean Ridges: Lau Basin

custom maps

Using NOAA or MGDS as data provider allows you to find by name a country or a city (MGDS only). The coordinates are requested through the Google Geocoding API.

Before downloading and generating a custom map, you can request for an online preview image through the MGDS portal which is opened in your default browser.

previews

about FdF format

The pedagogical project Fil de Fer (FdF) consists in creating a C program that displays a graphical representation of a land. The program takes as first argument a path to a file which contains topography data.

A map for the project FdF is a simple text file based on the standard ARC/INFO Grid Format whose headers are removed.

Here is an ARC/INFO Grid sample file (header are the first 6 lines):

ncols         4
nrows         6
xllcorner     0.0
yllcorner     0.0
cellsize      50.0
NODATA_value  -9999
-9999 -9999 5 2
-9999 20 100 36
3 8 35 10
32 42 50 6
88 75 27 9
13 5 1 -9999

This type of topography data is available through GIS Web Services and several open data FTP servers.

credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].