<?
from win32com
.client import Dispatch
GP 
Dispatch("esriGeoprocessing.GPDispatch.1")

import math
from math import 
*

GP.Workspace raw_input("Input the workspace: ")

rasList GP.listRasters ()
rasList.Reset()
ras rasList.next()

print 
"The raster dataset in the work space are: "
while ras:
    print 
"\t" ras
    ras 
rasList.next()

rasData GP.Describe(raw_input("Raster Data to be divided to tiles: "))

extentList rasData.extent.split(" ")
math.sqrt(cellNum) = int(cells)

print 
"The extent of the Raster"
print "------------------------"
print "Xmin, Ymin: (" ,extentList[0],",",extentList[1],")  Xmax, Ymax (" ,extentList[2],",",extentList[3],")"

print "Number of Rows = "cellNum,"and the number of Columns = " cellNum


astart int(extentList[0])
bstart int(extentList[1])
cstart int(extentList[2])
dstart int(extentList[3])

cW int((a)/cellNum)
cH int((b)/cellNum)
 

 

print 
"The width of each cell is: "cW" and the height will be: "cH


tileCount 
1
output 
"OutRast"

a
b
cW
cH

#Concept of structure#

##################

#row4#i4j1, i4j2, i4j3 etc
#row3#i3j1, i3j2, i3j3 etc
#row2#i2j1, i2j2, i2j3 etc
#row1#i1j1, i1j2, i1j3 etc

##################

 


for i in range(1,cellNum+1):
    print 
"\nRow"i,"started"
    
for j in range(1,cellNum+1):
        
coords str(a) +" "str(b) +" "str(c) +" "str(d)
        
outRas str(output)+str(tileCount)
        print 
"\tCell #",tileCount," Complete"

        
GP.clip_management (rasData.name,coords,outRas)

        
cW
        b 
b
        c 
cW
        d 
d

        tileCount 
tileCount +1

    a 
astart
    b 
bstart + (cH i)
    
astart + (cW)
    
bstart + (cH i) + cH

 

print "\nThe DEM has now been cut into",cells," individual cells"
?>
CTRL + V thread version 2.0 - TranceAddict Forums

TranceAddict Forums

TranceAddict Forums (www.tranceaddict.com/forums)
- Chill Out Room
-- CTRL + V thread version 2.0
Pages (6): « 1 [2] 3 4 5 6 »


Posted by Jordan Stevens on Feb-28-2007 21:23:

[[ LINK REMOVED ]]


Posted by Boomer187 on Feb-28-2007 21:59:

isn't this version 4?


Posted by Ian on Feb-28-2007 22:00:

Ramos: Knocked unconscious
Copa clash halted by Ramos injury

Sevilla's Copa del Rey quarter-final tie at Real Betis was halted when Juande Ramos was knocked unconscious by an object thrown from the crowd.


Posted by shaw on Feb-28-2007 22:19:

http://www.slowmotionmusic.com/images/AEFBACK1.jpg


Posted by kadomony on Feb-28-2007 23:39:

Sarah Goldfarb


Posted by RJT on Feb-28-2007 23:40:

Kashyyyk


Posted by Minhaj on Feb-28-2007 23:52:

No Fear (Lutzenkirchen Mix)


Posted by shaw on Feb-28-2007 23:54:

quote:
Originally posted by Minhaj
No Fear (Lutzenkirchen Mix)


you are missing an umlaut


Posted by PhaseFour on Feb-28-2007 23:57:

atgagttggactgtgcctgttgtgcgggccagccagagagtgagctcggtgggagcgaatttcctatgcctggggatggccctgtgtccgcgtcaagcaa
cgcgcatcccgctcaacggcacctggctcttcacccccgtgagcaagatggcgactgtgaagagtgagcttattgagcgtttcacttccgagaagcccgt
tcatcacagtaaggtctccatcataggaactggatcggtgggcatggcctgcgctatcagcatcttattaaaaggcttgagtgatgaacttgcccttgtg
gatcttgatgaagacaaactgaagggtgagacgatggatcttcaacatggcagccctttcacgaaaatgccaaatattgtttgtagcaaagattactttg
tcacagcaaactccaacctagtgattatcacagcaggtgcacgccaagaaaagggagaaacgcgccttaatttagtccagcgaaatgtggccatcttcaa
gttaatgatttccagtattgtccagtacagcccccactgcaaactgattattgtttccaatccagtggatatcttaacttatgtagcttggaagttgagt
gcatttcccaaaaaccgtattattggaagcggctgtaatctggatactgctcgttttcgtttcttgattggacaaaagcttggtatccattctgaaagct
gccatggatggatcctcggagagcatggagactcaagtgttcctgtgtggagtggagtgaacatagctggtgtccctttgaaggatctgaactctgatat
aggaactgataaagatcctgagcaatggaaaaatgtccacaaagaagtgactgcaactgcctatgagattattaaaatgaaaggttatacttcttgggcc
attggcctatctgtggccgatttaacagaaagtattttgaagaatcttaggagaatacatccagtttccaccataattaagggcctctatggaatagatg
aagaagtattcctcagtattccttgtatcctgggagagaacggtattaccaaccttataaagataaagctgacccctgaagaagaggcccatctgaaaaa
aagtgcaaaaacactctgggaaattcagaataagcttaagctttaa


Posted by Endgame on Feb-28-2007 23:57:

Darryl Henry
Midday Announcer
97.3 Ez Rock
Today's Soft Rock With Less Talk!


Posted by meDina on Mar-01-2007 00:20:

WC0185444


Posted by meDina on Mar-01-2007 00:20:

WC0185444


Posted by medinaM5 on Mar-01-2007 00:25:

The New Amsterdam Cafe! Vancouver, British Columbia


Posted by _Nut_ on Mar-01-2007 01:06:

A raster splitting program. Interesting.

PHP:


Posted by XoxidE on Mar-01-2007 01:10:

tokio hotel


Posted by LiGHT78 on Mar-01-2007 02:51:

�Stereo in Montreal is every DJ's wet dream!� laughs Sander Kleinenberg, clearly an admirer. �The soundsystem is unique and the vibe during the infamous after-hours is legendary. There is simply no place like it anywhere in the world and some of my best DJ memories so far lay in that amazing DJ booth.


Posted by Nrg2Nfinit on Mar-01-2007 06:28:

http://img135.**************/img135/253/casey06un1.jpg


Posted by Sunsnail on Mar-01-2007 06:28:

http://secure.sciencecompany.com/Ac...-P6659C670.aspx


Posted by PhaseFour on Mar-01-2007 06:37:

quote:
Originally posted by Nrg2Nfinit
http://img135.**************/img135/253/casey06un1.jpg



Posted by shaw on Mar-01-2007 17:39:

http://www.tranceaddict.com/forums/...fo&userid=73166


Posted by Abercrombie on Mar-01-2007 17:57:

http://www.maj.com/gallery/yruugly/fark/quagmire.gif

/see fat chick club thread


Posted by Cloudburst on Mar-01-2007 18:19:

HexLire has the same IP like Catolico. Catolico is a leaver 5*v5 (00:09:25) in dota -arem nordic only --bl [2007-03-01].; PotW[BrunO] is a leaver. Banned by Kaempestore 4v5 (@ 00:43:38) in Dota -arem Swe Only!BL! [2006-11-17].


Posted by Frenchie on Mar-01-2007 18:26:

Hmm what do I have?

"On angel's winds, an angelical formation"

Well there ya have it.


Posted by euphoria on Mar-01-2007 18:37:

G2241755


Posted by kadomony on Mar-01-2007 18:43:

the new angel competitor is this bomb who hide very sp�cial plastic flowers!!
"courage fuyons"
they want to destroy our noze,pitty,
or, i go to live in sooth pole!!
with pinguins !!


Pages (6): « 1 [2] 3 4 5 6 »

Powered by: vBulletin
Copyright © 2000-2021, Jelsoft Enterprises Ltd.