7 More Discussions You Might Find Interesting
1. Programming
Hi,
I have an application that I wrote in C using the GTK toolkit that runs on the Linux system.
I have a shell script than when run executes two terminals to open a client and server application.
I would like to know more on how to create custom start-up icons for my program. ie. using... (1 Reply)
Discussion started by: fedora18
1 Replies
2. Shell Programming and Scripting
I am having a hard time wrapping my head around implementing top and ps in a custom shell.
What I have is a shell that allows you to do basic commands as you would in a regular bash shell, but when I do the ps command, it gives me all of the processes within my regular bash shell rather than my... (2 Replies)
Discussion started by: Ziun
2 Replies
3. Shell Programming and Scripting
I have a jump off server, which grants SSH access to a few other servers.
I would like to create a custom shell which can be assigned to specific user accounts which runs a menu script upon login, where they can select which server they want to jump too, however should they hit ctrl-c or any... (1 Reply)
Discussion started by: JayC89
1 Replies
4. Shell Programming and Scripting
Hi, This may be a silly question. I have been searching for a while on this.
How can I create a custom unix command using C (a command similar to 'echo'). (1 Reply)
Discussion started by: tinufarid
1 Replies
5. Homework & Coursework Questions
I am completely new to Shell scripting and I have almost no idea what I'm doing here. I'm not a stranger at all to programming, but the way SHELL is done drives me to insanity. Here's my current issue:
1. We are to create a BASH script called rafactor.sh
This program takes in two (or three)... (6 Replies)
Discussion started by: Okysho
6 Replies
6. UNIX for Dummies Questions & Answers
Let's get some feedback about the top ten ute's you guys use in writing your scripts - I mean yeah it depends on the job and what you're trying to accomplish, but there ARE those commands (sed, grep, awk, cut, etc.) that most will use time and again...
...so, what do you use? (3 Replies)
Discussion started by: diego
3 Replies
7. Shell Programming and Scripting
Hi all ---
I have the need to manage multiple versions of a set of utility scripts -- both shell and SQL and other .dat files. I am wondering if anyone out there knows of a good way to "PATH" to SQL and text files in a way similar to how PATH facilitates finding executables in a pre-specified... (2 Replies)
Discussion started by: DennisB
2 Replies
LEARN ABOUT DEBIAN
gdal2tiles
gdal2tiles(1) General Commands Manual gdal2tiles(1)
NAME
gdal2tiles - gdal2tiles.py generates directory with TMS tiles, KMLs and simple web viewers
SYNOPSIS
gdal2tiles.py [-title "Title"] [-publishurl http://yourserver/dir/]
[-nogooglemaps] [-noopenlayers] [-nokml]
[-googlemapskey KEY] [-forcekml] [-v]
input_file [output_dir]
DESCRIPTION
This utility generates a directory with small tiles and metadata, following OSGeo Tile Map Service Specification. Simple web pages with
viewers based on Google Maps and OpenLayers are generated as well - so anybody can comfortably explore your maps on-line and you do not
need to install or configure any special software (like mapserver) and the map displays very fast in the webbrowser. You only need to
upload generated directory into a web server.
GDAL2Tiles creates also necessary metadata for Google Earth (KML SuperOverlay), in case the supplied map uses EPSG:4326 projection.
World files and embedded georeference is used during tile generation, but you can publish a picture without proper georeference too.
-p PROFILE, --profile=PROFILE:
Tile cutting profile (mercator,geodetic,raster) - default 'mercator' (Google Maps compatible).
-r RESAMPLING, --resampling=RESAMPLING:
Resampling method (average,near,bilinear,cubic,cubicspline,lanczos,antialias) - default 'average'.
-s SRS, --s_srs=SRS:
The spatial reference system used for the source input data.
-z ZOOM, --zoom=ZOOM:
Zoom levels to render (format:'2-5' or '10').
-e, --resume:
Resume mode. Generate only missing files.
-a NODATA, --srcnodata=NODATA:
NODATA transparency value to assign to the input data.
-v, --verbose
Generate verbose output of tile generation.
-h, --help
Show help message and exit.
--version
Show program's version number and exit.
KML (Google Earth) options:
Options for generated Google Earth SuperOverlay metadata
-k, --force-kml
Generate KML for Google Earth - default for 'geodetic' profile and 'raster' in EPSG:4326. For a dataset with different projection use
with caution!
-n, --no-kml:
Avoid automatic generation of KML files for EPSG:4326.
-u URL, --url=URL:
URL address where the generated tiles are going to be published.
Web viewer options:
Options for generated HTML viewers a la Google Maps
-w WEBVIEWER, --webviewer=WEBVIEWER:
Web viewer to generate (all,google,openlayers,none) - default 'all'.
-t TITLE, --title=TITLE:
Title of the map.
-c COPYRIGHT, --copyright=COPYRIGHT:
Copyright for the map.
-g GOOGLEKEY, --googlekey=GOOGLEKEY:
Google Maps API key from http://code.google.com/apis/maps/signup.html.
-y YAHOOKEY, --yahookey=YAHOOKEY:
Yahoo Application ID from http://developer.yahoo.com/wsregapp/.
NOTE: gdal2tiles.py is a Python script that needs to be run against 'new generation' Python GDAL binding.
AUTHORS
Klokan Petr Pridal klokan@klokan.cz as a Google SoC 2007 Project.
GDAL
Tue Sep 18 2012 gdal2tiles(1)