You are on page 1of 32

CursogvSIG

10

2. InterpolarporDistanciainversa: InterpolarvalordeCOTAdelospuntosy
generar nuevo rster MDE interpolado. Desde Sextante, abrir mdulo de
Rasterizacin e interpolacin, seleccionar mtodo de Distancia inversa, con
Radiodebsqueda:500m,exponente2ytamaodepixel10m.Seleccionar
Utilizarlaextensindeotracapa,refiriendonosalacapadepuntosrecincreada.
Interpolacin pordistanciainversa: estainterpolacin es detipolocalydeterminstica,
acotada por el radio de bsqueda. Se debe utilizar un radio mnimo que asegure que
alrededordetodaslasceldasseencuentraunnmerosuficientedepuntos.Siningnpunto

cae dentro del radio, la interpolacin dar como resultado una celda sin datos (valor
99999.0).Elparmetroexponenteeselqueseutilizaenelclculodelospesosdeforma
inversamenteproporcionalaladistancia.Estetipodeinterpolacintieneencuentaparala
ponderacin(asignacindepesos)elalejamientoentrelasceldasperonosuposicin.El
rsterresultanteesdetipocontinuo.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

11

3. Tablavalidacincruzada:Paraconsultarlatabladevalidazincruzada,hacer
Ver/GestordeproyectosyenellistadedocumentosTablaseleccionarlaltima
tablacreada.
Validacincruzada:valoresquesirvenparaverificarlacalidaddelosvaloresinterpolados.
Sehaceunaestimacindelosvalores(mediantelainterpolacin)enunaseriedepuntosde
control(omuestreo)deloscualesseconocesuvalorreal.Elvalorestimadoeselvalorque
lecorresponderaaunpuntosiseinterpolantodoslospuntosmenoselpuntoencuestin.
Latabladevalidacincruzadamuestraladiferenciaentrevalorrealeinterpoladopara
todoslospuntosconvaloresutilizadosparalainterpolacin.

4. Interpolacin por decremento lineal: desde la capa de puntos volver a


interpolarperoestavezconlaopcindeDecrementolineal.Comoparmetros
2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

12

utilizarporejemplo:radiodebsqueda500myexponente2.Extensindela
capadepuntosyresolucin10m.
Decrementolineal:estainterpolacinesdetipolocalydeterminstica,acotadaporelradio
debsqueda.Sediferenciadelainterpolacinpordistanciainversaenlafuncinutilizada
paraelclculodelospesos.Encasodequeelexponentesea1,lafuncindepesoses
lineal.

5. Tabladevalidacincruzada:investigarlasestadsticasdelatabladevalidacin
asociada abriendo latabla, seleccionando el campode Diferencia yhaciendo
Tabla/Estadsticas.
6. InterpolacinpormtodoKriging:desdelacapadepuntos,volverainterpolar
peroestavezconlaopcindeKriging.
Kriging:estemtodoestocstico(nodeterminstico)puedeaplicarsetantodeformaglobal
comodeformalocal.Graciasaestemtodoseconsigueunainterpolacindondeseconoce
elerrorcometidoenlaprediccin.Laponderacindelosvaloresaestimarsehaceatravs
deunvariogramaterico,yaqueatravsdestesepuededescribirlacorrelacinespacial
delosdatos.LosparmetrosNugget,Sill,Rangoymodelocaracterizanelvariograma:
Nugget:variabilidadenlosvaloresestimadosquenopuedeexplicarsemediantelaestructura
espacial.
Sill:Mximavariabilidadenausenciadedependenciaespacial
Rango:Mximadistanciaapartirdelacualdesaparecelacorrelacinespacial.
Modelo:funcinqueseutilizaparadefinirelvariograma.

El error cometido en la interpolacin viene dado en la capa de varianzas. Esta capa


representaunamedidadelerrorquesehacometidoalcalcularlaprediccindevalores,y
puedeserutilizadaparaconocerlabondaddelosclculosenlasdistintaszonas.
2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

13

7. ParmetrosmtodoKriging:utilizarRadioyRango500m,mnimonmerode
puntos4ymximo25,modelodevariogramaesfrico,nugget0.0ySill10.0.
Resolucinde10mylaextensindelacapaoriginaldelospuntosdecota.
Repetirprocesoperoconmodelogaussianoymismosparmetrosanteriores.
Nota:sehandejadolosparmetrospordefectoquecaracterizanelmodelodevariograma,
enlugardeestimarlosenbasealosdatosdecotaoriginales.Paraelprocesodeclculode
los parmetros del variograma emprico puede utilizarse la extensin Autocorrelacin
espacialpresenteenelmduloHerramientasparacapadepuntos.
8. ResultadosmtodoKriging:alosdatosdesalida(rsterinterpoladoytablade
validacincruzada)seaadeunacaparsterconlasvarianzasdelosvaloresde
COTA interpolados. Utilizar la herramienta de Histograma sobre la capa de
varianzasparaverelrangodevaloresdedichoserrores.

9. Salvar a disco duro los MDE creados: si hemos generado las capas en
temporales,tendremosquehacerCapa/Exportara/Raster(formatotif)habiendo
previamenteseleccionadolacaparsterenelTOC.
EnlaventanadedilogodeExportararsterseleccionaremosdesdelaVistala
zonaaexportar.
10. Salvaradiscodurolastablascreadas:crearemosunacapadeeventosapartir
de la tabla y sta puede exportarse desde Capa/Exportar a/ a los formatos
vectorialessoportadosporgvSIG.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

14

Ejercicio2:Clculosrster
Clculodevolmenes
Propsito:
Calcularelvlumendeterrenoexistenteentreunniveldereferenciaylasuperficiedefinidaporel
MDE.
Cartografanecesaria:
MDEgeneradoapartirdelascurvasdenivel,obienMDEgeneradoapartirdepuntosconcota
espaciadosdeformaequidistante.PuedeusarsetambinelficheroMDT_sin_depresiones.tif.
Secuencia:
1. Clculo del volmen: utilizaremos el algoritmo Clculo de volmenes
(Herramientasbsicasraster).Pondremoscomocapadeentradaelrsterinterpolado
ycomoniveldereferencialacota10.0m.Queremosquecalculetodoelvolmen
comprendidoentrelos10.0myelMDEqueleproporcionamos.
2. Resultado:lasunidadesdelresultadodependerndelasunidadesquelasdeltamao
deceldadenuestroMDE.Elresultadopuedeserrecuperadopulsandoeliconode
resultadosdeSextante.
Clculodereasdeinfluencia
Propsito:
Calcular lasreasdeinfluenciasobrepolgonosenformatorster.Normalmentesepiensaesta
funcionalidad sobre formatos vectoriales, pero tambin existen algoritmos para aplicarla sobre
capasrster.
Cartografanecesaria:
SeutilizarunacapadepolgonosquesolapenpartedelaextensindelMDE,concampoID(de
tipo integer), como por ejemplo poligono_buffer.shp. Adems se utilizar tambin el fichero
MDT_sin_depresiones.tif
Secuencia:
1. Rasterizarcapavectorialdepolgonos:hacerloconelmdulodeRasterizacine
interpolacin. Esta capa es la base para el buffer. Tener la precaucin de poner
campoIDcomocampoaconservarenlacaparster,ylaextensinigualaladel
MDEsobreelqueestamostrabajando.Ponereltamaodeceldaa10.0m.
2. CambiarPropiedadesdelacaparsterdepolgonos:unavezcalculadalacapa
rster,puedeversecompletamentenegra.EstoocurreporquelaopcinRealcedela
capaestactivapordefecto.Desdeelmencontextual,desactivarlaenlasolapa
Realce.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

15

3. Buffersobrepolgonos:elbuffersobreestospolgonossecalculaconelmdulo
Zonasdeinfluencia,seleccionandozonadeinfluencia.Seleccionamoslacapacon
lospolgonos,ylaopcindeusarvalordeceldacomodistancia.Lasalidatendrel
mismoextentqueelrsteroriginal.Elresultadonodifiereennadaalacapade
entrada.EstosucedeporqueelmximovalordeIDes4quenosuperaeltamaodel
pixel,porloqueningunodelospolgonospresentabufferrealmente.
4. Aumentarvalordebuffer:ampliaremoselvalorasociadoacadapolgonodela
caparster,conelmduloHerramientasdeclculoparacapasrster,seleccionando
calculadorademapas.
Calculadorademapas:conestaherramientasepuedenhacerclculosalgebraicos
sobre los valores asociados a una capa rster. Para los clculos pueden ser
seleccionadosdistintostiposdedatos:capas,funciones,operadoresyconstantes.
Multiplicarpor100,porejemplo,elvalordelacapadepolgonos.Comprobarque
los valores de pxel asociados a los polgonos son: 100, 200, 300 y 400
respectivamente.
Hacer nuevamente el buffer sobre los polgonos desde el mdulo Zonas de
influencia,seleccionandozonadeinfluencia.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

16

5. Comprobarclculo:comprobarconlaherramientaInformacinqueelclculoseha
hechocorrectamente.Lomismopuedehacersecalculandoelhistogramadenueva
caparster(valores:2eninteriorpolgonos,1enbuffer,0enelresto).

6. Zonadeinfluenciamedianteumbral:elotroalgoritmoquepodemosusarpara
buffersrstereseldeZonadeinfluenciamedianteumbral.Existen2tiposdeumbral
quepodemosusar:absolutoyrelativo.
Umbralabsoluto:empleandoesteumbral,todaslasceldascircundanteshacialas
2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

17

queseexpandeelbufferpasarnaformarpartedestesielvalorenlasmismases

menorquedichoumbral.
Umbralrelativo:seseleccionanparaelbufferenestecasolasceldascontiguaspara
lasqueladiferenciaentrecadaunadeellasylaceldainicialesmenorqueelumbral
definido.
Utilizaremos la capa rster donde tenemos definidos los polgonos (los vectores
rasterizados),lacapadeparmetroumbralserelMDE,yelclculosegnumbral
absolutode55.0m(parasaberquvalorponer,investigarlascotasdelospolgonos
quesequiereextenderconelbuffer).Elextentserelmismoqueeldelrsterde
polgonos.Enlaimagensiguiente,lazonagriseslacorrespondientealosbuffer
extendidosdesdelospolgonosquecumplenquelacotaesmenorde55.0m.

Clculodeperfiles
Propsito:
Calcularelperfillongitudinaldeunarutaqueunedospuntos.Tambinsecalcularnlosperfiles
transversalesadicharuta.Calculandoelperfillongitudinalqueuneunpuntoconotro(oincluso
unarutacompuestaporunaseriedesegmentoslineales)nospermitesabersilalneaquelosune
pasaporterrenollanoono.
Cartografanecesaria:
EsnecesariaunacapavectoriallinealquerepresentelarutadesdeAhastaB.Paraelloutilizarla
capaperfil.shpquecontieneloscamposIDynombre.AdemssernecesarioelMDE,comopor
ejemploMDT_sin_depresiones.tif.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

18

Secuencia:
1. Clculo de perfil longitudinal: abrir el mdulo de Perfiles de Sextante, y
seleccionar Perfil longitudinal. Utilizaremos el MDE y la planta del perfil que
acabamosdedefinir.

2. Resultado:nossaldrelgrficodelperfil(puedeshacerzoomsobreelperfilpara
verdetallesdelmismo),msunacapadepuntosquecontieneinformacindelas
coordenadas(x,y,z)decadaceldacruzadaporelperfilylasdistanciasdesdeel
origen.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

19

Paraguardarestacapadeformapermanenteesnecesarioexportarlaadiscoduro.
3. EliminardepresionesdelMDE:esnecesariotratarpreviamenteelMDEutilizando
el mdulo Eliminar depresiones (de Anlisis hidrolgico bsico) ya que sino el
clculo del perfil puede quedar trunco. Dejaremos el ngulo de inclinacin por
defecto.Estengulohacereferenciaalainclinacinquequeremosqueserellene
cadaceldaqueconformaladepresin.
4. Perfilporlneademximapendiente (aguasabajo):utilizaremoselmdulode
Perfilsegnlneadeflujo.Nosharfaltaconsultarlascoordenadasdelpuntodesde
elcualqueremoselperfil.Utilizarlascoordenadas(480733;6204952).
Perfilsegnlneadeflujo:encasodequeelperfilresultemuypequeopuedeser
debidoaquenosehaprocesadopreviamenteelMDEparaeliminardepresiones.En
estecasoelalgoritmosetruncaalencontrarvaloresdeceldasmenoresquetodaslas
desuentorno,yporlotantonopuedeproseguirconelclculo.
5. Resultados:sehageneradoelgrficodelperfil,unacapadelneasconlaplantadel
perfilyunacapadepuntosconconlascoordenadasdelosmismosylasdistancias
acumuladasdesdeelorigenqueseleccionamos.

6. Clculosseccionestransversales:tambinpodemoscalcularseccionestransversales
(esdecir,perfilesdeunanchofijoyperpendicularesalperfillongitudinal).Utilizar
laherramientaSeccionestransversales(dePerfiles).ElMDEeselmismoquehemos
utilizadoanteriormente,comorutaseleccionaremoslarutacalculadaenelapartado
anterior,losdemsparmetrosdejaremoslosqueaparecenpordefecto.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

20

7. Resultados: seaadealproyectounacapavectoriallineal,endondecadaentidad
tienedefinidalascotasdelospuntospertenecientesalaseccin.Sialgnpuntode
una seccin no tiene interseccin con la superficie, su cota aparecer con valor
99999.0

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

21

Ejercicio3:Clculodemapasrster
Mapadependientes
Propsito:
Calcular unmapadependientesapartirdeunMDEdelazonadeestudio.DesdeSextantees
posible hacerloporvarios algoritmos. El valorcalculado es elnguloexistente entreelvector
normalalasuperficieenesepuntoylavertical.
Cartografanecesaria:
SernecesarioelMDEdelazona,comoporejemploMDT_sin_depresiones.tif.
Secuencia:
1. Clculo de la pendiente: abriremos la extensin Pendiente del mdulo
Geomorfometra y anlisis del relieve. Para el clculo de la pendiente
seleccionaremoselMDEsindepresiones.Comomtodoseleccionaremosprimero
pormximapendiente,ycomounidadesGrados.

2. Analizandovaloresdependiente:haciendounhistogramapodemosaveriguarlos
valores presentes en nuestro mapa de pendientes para saber, por ejemplo, qu
simbologaaplicarle.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

22

3. Tabladecolorparamapa: enelmencontextualdelacapaqueacabamosde
crear,accederaTablasdecolor yactivarlatabla.Seleccionarlatablabluegreen
redyellow delaspredefinidasyaplicarla,hacerSalvarcomoyponerleelnombre
Pendientes.Borrarlasfilasydefinirlosvaloreslmitedelosintervalosdependientes
quequeremosrepresentar(porejemplo40,50,60y70)yasociarunvaloracadauno
deellos.Deestemodohemosdefinidolasimbologadenuestromapadependientes.
4. Clculo con otros algoritmos: repetir este proceso, pero seleccionando otro
algoritmodeclculoyotrasunidades.
Mapadeorientaciones
Propsito:
CalcularunmapadeorientacionesapartirdeunMDEdelazonadeestudio.Paracadapxelse
calculaelngulo(medidoensentidohorario)existenteentreelvectorquesealaelNorteyla
proyeccinhorizontaldelvectornormalalasuperficieenesepxel.Losalgoritmosporelcual
calcularestemapasonlosmismosquelosvistosparaelmapadependientes.Losvaloresdelrster
resultantesernorientacionesexpresadasenradiandes.
Cartografanecesaria:
SernecesarioelMDEdelazona,comoporejemploMDT_sin_depresiones.tif.
Secuencia:
1. Clculodemapadeorientaciones:abriremoslaextensinOrientacindelmdulo
Geomorfometra y anlisis del relieve. Para el clculo de la orientacin
seleccionaremoselMDEsindepresiones.
ComomtodoseleccionaremosAjusteaPolinomiodeGrado3,ylaextensinserla
2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

23

misma que la de los datos de entrada (el MDE). Para analizar los resultados
obtenidossepuedeutilizarlaherramientadeHistogramadeSextante.
2. Cambio deunidades delmapa:sisequiere, porejemplo, pasar los valores de
orientaciones a grados (ya que se calculan en radianes), es necesario usar la
calculadorademapasdesdeHerramientasdeclculoparacapasrster.
DesdeCalculadorademapas,seleccionarlabandadelacapadeorientacionesdel
elemento CAPA, multiplicarla por el valor 180 y dividir la expresin entre la
constantepidelelementoCONSTANTES.Lasalidatendrlamismaextensinque
losdatosdeentrada.

3. Comparaciones: compararambascapas(enradianesyengrados)enbaseasus
histogramas,ycomprobarvisualmentequesonexactamenteiguales.

Mapadecuencasvisuales
Propsito:
Definirelmapadecuencasvisualesapartirdeunaceldaemisora.Laextensindevisibilidad
permitesabersi2celdascualesquieratienenconexinvisual.
Cartografanecesaria:
SernecesarioelMDEdelazona,comoporejemploMDT_sin_depresiones.tif.
Secuencia:
1. Clculodecuencasvisuales: DesdelaextensindeIluminacinyvisibilidadse
accede al mdulo Visibilidad. Existen 4 algortimos (visibilidad, distancia,
2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

24

iluminacinytamao)paraelclculodeestascuencasdevisibilidad.
Mtododevisibilidad:asignavalor1alasceldasvisiblesy0alasnovisibles.
Mtododedistancia:nospermitesaberladistancia,enunidadesdemapa,alaque
seencuentracadaceldadelacuencavisual
Mtododeiluminacin:paralasceldasvisibles,seguardaelvalordelngulode
inclinacin
Mtododetamao:seestimaeltamaorelativoconelquesevernlasceldas,
desdelaceldaemisora,usandoelngulodeinclinacinyladistanciaalacelda.
Seusarelmtododedistancias,lascoordenadasdesdedondesequierecalcularla
cuenca(481590;6204170)yunradiodealcancede1000m.Losdemsparmetros
dejaremos los quevienen pordefecto. La extensinde lacapa desalida ser la
mismaqueladeentrada.

2. Resultados:losvaloresdelacaparesultantesernde3tipos:enlasceldasquecaen
dentrodelradiodealcance yquepertenecen alacuenca visualelvalorser la
distanciaalpuntoemisor,lasceldasquecaendentrodelradiodealcanceperono
pertenecenalacuencavisualelvalorser99999.0,paralasceldasquedistendel
puntoemisormsqueelradiodealcanceelvalorser0.0.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

25

Mapadeexposicinvisual
Propsito:
CalcularelmapadeexposicinvisualapartirdeunMDE.Dichodeotromodo,sequierelocalizar
lasceldasquesonvisiblesdesdeunaceldaounconjuntodeceldaspredefinido,comoporejemplo
uncaminoocarretera.Sielelementodesdeelquesecalculalaexposicinvisualesunacarretera,
podremossaber,porejemplo,lazonaenlacualsedebecolocarpanelesinformativos.
Cartografanecesaria:
SernecesarioelMDE,comoporejemplo MDT_sin_depresiones.tif. Ademsseutilizarlacapa
ruta_exposicionvisual.shp querepresentaelejedelacarreteradesdelacualsequierecalcularla
zonadeexposicinvisual.EstacapatienedefinidouncampodeIDyotronumricocuyovalores
laalturadeestetramodecarretera.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

26

Secuencia:
1. Rasterizar ruta: es necesario convertir acaparsterlacapa deruta parapoder
utilizarlaenelclculodezonasdeexposicinvisual.Paraelloutilizamoselmdulo
deRasterizarcapavectorialdelapartadoRasterizacineinterpolacin.Elcampoque
queremosconservareslaalturadecadacelda.Comoextensindelacapadesalida
seseleccionarelMDE.Comprobarqueelresultadotienevalordecotaenlasceldas
delarutayvalor99999.0enlasdemsceldas.

2. Clculo de exposicin visual: desde la extensin Iluminacin y visibilidad


accedemosalmduloExposicinvisual.Paraelclculodelaszonasdeexposicin
visualseusarelMDE,larutarasterizadacomocapadeelementos,lapoderacinla
haremos con el propio MDE, por el mtodo de Irradiar valores y la distancia
dejaremos laquevienepordefecto.Siaumentamos dichadistanciaveremos que
aparecernmszonasnovisibles(valoresnulosenlacaparesultado).

Mtododeirradiarvalores:estemtodoanalizadesdecadaentidaddelacapatodas
lasceldasqueseveranalrededordelvalordelradiodealcance.Acadaceldadel
mapalesumalacantidaddevecesqueesvistadelacapadeelementos.

3. Resutlado:elrsterresultantecontiene,paracadacelda,elvalordelacantidadde
celdasdelacapaelementoqueleven.Lasceldasconmayorvalorsernlasqueson
msvisiblesdesdelarutadeclculo.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

27

CursogvSIG

28

Ejercicio4:Herramientasbsicasdecapasrster
Recortedeunrster
Propsito:
Generarunacaparsterapartirdelasuperficiedeunacapavectorialpoligonal.Sitenemosun
MDEdetodounpas,conestaherramientapodremosobtenerlapartedelMDEcorrespondientea
undepartamento.
Cartografanecesaria:
SernecesarioelMDE,comoporejemploMDT_sin_depresiones.tif.Ademsutilizaremoslacapa
pol_recorte.shpquecontieneunpolgonoirregular.EstacapadebetenersolapeconelMDE.
Secuencia:
1. RecortedelMDE:desdeSextante,mduloHerramientasbsicasparacapasrster
seleccionarCortarcaparsterconcapadepolgonos.
2. Resultado:obtenemosunrsterrectngular,lasceldasfueradecualquierpolgono
peroquequedandentrodeloslimitesrectangularesdelacapatienenvalordesin
datos(99999.0).

3. Rellenado de celdas sin datos: puede utilizarse uno de los algoritmos visto
anteriormente(Rellenarceldassindatos,rellenarceldassindatosporvecindad,etc).
Ademsexistelaposibilidadderellenaresosvalorescondatosprovenientesdeotra
caparster,usandoelalgoritmoCompletar griddesdeHerramientas bsicas para
capasrster.
2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

29

SeleccionarCompletargrid,comocapabaseelrecorteanterior,capaadicionalel
MDEcompletoyelmtododeinterpolacinDistanciainversa.Laextensindela
capadesalidarsterserlamismaqueladelacapabasedeentrada.

Evidentemente,sielpolgonovectorialdelquepartimosesunrectngulo,todaslas
celdastendrnvalordecotaynoharfaltacompletarelgridresultante.
Vectorizacindecaparster
Propsito:
ApartirdelMDEquehemosutilizadotodalaprctica,generaremosunacapadecurvasdenivel.
Ademsvectorizaremosotrasgeometras(puntos,polgonosylneas).
Cartografanecesaria:
SernecesarioelMDE,comoporejemploMDT_sin_depresiones.tif.Sedebeinvestigarculesson
los valores mximo y mnimo presentes en el MDE ya que son parmetro que necesitaremos
indicar.
Ademsseutilizarunarutarasterizada,comoporejemplo ruta_exposicionvisual_raster.tif .Por
ltimotambinesnecesarioelrsterdepolgonos,comoporejemplopolignos_raster.tif.
Secuencia:
1. Generarcurvasdeniveldesderstercontinuo:enlaextensinVectorizacin
seleccionarCurvasdenivel.ComoparmetrosseleccionarelMDE,lascotas
mnimasymximasquequeremoscalcular(enestecasosern40.0my70.0m)yla
equidistanciade10.0m.
2. Resultado:elresultadosevermuchomssimplificadoquelascurvasoriginales,ya
2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

30

quelosvaloresdecotadelMDEhansidomanipulados(rasterizacin,interpolacin,
recorteycompletado,etc.).

3. Comprobacin: para cada entidad lineal, en la tabla asociada tiene la cota


correspondiente.
4. Generarmalladepuntosdecota:abrirelmduloCaparsteracapadepuntos
paragenerarunamalladepuntosconcotaapartirdeunrster.
SeleccionarelMDErsteryverqueelresultadotieneensutablaasociadalacotade
cadapuntodelamalla.
5. Generar ruta desde rster discreto: aadir el rster ruta_exposicionvisual.tif y
desdeelmduloVectorizarcapadelneas,seleccionarelrsterderutadeexposicin
visualyaplicarelmdulo.Laslneasresultantesunencentrosdeceldasdelrster.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

31

6. Vectorizarpolgonos:abrirelmduloVectorizarcaparster(polgonos).Usaremos
lospolgonosrsterdelejercicioClculodezonasdeinfluenciaencartografarster
(polignos_raster.tif).
Cadaceldadelrstertieneasociadounvalor,yalcrearlacapavectorialpoligonal
dichovalorseconservaenlatabladeatributos(siesdiferentede999999.0).Las
celdascuyovalorsea999999.0sertratadascomoNodata.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

32

Ejercicio5:Modelizadorgrficodeprocesos
Mapadendicedeproteccindesdecurvasdenivel
Propsito:
Diseardeformagrficaunmodeloconceptualquecontengatodoslospasosparacalculardeun
sloclickunmapadendicedeproteccin.
Cartografanecesaria:
UnacapavectorialdecurvasdeniveldelazonadeestudioconcampoCOTAconalturadelas
curvasdenivel,comoporejemploalalti_trozo.shp.
Secuencia:
1. Aadircapaorigendelmodelo:aadirlacapavectorialdecurvasdenivelenuna
vistanueva.ElsistemadereferenciadefinidoenlavistaserelYacar(ROU
USAMS).
2. Modelizador grfico: abrir el Modelizador grfico de Sextante. En el lienzo
debemosdefinirlasentradasnecesariasyelflujodedatosentreentradasyresultados
intermedios, hasta llegar a un resultado final. Poner nombre del mdulo nuevo:
ndiceProteccindesdeCurvasdeNivel.
3. Capa entrada modelo: aadir capa vectorial como entrada nica del modelo.
Llamar aesta entradacurvas denivel.Sedebeestablecer queesteparmetro es
obligatorioydetipolnea.

4. Rasterizar capa vectorial: aadir el pocesos Rasterizar capa vectorial desde


Rasterizacin e Interpolacin. Seleccionar capa de Curvas de nivel como capa
2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

33

vectorial,elcamposerllamadoCOTA(enmaysculas,yasdeberllamarseen
cadacapavectorialdondesequieraaplicarelprocesoqueestamosdefiniendo).No
seseleccionarlaopcindeConservarcomocapaintermediaydejamoselnombre
que nos propone Sextante por defecto. Los parmetros de Salida del rster se
definirn al ejecutar este nuevo mdulo, como con cualquier otro mdulo de
Sextante.
5. Rellenarceldas sindatos: iremos alaextensin Herramientas bsicas decapas
rsteryutilizaremosRellenarceldassindatos.Comocapaorigenseseleccionarel
resultadodelprocesoanterior,ycomoUmbraldetensinsepondrelvalor0.5.
6. Indice de proteccin: desde la extensin Geomorfometra y anlisis del relieve
aadirelalgoritmondicedeproteccin,aplicndoloalaltimacapagenerada,con
unradiode1000.0m(unidadesdelavista).

Elndicedeproteccinsecalculaanalizandoelentornoinmediatodecadacelda
hastaunadistanciaestablecidayevalacmoelrelieve"protege"alamisma.Este
ndicedeproteccinpuedesertilparaunestudioecolgicodelazona.Amayor
radiodeentorno,mayortiempodeejecucin.
Seleccionar Conservar la capa como resultado y poner como nombre Indice de
Proteccin.

7. Guardar modelo nuevo: Debemos guardar el modelo para poder recuperarlo


posteriormente.
8. Ejecutarelproceso:paraejecutarelnuevoprocesosernecesarioteneraadidaa
2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

34

unavistaunacapavectorialdecurvasdenivel.Ejecutardichoprocesodesdela
ventanadelmodelizadordirectamente.
9. Salidarster:utilizarlamismaextensinquelacapadecurvasdenivelyponer
comotamaodecelda15.0m.EncasoqueSextantenosavisequeeltamaodela
capaageneraresdemasiadogrande,aumentardichotamaodecelda.
10. Resultado:luegodequecadaprocesoseejecutedeformaencadenada,obtenemosel
mapadeIndicedeproteccindenuestrazona.
Se puede apreciar que las zonas ms elevadas son las zonas menos protegidas
(valoresmenoresenelmaparesultante).

11. Configurar Gestordeextensiones: para tener disponible nuestro nuevomodelo


desdeelGestordeextensionesiralasPropiedadesdeconfiguracindelmismo,
definirunacarpetaparalosmodelos.
Reiniciar el Gestor de extensiones y ver que aparece un nuevo nodo llamado
Modelosendondetenemosdisponiblenuestromodelocreado.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

CursogvSIG

Referenciaseninternet
(ltimosaccesosFebrerode2009)
DescargadebinariosgvSIG:
http://www.gvsig.gva.es/index.php?id=gvsig_desktop&L=0&K=1
ManualdegvSIGversin1.1:
https://gvsig.org/web/docusr/userguidegvsig11
DescargadebinariodeSEXTANTE:
http://forge.osor.eu/plugins/wiki/index.php?Downloads&id=13&type=g
ConceptosgeneralesdeSEXTANTE:
http://www.sextantegis.com/docs.htm
TutorialesdevideodeSEXTANTE:
http://www.sextantegis.com/video.htm

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

35

CursogvSIG

GNUGENERALPUBLICLICENSE
Version2,June1991
Copyright(C)1989,1991FreeSoftwareFoundation,Inc.,
51FranklinStreet,FifthFloor,Boston,MA021101301USA
Everyoneispermittedtocopyanddistributeverbatimcopies
ofthislicensedocument,butchangingitisnotallowed.
Preamble
Thelicensesformostsoftwarearedesignedtotakeawayyour
freedomtoshareandchangeit.Bycontrast,theGNUGeneralPublic
Licenseisintendedtoguaranteeyourfreedomtoshareandchangefree
softwaretomakesurethesoftwareisfreeforallitsusers.This
GeneralPublicLicenseappliestomostoftheFreeSoftware
Foundation'ssoftwareandtoanyotherprogramwhoseauthorscommitto
usingit.(SomeotherFreeSoftwareFoundationsoftwareiscoveredby
theGNULesserGeneralPublicLicenseinstead.)Youcanapplyitto
yourprograms,too.
Whenwespeakoffreesoftware,wearereferringtofreedom,not
price.OurGeneralPublicLicensesaredesignedtomakesurethatyou
havethefreedomtodistributecopiesoffreesoftware(andchargefor
thisserviceifyouwish),thatyoureceivesourcecodeorcangetit
ifyouwantit,thatyoucanchangethesoftwareorusepiecesofit
innewfreeprograms;andthatyouknowyoucandothesethings.
Toprotectyourrights,weneedtomakerestrictionsthatforbid
anyonetodenyyoutheserightsortoaskyoutosurrendertherights.
Theserestrictionstranslatetocertainresponsibilitiesforyouifyou
distributecopiesofthesoftware,orifyoumodifyit.
Forexample,ifyoudistributecopiesofsuchaprogram,whether
gratisorforafee,youmustgivetherecipientsalltherightsthat
youhave.Youmustmakesurethatthey,too,receiveorcangetthe
sourcecode.Andyoumustshowthemthesetermssotheyknowtheir
rights.
Weprotectyourrightswithtwosteps:(1)copyrightthesoftware,and
(2)offeryouthislicensewhichgivesyoulegalpermissiontocopy,
distributeand/ormodifythesoftware.
Also,foreachauthor'sprotectionandours,wewanttomakecertain
thateveryoneunderstandsthatthereisnowarrantyforthisfree
software.Ifthesoftwareismodifiedbysomeoneelseandpassedon,we
wantitsrecipientstoknowthatwhattheyhaveisnottheoriginal,so
thatanyproblemsintroducedbyotherswillnotreflectontheoriginal
authors'reputations.
Finally,anyfreeprogramisthreatenedconstantlybysoftware
patents.Wewishtoavoidthedangerthatredistributorsofafree
programwillindividuallyobtainpatentlicenses,ineffectmakingthe
programproprietary.Topreventthis,wehavemadeitclearthatany
patentmustbelicensedforeveryone'sfreeuseornotlicensedatall.
Theprecisetermsandconditionsforcopying,distributionand
2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

36

CursogvSIG
modificationfollow.
GNUGENERALPUBLICLICENSE
TERMSANDCONDITIONSFORCOPYING,DISTRIBUTIONANDMODIFICATION
0.ThisLicenseappliestoanyprogramorotherworkwhichcontains
anoticeplacedbythecopyrightholdersayingitmaybedistributed
underthetermsofthisGeneralPublicLicense.The"Program",below,
referstoanysuchprogramorwork,anda"workbasedontheProgram"
meanseithertheProgramoranyderivativeworkundercopyrightlaw:
thatistosay,aworkcontainingtheProgramoraportionofit,
eitherverbatimorwithmodificationsand/ortranslatedintoanother
language.(Hereinafter,translationisincludedwithoutlimitationin
theterm"modification".)Eachlicenseeisaddressedas"you".
Activitiesotherthancopying,distributionandmodificationarenot
coveredbythisLicense;theyareoutsideitsscope.Theactof
runningtheProgramisnotrestricted,andtheoutputfromtheProgram
iscoveredonlyifitscontentsconstituteaworkbasedonthe
Program(independentofhavingbeenmadebyrunningtheProgram).
WhetherthatistruedependsonwhattheProgramdoes.
1.YoumaycopyanddistributeverbatimcopiesoftheProgram's
sourcecodeasyoureceiveit,inanymedium,providedthatyou
conspicuouslyandappropriatelypublishoneachcopyanappropriate
copyrightnoticeanddisclaimerofwarranty;keepintactallthe
noticesthatrefertothisLicenseandtotheabsenceofanywarranty;
andgiveanyotherrecipientsoftheProgramacopyofthisLicense
alongwiththeProgram.
Youmaychargeafeeforthephysicalactoftransferringacopy,and
youmayatyouroptionofferwarrantyprotectioninexchangeforafee.
2.YoumaymodifyyourcopyorcopiesoftheProgramoranyportion
ofit,thusformingaworkbasedontheProgram,andcopyand
distributesuchmodificationsorworkunderthetermsofSection1
above,providedthatyoualsomeetalloftheseconditions:
a)Youmustcausethemodifiedfilestocarryprominentnotices
statingthatyouchangedthefilesandthedateofanychange.
b)Youmustcauseanyworkthatyoudistributeorpublish,thatin
wholeorinpartcontainsorisderivedfromtheProgramorany
partthereof,tobelicensedasawholeatnochargetoallthird
partiesunderthetermsofthisLicense.
c)Ifthemodifiedprogramnormallyreadscommandsinteractively
whenrun,youmustcauseit,whenstartedrunningforsuch
interactiveuseinthemostordinaryway,toprintordisplayan
announcementincludinganappropriatecopyrightnoticeanda
noticethatthereisnowarranty(orelse,sayingthatyouprovide
awarranty)andthatusersmayredistributetheprogramunder
theseconditions,andtellingtheuserhowtoviewacopyofthis
License.(Exception:iftheProgramitselfisinteractivebut
doesnotnormallyprintsuchanannouncement,yourworkbasedon
theProgramisnotrequiredtoprintanannouncement.)
Theserequirementsapplytothemodifiedworkasawhole.If
identifiablesectionsofthatworkarenotderivedfromtheProgram,
andcanbereasonablyconsideredindependentandseparateworksin
themselves,thenthisLicense,anditsterms,donotapplytothose
2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

37

CursogvSIG
sectionswhenyoudistributethemasseparateworks.Butwhenyou
distributethesamesectionsaspartofawholewhichisaworkbased
ontheProgram,thedistributionofthewholemustbeonthetermsof
thisLicense,whosepermissionsforotherlicenseesextendtothe
entirewhole,andthustoeachandeverypartregardlessofwhowroteit.
Thus,itisnottheintentofthissectiontoclaimrightsorcontest
yourrightstoworkwrittenentirelybyyou;rather,theintentisto
exercisetherighttocontrolthedistributionofderivativeor
collectiveworksbasedontheProgram.
Inaddition,mereaggregationofanotherworknotbasedontheProgram
withtheProgram(orwithaworkbasedontheProgram)onavolumeof
astorageordistributionmediumdoesnotbringtheotherworkunder
thescopeofthisLicense.
3.YoumaycopyanddistributetheProgram(oraworkbasedonit,
underSection2)inobjectcodeorexecutableformunderthetermsof
Sections1and2aboveprovidedthatyoualsodooneofthefollowing:
a)Accompanyitwiththecompletecorrespondingmachinereadable
sourcecode,whichmustbedistributedunderthetermsofSections
1and2aboveonamediumcustomarilyusedforsoftwareinterchange;or,
b)Accompanyitwithawrittenoffer,validforatleastthree
years,togiveanythirdparty,forachargenomorethanyour
costofphysicallyperformingsourcedistribution,acomplete
machinereadablecopyofthecorrespondingsourcecode,tobe
distributedunderthetermsofSections1and2aboveonamedium
customarilyusedforsoftwareinterchange;or,
c)Accompanyitwiththeinformationyoureceivedastotheoffer
todistributecorrespondingsourcecode.(Thisalternativeis
allowedonlyfornoncommercialdistributionandonlyifyou
receivedtheprograminobjectcodeorexecutableformwithsuch
anoffer,inaccordwithSubsectionbabove.)
Thesourcecodeforaworkmeansthepreferredformoftheworkfor
makingmodificationstoit.Foranexecutablework,completesource
codemeansallthesourcecodeforallmodulesitcontains,plusany
associatedinterfacedefinitionfiles,plusthescriptsusedto
controlcompilationandinstallationoftheexecutable.However,asa
specialexception,thesourcecodedistributedneednotinclude
anythingthatisnormallydistributed(ineithersourceorbinary
form)withthemajorcomponents(compiler,kernel,andsoon)ofthe
operatingsystemonwhichtheexecutableruns,unlessthatcomponent
itselfaccompaniestheexecutable.
Ifdistributionofexecutableorobjectcodeismadebyoffering
accesstocopyfromadesignatedplace,thenofferingequivalent
accesstocopythesourcecodefromthesameplacecountsas
distributionofthesourcecode,eventhoughthirdpartiesarenot
compelledtocopythesourcealongwiththeobjectcode.
4.Youmaynotcopy,modify,sublicense,ordistributetheProgram
exceptasexpresslyprovidedunderthisLicense.Anyattempt
otherwisetocopy,modify,sublicenseordistributetheProgramis
void,andwillautomaticallyterminateyourrightsunderthisLicense.
However,partieswhohavereceivedcopies,orrights,fromyouunder
thisLicensewillnothavetheirlicensesterminatedsolongassuch
partiesremaininfullcompliance.
2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

38

CursogvSIG
5.YouarenotrequiredtoacceptthisLicense,sinceyouhavenot
signedit.However,nothingelsegrantsyoupermissiontomodifyor
distributetheProgramoritsderivativeworks.Theseactionsare
prohibitedbylawifyoudonotacceptthisLicense.Therefore,by
modifyingordistributingtheProgram(oranyworkbasedonthe
Program),youindicateyouracceptanceofthisLicensetodoso,and
allitstermsandconditionsforcopying,distributingormodifying
theProgramorworksbasedonit.
6.EachtimeyouredistributetheProgram(oranyworkbasedonthe
Program),therecipientautomaticallyreceivesalicensefromthe
originallicensortocopy,distributeormodifytheProgramsubjectto
thesetermsandconditions.Youmaynotimposeanyfurther
restrictionsontherecipients'exerciseoftherightsgrantedherein.
Youarenotresponsibleforenforcingcompliancebythirdpartiesto
thisLicense.
7.If,asaconsequenceofacourtjudgmentorallegationofpatent
infringementorforanyotherreason(notlimitedtopatentissues),
conditionsareimposedonyou(whetherbycourtorder,agreementor
otherwise)thatcontradicttheconditionsofthisLicense,theydonot
excuseyoufromtheconditionsofthisLicense.Ifyoucannot
distributesoastosatisfysimultaneouslyyourobligationsunderthis
Licenseandanyotherpertinentobligations,thenasaconsequenceyou
maynotdistributetheProgramatall.Forexample,ifapatent
licensewouldnotpermitroyaltyfreeredistributionoftheProgramby
allthosewhoreceivecopiesdirectlyorindirectlythroughyou,then
theonlywayyoucouldsatisfybothitandthisLicensewouldbeto
refrainentirelyfromdistributionoftheProgram.
Ifanyportionofthissectionisheldinvalidorunenforceableunder
anyparticularcircumstance,thebalanceofthesectionisintendedto
applyandthesectionasawholeisintendedtoapplyinother
circumstances.
Itisnotthepurposeofthissectiontoinduceyoutoinfringeany
patentsorotherpropertyrightclaimsortocontestvalidityofany
suchclaims;thissectionhasthesolepurposeofprotectingthe
integrityofthefreesoftwaredistributionsystem,whichis
implementedbypubliclicensepractices.Manypeoplehavemade
generouscontributionstothewiderangeofsoftwaredistributed
throughthatsysteminrelianceonconsistentapplicationofthat
system;itisuptotheauthor/donortodecideifheorsheiswilling
todistributesoftwarethroughanyothersystemandalicenseecannot
imposethatchoice.
Thissectionisintendedtomakethoroughlyclearwhatisbelievedto
beaconsequenceoftherestofthisLicense.
8.Ifthedistributionand/oruseoftheProgramisrestrictedin
certaincountrieseitherbypatentsorbycopyrightedinterfaces,the
originalcopyrightholderwhoplacestheProgramunderthisLicense
mayaddanexplicitgeographicaldistributionlimitationexcluding
thosecountries,sothatdistributionispermittedonlyinoramong
countriesnotthusexcluded.Insuchcase,thisLicenseincorporates
thelimitationasifwritteninthebodyofthisLicense.
9.TheFreeSoftwareFoundationmaypublishrevisedand/ornewversions
oftheGeneralPublicLicensefromtimetotime.Suchnewversionswill
besimilarinspirittothepresentversion,butmaydifferindetailto
2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

39

CursogvSIG
addressnewproblemsorconcerns.
Eachversionisgivenadistinguishingversionnumber.IftheProgram
specifiesaversionnumberofthisLicensewhichappliestoitand"any
laterversion",youhavetheoptionoffollowingthetermsandconditions
eitherofthatversionorofanylaterversionpublishedbytheFree
SoftwareFoundation.IftheProgramdoesnotspecifyaversionnumberof
thisLicense,youmaychooseanyversioneverpublishedbytheFreeSoftware
Foundation.
10.IfyouwishtoincorporatepartsoftheProgramintootherfree
programswhosedistributionconditionsaredifferent,writetotheauthor
toaskforpermission.ForsoftwarewhichiscopyrightedbytheFree
SoftwareFoundation,writetotheFreeSoftwareFoundation;wesometimes
makeexceptionsforthis.Ourdecisionwillbeguidedbythetwogoals
ofpreservingthefreestatusofallderivativesofourfreesoftwareand
ofpromotingthesharingandreuseofsoftwaregenerally.
NOWARRANTY
11.BECAUSETHEPROGRAMISLICENSEDFREEOFCHARGE,THEREISNOWARRANTY
FORTHEPROGRAM,TOTHEEXTENTPERMITTEDBYAPPLICABLELAW.EXCEPTWHEN
OTHERWISESTATEDINWRITINGTHECOPYRIGHTHOLDERSAND/OROTHERPARTIES
PROVIDETHEPROGRAM"ASIS"WITHOUTWARRANTYOFANYKIND,EITHEREXPRESSED
ORIMPLIED,INCLUDING,BUTNOTLIMITEDTO,THEIMPLIEDWARRANTIESOF
MERCHANTABILITYANDFITNESSFORAPARTICULARPURPOSE.THEENTIRERISKAS
TOTHEQUALITYANDPERFORMANCEOFTHEPROGRAMISWITHYOU.SHOULDTHE
PROGRAMPROVEDEFECTIVE,YOUASSUMETHECOSTOFALLNECESSARYSERVICING,
REPAIRORCORRECTION.
12.INNOEVENTUNLESSREQUIREDBYAPPLICABLELAWORAGREEDTOINWRITING
WILLANYCOPYRIGHTHOLDER,ORANYOTHERPARTYWHOMAYMODIFYAND/OR
REDISTRIBUTETHEPROGRAMASPERMITTEDABOVE,BELIABLETOYOUFORDAMAGES,
INCLUDINGANYGENERAL,SPECIAL,INCIDENTALORCONSEQUENTIALDAMAGESARISING
OUTOFTHEUSEORINABILITYTOUSETHEPROGRAM(INCLUDINGBUTNOTLIMITED
TOLOSSOFDATAORDATABEINGRENDEREDINACCURATEORLOSSESSUSTAINEDBY
YOUORTHIRDPARTIESORAFAILUREOFTHEPROGRAMTOOPERATEWITHANYOTHER
PROGRAMS),EVENIFSUCHHOLDEROROTHERPARTYHASBEENADVISEDOFTHE
POSSIBILITYOFSUCHDAMAGES.
ENDOFTERMSANDCONDITIONS
HowtoApplyTheseTermstoYourNewPrograms
Ifyoudevelopanewprogram,andyouwantittobeofthegreatest
possibleusetothepublic,thebestwaytoachievethisistomakeit
freesoftwarewhicheveryonecanredistributeandchangeundertheseterms.
Todoso,attachthefollowingnoticestotheprogram.Itissafest
toattachthemtothestartofeachsourcefiletomosteffectively
conveytheexclusionofwarranty;andeachfileshouldhaveatleast
the"copyright"lineandapointertowherethefullnoticeisfound.
<onelinetogivetheprogram'snameandabriefideaofwhatitdoes.>
Copyright(C)<year><nameofauthor>
Thisprogramisfreesoftware;youcanredistributeitand/ormodify
itunderthetermsoftheGNUGeneralPublicLicenseaspublishedby
theFreeSoftwareFoundation;eitherversion2oftheLicense,or
(atyouroption)anylaterversion.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

40

CursogvSIG
Thisprogramisdistributedinthehopethatitwillbeuseful,
butWITHOUTANYWARRANTY;withouteventheimpliedwarrantyof
MERCHANTABILITYorFITNESSFORAPARTICULARPURPOSE.Seethe
GNUGeneralPublicLicenseformoredetails.
YoushouldhavereceivedacopyoftheGNUGeneralPublicLicensealong
withthisprogram;ifnot,writetotheFreeSoftwareFoundation,Inc.,
51FranklinStreet,FifthFloor,Boston,MA021101301USA.
Alsoaddinformationonhowtocontactyoubyelectronicandpapermail.
Iftheprogramisinteractive,makeitoutputashortnoticelikethis
whenitstartsinaninteractivemode:
Gnomovisionversion69,Copyright(C)yearnameofauthor
GnomovisioncomeswithABSOLUTELYNOWARRANTY;fordetailstype`showw'.
Thisisfreesoftware,andyouarewelcometoredistributeit
undercertainconditions;type`showc'fordetails.
Thehypotheticalcommands`showw'and`showc'shouldshowtheappropriate
partsoftheGeneralPublicLicense.Ofcourse,thecommandsyouusemay
becalledsomethingotherthan`showw'and`showc';theycouldevenbe
mouseclicksormenuitemswhateversuitsyourprogram.
Youshouldalsogetyouremployer(ifyouworkasaprogrammer)oryour
school,ifany,tosigna"copyrightdisclaimer"fortheprogram,if
necessary.Hereisasample;alterthenames:
Yoyodyne,Inc.,herebydisclaimsallcopyrightinterestintheprogram
`Gnomovision'(whichmakespassesatcompilers)writtenbyJamesHacker.
<signatureofTyCoon>,1April1989
TyCoon,PresidentofVice
ThisGeneralPublicLicensedoesnotpermitincorporatingyourprograminto
proprietaryprograms.Ifyourprogramisasubroutinelibrary,youmay
consideritmoreusefultopermitlinkingproprietaryapplicationswiththe
library.Ifthisiswhatyouwanttodo,usetheGNULesserGeneral
PublicLicenseinsteadofthisLicense.

2009ConselleriadeInfraestructurasyTransporte.GeneralitatValenciana

41

You might also like