SlideShare una empresa de Scribd logo
1 de 38
Descargar para leer sin conexión
gvSIG Mobile
         How to code for desktop and mobile GIS/SDI




              Miguel Montesinos                          Javier Carrasco
                Project Manager                   Project Development Chief
           gvSIG technical committee              gvSIG technical committee
         gvSIG management committee                    gvSIG developer




WEDNESDAY 1 OCT           FOSS4G 2008 – Cape Town, South Africa               1
Agenda
                  ●
                      Introduction
                  ●   New features in gvSIG Mobile
                  ●
                      Mobile Devices
                  ●
                      Java versions
                  ●
                      J2SE-J2ME Compatibility Tips
                      ●
                          Take packages from J2SE VMs
                      ●
                          Use the compatible alternative
                      ●   MVC Splitting and dependency injection




WEDNESDAY 1 OCT                  FOSS4G 2008 – Cape Town, South Africa   2
Introduction



                        Introduction. Prodevelop
               ●   Spanish company, Valencia
               ●
                   15 years of GIS experience
               ●
                   More than 50 people
               ●   Member of gvSIG dev. team
               ●   High focus on FOSS4G




                             www.prodevelop.es
  WEDNESDAY 1 OCT               FOSS4G 2008 – Cape Town, South Africa   3
Introduction


                        Introduction. gvSIG context
               ●   Full-fledged GIS desktop with:
                   ●
                       Vector/Raster support.
                   ●   SDI client (WMS, WMC, WFS, WCS, CSW, ...)
                   ●
                       Analysis (Sextante project)
                   ●
                       Edition, projections, adv.symbology, ...
               ●   Going on:
                   ●   3D
                   ●
                       Network Analysis
                   ●
                       Raster & remote sensing
                   ●   Adv. Analysis
                   ●
                       4D, Sensor
               ●
                   European Union funds until 2013
               ●   Available in 10+ languages
               ●   Around 1.500 users subscribed to lists
  WEDNESDAY 1 OCT                  FOSS4G 2008 – Cape Town, South Africa   4
Introduction


                   Introduction. gvSIG @ FOSS4G2008

               ●   PAL. A Cartographic Labeling Library
                    ●
                        Olivier Ertz, Maxence Laurent, Daniel Rappo, Abson Sae-
                        Tang, Eric Taillard. Room 2.6a. TUESDAY 30 SEPT
                    ●


               ●
                   Multipurpose metadata management in gvSIG
                    ●
                        Laura Díaz. Room 2.6a (297). TUESDAY 30 SEPT
                    ●


               ●
                   Improving open source GIS-SDI integration: the web service
                   publishing extension for gvSIG
                    ●
                        Salvador Bayarri. Room 2.4b (120) THURSDAY 10:30
                    ●




  WEDNESDAY 1 OCT                     FOSS4G 2008 – Cape Town, South Africa       5
Introduction


                   Introduction. gvSIG @ FOSS4G2008


               ●

               ●
                   gvSIG Status Report. Towards an open organization
                    ●
                        Miguel Montesinos. Room 1.6 (260) THURSDAY 10:30
                    ●


               ●
                   A free graphical modeling tool for geospatial analysis
                    ●   Victor Olaya. Room 1.6 (260) THURSDAY 10:30
                    ●


               ●
                   Introduction to gvSIG/SEXTANTE as desktop GIS with
                   advanced spatial analysis and SDI publishing tools
                    ●
                        Victor Olaya, Salvador Bayarri, Jose Vicente Higon, Laura Diaz
                    ●
                        Workshop CODE: WS-F-8. FRIDAY 13:30



  WEDNESDAY 1 OCT                     FOSS4G 2008 – Cape Town, South Africa              6
Introduction. gvSIG Mobile




WEDNESDAY 1 OCT         FOSS4G 2008 – Cape Town, South Africa   7
Introduction



                        Introduction. gvSIG Mobile

                    ●
                         gvSIG for mobile devices
                    ●
                         Developed by:
                         ●
                             Prodevelop
                         ●
                             Robotics Institute @ Univ. of Valencia
                         ●   IVER
                    ●    New version in october




  WEDNESDAY 1 OCT                  FOSS4G 2008 – Cape Town, South Africa   8
New Features




WEDNESDAY 1 OCT   FOSS4G 2008 – Cape Town, South Africa   9
EDITING



WEDNESDAY 1 OCT   FOSS4G 2008 – Cape Town, South Africa   10
edition screenshots




WEDNESDAY 1 OCT      FOSS4G 2008 – Cape Town, South Africa   11
CUSTOM FORMS



WEDNESDAY 1 OCT      FOSS4G 2008 – Cape Town, South Africa   12
custom forms screenshots




WEDNESDAY 1 OCT         FOSS4G 2008 – Cape Town, South Africa   13
New Features
                  ●
                      Edition
                  ●   Custom Forms
                  ●
                      GML
                  ●
                      KML
                  ●
                      GPX
                  ●
                      phoneME Advanced integration
                  ●   Easier installation
                  ●   Bugfixes




WEDNESDAY 1 OCT            FOSS4G 2008 – Cape Town, South Africa   14
Mobile Devices

                                                                    Laptop

                      PDA
   Phone




         Smartphone
                             UMPC
                                                Mini Laptop




WEDNESDAY 1 OCT             FOSS4G 2008 – Cape Town, South Africa            15
Mobile Devices
                  Portable PCs                               Mobile Phones




     ●   Desktop OS                                ●
                                                        Propietary OS
     ●
         Powerful processors                       ●
                                                        Slow processors
     ●
         More than 512 RAM                         ●    Very small memory
     ●
         J2SE                                      ●    J2ME CLDC
     ●
         Capable of running                        ●
                                                        Small non.touch screens
         gvSIG desktop                             ●
                                                        Too limited for a
                                                        complete GIS
WEDNESDAY 1 OCT             FOSS4G 2008 – Cape Town, South Africa             16
Mobile Devices
                         PDAs and Smartphones

                  ●
                      Cheap devices (200€+)
                  ●
                      Touchscreens (240x360 or more)
                  ●
                      J2ME CDC PP (Subset of J2SE)
                  ●   ARM 400MHz+ processors
                  ●
                      64-128MB RAM
                  ●
                      GPRS/UMTS internet
                  ●   Camera
                  ●   GPS



WEDNESDAY 1 OCT            FOSS4G 2008 – Cape Town, South Africa   17
Java Versions




WEDNESDAY 1 OCT   FOSS4G 2008 – Cape Town, South Africa   18
Java Versions




WEDNESDAY 1 OCT   FOSS4G 2008 – Cape Town, South Africa   19
Mobile Devices – Java Versions
   ●
       Mobile Phones:
        ●
            CLDC MIDP limited but connected map viewers
        ●


   ●   Portable PCs:
        ●
            Existing J2SE applications with customized GUIs
        ●


   ●
       Smartphones and PDAs:
        ●
            J2SE VMs for PDA runned too slow
        ●
            J2ME CDC PP
        ●   New applications
        ●
            Share libraries with desktop applications


WEDNESDAY 1 OCT             FOSS4G 2008 – Cape Town, South Africa   20
Java Versions – CDC PP
             Packages in both J2SE and in J2ME CDC PP

                                            java.util                      java.io




                  java.applet               java.awt                      java.lang




                    java.net                java.rmi                      java.math




                  java.security           java.beans                      java.text



WEDNESDAY 1 OCT                   FOSS4G 2008 – Cape Town, South Africa               21
Java Versions – CDC PP
             Packages in J2SE and NOT in J2ME CDC PP

                              java.sql
       java.awt.geom                                   javax.imageio   javax.security
                             javax.sql



       java.awt.dnd       java.util.logging             javax.sound    javax.naming



       java.awt.print
                           java.util.prefs               javax.swing     javax.net
         javax.print


                                                        org.w3c.dom
          java.nio         java.util.regex                 org.xml       javax.rmi
                                                          javax.xml


WEDNESDAY 1 OCT                FOSS4G 2008 – Cape Town, South Africa                    22
Java Versions – CDC PP
             Packages in J2ME CDC PP and NOT in J2SE



                              javax.microedition.io




                             javax.microedition.pki




                             javax.microedition.xlet




WEDNESDAY 1 OCT         FOSS4G 2008 – Cape Town, South Africa   23
Java Versions – CDC PP
                            Other differences with J2SE


           ●      Classes non existent in shared packages
                  ●   For example the package java.io lacks
                       ●
                           LineNumberInputStream
                       ●   StringBufferInputStream




WEDNESDAY 1 OCT                    FOSS4G 2008 – Cape Town, South Africa   24
Java Versions – CDC PP
                            Other differences with J2SE


           ●      Methods non existent in shared classes
                  ●
                      For example String class lack the methods:
                       ●
                           getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin)
                       ●
                           matches(String regex)
                       ●
                           replaceAll(String regex, String replacement)
                       ●   replaceFirst(String regex, String replacement)
                       ●
                           split(String regex)
                       ●
                           split(String regex, int limit)




WEDNESDAY 1 OCT                     FOSS4G 2008 – Cape Town, South Africa                 25
How to code for J2SE and CDC PP




                  TIPS for compatibility



WEDNESDAY 1 OCT         FOSS4G 2008 – Cape Town, South Africa   26
J2SE – CDC PP Compatibility Tips
                        Tip 1
                  If you need a package just take it



        Most VMs allow you to add protected packages
            java -Xbootclasspath:myawtgeom.jar ...
       There are free implementations of J2SE we can use




WEDNESDAY 1 OCT           FOSS4G 2008 – Cape Town, South Africa   27
J2SE – CDC PP Compatibility Tips
                        Tip 1
                       If you need a package just take it



                  ●
                      Worked very well to add
                       ●
                           java.awt.geom
                       ●   java.util.regex




                      We can use only pure java 1.4 code


WEDNESDAY 1 OCT                   FOSS4G 2008 – Cape Town, South Africa   28
J2SE – CDC PP Compatibility Tips
                          Tip 2
                      Use the compatible alternative

         ●   Use when possible packages and classes that
             exist in both configurations
              ●
                  Instead of using SAX or DOM XML parsers use
                  lightweight pull parsers (ie KXML)
              ●
                  Use 3rd party libraries that only depends on packages
                  existing in both configurations




WEDNESDAY 1 OCT               FOSS4G 2008 – Cape Town, South Africa       29
J2SE – CDC PP Compatibility Tips
                          Tip 3
             MVC Separation and Dependency Injection

         ●   Controller can to be shared
         ●
             Some Model libraries are compatible and some
             others not
         ●
             View never is compatible
         ●
             Dependency Injection allows you to keep some
             libraries common and others different




WEDNESDAY 1 OCT          FOSS4G 2008 – Cape Town, South Africa   30
J2SE – CDC PP Compatibility Tips
                        Tip 3
             MVC Separation and Dependency Injection
                     Model                         Controller             View

     Desktop
                    Desktop
     Application    optimized                                             Swing
                    Libraries          DI
                                                                   DI    MDI GUI



                    Common                          Common
                    Libraries                       Controller
     Mobile
     Application                                                    DI
                      PDA               DI                                 AWT
                    optimized                                            Simple GUI
                    Libraries


WEDNESDAY 1 OCT            FOSS4G 2008 – Cape Town, South Africa                      31
J2SE – CDC PP Compatibility Tips
                          Tip 4
         Libraries of frequently used incompatible code

         ●   Libraries with utilities not existing in CDC PP to
             be used both in desktop and in mobile
         ●
             Examples:


                  StringUtils             NetworkUtils                     FileUtils
                  splitString()              getNetFile()                   getImage()
                  replaceAll()               sendEmail()                  fileToString()




WEDNESDAY 1 OCT                   FOSS4G 2008 – Cape Town, South Africa                    32
Conclussions
    ●
        It's doable to develop GIS with Java for PDAS
    ●
        Ultramobile PCs and Low-Cost Laptops will need new
        interfaces for existing desktop GIS applications
    ●
        Java allows real portability of code
    ●
        gvSIG now fits in our pockets




WEDNESDAY 1 OCT        FOSS4G 2008 – Cape Town, South Africa   33
VIDEOS



WEDNESDAY 1 OCT   FOSS4G 2008 – Cape Town, South Africa   34
Invitation
                                                 ●
                                                      Valencia (Spain)
                                                 ●
                                                      1st-5th December
                                                 ●    OGC Meeting
                                                 ●    eclipseDay
                                                 ●
                                                      4th gvSIG Meeting


                                                     http://www.jornadasgvsig.gva.es




WEDNESDAY 1 OCT   FOSS4G 2008 – Cape Town, South Africa                                35
WEDNESDAY 1 OCT   FOSS4G 2008 – Cape Town, South Africa   36
gvSIG Mobile
         How to code for desktop and mobile GIS/SDI

       Thank you very much for your attention

              Miguel Montesinos                                   Javier Carrasco
          mmontesinos@prodevelop.es                         jcarrasco@prodevelop.es




WEDNESDAY 1 OCT           FOSS4G 2008 – Cape Town, South Africa                       37
http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode


WEDNESDAY 1 OCT       FOSS4G 2008 – Cape Town, South Africa                    38

Más contenido relacionado

Destacado

gvSIG Goes Mobile. gvSIG porting for mobile devices.
gvSIG Goes Mobile. gvSIG porting for mobile devices.gvSIG Goes Mobile. gvSIG porting for mobile devices.
gvSIG Goes Mobile. gvSIG porting for mobile devices.jacarma
 
Quantitative Model
Quantitative ModelQuantitative Model
Quantitative Modelmonicalondon
 
BigInsights BigData Study 2013 - Exec Summary
BigInsights BigData Study 2013  - Exec SummaryBigInsights BigData Study 2013  - Exec Summary
BigInsights BigData Study 2013 - Exec SummaryBigInsights
 
A comparison of gis mobile applications
A comparison of gis mobile applicationsA comparison of gis mobile applications
A comparison of gis mobile applicationsjacarma
 
2015 BigInsights Big Data Study
2015 BigInsights Big Data Study   2015 BigInsights Big Data Study
2015 BigInsights Big Data Study BigInsights
 
The Data Driven Enterprise - Roadmap to Big Data & Analytics Success
The Data Driven Enterprise - Roadmap to Big Data & Analytics SuccessThe Data Driven Enterprise - Roadmap to Big Data & Analytics Success
The Data Driven Enterprise - Roadmap to Big Data & Analytics SuccessBigInsights
 
Learn why it makes sense to partner with MSS
Learn why it makes sense to partner with MSSLearn why it makes sense to partner with MSS
Learn why it makes sense to partner with MSSAmit Manjrekar
 
Identitiy Management - Zadkine - Raymond Kerkhof
Identitiy Management - Zadkine - Raymond KerkhofIdentitiy Management - Zadkine - Raymond Kerkhof
Identitiy Management - Zadkine - Raymond Kerkhofr.kerkhof
 
SOA, standaarden en IMS
SOA, standaarden en IMSSOA, standaarden en IMS
SOA, standaarden en IMSr.kerkhof
 
Presentation strategy game
Presentation strategy gamePresentation strategy game
Presentation strategy gameDonald Donckers
 
Cyr Cit 1103 1 Presentation2 Min
Cyr Cit 1103 1 Presentation2 MinCyr Cit 1103 1 Presentation2 Min
Cyr Cit 1103 1 Presentation2 MinCloudy IT
 
How to protect your equipments from power fluctuations.
How to protect your equipments from power fluctuations.How to protect your equipments from power fluctuations.
How to protect your equipments from power fluctuations.Amit Manjrekar
 

Destacado (13)

gvSIG Goes Mobile. gvSIG porting for mobile devices.
gvSIG Goes Mobile. gvSIG porting for mobile devices.gvSIG Goes Mobile. gvSIG porting for mobile devices.
gvSIG Goes Mobile. gvSIG porting for mobile devices.
 
Quantitative Model
Quantitative ModelQuantitative Model
Quantitative Model
 
BigInsights BigData Study 2013 - Exec Summary
BigInsights BigData Study 2013  - Exec SummaryBigInsights BigData Study 2013  - Exec Summary
BigInsights BigData Study 2013 - Exec Summary
 
A comparison of gis mobile applications
A comparison of gis mobile applicationsA comparison of gis mobile applications
A comparison of gis mobile applications
 
2015 BigInsights Big Data Study
2015 BigInsights Big Data Study   2015 BigInsights Big Data Study
2015 BigInsights Big Data Study
 
The Data Driven Enterprise - Roadmap to Big Data & Analytics Success
The Data Driven Enterprise - Roadmap to Big Data & Analytics SuccessThe Data Driven Enterprise - Roadmap to Big Data & Analytics Success
The Data Driven Enterprise - Roadmap to Big Data & Analytics Success
 
Learn why it makes sense to partner with MSS
Learn why it makes sense to partner with MSSLearn why it makes sense to partner with MSS
Learn why it makes sense to partner with MSS
 
Power solution
Power solution Power solution
Power solution
 
Identitiy Management - Zadkine - Raymond Kerkhof
Identitiy Management - Zadkine - Raymond KerkhofIdentitiy Management - Zadkine - Raymond Kerkhof
Identitiy Management - Zadkine - Raymond Kerkhof
 
SOA, standaarden en IMS
SOA, standaarden en IMSSOA, standaarden en IMS
SOA, standaarden en IMS
 
Presentation strategy game
Presentation strategy gamePresentation strategy game
Presentation strategy game
 
Cyr Cit 1103 1 Presentation2 Min
Cyr Cit 1103 1 Presentation2 MinCyr Cit 1103 1 Presentation2 Min
Cyr Cit 1103 1 Presentation2 Min
 
How to protect your equipments from power fluctuations.
How to protect your equipments from power fluctuations.How to protect your equipments from power fluctuations.
How to protect your equipments from power fluctuations.
 

Similar a GvSig Mobile Foss4G 2008

Open Source GIS Stack: Data hub for flexibility, performance and effectiveness
Open Source GIS Stack: Data hub for flexibility, performance and effectivenessOpen Source GIS Stack: Data hub for flexibility, performance and effectiveness
Open Source GIS Stack: Data hub for flexibility, performance and effectivenesseHealth Africa
 
ceph openstack dream team
ceph openstack dream teamceph openstack dream team
ceph openstack dream teamUdo Seidel
 
Matthew Mosesohn - Configuration Management at Large Companies
Matthew Mosesohn - Configuration Management at Large Companies Matthew Mosesohn - Configuration Management at Large Companies
Matthew Mosesohn - Configuration Management at Large Companies Yandex
 
Uma introdução ao Open Geospatial Foundation
Uma introdução ao Open Geospatial FoundationUma introdução ao Open Geospatial Foundation
Uma introdução ao Open Geospatial FoundationGeoLivre Conference
 
Introduction to GeoNode
Introduction to GeoNodeIntroduction to GeoNode
Introduction to GeoNodeGeoSolutions
 
Innovation in Geospatial Technology and Standards
Innovation in Geospatial Technology and StandardsInnovation in Geospatial Technology and Standards
Innovation in Geospatial Technology and StandardsGeorge Percivall
 
FME Around The World
FME Around The WorldFME Around The World
FME Around The WorldSafe Software
 
Mobomo mobile outlook 2013 05-07
Mobomo mobile outlook 2013 05-07Mobomo mobile outlook 2013 05-07
Mobomo mobile outlook 2013 05-07Barg Upender
 
OSGeo Live - DokuTech
OSGeo Live - DokuTechOSGeo Live - DokuTech
OSGeo Live - DokuTechBesfort Guri
 
IV. Jornadas Sig Libre: The State of OSGeo and the Global SDI
IV. Jornadas Sig Libre: The State of OSGeo and the Global SDIIV. Jornadas Sig Libre: The State of OSGeo and the Global SDI
IV. Jornadas Sig Libre: The State of OSGeo and the Global SDIArnulf Christl
 
FOS Desktop GIS notes
FOS Desktop GIS notesFOS Desktop GIS notes
FOS Desktop GIS notesatlefren
 
Activities Of The Foss4 G20080122
Activities Of The Foss4 G20080122Activities Of The Foss4 G20080122
Activities Of The Foss4 G20080122Toru Mori
 
Geosolutions gwf-2015-v01.04
Geosolutions gwf-2015-v01.04Geosolutions gwf-2015-v01.04
Geosolutions gwf-2015-v01.04GeoSolutions
 
Comparison of Mobile GIS applications
Comparison of Mobile GIS applicationsComparison of Mobile GIS applications
Comparison of Mobile GIS applicationsMiguel Montesinos
 
Open Source Geospatial: then and now
Open Source Geospatial: then and nowOpen Source Geospatial: then and now
Open Source Geospatial: then and nowJeff McKenna
 
gvSIG Suite: Open source software to implement Spatial Data Infrastructures
gvSIG Suite: Open source software to implement Spatial Data InfrastructuresgvSIG Suite: Open source software to implement Spatial Data Infrastructures
gvSIG Suite: Open source software to implement Spatial Data InfrastructuresAlvaro Anguix
 

Similar a GvSig Mobile Foss4G 2008 (20)

Open Source GIS Stack: Data hub for flexibility, performance and effectiveness
Open Source GIS Stack: Data hub for flexibility, performance and effectivenessOpen Source GIS Stack: Data hub for flexibility, performance and effectiveness
Open Source GIS Stack: Data hub for flexibility, performance and effectiveness
 
ceph openstack dream team
ceph openstack dream teamceph openstack dream team
ceph openstack dream team
 
Matthew Mosesohn - Configuration Management at Large Companies
Matthew Mosesohn - Configuration Management at Large Companies Matthew Mosesohn - Configuration Management at Large Companies
Matthew Mosesohn - Configuration Management at Large Companies
 
Uma introdução ao Open Geospatial Foundation
Uma introdução ao Open Geospatial FoundationUma introdução ao Open Geospatial Foundation
Uma introdução ao Open Geospatial Foundation
 
Introduction to GeoNode
Introduction to GeoNodeIntroduction to GeoNode
Introduction to GeoNode
 
Innovation in Geospatial Technology and Standards
Innovation in Geospatial Technology and StandardsInnovation in Geospatial Technology and Standards
Innovation in Geospatial Technology and Standards
 
Kaunas JUG#1: Intro (Valdas Zigas)
Kaunas JUG#1: Intro (Valdas Zigas)Kaunas JUG#1: Intro (Valdas Zigas)
Kaunas JUG#1: Intro (Valdas Zigas)
 
FME Around The World
FME Around The WorldFME Around The World
FME Around The World
 
Foss4gkorea2012
Foss4gkorea2012Foss4gkorea2012
Foss4gkorea2012
 
Mobomo mobile outlook 2013 05-07
Mobomo mobile outlook 2013 05-07Mobomo mobile outlook 2013 05-07
Mobomo mobile outlook 2013 05-07
 
OSGeo Live - DokuTech
OSGeo Live - DokuTechOSGeo Live - DokuTech
OSGeo Live - DokuTech
 
Foss4g2018 Presentation
Foss4g2018 PresentationFoss4g2018 Presentation
Foss4g2018 Presentation
 
IV. Jornadas Sig Libre: The State of OSGeo and the Global SDI
IV. Jornadas Sig Libre: The State of OSGeo and the Global SDIIV. Jornadas Sig Libre: The State of OSGeo and the Global SDI
IV. Jornadas Sig Libre: The State of OSGeo and the Global SDI
 
FOS Desktop GIS notes
FOS Desktop GIS notesFOS Desktop GIS notes
FOS Desktop GIS notes
 
Activities Of The Foss4 G20080122
Activities Of The Foss4 G20080122Activities Of The Foss4 G20080122
Activities Of The Foss4 G20080122
 
Geosolutions gwf-2015-v01.04
Geosolutions gwf-2015-v01.04Geosolutions gwf-2015-v01.04
Geosolutions gwf-2015-v01.04
 
Comparison of Mobile GIS applications
Comparison of Mobile GIS applicationsComparison of Mobile GIS applications
Comparison of Mobile GIS applications
 
Geospatial trends
Geospatial trendsGeospatial trends
Geospatial trends
 
Open Source Geospatial: then and now
Open Source Geospatial: then and nowOpen Source Geospatial: then and now
Open Source Geospatial: then and now
 
gvSIG Suite: Open source software to implement Spatial Data Infrastructures
gvSIG Suite: Open source software to implement Spatial Data InfrastructuresgvSIG Suite: Open source software to implement Spatial Data Infrastructures
gvSIG Suite: Open source software to implement Spatial Data Infrastructures
 

Último

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 

Último (20)

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 

GvSig Mobile Foss4G 2008

  • 1. gvSIG Mobile How to code for desktop and mobile GIS/SDI Miguel Montesinos Javier Carrasco Project Manager Project Development Chief gvSIG technical committee gvSIG technical committee gvSIG management committee gvSIG developer WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 1
  • 2. Agenda ● Introduction ● New features in gvSIG Mobile ● Mobile Devices ● Java versions ● J2SE-J2ME Compatibility Tips ● Take packages from J2SE VMs ● Use the compatible alternative ● MVC Splitting and dependency injection WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 2
  • 3. Introduction Introduction. Prodevelop ● Spanish company, Valencia ● 15 years of GIS experience ● More than 50 people ● Member of gvSIG dev. team ● High focus on FOSS4G www.prodevelop.es WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 3
  • 4. Introduction Introduction. gvSIG context ● Full-fledged GIS desktop with: ● Vector/Raster support. ● SDI client (WMS, WMC, WFS, WCS, CSW, ...) ● Analysis (Sextante project) ● Edition, projections, adv.symbology, ... ● Going on: ● 3D ● Network Analysis ● Raster & remote sensing ● Adv. Analysis ● 4D, Sensor ● European Union funds until 2013 ● Available in 10+ languages ● Around 1.500 users subscribed to lists WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 4
  • 5. Introduction Introduction. gvSIG @ FOSS4G2008 ● PAL. A Cartographic Labeling Library ● Olivier Ertz, Maxence Laurent, Daniel Rappo, Abson Sae- Tang, Eric Taillard. Room 2.6a. TUESDAY 30 SEPT ● ● Multipurpose metadata management in gvSIG ● Laura Díaz. Room 2.6a (297). TUESDAY 30 SEPT ● ● Improving open source GIS-SDI integration: the web service publishing extension for gvSIG ● Salvador Bayarri. Room 2.4b (120) THURSDAY 10:30 ● WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 5
  • 6. Introduction Introduction. gvSIG @ FOSS4G2008 ● ● gvSIG Status Report. Towards an open organization ● Miguel Montesinos. Room 1.6 (260) THURSDAY 10:30 ● ● A free graphical modeling tool for geospatial analysis ● Victor Olaya. Room 1.6 (260) THURSDAY 10:30 ● ● Introduction to gvSIG/SEXTANTE as desktop GIS with advanced spatial analysis and SDI publishing tools ● Victor Olaya, Salvador Bayarri, Jose Vicente Higon, Laura Diaz ● Workshop CODE: WS-F-8. FRIDAY 13:30 WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 6
  • 7. Introduction. gvSIG Mobile WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 7
  • 8. Introduction Introduction. gvSIG Mobile ● gvSIG for mobile devices ● Developed by: ● Prodevelop ● Robotics Institute @ Univ. of Valencia ● IVER ● New version in october WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 8
  • 9. New Features WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 9
  • 10. EDITING WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 10
  • 11. edition screenshots WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 11
  • 12. CUSTOM FORMS WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 12
  • 13. custom forms screenshots WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 13
  • 14. New Features ● Edition ● Custom Forms ● GML ● KML ● GPX ● phoneME Advanced integration ● Easier installation ● Bugfixes WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 14
  • 15. Mobile Devices Laptop PDA Phone Smartphone UMPC Mini Laptop WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 15
  • 16. Mobile Devices Portable PCs Mobile Phones ● Desktop OS ● Propietary OS ● Powerful processors ● Slow processors ● More than 512 RAM ● Very small memory ● J2SE ● J2ME CLDC ● Capable of running ● Small non.touch screens gvSIG desktop ● Too limited for a complete GIS WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 16
  • 17. Mobile Devices PDAs and Smartphones ● Cheap devices (200€+) ● Touchscreens (240x360 or more) ● J2ME CDC PP (Subset of J2SE) ● ARM 400MHz+ processors ● 64-128MB RAM ● GPRS/UMTS internet ● Camera ● GPS WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 17
  • 18. Java Versions WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 18
  • 19. Java Versions WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 19
  • 20. Mobile Devices – Java Versions ● Mobile Phones: ● CLDC MIDP limited but connected map viewers ● ● Portable PCs: ● Existing J2SE applications with customized GUIs ● ● Smartphones and PDAs: ● J2SE VMs for PDA runned too slow ● J2ME CDC PP ● New applications ● Share libraries with desktop applications WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 20
  • 21. Java Versions – CDC PP Packages in both J2SE and in J2ME CDC PP java.util java.io java.applet java.awt java.lang java.net java.rmi java.math java.security java.beans java.text WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 21
  • 22. Java Versions – CDC PP Packages in J2SE and NOT in J2ME CDC PP java.sql java.awt.geom javax.imageio javax.security javax.sql java.awt.dnd java.util.logging javax.sound javax.naming java.awt.print java.util.prefs javax.swing javax.net javax.print org.w3c.dom java.nio java.util.regex org.xml javax.rmi javax.xml WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 22
  • 23. Java Versions – CDC PP Packages in J2ME CDC PP and NOT in J2SE javax.microedition.io javax.microedition.pki javax.microedition.xlet WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 23
  • 24. Java Versions – CDC PP Other differences with J2SE ● Classes non existent in shared packages ● For example the package java.io lacks ● LineNumberInputStream ● StringBufferInputStream WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 24
  • 25. Java Versions – CDC PP Other differences with J2SE ● Methods non existent in shared classes ● For example String class lack the methods: ● getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin) ● matches(String regex) ● replaceAll(String regex, String replacement) ● replaceFirst(String regex, String replacement) ● split(String regex) ● split(String regex, int limit) WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 25
  • 26. How to code for J2SE and CDC PP TIPS for compatibility WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 26
  • 27. J2SE – CDC PP Compatibility Tips Tip 1 If you need a package just take it Most VMs allow you to add protected packages java -Xbootclasspath:myawtgeom.jar ... There are free implementations of J2SE we can use WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 27
  • 28. J2SE – CDC PP Compatibility Tips Tip 1 If you need a package just take it ● Worked very well to add ● java.awt.geom ● java.util.regex We can use only pure java 1.4 code WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 28
  • 29. J2SE – CDC PP Compatibility Tips Tip 2 Use the compatible alternative ● Use when possible packages and classes that exist in both configurations ● Instead of using SAX or DOM XML parsers use lightweight pull parsers (ie KXML) ● Use 3rd party libraries that only depends on packages existing in both configurations WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 29
  • 30. J2SE – CDC PP Compatibility Tips Tip 3 MVC Separation and Dependency Injection ● Controller can to be shared ● Some Model libraries are compatible and some others not ● View never is compatible ● Dependency Injection allows you to keep some libraries common and others different WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 30
  • 31. J2SE – CDC PP Compatibility Tips Tip 3 MVC Separation and Dependency Injection Model Controller View Desktop Desktop Application optimized Swing Libraries DI DI MDI GUI Common Common Libraries Controller Mobile Application DI PDA DI AWT optimized Simple GUI Libraries WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 31
  • 32. J2SE – CDC PP Compatibility Tips Tip 4 Libraries of frequently used incompatible code ● Libraries with utilities not existing in CDC PP to be used both in desktop and in mobile ● Examples: StringUtils NetworkUtils FileUtils splitString() getNetFile() getImage() replaceAll() sendEmail() fileToString() WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 32
  • 33. Conclussions ● It's doable to develop GIS with Java for PDAS ● Ultramobile PCs and Low-Cost Laptops will need new interfaces for existing desktop GIS applications ● Java allows real portability of code ● gvSIG now fits in our pockets WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 33
  • 34. VIDEOS WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 34
  • 35. Invitation ● Valencia (Spain) ● 1st-5th December ● OGC Meeting ● eclipseDay ● 4th gvSIG Meeting http://www.jornadasgvsig.gva.es WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 35
  • 36. WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 36
  • 37. gvSIG Mobile How to code for desktop and mobile GIS/SDI Thank you very much for your attention Miguel Montesinos Javier Carrasco mmontesinos@prodevelop.es jcarrasco@prodevelop.es WEDNESDAY 1 OCT FOSS4G 2008 – Cape Town, South Africa 37