SlideShare una empresa de Scribd logo
1 de 16
Avances en la integración
de GGL2 con gvSIG y QGIS

      Víctor González (victor.gonzalez@geomati.co)

   Fernando González (fernando.gonzalez@geomati.co)
Guión
●   ¿Qué es GGL2?

●   Avances en el lenguaje

        –   Join
        –   Librerías
        –   Integración con gvSIG y Quantum GIS
●   Trabajo futuro
¿Qué es GGL2?
Gearscape

Geoprocessing

Language




                2
¿Qué es GGL2?


 Grass                   Java

SEXTANTE      GGL2       C/C++

   ...                    ...
Join
Join
result = vias as v join municipios as m on
    (ST_Intersects(v/the_geom, m/the_geom));


result = vias as v prefix 'v_' join municipios as m on
    (ST_Intersects(v/v_the_geom, m/the_geom));


joined = vias as v prefix 'v_' join municipios as m on
    (ST_Intersects(v/v_the_geom, m/the_geom));
result = joined select(...);



                       Buffff!!
Join
result = vias join municipios (v,m | on
   (ST_Intersects(v/the_geom, m/the_geom) include ...);


result = vias join municipios (v,m | ...);


result = vias select (v | ...);


result = vias filter (v | ...);



                         Buff!
Join
           250




           200




           150
Segundos




                                                                     2012
                                                                     2013
           100




           50




            0
                 ~1   ~10                             ~100   ~1000

                            Nº elementos (en miles)
Librerías
alg buildUnitVector2D(double angle) returns sequenceof double {

     return [cos(angle), sin(angle)];

}

alg buildVector2D(geometry p1, geometry p2) returns sequenceof double {

     return [ST_X(p2) - ST_X(p1), ST_Y(p2) - ST_Y(p1)];

}

alg unitVector(sequenceof double vector) returns sequenceof double {

     module = sqrt(pow(vector[0], 2) + pow(vector[1], 2));

     return [vector[0] : module, vector[1] : module];

}

alg applyVector(sequenceof double unitVector, geometry origin, double distance)
returns geometry {

     x = ST_X(origin) + unitVector[0] * distance;

     y = ST_Y(origin) + unitVector[1] * distance;

     return POINT(x y);

}
Librerías
alg mean(sequenceof double values) returns double maps to
      org.gearscape.ggl.Statistics::mean;



alg variance(sequenceof double values, double expected) returns double {

      acum = 0.0;

      foreach value in values {

            acum = acum + pow(value - expected, 2);

      }

      return acum : values/@length;

}



alg standardDeviation(sequenceof double values, double expected) returns double {

      return sqrt(variance(values, expected));

}



alg variationCoef(sequenceof double values, double value) returns double {

      return standardDeviation(values, value) : mean(values);

}
Integración Quantum GIS
Integración gvSIG
Trabajo futuro
Gracias
   Víctor González (victor.gonzalez@geomati.co)

Fernando González (fernando.gonzalez@geomati.co)

            http://www.gearscape.org

Más contenido relacionado

La actualidad más candente

La actualidad más candente (17)

Vcs22
Vcs22Vcs22
Vcs22
 
Translating Linear Functions "I AM" Answer Key!
Translating Linear Functions "I AM" Answer Key!Translating Linear Functions "I AM" Answer Key!
Translating Linear Functions "I AM" Answer Key!
 
Calculus 45S Slides May 14, 2008
Calculus 45S Slides May 14, 2008Calculus 45S Slides May 14, 2008
Calculus 45S Slides May 14, 2008
 
Ménsula
MénsulaMénsula
Ménsula
 
Htdp27.key
Htdp27.keyHtdp27.key
Htdp27.key
 
Circular Convolution
Circular ConvolutionCircular Convolution
Circular Convolution
 
Structures for FIR systems
Structures for FIR systemsStructures for FIR systems
Structures for FIR systems
 
Appendix 3 Linear Functions PowerPoint
Appendix 3 Linear Functions PowerPointAppendix 3 Linear Functions PowerPoint
Appendix 3 Linear Functions PowerPoint
 
Ch16 29
Ch16 29Ch16 29
Ch16 29
 
Funcion cuadratica
Funcion cuadraticaFuncion cuadratica
Funcion cuadratica
 
Legendre's eqaution
Legendre's eqautionLegendre's eqaution
Legendre's eqaution
 
Regras diferenciacao
Regras diferenciacaoRegras diferenciacao
Regras diferenciacao
 
Caropro
CaroproCaropro
Caropro
 
Quantum challenge 2021 exercise1
Quantum challenge 2021 exercise1Quantum challenge 2021 exercise1
Quantum challenge 2021 exercise1
 
Quantum challenge2021 Ex1
Quantum challenge2021 Ex1Quantum challenge2021 Ex1
Quantum challenge2021 Ex1
 
2 d translation
2 d translation2 d translation
2 d translation
 
Types of function
Types of function Types of function
Types of function
 

Destacado

Paper: Geoserver, más allá de un servidor WMS
Paper: Geoserver, más allá de un servidor WMSPaper: Geoserver, más allá de un servidor WMS
Paper: Geoserver, más allá de un servidor WMSgeomatico
 
Paper: Avances en la integración de GGL2 con gvSIG y Quantum GIS
Paper: Avances en la integración de GGL2 con gvSIG y Quantum GISPaper: Avances en la integración de GGL2 con gvSIG y Quantum GIS
Paper: Avances en la integración de GGL2 con gvSIG y Quantum GISgeomatico
 
ICOS-Spain Carbon Data Portal
ICOS-Spain Carbon Data PortalICOS-Spain Carbon Data Portal
ICOS-Spain Carbon Data Portalgeomatico
 
Paper: Integración de GeoTools en gvSIG CE
Paper: Integración de GeoTools en gvSIG CEPaper: Integración de GeoTools en gvSIG CE
Paper: Integración de GeoTools en gvSIG CEgeomatico
 
Panorama SIG Libre 2014
Panorama SIG Libre 2014Panorama SIG Libre 2014
Panorama SIG Libre 2014Jorge Sanz
 
The Outcome Economy
The Outcome EconomyThe Outcome Economy
The Outcome EconomyHelge Tennø
 

Destacado (7)

Paper: Geoserver, más allá de un servidor WMS
Paper: Geoserver, más allá de un servidor WMSPaper: Geoserver, más allá de un servidor WMS
Paper: Geoserver, más allá de un servidor WMS
 
Paper: Avances en la integración de GGL2 con gvSIG y Quantum GIS
Paper: Avances en la integración de GGL2 con gvSIG y Quantum GISPaper: Avances en la integración de GGL2 con gvSIG y Quantum GIS
Paper: Avances en la integración de GGL2 con gvSIG y Quantum GIS
 
ICOS-Spain Carbon Data Portal
ICOS-Spain Carbon Data PortalICOS-Spain Carbon Data Portal
ICOS-Spain Carbon Data Portal
 
Icos paper
Icos paperIcos paper
Icos paper
 
Paper: Integración de GeoTools en gvSIG CE
Paper: Integración de GeoTools en gvSIG CEPaper: Integración de GeoTools en gvSIG CE
Paper: Integración de GeoTools en gvSIG CE
 
Panorama SIG Libre 2014
Panorama SIG Libre 2014Panorama SIG Libre 2014
Panorama SIG Libre 2014
 
The Outcome Economy
The Outcome EconomyThe Outcome Economy
The Outcome Economy
 

Similar a Avances en la integración de GGL2 con gvSIG y QGIS

DISTANCE TWO LABELING FOR MULTI-STOREY GRAPHS
DISTANCE TWO LABELING FOR MULTI-STOREY GRAPHSDISTANCE TWO LABELING FOR MULTI-STOREY GRAPHS
DISTANCE TWO LABELING FOR MULTI-STOREY GRAPHSgraphhoc
 
[系列活動] Data exploration with modern R
[系列活動] Data exploration with modern R[系列活動] Data exploration with modern R
[系列活動] Data exploration with modern R台灣資料科學年會
 
Please finish the codes in Graph.h class.#################### Vert.pdf
Please finish the codes in Graph.h class.#################### Vert.pdfPlease finish the codes in Graph.h class.#################### Vert.pdf
Please finish the codes in Graph.h class.#################### Vert.pdfpetercoiffeur18
 
Geolocation on Rails
Geolocation on RailsGeolocation on Rails
Geolocation on Railsnebirhos
 
Create a java project that - Draw a circle with three random init.pdf
Create a java project that - Draw a circle with three random init.pdfCreate a java project that - Draw a circle with three random init.pdf
Create a java project that - Draw a circle with three random init.pdfarihantmobileselepun
 
Generarlized operations on fuzzy graphs
Generarlized operations on fuzzy graphsGenerarlized operations on fuzzy graphs
Generarlized operations on fuzzy graphsAlexander Decker
 
CS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and CullingCS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and CullingMark Kilgard
 
Grokking Monads in Scala
Grokking Monads in ScalaGrokking Monads in Scala
Grokking Monads in ScalaTim Dalton
 
Trident International Graphics Workshop 2014 5/5
Trident International Graphics Workshop 2014 5/5Trident International Graphics Workshop 2014 5/5
Trident International Graphics Workshop 2014 5/5Takao Wada
 
Final Design Project - Memo (with GUI)
Final Design Project - Memo (with GUI)Final Design Project - Memo (with GUI)
Final Design Project - Memo (with GUI)Alex Larcheveque
 
reservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdf
reservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdfreservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdf
reservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdfRTEFGDFGJU
 
Tao Fayan_Iso and Full_volume rendering
Tao Fayan_Iso and Full_volume renderingTao Fayan_Iso and Full_volume rendering
Tao Fayan_Iso and Full_volume renderingFayan TAO
 
CS 354 Object Viewing and Representation
CS 354 Object Viewing and RepresentationCS 354 Object Viewing and Representation
CS 354 Object Viewing and RepresentationMark Kilgard
 
Lec 7 28_aug [compatibility mode]
Lec 7 28_aug [compatibility mode]Lec 7 28_aug [compatibility mode]
Lec 7 28_aug [compatibility mode]Palak Sanghani
 
Scalable Online Betweenness Centrality in Evolving Graphs
Scalable Online Betweenness Centrality in Evolving GraphsScalable Online Betweenness Centrality in Evolving Graphs
Scalable Online Betweenness Centrality in Evolving GraphsNicolas Kourtellis
 
computer graphics slides by Talha shah
computer graphics slides by Talha shahcomputer graphics slides by Talha shah
computer graphics slides by Talha shahSyed Talha
 

Similar a Avances en la integración de GGL2 con gvSIG y QGIS (20)

DISTANCE TWO LABELING FOR MULTI-STOREY GRAPHS
DISTANCE TWO LABELING FOR MULTI-STOREY GRAPHSDISTANCE TWO LABELING FOR MULTI-STOREY GRAPHS
DISTANCE TWO LABELING FOR MULTI-STOREY GRAPHS
 
Programming with OpenGL
Programming with OpenGLProgramming with OpenGL
Programming with OpenGL
 
Intro to OpenGL ES 2.0
Intro to OpenGL ES 2.0Intro to OpenGL ES 2.0
Intro to OpenGL ES 2.0
 
[系列活動] Data exploration with modern R
[系列活動] Data exploration with modern R[系列活動] Data exploration with modern R
[系列活動] Data exploration with modern R
 
Please finish the codes in Graph.h class.#################### Vert.pdf
Please finish the codes in Graph.h class.#################### Vert.pdfPlease finish the codes in Graph.h class.#################### Vert.pdf
Please finish the codes in Graph.h class.#################### Vert.pdf
 
Geolocation on Rails
Geolocation on RailsGeolocation on Rails
Geolocation on Rails
 
Create a java project that - Draw a circle with three random init.pdf
Create a java project that - Draw a circle with three random init.pdfCreate a java project that - Draw a circle with three random init.pdf
Create a java project that - Draw a circle with three random init.pdf
 
Generarlized operations on fuzzy graphs
Generarlized operations on fuzzy graphsGenerarlized operations on fuzzy graphs
Generarlized operations on fuzzy graphs
 
CS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and CullingCS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and Culling
 
Grokking Monads in Scala
Grokking Monads in ScalaGrokking Monads in Scala
Grokking Monads in Scala
 
Trident International Graphics Workshop 2014 5/5
Trident International Graphics Workshop 2014 5/5Trident International Graphics Workshop 2014 5/5
Trident International Graphics Workshop 2014 5/5
 
Final Design Project - Memo (with GUI)
Final Design Project - Memo (with GUI)Final Design Project - Memo (with GUI)
Final Design Project - Memo (with GUI)
 
reservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdf
reservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdfreservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdf
reservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdf
 
Tao Fayan_Iso and Full_volume rendering
Tao Fayan_Iso and Full_volume renderingTao Fayan_Iso and Full_volume rendering
Tao Fayan_Iso and Full_volume rendering
 
CS 354 Object Viewing and Representation
CS 354 Object Viewing and RepresentationCS 354 Object Viewing and Representation
CS 354 Object Viewing and Representation
 
Lec 7 28_aug [compatibility mode]
Lec 7 28_aug [compatibility mode]Lec 7 28_aug [compatibility mode]
Lec 7 28_aug [compatibility mode]
 
Scalable Online Betweenness Centrality in Evolving Graphs
Scalable Online Betweenness Centrality in Evolving GraphsScalable Online Betweenness Centrality in Evolving Graphs
Scalable Online Betweenness Centrality in Evolving Graphs
 
computer graphics slides by Talha shah
computer graphics slides by Talha shahcomputer graphics slides by Talha shah
computer graphics slides by Talha shah
 
735
735735
735
 
vertical-curves
vertical-curvesvertical-curves
vertical-curves
 

Último

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Último (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Avances en la integración de GGL2 con gvSIG y QGIS

  • 1. Avances en la integración de GGL2 con gvSIG y QGIS Víctor González (victor.gonzalez@geomati.co) Fernando González (fernando.gonzalez@geomati.co)
  • 2. Guión ● ¿Qué es GGL2? ● Avances en el lenguaje – Join – Librerías – Integración con gvSIG y Quantum GIS ● Trabajo futuro
  • 4. ¿Qué es GGL2? Grass Java SEXTANTE GGL2 C/C++ ... ...
  • 6. Join result = vias as v join municipios as m on (ST_Intersects(v/the_geom, m/the_geom)); result = vias as v prefix 'v_' join municipios as m on (ST_Intersects(v/v_the_geom, m/the_geom)); joined = vias as v prefix 'v_' join municipios as m on (ST_Intersects(v/v_the_geom, m/the_geom)); result = joined select(...); Buffff!!
  • 7. Join result = vias join municipios (v,m | on (ST_Intersects(v/the_geom, m/the_geom) include ...); result = vias join municipios (v,m | ...); result = vias select (v | ...); result = vias filter (v | ...); Buff!
  • 8. Join 250 200 150 Segundos 2012 2013 100 50 0 ~1 ~10 ~100 ~1000 Nº elementos (en miles)
  • 10. alg buildUnitVector2D(double angle) returns sequenceof double { return [cos(angle), sin(angle)]; } alg buildVector2D(geometry p1, geometry p2) returns sequenceof double { return [ST_X(p2) - ST_X(p1), ST_Y(p2) - ST_Y(p1)]; } alg unitVector(sequenceof double vector) returns sequenceof double { module = sqrt(pow(vector[0], 2) + pow(vector[1], 2)); return [vector[0] : module, vector[1] : module]; } alg applyVector(sequenceof double unitVector, geometry origin, double distance) returns geometry { x = ST_X(origin) + unitVector[0] * distance; y = ST_Y(origin) + unitVector[1] * distance; return POINT(x y); }
  • 12. alg mean(sequenceof double values) returns double maps to org.gearscape.ggl.Statistics::mean; alg variance(sequenceof double values, double expected) returns double { acum = 0.0; foreach value in values { acum = acum + pow(value - expected, 2); } return acum : values/@length; } alg standardDeviation(sequenceof double values, double expected) returns double { return sqrt(variance(values, expected)); } alg variationCoef(sequenceof double values, double value) returns double { return standardDeviation(values, value) : mean(values); }
  • 16. Gracias Víctor González (victor.gonzalez@geomati.co) Fernando González (fernando.gonzalez@geomati.co) http://www.gearscape.org