Sponsored Content
Full Discussion: Awk and Sed examples
Homework and Emergencies Emergency UNIX and Linux Support Awk and Sed examples Post 302421018 by Greco on Thursday 13th of May 2010 07:48:21 AM
Old 05-13-2010
Google it and you will find the correct asnwer!
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

looking for .profile examples

I'm looking for some 'well documented' .profile examples (8 Replies)
Discussion started by: JimC
8 Replies

2. Shell Programming and Scripting

need examples?

Can someone give me an example of two shells? (1 Reply)
Discussion started by: wmosley2
1 Replies

3. UNIX for Dummies Questions & Answers

SimpleAWK Examples

Can Anyone please give me some simple AWK Examples to clearly understand the usage and syntax of the command. Thanks (2 Replies)
Discussion started by: unxusr123
2 Replies

4. Shell Programming and Scripting

Practice examples for beginners

Hi , I am new to shell scripting . I have been go through many sites and ready the material for shell scripting. But I am not getting complete examples for practice. Can any one suggest me any site that contains lots of ready examples for shell scripting ?? Regards (0 Replies)
Discussion started by: himvat
0 Replies

5. Shell Programming and Scripting

awk script to remove spaces - examples don't show up correctly

I have the following data from a manual database dump. I need to format the columns so that I can import them into an excel spread sheet. So far I have been able to get past the hurdles with vi and grep. Now I have one last issue that I can't get past. Here is an example of the data. Here is... (18 Replies)
Discussion started by: Chris_Rivera
18 Replies

6. Shell Programming and Scripting

examples of hyperlinks in emails

Hi All, Im using bash on a sloaris box. I am using mailx to send emails from the unix box to internal email accounts. Does anyone have an example of how I can generate a hyperlink within the email body so that when the recipeint recieves the email, they can click on the link and the link... (1 Reply)
Discussion started by: satnamx
1 Replies

7. Shell Programming and Scripting

comprehensive expect examples

Can anybody point me to some useful, comprehensive expect examples? I am trying to build a bash script with some telnet interactions. Appreciate any help. Persio (1 Reply)
Discussion started by: ppucci
1 Replies

8. Shell Programming and Scripting

lwp-request examples

Hi; Can i have ne sample examples of of using " lwp-request" in shell script. Is it necessary to have perl installed already in linux box for using this; Thnks; (2 Replies)
Discussion started by: ajaypadvi
2 Replies

9. Shell Programming and Scripting

Is it possible to combine these two PS1 examples?

I need to have the following joined if possible. Any help would be appreciated. 1st PS1 is for current working directory and color in ksh88. PS1=$(printf "\033 2nd PS1 is for the time in ksh88. date '+%H %M %S' | read H M S SECONDS=$((S + 60*(60*H+M))) PS1='${DUMMY:-}... (3 Replies)
Discussion started by: MIBPreacher
3 Replies

10. Shell Programming and Scripting

Need lot of examples

Hi, I need a word doc or pdf which contains lots of Shell Programming samples... This is for my open book examination, thanks in advance.. (2 Replies)
Discussion started by: karthikeayan
2 Replies
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)
All times are GMT -4. The time now is 02:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy