SlideShare uma empresa Scribd logo
1 de 38
Baixar para ler offline
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

Mais conteúdo relacionado

Destaque

Quantitative Model
Quantitative ModelQuantitative Model
Quantitative Model
monicalondon
 
Identitiy Management - Zadkine - Raymond Kerkhof
Identitiy Management - Zadkine - Raymond KerkhofIdentitiy Management - Zadkine - Raymond Kerkhof
Identitiy Management - Zadkine - Raymond Kerkhof
r.kerkhof
 
SOA, standaarden en IMS
SOA, standaarden en IMSSOA, standaarden en IMS
SOA, standaarden en IMS
r.kerkhof
 
Presentation strategy game
Presentation strategy gamePresentation strategy game
Presentation strategy game
Donald Donckers
 

Destaque (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.
 

Semelhante 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 effectiveness
eHealth Africa
 
Mobomo mobile outlook 2013 05-07
Mobomo mobile outlook 2013 05-07Mobomo mobile outlook 2013 05-07
Mobomo mobile outlook 2013 05-07
Barg Upender
 
FOS Desktop GIS notes
FOS Desktop GIS notesFOS Desktop GIS notes
FOS Desktop GIS notes
atlefren
 

Semelhante 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

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
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)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

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