SlideShare une entreprise Scribd logo
1  sur  16
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

Tendances (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
 

En vedette

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ø
 

En vedette (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
 

Similaire à 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
 

Similaire à 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
 

Dernier

Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
WomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyoneWomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyoneUiPathCommunity
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Nikki Chapple
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsYoss Cohen
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 

Dernier (20)

Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
WomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyoneWomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyone
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platforms
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 

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