SlideShare une entreprise Scribd logo
1  sur  70
Télécharger pour lire hors ligne
Apps4Finland:	
  	
  
Maps4Finland	
  Workshop	
  
	
  
Common	
  geo	
  informa6on	
  programming	
  
examples	
  
	
  
28.08.2012	
  
Jari	
  Reini	
  
Agenda	
  
§  Content	
  (NLS	
  Finland,	
  Sta6s6c	
  Finland,	
  Helsinki	
  Region	
  
    Infoshare,	
  ….)	
  
§  Content	
  handling	
  
     §  Desktop	
  GIS:	
  Quantum	
  GIS	
  
§  Code	
  samples	
  
     §    Map	
  with	
  Openlayers	
  and	
  NLS	
  WMTS	
  
     §    Map	
  with	
  WMS	
  and	
  GeoJSON	
  
     §    Map	
  with	
  Google	
  Maps	
  
     §    OpenLayers	
  and	
  Openstreetmap	
  
     §    GeolocaBon	
  
     §    Coordinate	
  conversion	
  from	
  GPS	
  to	
  local	
  coordinate	
  system	
  
     §    Map	
  centered	
  to	
  current	
  locaBon	
  with	
  marker	
  (icon)	
  
     §    SpaBal	
  analysis	
  
     §    Oskari.org	
  
NLS	
  Open	
  Data	
  
Topographic	
  maps	
  1:25.000	
  …	
  (raster)	
  	
     Backround	
  maps	
  1:10.000	
  …	
  1:8	
  M	
  (raster)	
  
1:10.000	
  




                                                                                                                            hTp://www.maanmiTauslaitos.fi/en/opendata	
  	
  
 Topographic	
  Database	
  (vector)	
                     Ortophotos	
  (0,5	
  m)	
  




 Eleva6on	
  model	
  2m,	
  10m	
  …	
  (grid)	
          Laser	
  scanning	
  data	
  (LAS)	
  
Terms	
  of	
  use	
  
The	
  data	
  made	
  available	
  on	
  1	
  May	
  2012	
  are	
  granted	
  permanent	
  	
  




                                                                                                                         hTp://www.maanmiTauslaitos.fi/en/opendata/terms-­‐of-­‐use	
  	
  
    and	
  free	
  right	
  of	
  use.	
  
Free	
  right	
  of	
  use	
  means	
  that	
  available	
  topographic	
  data	
  products	
  	
  
    can	
  without	
  charge	
  be:	
  
§  used	
  within	
  the	
  organisa6on	
  	
  
§  published	
  as	
  desired	
  	
  
§  distributed	
  freely	
  to	
  others	
  	
  
§  further	
  processed	
  to	
  new	
  products	
  	
  
§  sold	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  ...or	
  used	
  in	
  any	
  other	
  way	
  

 -­‐	
  men6on	
  the	
  name	
  of	
  the	
  Licensor,	
  the	
  name	
  of	
  the	
  dataset(s)	
  and	
  	
  
 	
  	
  the	
  6me	
  when	
  the	
  Na6onal	
  Land	
  Survey	
  has	
  delivered	
  the	
  dataset(s)	
  
 -­‐	
  provide	
  a	
  copy	
  of	
  this	
  licence	
  or	
  a	
  link	
  to	
  it,	
  as	
  well	
  as	
  
 -­‐	
  require	
  third	
  par6es	
  to	
  provide	
  the	
  same	
  informa6on	
  when	
  gran6ng	
  rights	
  …	
  
NLS	
  Open	
  Data	
  

§  hTps://6edostopalvelu.maanmiTauslaitos.fi/tp/karTa?
    lang=en	
  

§  Data	
  orders	
  to	
  be	
  delivered	
  manually	
  
    §  About	
  30	
  %	
  more	
  than	
  normally	
  	
  
    	
  
§  Delivery	
  by	
  web	
  communi6es	
  
    	
  

           §  hTp://paikka6eto.com/2012/05/0/	
  	
  	
  	
  

           §  hTp://kartat.kapsi.fi/	
  	
  
NLS	
  Open	
  Data	
  
NLS/Sta<s<cs	
  Finland	
  more	
  content	
  *	
  
§    Aluehallintovirastot	
  [1]	
         	
  (Regional	
  State	
  Administra6ve	
  Agencies)	
  
§    Maakunnat	
  [1]               	
     	
  (Regions)	
  
§    Kunnat	
  [1] 	
               	
     	
  (Municipali6es)	
  
§    ELY-­‐keskukset	
  [1][2]	
   	
      	
  (Centres	
  for	
  Economic	
  Development,	
  
      Transport	
  and	
  the	
  Environment)	
  
§    Kielisuhdeluokitus	
  [1][2]          	
  (Language	
  distribu6on)	
  
§    Sairaanhoitopiirit	
  [1][2]          	
  (Hospital	
  District)	
  
§    Seutukunnat	
  [1][2]          	
     	
  (Sub-­‐regional	
  units)	
  
§    Suuralueet	
  [1][2]	
         	
     	
  (Major	
  regions)	
  
§    Tilastollinen	
  kuntaryhmitys	
  [1][2]	
  (Sta6s6cal	
  grouping	
  of	
  municipali6es)	
  
§    Työssäkäyn6alueet	
  [1][2]           	
  (Working	
  district)	
  
§    Vaalipiirit	
  [1][2]          	
     	
  (Electoral	
  district)	
  

§  [1]	
  NLS	
  Finland,	
  [2]	
  Sta6s6cs	
  Finland	
  
§  *	
  To	
  be	
  delivered	
  via	
  Apps4Finland	
  
Data	
  size	
  
§  Be	
  careful	
  with	
  the	
  data	
  size	
  ;-­‐)	
  
More	
  content	
  
§  Finland's	
  Na6onal	
  Board	
  of	
  An6qui6es	
  –	
  
    hTp://paikka6eto.nba.fi/aineistot/MV_inspire_atom.xml	
  
§  HRI	
  (Helsinki	
  Region	
  Infoshare)–	
  hTp://www.hri.fi	
  
§  Finland’s	
  environmental	
  administra6on:	
  Oiva	
  -­‐	
  
    hTp://wwwp2.ymparisto.fi/scripts/oiva.asp	
  
§  Sta6s6cs	
  Finland	
  –	
  hTp://www.6lastokeskus.fi/	
  
§  Suomi.fi	
  –	
  hTp://www.suomi.fi	
  
§  PaITuli	
  (CSC	
  IT	
  Center	
  for	
  Science)	
  -­‐	
  
    hTp://www.csc.fi/english/research/sciences/geo/gis/
    paituli/index_html	
  
§  Etc.	
  
Content	
  handling	
  
Quantum	
  GIS	
  
Combine	
  spa<al	
  and	
  non-­‐spa<al	
  content	
  
§  Shape	
  file	
  and	
  csv	
  file	
  
§  Join	
  tables	
  using	
  key	
  (e.g.	
  municipality	
  id)	
  
§  In	
  this	
  case	
  using	
  Quantum	
  GIS	
  
Combine	
  spa<al	
  and	
  non-­‐spa<al	
  content	
  
Combine	
  spa<al	
  and	
  non-­‐spa<al	
  content	
  
Combine	
  spa<al	
  and	
  non-­‐spa<al	
  content	
  
Combine	
  spa<al	
  and	
  non-­‐spa<al	
  content	
  
Conversion	
  from	
  Shape-­‐file	
  to	
  …	
  XXX	
  
§  Shape	
  (shp)	
  is	
  a	
  de-­‐facto	
  file	
  format	
  for	
  GIS,	
  
    developed	
  by	
  ESRI	
  
§  Conversions	
  will	
  be	
  done	
  by	
  using	
  Open	
  Source	
  
    GDAL/OGR	
  library	
  
    §  hJp://www.gdal.org/ogr2ogr.html	
  
    §  It	
  converts	
  simple	
  features	
  data	
  between	
  file	
  formats	
  
    §  Supports	
  coordinate	
  transformaBons	
  (e.g.	
  from	
  GPS	
  
        (WGS84)	
  to	
  Finnish	
  naBonal	
  coordinate	
  system	
  (ETRS-­‐
        TM35FIN))	
  
OGR2OGR	
  usage	
  
Conversion	
  from	
  Shape-­‐file	
  to	
  GeoJSON	
  
§  ogr2ogr	
  -­‐f	
  geoJSON	
  CapitalRegion.json	
  
    CapitalRegion.shp	
  
    §  With	
  same	
  coordinate	
  system	
  as	
  the	
  original	
  


§  ogr2ogr	
  -­‐f	
  geoJSON	
  CapitalRegionWGS84.json	
  
    CapitalRegion.shp	
  -­‐t_srs	
  EPSG:4326	
  
    §  Converted	
  to	
  WGS84	
  coordinate	
  system	
  (lon/lat)	
  
Web	
  Services	
  and	
  code	
  samples	
  
Interface	
  standards	
  

 §  WMS	
  Web	
  Map	
  Service	
  
      o  Serves	
  georeferenced	
  images	
  

hTp://www.opengeospa6al.org/standards/wms	
  




 §  WMTS	
  Web	
  Map	
  Tiling	
  Service	
  
      o  provides	
  map	
  Bles	
  (small	
  images	
  
         that	
  are	
  part	
  of	
  a	
  map)	
  




hTp://www.opengeospa6al.org/standards/wmts	
  
Interface	
  standards	
  
§  WFS	
  Web	
  Feature	
  Service	
  
     o  an	
  interface	
  allowing	
  requests	
  for	
  
        geographical	
  features	
  across	
  the	
  
        web	
  
     o  GML	
  

hTp://www.opengeospa6al.org/standards/wfs	
  
hTp://www.opengeospa6al.org/standards/filter	
  
Standards	
  
§  hTp://www.opengeospa6al.org/standards/	
  
Spa<al	
  architecture	
  (by	
  INSPIRE)	
  
                                                        Javascript	
  
                                                           Etc.	
  
                                                                     Applica6ons	
  and	
  portals	
  

          	
  	
  	
  	
  Service	
  bus	
  


                                                                                                                     Rights	
  management	
  layer	
  
Service	
  
layer	
           Registry	
  	
                     Discovery	
                View	
           Download	
               Transform.	
      Invoke	
  
                  service	
                           service	
                service	
          service	
                 service	
       service	
  
                                                       CSW	
                  WMS,	
  WMTS	
       WFS	
                  WPS/WCTS	
  
Data	
  
sources	
  

                 Schemas	
                      Service	
      Dataset	
  
                 Code	
  lists	
               metadata	
      metadata	
  
                  Styles	
  


                                                                                                    Spa6al	
  	
  
                                                                                                   datasets	
  
Publish	
  content	
  via	
  WMS	
  (Geoserver)	
  
§  geoserver.war	
  	
  (Tomcat,	
  JeTy	
  jne)	
  
Publish	
  content	
  via	
  WMS	
  (Geoserver)	
  
§  Add Store (shape, PostGIS, GeoTIFF etc.)
  §  Vector (shape file, database (PostGIS))
  §  Raster (GeoTIFF)
§  Create a base map (by adding a layer from
    store)
§  Add a style (using SLD - Styled Layer
    Descriptor)
§  Test using OpenLayers and check
    GetCapabilities using WMS-service

                    Jari Reini
                    29.8.2012
WMS	
  example	
  
§  hTps://ws.nls.fi/rasteriaineistot/test/index.html	
  
Demo:	
  Add	
  content	
  to	
  Geoserver	
  
Web	
  map:	
  OpenLayers	
  

§  hTp://www.openlayers.org/	
  
OpenLayers	
  and	
  WMTS	
  
Source	
  code	
  and	
  demo:	
  OL	
  and	
  WMTS	
  
GeoJSON	
  
§  GeoJSON	
  is	
  a	
  format	
  for	
  encoding	
  a	
  variety	
  of	
  
    geographic	
  data	
  structures	
  
§  Point,	
  LineString,	
  Polygon,	
  Mul6Point,	
  
    Mul6LineString,	
  Mul6Polygon,	
  and	
  
    GeometryCollec6on	
  
§  hTp://www.geojson.org/	
  
GeoJSON	
  example	
  
§    {"type":	
  "FeatureCollec6on","features":	
  [{	
  "type":	
  "Feature",	
  "proper6es":	
  {	
  "KUNTAKOODI":	
  "049",	
  "NIMI_FI":	
  "Espoo",	
  
      "NIMI_SE":	
  "Esbo"	
  },	
  "geometry":	
  {	
  "type":	
  "Mul6Polygon",	
  "coordinates":	
  [	
  [	
  [	
  [	
  24.571160,	
  60.174957	
  ],	
  [	
  24.569053,	
  
      60.179302	
  ],	
  [	
  24.536214,	
  60.196464	
  ],	
  [	
  24.524747,	
  60.205349	
  ],	
  [	
  24.503201,	
  60.212863	
  ],	
  [	
  24.525406,	
  60.231022	
  ],	
  
      [	
  24.525024,	
  60.246582	
  ],	
  [	
  24.504336,	
  60.255430	
  ],	
  [	
  24.504449,	
  60.274086	
  ],	
  [	
  24.515569,	
  60.281292	
  ],	
  [	
  24.512038,	
  
      60.291734	
  ],	
  [	
  24.500169,	
  60.326289	
  ],	
  [	
  24.562672,	
  60.314085	
  ],	
  [	
  24.595654,	
  60.324185	
  ],	
  [	
  24.614089,	
  60.344366	
  ],	
  
      [	
  24.627694,	
  60.359241	
  ],	
  [	
  24.664705,	
  60.362770	
  ],	
  [	
  24.683964,	
  60.357999	
  ],	
  [	
  24.702266,	
  60.353460	
  ],	
  [	
  24.749283,	
  
      60.341783	
  ],	
  [	
  24.746237,	
  60.322274	
  ],	
  [	
  24.760928,	
  60.325376	
  ],	
  [	
  24.771802,	
  60.299231	
  ],	
  [	
  24.764941,	
  60.271237	
  ],	
  
      [	
  24.784754,	
  60.241505	
  ],	
  [	
  24.831403,	
  60.254055	
  ],	
  [	
  24.841913,	
  60.221200	
  ],	
  [	
  24.848062,	
  60.218600	
  ],	
  [	
  24.847341,	
  
      60.215472	
  ],	
  [	
  24.845160,	
  60.217551	
  ],	
  [	
  24.840428,	
  60.217474	
  ],	
  [	
  24.829067,	
  60.212933	
  ],	
  [	
  24.823169,	
  60.208482	
  ],	
  
      [	
  24.817308,	
  60.203486	
  ],	
  [	
  24.817365,	
  60.197136	
  ],	
  [	
  24.821679,	
  60.192489	
  ],	
  [	
  24.824589,	
  60.192537	
  ],	
  [	
  24.826356,	
  
      60.187848	
  ],	
  [	
  24.825768,	
  60.180217	
  ],	
  [	
  24.823415,	
  60.177275	
  ],	
  [	
  24.811442,	
  60.176715	
  ],	
  [	
  24.805746,	
  60.174806	
  ],	
  
      [	
  24.797870,	
  60.172861	
  ],	
  [	
  24.789414,	
  60.168728	
  ],	
  [	
  24.777763,	
  60.163452	
  ],	
  [	
  24.773439,	
  60.162835	
  ],	
  [	
  24.765414,	
  
      60.157800	
  ],	
  [	
  24.759674,	
  60.156615	
  ],	
  [	
  24.748360,	
  60.149913	
  ],	
  [	
  24.735985,	
  60.150065	
  ],	
  [	
  24.726578,	
  60.154622	
  ],	
  
      [	
  24.717032,	
  60.155909	
  ],	
  [	
  24.712736,	
  60.154928	
  ],	
  [	
  24.706986,	
  60.153921	
  ],	
  [	
  24.694366,	
  60.147169	
  ],	
  [	
  24.687286,	
  
      60.139243	
  ],	
  [	
  24.683649,	
  60.134098	
  ],	
  [	
  24.675721,	
  60.127970	
  ],	
  [	
  24.670678,	
  60.127337	
  ],	
  [	
  24.661722,	
  60.130627	
  ],	
  
      [	
  24.656979,	
  60.135988	
  ],	
  [	
  24.650108,	
  60.140584	
  ],	
  [	
  24.641925,	
  60.143160	
  ],	
  [	
  24.628939,	
  60.151821	
  ],	
  [	
  24.622682,	
  
      60.157878	
  ],	
  [	
  24.615088,	
  60.162279	
  ],	
  [	
  24.605000,	
  60.165908	
  ],	
  [	
  24.596041,	
  60.169012	
  ],	
  [	
  24.583689,	
  60.173687	
  ],	
  
      [	
  24.572253,	
  60.175317	
  ],	
  [	
  24.571160,	
  60.174957	
  ]	
  ],	
  [	
  [	
  24.701820,	
  60.206242	
  ],	
  [	
  24.722176,	
  60.202563	
  ],	
  [	
  24.739162,	
  
      60.207110	
  ],	
  [	
  24.750914,	
  60.218211	
  ],	
  [	
  24.744871,	
  60.220382	
  ],	
  [	
  24.734320,	
  60.224171	
  ],	
  [	
  24.715896,	
  60.224721	
  ],	
  
      [	
  24.706264,	
  60.225008	
  ],	
  [	
  24.677472,	
  60.215397	
  ],	
  [	
  24.675287,	
  60.211031	
  ],	
  [	
  24.701820,	
  60.206242	
  ]	
  ]	
  ],	
  [	
  [	
  [	
  24.754352,	
  
      60.104463	
  ],	
  [	
  24.750329,	
  60.107136	
  ],	
  [	
  24.749955,	
  60.112613	
  ],	
  [	
  24.761466,	
  60.112808	
  ],	
  [	
  24.767115,	
  60.110436	
  ],	
  
      [	
  24.766297,	
  60.106310	
  ],	
  [	
  24.754352,	
  60.104463	
  ]	
  ]	
  ],	
  [	
  [	
  [	
  24.775577,	
  60.131414	
  ],	
  [	
  24.767546,	
  60.136488	
  ],	
  [	
  24.774892,	
  
      60.141546	
  ],	
  [	
  24.783196,	
  60.140589	
  ],	
  [	
  24.785358,	
  60.132949	
  ],	
  [	
  24.775577,	
  60.131414	
  ]	
  ]	
  ],	
  [	
  [	
  [	
  24.843346,	
  60.185501	
  ],	
  
      [	
  24.843360,	
  60.185235	
  ],	
  [	
  24.843175,	
  60.185369	
  ],	
  [	
  24.843346,	
  60.185501	
  ]	
  ]	
  ],	
  [	
  [	
  [	
  24.685266,	
  60.103820	
  ],	
  [	
  24.676807,	
  
      60.099286	
  ],	
  [	
  24.665849,	
  60.099093	
  ],	
  [	
  24.665422,	
  60.105117	
  ],	
  [	
  24.671650,	
  60.110161	
  ],	
  [	
  24.680420,	
  60.110315	
  ],	
  
      [	
  24.685266,	
  60.103820	
  ]	
  ]	
  ],	
  [	
  [	
  [	
  24.655124,	
  60.080777	
  ],	
  [	
  24.647554,	
  60.088991	
  ],	
  [	
  24.648432,	
  60.089463	
  ],	
  [	
  24.660521,	
  
      60.089129	
  ],	
  [	
  24.662005,	
  60.083672	
  ],	
  [	
  24.655124,	
  60.080777	
  ]	
  ]	
  ],	
  [	
  [	
  [	
  24.702720,	
  60.113172	
  ],	
  [	
  24.696384,	
  60.117448	
  ],	
  
      [	
  24.704073,	
  60.125258	
  ],	
  [	
  24.704164,	
  60.131839	
  ],	
  [	
  24.709496,	
  60.134125	
  ],	
  [	
  24.719955,	
  60.133757	
  ],	
  [	
  24.724589,	
  
      60.130273	
  ],	
  [	
  24.723531,	
  60.121756	
  ],	
  [	
  24.710923,	
  60.113588	
  ],	
  [	
  24.702720,	
  60.113172	
  ]	
  ]	
  ],	
  [	
  [	
  [	
  24.844243,	
  60.168753	
  ],	
  
      [	
  24.844412,	
  60.165584	
  ],	
  [	
  24.841603,	
  60.154288	
  ],	
  [	
  24.839184,	
  60.154052	
  ],	
  [	
  24.839634,	
  60.163929	
  ],	
  [	
  24.844243,	
  
      60.168753	
  ]	
  ]	
  ]	
  ]	
  }	
  },	
  
OpenLayers	
  with	
  WMS	
  and	
  GeoJSON	
  
OpenLayers	
  with	
  WMS	
  and	
  GeoJSON	
  
Source	
  code	
  and	
  demo:	
  OL	
  and	
  WMS	
  
and	
  GeoJSON	
  
Google	
  Maps	
  
§  Easy	
  way	
  to	
  build	
  interac6ve	
  data	
  visualiza6ons	
  on	
  a	
  
    map	
  and	
  loca6on-­‐based	
  apps	
  
    §  hJps://developers.google.com/maps/documentaBon/
        javascript/reference	
  
Google	
  Maps	
  
Source	
  code	
  and	
  demo:	
  Google	
  Maps	
  
KML	
  from	
  MySQL	
  database	
  
#	
  one	
  6me	
  only	
                                                                #	
  get	
  KML	
  
#	
  create	
  table	
                                                                   #	
  ================	
  
#===============	
                                                                       <?php	
  
	
  
                                                                                         require('dbinfo.php');	
  
@mysql_select_db($database)	
  or	
  die(	
  "Unable	
  to	
  
                   select	
  database:"	
  .	
  mysql_error());	
                        	
  //	
  Opens	
  a	
  connec6on	
  to	
  a	
  MySQL	
  server.	
  
	
                                                                                       $connec6on	
  =	
  mysql_connect	
  ($server,	
  $username,	
  
$query="CREATE	
  TABLE	
  kml_poi_sample	
  (lat	
                                                     $password);	
  
                   decimal(10,5)	
  NOT	
  NULL,	
  lng	
  decimal(10,5)	
  NOT	
        if	
  (!$connec6on)	
  	
  
                   NULL,	
  descrip6on	
  	
  varchar(100)	
  NOT	
  NULL,	
  id	
  
                   int(11)	
  NOT	
  NULL	
  auto_increment,	
  PRIMARY	
  KEY	
  	
     {	
  
                   (`id`))";	
  
                                                                                         	
  	
  die('Not	
  connected	
  :	
  '	
  .	
  mysql_error());	
  
mysql_query($query);	
  
                                                                                         }	
  
mysql_close();	
  	
  
echo	
  "Database	
  created";	
                                                         //	
  Sets	
  the	
  ac6ve	
  MySQL	
  database.	
  
	
                                                                                       $db_selected	
  =	
  mysql_select_db($database,	
  
#new	
  values	
                                                                                        $connec6on);	
  
#=================	
                                                                     if	
  (!$db_selected)	
  	
  
	
                                                                                       {	
  
$query	
  =	
  "INSERT	
  INTO	
  kml_poi_sample	
  VALUES	
  
                   ('$lat','$lng','$descrip6on',$maxid)";	
                              	
  	
  die	
  ('Can't	
  use	
  db	
  :	
  '	
  .	
  mysql_error());	
  
$result=mysql_query($query);	
                                                           }	
  
if	
  (!$result)	
  {	
                                                                  	
  //	
  Selects	
  all	
  the	
  rows	
  
	
  	
  	
  	
  die('Error:	
  '	
  .	
  mysql_error());	
  
                                                                                         $sql	
  =	
  'select	
  id,name,	
  lat,	
  lng,	
  descrip6on	
  from	
  
}	
  
                                                                                                        kml_poi_sample';	
  	
  
	
  
	
                                                                                       	
  $result	
  =	
  mysql_query($sql);	
  
	
  
KML	
  from	
  MySQL	
  database	
  
//	
  Create	
  output	
  
$kml	
  =	
  array('<?xml	
  version="1.0"	
  encoding="UTF-­‐8"?>');	
                                                            //	
  End	
  XML	
  file	
  
$kml[]	
  =	
  '<kml	
  xmlns="hTp://earth.google.com/kml/2.1">';	
                                                                $kml[]	
  =	
  '	
  </Document>';	
  
$kml[]	
  =	
  '<Document>';	
                                                                                                     $kml[]	
  =	
  '</kml>';	
  
$kml[]	
  =	
  '<Style	
  id="downArrowIcon">';	
                                                                                  $kmlOutput	
  =	
  join("n",	
  $kml);	
  
$kml[]	
  =	
  '<IconStyle>';	
                                                                                                    header('Content-­‐type:	
  applica6on/vnd.google-­‐
                                                                                                                                            earth.kml+xml');	
  
$kml[]	
  =	
  '<Icon>';	
  
                                                                                                                                   #header('Content-­‐type:	
  text/xml');	
  
$kml[]	
  =	
  '<href>hTp://maps.google.com/mapfiles/kml/pushpin/grn-­‐pushpin.png</href>';	
  
                                                                                                                                   echo	
  $kmlOutput;	
  
$kml[]	
  =	
  '</Icon>';	
  
                                                                                                                                   ?>	
  
$kml[]	
  =	
  '</IconStyle>';	
  
$kml[]	
  =	
  '</Style>';	
  
	
  
while	
  ($row	
  =	
  @mysql_fetch_assoc($result))	
  
{	
  
	
  	
  $kml[]	
  =	
  '	
  <Placemark	
  id="placemark'	
  .	
  $row['id']	
  .	
  '">';	
  
	
  	
  $kml[]	
  =	
  '	
  <name>'	
  .	
  htmlen66es($row['name'])	
  .	
  '</name>';	
  
	
  	
  $kml[]	
  =	
  '	
  <descrip6on>'	
  .	
  htmlen66es($row['descrip6on'])	
  .	
  '</descrip6on>';	
  
	
  	
  $kml[]	
  =	
  '	
  <styleUrl>#downArrowIcon</styleUrl>';	
  
	
  	
  $kml[]	
  =	
  '	
  <Point>';	
  
	
  	
  $kml[]	
  =	
  '	
  <coordinates>'	
  .	
  $row['lng']	
  .	
  ','	
  	
  .	
  $row['lat']	
  .	
  '</coordinates>';	
  
	
  	
  $kml[]	
  =	
  '	
  </Point>';	
  
	
  	
  $kml[]	
  =	
  '	
  </Placemark>';	
  
}	
  
KML	
  in	
  Google	
  Maps	
  
§  hTps://maps.google.com/maps?q=hTp://service.fi/
    map/kml/getkmlsample.php	
  
KML	
  in	
  Google	
  Earth	
  
Address	
  search	
  using	
  WFS	
  
§  NLS	
  WFS	
  service	
  
§  Send	
  	
  hTp	
  post	
  request	
  and	
  get	
  back	
  XML/GML	
  

§  (demonstrate	
  using	
  Firefox	
  Poster)	
  
§  hTp://xml.nls.fi/Nimisto/Asiakasdokumentaa6o/
    WFS/Kuvaus/getCapabili6es_vastaus.xml	
  
§  hTp://xml.nls.fi/Maasto/Maasto6etokanta/
    Asiakasdokumentaa6o/WFS/Kuvaus/
    GetCapabili6es_vastaus.xml	
  
Address	
  search:	
  Opas<nsilta	
  12	
  Helsinki	
  
§    <?xml	
  version="1.0"	
  encoding="UTF-­‐8"?>	
  
      <wfs:GetFeature	
  version="1.1.0"	
  
      xmlns:oso="hTp://xml.nls.fi/OsoiTeet/Osoitepiste/2011/02"	
  
      xmlns:wfs="hTp://www.opengis.net/wfs"	
  
      xmlns:gml="hTp://www.opengis.net/gml"	
  
      xmlns:ogc="hTp://www.opengis.net/ogc"	
  
      xmlns:xsi="hTp://www.w3.org/2001/XMLSchema-­‐instance"	
  
      xsi:schemaLoca6on="hTp://www.opengis.net/wfs	
  
      hTp://schemas.opengis.net/wfs/1.1.0/wfs.xsd">	
  
      	
  <wfs:Query	
  typeName="oso:Osoitenimi">	
  
      	
  	
  <ogc:Filter>	
  
      	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <ogc:And>	
  
      	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <ogc:PropertyIsEqualTo>	
  
      	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <ogc:PropertyName>oso:kuntanimiFin</ogc:PropertyName>	
  
      	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <ogc:Literal>Helsinki</ogc:Literal>	
  
      	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  </ogc:PropertyIsEqualTo>	
  
      	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <ogc:PropertyIsEqualTo>	
  
      	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <ogc:PropertyName>oso:katunimi</ogc:PropertyName>	
  
      	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <ogc:Literal>Opas4nsilta</ogc:Literal>	
  
      	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  </ogc:PropertyIsEqualTo>	
  
      	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <ogc:PropertyIsEqualTo>	
  
      	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <ogc:PropertyName>oso:katunumero</ogc:PropertyName>	
  
      	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <ogc:Literal>12</ogc:Literal>	
  
      	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  </ogc:PropertyIsEqualTo>	
  
      	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  </ogc:And>	
  
      	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  </ogc:Filter>	
  
§    	
  </wfs:Query>	
  
      </wfs:GetFeature>	
  
Response:	
  Opas<nsilta	
  12	
  Helsinki	
  
Demo:	
  Address	
  search	
  using	
  HTTP	
  POST	
  
and	
  WFS	
  
Other	
  WFS	
  examples	
  
§  GetCapabili4es	
  
    hTp://localhost:8080/geoserver/ows?
    service=wfs&version=1.1.0&request=GetCapabili6es	
  	
  
§  DescribeFeatureType	
  	
  
§  hTp://localhost:8080/geoserver/wfs?
    service=WFS&version=1.1.0&request=DescribeFeatureType&Typename=nls:munic
    ipali6es	
  	
  
§  GetFeature	
  	
  
§  hTp://localhost:8080/geoserver/wfs?
    service=WFS&version=1.1.0&request=GetFeature&Typename=nls:municipali6es&
    maxfeatures=1	
  	
  
§  GetFeature	
  	
  in	
  JSON	
  
§  hTp://localhost:8080/geoserver/ows?
    service=WFS&version=1.0.0&request=GetFeature&typeName=nls:municipali6es&
    maxFeatures=1&outputFormat=json	
  
§  GetFeature	
  ETRS89	
  
    hTp://localhost:8080/geoserver/wfs?
    service=WFS&version=1.1.0&request=GetFeature&Typename=nls:municipali6es&
    maxfeatures=2&srsName=urn:x-­‐ogc:def:crs:EPSG:4258	
  	
  
Using	
  Geoloca<on	
  
§  Geoloca6on	
  API	
  Specifica6on	
  	
  
    §  hJp://dev.w3.org/geo/api/spec-­‐source.html	
  
§  API	
  provides	
  scripted	
  access	
  to	
  geographical	
  loca6on	
  
    informa6on	
  associated	
  with	
  the	
  hos6ng	
  device	
  
Coordinate	
  conversion	
  
§  From	
  GPS	
  to	
  ETRS-­‐TM35FIN	
  
§  From	
  GPS	
  to	
  ”Web	
  Mercator”	
  (used	
  by	
  Google	
  and	
  
    OpenStreetMap)	
  

§  Proj4js	
  is	
  a	
  JavaScript	
  library	
  to	
  transform	
  point	
  
    coordinates	
  from	
  one	
  coordinate	
  system	
  to	
  another	
  
    §  hJp://trac.osgeo.org/proj4js/	
  
Coordinate	
  conversion	
  
Source	
  code	
  and	
  demo:	
  geoloca<on	
  and	
  
coordinate	
  conversions	
  
OpenStreetMap	
  
OpenStreetMap	
  and	
  OpenLayers	
  w/	
  loca<on	
  
Source	
  code	
  and	
  demo:	
  Openstreetmap	
  
and	
  the	
  current	
  loca<on	
  
Spa<al	
  analysis	
  
§  Spa6al	
  analysis	
  may	
  include	
  tasks	
  such	
  as	
  
     §  Who	
  are	
  my	
  neighbors?	
  
     §  In	
  which	
  postal	
  code	
  or	
  municipality	
  I’m	
  currently?	
  
§  Spa6al	
  SQL	
  standardized	
  in	
  SQLMM	
  :	
  ISO/IEC	
  13249l	
  
     §  RelaBonship	
  
          §  True	
  or	
  false	
  
     §  Processing	
  
          §  Gives	
  you	
  a	
  new	
  geometry	
  
     §  Measurement	
  
          §  Calculates	
  something	
  
§  You	
  may	
  use	
  
     §  Database	
  (SQL)	
  
     §  Map	
  server	
  (e.g.	
  Geoserver)	
  
     §  Javasicript	
  etc.	
  libraries	
  
Geometry	
  types	
  and	
  topological	
  rela<onships	
  
Spa<al	
  analysis	
  -­‐	
  func<ons	
                     § 
                                                            § 
                                                                  ST_Perimeter	
  
                                                                  ST_Point	
  
§    ST_Area	
              §    ST_Intersec6on	
  
                                                            §    ST_PointFromText	
  
§    ST_AsBinary	
          §    ST_Intersects	
  
                                                            §    ST_PointFromWKB	
  
§    ST_AsText	
            §    ST_IsClosed	
  
                                                            §    ST_PointN	
  
§    ST_Boundary	
          §    ST_IsEmpty	
  
                                                            §    ST_PointOnSurface	
  
§    ST_Buffer	
             §    ST_IsRing	
  
                                                            §    ST_PolyFromText	
  
§    ST_Centroid	
          §    ST_IsSimple	
  
                                                            §    ST_PolyFromWKB	
  
§    ST_Contains	
          §    ST_IsValid	
  
                                                            §    ST_Polygon	
  
§    ST_ConvexHull	
        §    ST_Length	
  
                                                            §    ST_Relate	
  
§    ST_CoordDim	
          §    ST_LineFromText	
  
                                                            §    ST_SRID	
  
§    ST_Crosses	
           §    ST_LineFromWKB	
  
                                                            §    ST_StartPoint	
  
§    ST_Difference	
         §    ST_MLineFromText	
  
                                                            §    ST_SymDifferenc	
  
§    ST_Dimension	
         §    ST_MLineFromWKB	
  
                                                            §    e	
  
§    ST_Disjoint	
          §    ST_MPointFromText	
  
                                                            §    ST_Touches	
  
§    ST_Distance	
          §    ST_MPointFromWKB	
  
                                                            §    ST_Transform	
  
§    ST_EndPoint	
          §    ST_MPolyFromText	
  
                                                            §    ST_Union	
  
§    ST_Envelope	
          §    ST_MPolyFromWKB	
  
                                                            §    ST_Within	
  
§    ST_Equals	
            §    ST_NumGeometries	
  
                                                            §    ST_WKBToSQL	
  
§    ST_ExteriorRing	
      §    ST_NumInteriorRing	
  
                                                            §    ST_WKTToSQL	
  
§    ST_GeometryN	
         §    ST_NumPoints	
  
                                                            §    ST_X	
  
§    ST_GeometryType	
      §    ST_OrderingEquals	
  
                                                            §    ST_Y	
  
§    ST_GeomFromText	
      §    ST_Overlaps	
  
§    ST_GeomFromWKB	
  
§    ST_InteriorRingN	
  
Spa<al	
  analysis	
  -­‐examples	
  
§  In	
  which	
  municipality	
  I	
  am?	
  
     §  Select	
  nimi_fi	
  from	
  municipaliBes	
  where	
  
         Intersects(GeomFromText('POINT	
  (387324.2534026944	
  
         6678252.651510533)'),	
  GEOMETRY);	
  

§  Neighboring	
  municipali6es	
  
     §  Select	
  nimi_fi	
  from	
  municipaliBes	
  where	
  Touches((select	
  
         GEOMETRY	
  from	
  municipaliBes	
  where	
  nimi_fi=‘Helsinki’),	
  
         GEOMETRY);	
  

§  Municipali6es	
  in	
  50	
  km	
  circle	
  from	
  here	
  
     §  Select	
  nimi_fi	
  from	
  municipaliBes	
  where	
  
         Intersects(Buffer(GeomFromText('POINT	
  (387324.2534026944	
  
         6678252.651510533)'),	
  50000),	
  GEOMETRY);	
  
Spa<al	
  analysis	
  in	
  prac<ce	
  using	
  
Spa<alite	
  database	
  
Tools	
  from	
  OpenGeo	
  
§  hTp://live.osgeo.org	
  
OSGeo-­‐Live	
  6.0	
  Contents	
  
§  Browser	
  Clients	
  
    §    OpenLayers	
  -­‐	
  Browser	
  GIS	
  Client	
  
    §    Geomajas	
  -­‐	
  Browser	
  GIS	
  Client	
  
    §    Mapbender	
  -­‐	
  Geoportal	
  Framework	
  
    §    MapFish	
  -­‐	
  Web	
  Mapping	
  Framework	
  
    §    GeoMoose	
  -­‐	
  Web	
  GIS	
  Portal	
  
§  Databases	
  
    §    PostGIS	
  -­‐	
  SpaBal	
  Database	
  
    §    SpaBaLite	
  -­‐	
  Lightweight	
  Database	
  
    §    Rasdaman	
  -­‐	
  MulB-­‐Dimensional	
  Raster	
  Database	
  
    §    pgRouBng	
  -­‐	
  RouBng	
  for	
  PostGIS	
  
OSGeo-­‐Live	
  6.0	
  Contents	
  
§  Desktop	
  GIS	
  
     §    Quantum	
  GIS	
  (QGIS)	
  
     §    GRASS	
  GIS	
  
     §    gvSIG	
  Desktop	
  
     §    User-­‐friendly	
  Desktop	
  Internet	
  GIS	
  (uDig)	
  
     §    Kosmo	
  Desktop	
  
     §    OpenJUMP	
  GIS	
  
§  Spa6al	
  Tools	
  
     §    GeoKeJle	
  	
  -­‐	
  ETL	
  (Extract,	
  Transform	
  and	
  Load)	
  Tool	
  
     §    GDAL/OGR	
  	
  -­‐	
  GeospaBal	
  Data	
  TranslaBon	
  Tools	
  
     §    GMT	
  -­‐	
  Cartographic	
  Rendering	
  
     §    Mapnik	
  -­‐	
  Cartographic	
  Rendering	
  
     §    MapTiler	
  -­‐	
  Create	
  Map	
  Tiles	
  
     §    OTB	
  -­‐	
  Image	
  Processing	
  
     §    R	
  for	
  SpaBal	
  Data	
  -­‐	
  StaBsBcal	
  Programming	
  

§  And	
  much	
  more…	
  
Open	
  Source	
  Map	
  Applica<on	
  Framework	
  




                                                  www.oskari.org	
  	
  
Spa<al	
  Data	
  Service	
  Pla_orm	
  -­‐	
  OSKARI	
  


§  OSKARI	
  =	
  Open	
  Source	
  KarTaikkuna	
  (stands	
  for	
  Open	
  
    Source	
  map	
  window)	
  
    §  …but	
  OSKARI	
  is	
  more	
  than	
  just	
  a	
  map	
  window	
  in	
  a	
  
        Geoportal…	
  
§  OSKARI	
  is	
  an	
  Open	
  Source	
  based	
  
   	
  Spa4al	
  Data	
  Service	
  PlaIorm	
  –	
  key	
  principals:	
  
    §  Use	
  exisBng	
  OS	
  components:	
  e.g.	
  OpenLayers,	
  jQuery	
  
    §  All	
  developed	
  code	
  is	
  released	
  under	
  MIT/	
  EUPL	
  licenses	
  
    §  Flexible	
  architecture	
  allows	
  for	
  adding	
  funcBonality	
  both	
  on	
  
        the	
  server	
  and	
  client	
  side	
  
OSKARI	
  evolu<on	
  
Samples	
  
§  All	
  the	
  code	
  samples	
  will	
  be	
  available	
  at	
  Github	
  
    Apps4Finland	
  

§    hTps://github.com/Apps4Finland	
  
§    And	
  
§    hTps://github.com/reinij	
  
§    …	
  use	
  at	
  your	
  own	
  risk	
  
§    …	
  add	
  comments,	
  do	
  tes6ng	
  …	
  
Interested	
  in	
  knowing	
  more…?	
  
§  hTp://www.uli.se/ogc-­‐nordic-­‐interoperability-­‐day/agenda	
  
§  September	
  3rd	
  in	
  Stockholm	
  
Now:	
  any	
  ques<ons	
  and	
  comments?	
  
Later	
  on:	
  firstname.lastname@nls.fi	
  

Contenu connexe

Tendances

NAPSG 2010 Fire/EMS Conference - Data Sharing Basics
NAPSG 2010 Fire/EMS Conference - Data Sharing BasicsNAPSG 2010 Fire/EMS Conference - Data Sharing Basics
NAPSG 2010 Fire/EMS Conference - Data Sharing Basicspdituri
 
Implementing Netezza Spatial
Implementing Netezza SpatialImplementing Netezza Spatial
Implementing Netezza SpatialDavid Walker
 
Linking UK Government Data, John Sheridan
Linking UK Government Data, John SheridanLinking UK Government Data, John Sheridan
Linking UK Government Data, John SheridanSemantic Web Company
 
Spatially enabled open source BI (GeoBI) with GeoKettle, GeoMondrian & SOLAPL...
Spatially enabled open source BI (GeoBI) with GeoKettle, GeoMondrian & SOLAPL...Spatially enabled open source BI (GeoBI) with GeoKettle, GeoMondrian & SOLAPL...
Spatially enabled open source BI (GeoBI) with GeoKettle, GeoMondrian & SOLAPL...Thierry Badard
 
Spark SQL Bucketing at Facebook
 Spark SQL Bucketing at Facebook Spark SQL Bucketing at Facebook
Spark SQL Bucketing at FacebookDatabricks
 
Benchmarking data warehouse systems in the cloud: new requirements & new metrics
Benchmarking data warehouse systems in the cloud: new requirements & new metricsBenchmarking data warehouse systems in the cloud: new requirements & new metrics
Benchmarking data warehouse systems in the cloud: new requirements & new metricsRim Moussa
 

Tendances (6)

NAPSG 2010 Fire/EMS Conference - Data Sharing Basics
NAPSG 2010 Fire/EMS Conference - Data Sharing BasicsNAPSG 2010 Fire/EMS Conference - Data Sharing Basics
NAPSG 2010 Fire/EMS Conference - Data Sharing Basics
 
Implementing Netezza Spatial
Implementing Netezza SpatialImplementing Netezza Spatial
Implementing Netezza Spatial
 
Linking UK Government Data, John Sheridan
Linking UK Government Data, John SheridanLinking UK Government Data, John Sheridan
Linking UK Government Data, John Sheridan
 
Spatially enabled open source BI (GeoBI) with GeoKettle, GeoMondrian & SOLAPL...
Spatially enabled open source BI (GeoBI) with GeoKettle, GeoMondrian & SOLAPL...Spatially enabled open source BI (GeoBI) with GeoKettle, GeoMondrian & SOLAPL...
Spatially enabled open source BI (GeoBI) with GeoKettle, GeoMondrian & SOLAPL...
 
Spark SQL Bucketing at Facebook
 Spark SQL Bucketing at Facebook Spark SQL Bucketing at Facebook
Spark SQL Bucketing at Facebook
 
Benchmarking data warehouse systems in the cloud: new requirements & new metrics
Benchmarking data warehouse systems in the cloud: new requirements & new metricsBenchmarking data warehouse systems in the cloud: new requirements & new metrics
Benchmarking data warehouse systems in the cloud: new requirements & new metrics
 

Similaire à Maps4Finland 28.8.2012, Jari Reini

Mel McIntyre, OpenApp.ie LGMA
Mel McIntyre, OpenApp.ie LGMAMel McIntyre, OpenApp.ie LGMA
Mel McIntyre, OpenApp.ie LGMAOpenSourceLGMA
 
GeoKettle: A powerful open source spatial ETL tool
GeoKettle: A powerful open source spatial ETL toolGeoKettle: A powerful open source spatial ETL tool
GeoKettle: A powerful open source spatial ETL toolThierry Badard
 
remotesensing-12-01253.pdf
remotesensing-12-01253.pdfremotesensing-12-01253.pdf
remotesensing-12-01253.pdfNguyenVanTuan29
 
DEMETER at OGC Agriculture Session
DEMETER at OGC Agriculture SessionDEMETER at OGC Agriculture Session
DEMETER at OGC Agriculture SessionH2020 DEMETER
 
Big Data to SMART Data : Process Scenario
Big Data to SMART Data : Process ScenarioBig Data to SMART Data : Process Scenario
Big Data to SMART Data : Process ScenarioCHAKER ALLAOUI
 
060314 Ispra Htap Presentations Husar 060314 Ispra
060314 Ispra Htap Presentations Husar 060314 Ispra060314 Ispra Htap Presentations Husar 060314 Ispra
060314 Ispra Htap Presentations Husar 060314 IspraRudolf Husar
 
2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...
2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...
2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...Rudolf Husar
 
ERSA 2017: A linked open data based system for flexible delineation of geogra...
ERSA 2017: A linked open data based system for flexible delineation of geogra...ERSA 2017: A linked open data based system for flexible delineation of geogra...
ERSA 2017: A linked open data based system for flexible delineation of geogra...Ali Khalili
 
MapR 5.2: Getting More Value from the MapR Converged Community Edition
MapR 5.2: Getting More Value from the MapR Converged Community EditionMapR 5.2: Getting More Value from the MapR Converged Community Edition
MapR 5.2: Getting More Value from the MapR Converged Community EditionMapR Technologies
 
Geospatial Business Intelligence made easy with GeoMondrian & SOLAPLayers
Geospatial Business Intelligence made easy with GeoMondrian & SOLAPLayersGeospatial Business Intelligence made easy with GeoMondrian & SOLAPLayers
Geospatial Business Intelligence made easy with GeoMondrian & SOLAPLayersThierry Badard
 
Geo Package and OWS Context at FOSS4G PDX
Geo Package and OWS Context at FOSS4G PDXGeo Package and OWS Context at FOSS4G PDX
Geo Package and OWS Context at FOSS4G PDXLuis Bermudez
 
Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsConcepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsMohammad Liton Hossain
 
Lodstats: The Data Web Census Dataset. Kobe, Japan, 2016
Lodstats: The Data Web Census Dataset. Kobe, Japan, 2016Lodstats: The Data Web Census Dataset. Kobe, Japan, 2016
Lodstats: The Data Web Census Dataset. Kobe, Japan, 2016Ivan Ermilov
 
Geospatial applications created using java script(and nosql)
Geospatial applications created using java script(and nosql)Geospatial applications created using java script(and nosql)
Geospatial applications created using java script(and nosql)Comsysto Reply GmbH
 
Soa4 all technical achievements final
Soa4 all technical achievements finalSoa4 all technical achievements final
Soa4 all technical achievements finalJohn Domingue
 
Meeting today’s dissemination challenges – Implementing International Standar...
Meeting today’s dissemination challenges – Implementing International Standar...Meeting today’s dissemination challenges – Implementing International Standar...
Meeting today’s dissemination challenges – Implementing International Standar...Jonathan Challener
 
Big Data Session 1.pptx
Big Data Session 1.pptxBig Data Session 1.pptx
Big Data Session 1.pptxElsonPaul2
 
GEBCO 09 - DELPH
GEBCO 09 - DELPHGEBCO 09 - DELPH
GEBCO 09 - DELPHIXSEA-DELPH
 

Similaire à Maps4Finland 28.8.2012, Jari Reini (20)

Geohosting
GeohostingGeohosting
Geohosting
 
Mel McIntyre, OpenApp.ie LGMA
Mel McIntyre, OpenApp.ie LGMAMel McIntyre, OpenApp.ie LGMA
Mel McIntyre, OpenApp.ie LGMA
 
GeoKettle: A powerful open source spatial ETL tool
GeoKettle: A powerful open source spatial ETL toolGeoKettle: A powerful open source spatial ETL tool
GeoKettle: A powerful open source spatial ETL tool
 
remotesensing-12-01253.pdf
remotesensing-12-01253.pdfremotesensing-12-01253.pdf
remotesensing-12-01253.pdf
 
DEMETER at OGC Agriculture Session
DEMETER at OGC Agriculture SessionDEMETER at OGC Agriculture Session
DEMETER at OGC Agriculture Session
 
Big Data to SMART Data : Process Scenario
Big Data to SMART Data : Process ScenarioBig Data to SMART Data : Process Scenario
Big Data to SMART Data : Process Scenario
 
060314 Ispra Htap Presentations Husar 060314 Ispra
060314 Ispra Htap Presentations Husar 060314 Ispra060314 Ispra Htap Presentations Husar 060314 Ispra
060314 Ispra Htap Presentations Husar 060314 Ispra
 
2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...
2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...
2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...
 
ERSA 2017: A linked open data based system for flexible delineation of geogra...
ERSA 2017: A linked open data based system for flexible delineation of geogra...ERSA 2017: A linked open data based system for flexible delineation of geogra...
ERSA 2017: A linked open data based system for flexible delineation of geogra...
 
MapR 5.2: Getting More Value from the MapR Converged Community Edition
MapR 5.2: Getting More Value from the MapR Converged Community EditionMapR 5.2: Getting More Value from the MapR Converged Community Edition
MapR 5.2: Getting More Value from the MapR Converged Community Edition
 
Geospatial Business Intelligence made easy with GeoMondrian & SOLAPLayers
Geospatial Business Intelligence made easy with GeoMondrian & SOLAPLayersGeospatial Business Intelligence made easy with GeoMondrian & SOLAPLayers
Geospatial Business Intelligence made easy with GeoMondrian & SOLAPLayers
 
Geo Package and OWS Context at FOSS4G PDX
Geo Package and OWS Context at FOSS4G PDXGeo Package and OWS Context at FOSS4G PDX
Geo Package and OWS Context at FOSS4G PDX
 
Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsConcepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into Maps
 
Lodstats: The Data Web Census Dataset. Kobe, Japan, 2016
Lodstats: The Data Web Census Dataset. Kobe, Japan, 2016Lodstats: The Data Web Census Dataset. Kobe, Japan, 2016
Lodstats: The Data Web Census Dataset. Kobe, Japan, 2016
 
Geospatial applications created using java script(and nosql)
Geospatial applications created using java script(and nosql)Geospatial applications created using java script(and nosql)
Geospatial applications created using java script(and nosql)
 
Soa4 all technical achievements final
Soa4 all technical achievements finalSoa4 all technical achievements final
Soa4 all technical achievements final
 
Meeting today’s dissemination challenges – Implementing International Standar...
Meeting today’s dissemination challenges – Implementing International Standar...Meeting today’s dissemination challenges – Implementing International Standar...
Meeting today’s dissemination challenges – Implementing International Standar...
 
Big Data Session 1.pptx
Big Data Session 1.pptxBig Data Session 1.pptx
Big Data Session 1.pptx
 
Upgrading maps with Linked Data
Upgrading maps with Linked DataUpgrading maps with Linked Data
Upgrading maps with Linked Data
 
GEBCO 09 - DELPH
GEBCO 09 - DELPHGEBCO 09 - DELPH
GEBCO 09 - DELPH
 

Plus de Apps4Finland

Olli Alm: Susi, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Olli Alm: Susi, Apps4Finland-työt Paikkatietomarkkinoilla 2012Olli Alm: Susi, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Olli Alm: Susi, Apps4Finland-työt Paikkatietomarkkinoilla 2012Apps4Finland
 
Eero Hyvönen: Matkailusampo, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Eero Hyvönen: Matkailusampo, Apps4Finland-työt Paikkatietomarkkinoilla 2012Eero Hyvönen: Matkailusampo, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Eero Hyvönen: Matkailusampo, Apps4Finland-työt Paikkatietomarkkinoilla 2012Apps4Finland
 
Panu Koskela: Maailman Suurin Muistipeli, Apps4Finland-työt Paikkatietomarkki...
Panu Koskela: Maailman Suurin Muistipeli, Apps4Finland-työt Paikkatietomarkki...Panu Koskela: Maailman Suurin Muistipeli, Apps4Finland-työt Paikkatietomarkki...
Panu Koskela: Maailman Suurin Muistipeli, Apps4Finland-työt Paikkatietomarkki...Apps4Finland
 
Olli Rinne: Apps4Finland-kilpailun esittely Paikkatietomarkkinoilla 2012
Olli Rinne: Apps4Finland-kilpailun esittely Paikkatietomarkkinoilla 2012Olli Rinne: Apps4Finland-kilpailun esittely Paikkatietomarkkinoilla 2012
Olli Rinne: Apps4Finland-kilpailun esittely Paikkatietomarkkinoilla 2012Apps4Finland
 
Jussi Mäkinen: Rautatiehistoriallinen kartta, Apps4Finland-työt Paikkatietom...
Jussi Mäkinen: Rautatiehistoriallinen kartta, Apps4Finland-työt Paikkatietom...Jussi Mäkinen: Rautatiehistoriallinen kartta, Apps4Finland-työt Paikkatietom...
Jussi Mäkinen: Rautatiehistoriallinen kartta, Apps4Finland-työt Paikkatietom...Apps4Finland
 
Jyrki Kuoppala: ShareNav, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Jyrki Kuoppala: ShareNav, Apps4Finland-työt Paikkatietomarkkinoilla 2012Jyrki Kuoppala: ShareNav, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Jyrki Kuoppala: ShareNav, Apps4Finland-työt Paikkatietomarkkinoilla 2012Apps4Finland
 
Robert Eriksson, Mikko Ahlström: Espoon aurinko- ja geoenergiakartat
Robert Eriksson, Mikko Ahlström: Espoon aurinko- ja geoenergiakartatRobert Eriksson, Mikko Ahlström: Espoon aurinko- ja geoenergiakartat
Robert Eriksson, Mikko Ahlström: Espoon aurinko- ja geoenergiakartatApps4Finland
 
Tuomas Husu: Taukkis, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Tuomas Husu: Taukkis, Apps4Finland-työt Paikkatietomarkkinoilla 2012Tuomas Husu: Taukkis, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Tuomas Husu: Taukkis, Apps4Finland-työt Paikkatietomarkkinoilla 2012Apps4Finland
 
NewBiz4Finland 12.9.2012, Tero Piirainen
NewBiz4Finland 12.9.2012, Tero PiirainenNewBiz4Finland 12.9.2012, Tero Piirainen
NewBiz4Finland 12.9.2012, Tero PiirainenApps4Finland
 
NewBiz4Finland, Teemu Tapanila, AaltoES
NewBiz4Finland, Teemu Tapanila, AaltoESNewBiz4Finland, Teemu Tapanila, AaltoES
NewBiz4Finland, Teemu Tapanila, AaltoESApps4Finland
 
New biz4finland, teemu tapanila, aaltoes
New biz4finland, teemu tapanila, aaltoesNew biz4finland, teemu tapanila, aaltoes
New biz4finland, teemu tapanila, aaltoesApps4Finland
 
New b iz4finland, jukka heikkilä
New b iz4finland, jukka heikkiläNew b iz4finland, jukka heikkilä
New b iz4finland, jukka heikkiläApps4Finland
 
New biz4finland, ilkka pirttimaa blindsquare käyttäjäkeskeinen-kehitys-2012
New biz4finland, ilkka pirttimaa blindsquare käyttäjäkeskeinen-kehitys-2012New biz4finland, ilkka pirttimaa blindsquare käyttäjäkeskeinen-kehitys-2012
New biz4finland, ilkka pirttimaa blindsquare käyttäjäkeskeinen-kehitys-2012Apps4Finland
 
New biz4finland 12.9.2012, sami sahala
New biz4finland 12.9.2012, sami sahalaNew biz4finland 12.9.2012, sami sahala
New biz4finland 12.9.2012, sami sahalaApps4Finland
 
New biz4finland 12.9.2012, olli rinne
New biz4finland 12.9.2012, olli rinneNew biz4finland 12.9.2012, olli rinne
New biz4finland 12.9.2012, olli rinneApps4Finland
 
New biz4finland 12.9.2012, mika hållfast
New biz4finland 12.9.2012, mika hållfast New biz4finland 12.9.2012, mika hållfast
New biz4finland 12.9.2012, mika hållfast Apps4Finland
 
Newbiz4finland Sissonen, Pärssinen - joukkoliikennedata
Newbiz4finland   Sissonen, Pärssinen - joukkoliikennedata Newbiz4finland   Sissonen, Pärssinen - joukkoliikennedata
Newbiz4finland Sissonen, Pärssinen - joukkoliikennedata Apps4Finland
 
New biz4finland jukka ahtikari
New biz4finland   jukka ahtikariNew biz4finland   jukka ahtikari
New biz4finland jukka ahtikariApps4Finland
 
New biz4finland, tommi arola
New biz4finland, tommi arolaNew biz4finland, tommi arola
New biz4finland, tommi arolaApps4Finland
 
Stats4 finland 28.8.2012, veli matti jantunen
Stats4 finland 28.8.2012, veli matti jantunenStats4 finland 28.8.2012, veli matti jantunen
Stats4 finland 28.8.2012, veli matti jantunenApps4Finland
 

Plus de Apps4Finland (20)

Olli Alm: Susi, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Olli Alm: Susi, Apps4Finland-työt Paikkatietomarkkinoilla 2012Olli Alm: Susi, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Olli Alm: Susi, Apps4Finland-työt Paikkatietomarkkinoilla 2012
 
Eero Hyvönen: Matkailusampo, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Eero Hyvönen: Matkailusampo, Apps4Finland-työt Paikkatietomarkkinoilla 2012Eero Hyvönen: Matkailusampo, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Eero Hyvönen: Matkailusampo, Apps4Finland-työt Paikkatietomarkkinoilla 2012
 
Panu Koskela: Maailman Suurin Muistipeli, Apps4Finland-työt Paikkatietomarkki...
Panu Koskela: Maailman Suurin Muistipeli, Apps4Finland-työt Paikkatietomarkki...Panu Koskela: Maailman Suurin Muistipeli, Apps4Finland-työt Paikkatietomarkki...
Panu Koskela: Maailman Suurin Muistipeli, Apps4Finland-työt Paikkatietomarkki...
 
Olli Rinne: Apps4Finland-kilpailun esittely Paikkatietomarkkinoilla 2012
Olli Rinne: Apps4Finland-kilpailun esittely Paikkatietomarkkinoilla 2012Olli Rinne: Apps4Finland-kilpailun esittely Paikkatietomarkkinoilla 2012
Olli Rinne: Apps4Finland-kilpailun esittely Paikkatietomarkkinoilla 2012
 
Jussi Mäkinen: Rautatiehistoriallinen kartta, Apps4Finland-työt Paikkatietom...
Jussi Mäkinen: Rautatiehistoriallinen kartta, Apps4Finland-työt Paikkatietom...Jussi Mäkinen: Rautatiehistoriallinen kartta, Apps4Finland-työt Paikkatietom...
Jussi Mäkinen: Rautatiehistoriallinen kartta, Apps4Finland-työt Paikkatietom...
 
Jyrki Kuoppala: ShareNav, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Jyrki Kuoppala: ShareNav, Apps4Finland-työt Paikkatietomarkkinoilla 2012Jyrki Kuoppala: ShareNav, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Jyrki Kuoppala: ShareNav, Apps4Finland-työt Paikkatietomarkkinoilla 2012
 
Robert Eriksson, Mikko Ahlström: Espoon aurinko- ja geoenergiakartat
Robert Eriksson, Mikko Ahlström: Espoon aurinko- ja geoenergiakartatRobert Eriksson, Mikko Ahlström: Espoon aurinko- ja geoenergiakartat
Robert Eriksson, Mikko Ahlström: Espoon aurinko- ja geoenergiakartat
 
Tuomas Husu: Taukkis, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Tuomas Husu: Taukkis, Apps4Finland-työt Paikkatietomarkkinoilla 2012Tuomas Husu: Taukkis, Apps4Finland-työt Paikkatietomarkkinoilla 2012
Tuomas Husu: Taukkis, Apps4Finland-työt Paikkatietomarkkinoilla 2012
 
NewBiz4Finland 12.9.2012, Tero Piirainen
NewBiz4Finland 12.9.2012, Tero PiirainenNewBiz4Finland 12.9.2012, Tero Piirainen
NewBiz4Finland 12.9.2012, Tero Piirainen
 
NewBiz4Finland, Teemu Tapanila, AaltoES
NewBiz4Finland, Teemu Tapanila, AaltoESNewBiz4Finland, Teemu Tapanila, AaltoES
NewBiz4Finland, Teemu Tapanila, AaltoES
 
New biz4finland, teemu tapanila, aaltoes
New biz4finland, teemu tapanila, aaltoesNew biz4finland, teemu tapanila, aaltoes
New biz4finland, teemu tapanila, aaltoes
 
New b iz4finland, jukka heikkilä
New b iz4finland, jukka heikkiläNew b iz4finland, jukka heikkilä
New b iz4finland, jukka heikkilä
 
New biz4finland, ilkka pirttimaa blindsquare käyttäjäkeskeinen-kehitys-2012
New biz4finland, ilkka pirttimaa blindsquare käyttäjäkeskeinen-kehitys-2012New biz4finland, ilkka pirttimaa blindsquare käyttäjäkeskeinen-kehitys-2012
New biz4finland, ilkka pirttimaa blindsquare käyttäjäkeskeinen-kehitys-2012
 
New biz4finland 12.9.2012, sami sahala
New biz4finland 12.9.2012, sami sahalaNew biz4finland 12.9.2012, sami sahala
New biz4finland 12.9.2012, sami sahala
 
New biz4finland 12.9.2012, olli rinne
New biz4finland 12.9.2012, olli rinneNew biz4finland 12.9.2012, olli rinne
New biz4finland 12.9.2012, olli rinne
 
New biz4finland 12.9.2012, mika hållfast
New biz4finland 12.9.2012, mika hållfast New biz4finland 12.9.2012, mika hållfast
New biz4finland 12.9.2012, mika hållfast
 
Newbiz4finland Sissonen, Pärssinen - joukkoliikennedata
Newbiz4finland   Sissonen, Pärssinen - joukkoliikennedata Newbiz4finland   Sissonen, Pärssinen - joukkoliikennedata
Newbiz4finland Sissonen, Pärssinen - joukkoliikennedata
 
New biz4finland jukka ahtikari
New biz4finland   jukka ahtikariNew biz4finland   jukka ahtikari
New biz4finland jukka ahtikari
 
New biz4finland, tommi arola
New biz4finland, tommi arolaNew biz4finland, tommi arola
New biz4finland, tommi arola
 
Stats4 finland 28.8.2012, veli matti jantunen
Stats4 finland 28.8.2012, veli matti jantunenStats4 finland 28.8.2012, veli matti jantunen
Stats4 finland 28.8.2012, veli matti jantunen
 

Dernier

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 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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 productivityPrincipled Technologies
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
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 2024The Digital Insurer
 
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...Martijn de Jong
 

Dernier (20)

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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
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...
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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
 
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...
 

Maps4Finland 28.8.2012, Jari Reini

  • 1. Apps4Finland:     Maps4Finland  Workshop     Common  geo  informa6on  programming   examples     28.08.2012   Jari  Reini  
  • 2. Agenda   §  Content  (NLS  Finland,  Sta6s6c  Finland,  Helsinki  Region   Infoshare,  ….)   §  Content  handling   §  Desktop  GIS:  Quantum  GIS   §  Code  samples   §  Map  with  Openlayers  and  NLS  WMTS   §  Map  with  WMS  and  GeoJSON   §  Map  with  Google  Maps   §  OpenLayers  and  Openstreetmap   §  GeolocaBon   §  Coordinate  conversion  from  GPS  to  local  coordinate  system   §  Map  centered  to  current  locaBon  with  marker  (icon)   §  SpaBal  analysis   §  Oskari.org  
  • 3. NLS  Open  Data   Topographic  maps  1:25.000  …  (raster)     Backround  maps  1:10.000  …  1:8  M  (raster)   1:10.000   hTp://www.maanmiTauslaitos.fi/en/opendata     Topographic  Database  (vector)   Ortophotos  (0,5  m)   Eleva6on  model  2m,  10m  …  (grid)   Laser  scanning  data  (LAS)  
  • 4. Terms  of  use   The  data  made  available  on  1  May  2012  are  granted  permanent     hTp://www.maanmiTauslaitos.fi/en/opendata/terms-­‐of-­‐use     and  free  right  of  use.   Free  right  of  use  means  that  available  topographic  data  products     can  without  charge  be:   §  used  within  the  organisa6on     §  published  as  desired     §  distributed  freely  to  others     §  further  processed  to  new  products     §  sold                        ...or  used  in  any  other  way   -­‐  men6on  the  name  of  the  Licensor,  the  name  of  the  dataset(s)  and        the  6me  when  the  Na6onal  Land  Survey  has  delivered  the  dataset(s)   -­‐  provide  a  copy  of  this  licence  or  a  link  to  it,  as  well  as   -­‐  require  third  par6es  to  provide  the  same  informa6on  when  gran6ng  rights  …  
  • 5. NLS  Open  Data   §  hTps://6edostopalvelu.maanmiTauslaitos.fi/tp/karTa? lang=en   §  Data  orders  to  be  delivered  manually   §  About  30  %  more  than  normally       §  Delivery  by  web  communi6es     §  hTp://paikka6eto.com/2012/05/0/         §  hTp://kartat.kapsi.fi/    
  • 7.
  • 8. NLS/Sta<s<cs  Finland  more  content  *   §  Aluehallintovirastot  [1]    (Regional  State  Administra6ve  Agencies)   §  Maakunnat  [1]    (Regions)   §  Kunnat  [1]      (Municipali6es)   §  ELY-­‐keskukset  [1][2]      (Centres  for  Economic  Development,   Transport  and  the  Environment)   §  Kielisuhdeluokitus  [1][2]  (Language  distribu6on)   §  Sairaanhoitopiirit  [1][2]  (Hospital  District)   §  Seutukunnat  [1][2]    (Sub-­‐regional  units)   §  Suuralueet  [1][2]      (Major  regions)   §  Tilastollinen  kuntaryhmitys  [1][2]  (Sta6s6cal  grouping  of  municipali6es)   §  Työssäkäyn6alueet  [1][2]  (Working  district)   §  Vaalipiirit  [1][2]    (Electoral  district)   §  [1]  NLS  Finland,  [2]  Sta6s6cs  Finland   §  *  To  be  delivered  via  Apps4Finland  
  • 9. Data  size   §  Be  careful  with  the  data  size  ;-­‐)  
  • 10. More  content   §  Finland's  Na6onal  Board  of  An6qui6es  –   hTp://paikka6eto.nba.fi/aineistot/MV_inspire_atom.xml   §  HRI  (Helsinki  Region  Infoshare)–  hTp://www.hri.fi   §  Finland’s  environmental  administra6on:  Oiva  -­‐   hTp://wwwp2.ymparisto.fi/scripts/oiva.asp   §  Sta6s6cs  Finland  –  hTp://www.6lastokeskus.fi/   §  Suomi.fi  –  hTp://www.suomi.fi   §  PaITuli  (CSC  IT  Center  for  Science)  -­‐   hTp://www.csc.fi/english/research/sciences/geo/gis/ paituli/index_html   §  Etc.  
  • 13. Combine  spa<al  and  non-­‐spa<al  content   §  Shape  file  and  csv  file   §  Join  tables  using  key  (e.g.  municipality  id)   §  In  this  case  using  Quantum  GIS  
  • 14. Combine  spa<al  and  non-­‐spa<al  content  
  • 15. Combine  spa<al  and  non-­‐spa<al  content  
  • 16. Combine  spa<al  and  non-­‐spa<al  content  
  • 17. Combine  spa<al  and  non-­‐spa<al  content  
  • 18. Conversion  from  Shape-­‐file  to  …  XXX   §  Shape  (shp)  is  a  de-­‐facto  file  format  for  GIS,   developed  by  ESRI   §  Conversions  will  be  done  by  using  Open  Source   GDAL/OGR  library   §  hJp://www.gdal.org/ogr2ogr.html   §  It  converts  simple  features  data  between  file  formats   §  Supports  coordinate  transformaBons  (e.g.  from  GPS   (WGS84)  to  Finnish  naBonal  coordinate  system  (ETRS-­‐ TM35FIN))  
  • 20. Conversion  from  Shape-­‐file  to  GeoJSON   §  ogr2ogr  -­‐f  geoJSON  CapitalRegion.json   CapitalRegion.shp   §  With  same  coordinate  system  as  the  original   §  ogr2ogr  -­‐f  geoJSON  CapitalRegionWGS84.json   CapitalRegion.shp  -­‐t_srs  EPSG:4326   §  Converted  to  WGS84  coordinate  system  (lon/lat)  
  • 21. Web  Services  and  code  samples  
  • 22. Interface  standards   §  WMS  Web  Map  Service   o  Serves  georeferenced  images   hTp://www.opengeospa6al.org/standards/wms   §  WMTS  Web  Map  Tiling  Service   o  provides  map  Bles  (small  images   that  are  part  of  a  map)   hTp://www.opengeospa6al.org/standards/wmts  
  • 23. Interface  standards   §  WFS  Web  Feature  Service   o  an  interface  allowing  requests  for   geographical  features  across  the   web   o  GML   hTp://www.opengeospa6al.org/standards/wfs   hTp://www.opengeospa6al.org/standards/filter  
  • 25. Spa<al  architecture  (by  INSPIRE)   Javascript   Etc.   Applica6ons  and  portals          Service  bus   Rights  management  layer   Service   layer   Registry     Discovery   View   Download   Transform.   Invoke   service   service   service   service   service   service   CSW   WMS,  WMTS   WFS   WPS/WCTS   Data   sources   Schemas   Service   Dataset   Code  lists   metadata   metadata   Styles   Spa6al     datasets  
  • 26. Publish  content  via  WMS  (Geoserver)   §  geoserver.war    (Tomcat,  JeTy  jne)  
  • 27. Publish  content  via  WMS  (Geoserver)   §  Add Store (shape, PostGIS, GeoTIFF etc.) §  Vector (shape file, database (PostGIS)) §  Raster (GeoTIFF) §  Create a base map (by adding a layer from store) §  Add a style (using SLD - Styled Layer Descriptor) §  Test using OpenLayers and check GetCapabilities using WMS-service Jari Reini 29.8.2012
  • 28. WMS  example   §  hTps://ws.nls.fi/rasteriaineistot/test/index.html  
  • 29. Demo:  Add  content  to  Geoserver  
  • 30. Web  map:  OpenLayers   §  hTp://www.openlayers.org/  
  • 32. Source  code  and  demo:  OL  and  WMTS  
  • 33. GeoJSON   §  GeoJSON  is  a  format  for  encoding  a  variety  of   geographic  data  structures   §  Point,  LineString,  Polygon,  Mul6Point,   Mul6LineString,  Mul6Polygon,  and   GeometryCollec6on   §  hTp://www.geojson.org/  
  • 34. GeoJSON  example   §  {"type":  "FeatureCollec6on","features":  [{  "type":  "Feature",  "proper6es":  {  "KUNTAKOODI":  "049",  "NIMI_FI":  "Espoo",   "NIMI_SE":  "Esbo"  },  "geometry":  {  "type":  "Mul6Polygon",  "coordinates":  [  [  [  [  24.571160,  60.174957  ],  [  24.569053,   60.179302  ],  [  24.536214,  60.196464  ],  [  24.524747,  60.205349  ],  [  24.503201,  60.212863  ],  [  24.525406,  60.231022  ],   [  24.525024,  60.246582  ],  [  24.504336,  60.255430  ],  [  24.504449,  60.274086  ],  [  24.515569,  60.281292  ],  [  24.512038,   60.291734  ],  [  24.500169,  60.326289  ],  [  24.562672,  60.314085  ],  [  24.595654,  60.324185  ],  [  24.614089,  60.344366  ],   [  24.627694,  60.359241  ],  [  24.664705,  60.362770  ],  [  24.683964,  60.357999  ],  [  24.702266,  60.353460  ],  [  24.749283,   60.341783  ],  [  24.746237,  60.322274  ],  [  24.760928,  60.325376  ],  [  24.771802,  60.299231  ],  [  24.764941,  60.271237  ],   [  24.784754,  60.241505  ],  [  24.831403,  60.254055  ],  [  24.841913,  60.221200  ],  [  24.848062,  60.218600  ],  [  24.847341,   60.215472  ],  [  24.845160,  60.217551  ],  [  24.840428,  60.217474  ],  [  24.829067,  60.212933  ],  [  24.823169,  60.208482  ],   [  24.817308,  60.203486  ],  [  24.817365,  60.197136  ],  [  24.821679,  60.192489  ],  [  24.824589,  60.192537  ],  [  24.826356,   60.187848  ],  [  24.825768,  60.180217  ],  [  24.823415,  60.177275  ],  [  24.811442,  60.176715  ],  [  24.805746,  60.174806  ],   [  24.797870,  60.172861  ],  [  24.789414,  60.168728  ],  [  24.777763,  60.163452  ],  [  24.773439,  60.162835  ],  [  24.765414,   60.157800  ],  [  24.759674,  60.156615  ],  [  24.748360,  60.149913  ],  [  24.735985,  60.150065  ],  [  24.726578,  60.154622  ],   [  24.717032,  60.155909  ],  [  24.712736,  60.154928  ],  [  24.706986,  60.153921  ],  [  24.694366,  60.147169  ],  [  24.687286,   60.139243  ],  [  24.683649,  60.134098  ],  [  24.675721,  60.127970  ],  [  24.670678,  60.127337  ],  [  24.661722,  60.130627  ],   [  24.656979,  60.135988  ],  [  24.650108,  60.140584  ],  [  24.641925,  60.143160  ],  [  24.628939,  60.151821  ],  [  24.622682,   60.157878  ],  [  24.615088,  60.162279  ],  [  24.605000,  60.165908  ],  [  24.596041,  60.169012  ],  [  24.583689,  60.173687  ],   [  24.572253,  60.175317  ],  [  24.571160,  60.174957  ]  ],  [  [  24.701820,  60.206242  ],  [  24.722176,  60.202563  ],  [  24.739162,   60.207110  ],  [  24.750914,  60.218211  ],  [  24.744871,  60.220382  ],  [  24.734320,  60.224171  ],  [  24.715896,  60.224721  ],   [  24.706264,  60.225008  ],  [  24.677472,  60.215397  ],  [  24.675287,  60.211031  ],  [  24.701820,  60.206242  ]  ]  ],  [  [  [  24.754352,   60.104463  ],  [  24.750329,  60.107136  ],  [  24.749955,  60.112613  ],  [  24.761466,  60.112808  ],  [  24.767115,  60.110436  ],   [  24.766297,  60.106310  ],  [  24.754352,  60.104463  ]  ]  ],  [  [  [  24.775577,  60.131414  ],  [  24.767546,  60.136488  ],  [  24.774892,   60.141546  ],  [  24.783196,  60.140589  ],  [  24.785358,  60.132949  ],  [  24.775577,  60.131414  ]  ]  ],  [  [  [  24.843346,  60.185501  ],   [  24.843360,  60.185235  ],  [  24.843175,  60.185369  ],  [  24.843346,  60.185501  ]  ]  ],  [  [  [  24.685266,  60.103820  ],  [  24.676807,   60.099286  ],  [  24.665849,  60.099093  ],  [  24.665422,  60.105117  ],  [  24.671650,  60.110161  ],  [  24.680420,  60.110315  ],   [  24.685266,  60.103820  ]  ]  ],  [  [  [  24.655124,  60.080777  ],  [  24.647554,  60.088991  ],  [  24.648432,  60.089463  ],  [  24.660521,   60.089129  ],  [  24.662005,  60.083672  ],  [  24.655124,  60.080777  ]  ]  ],  [  [  [  24.702720,  60.113172  ],  [  24.696384,  60.117448  ],   [  24.704073,  60.125258  ],  [  24.704164,  60.131839  ],  [  24.709496,  60.134125  ],  [  24.719955,  60.133757  ],  [  24.724589,   60.130273  ],  [  24.723531,  60.121756  ],  [  24.710923,  60.113588  ],  [  24.702720,  60.113172  ]  ]  ],  [  [  [  24.844243,  60.168753  ],   [  24.844412,  60.165584  ],  [  24.841603,  60.154288  ],  [  24.839184,  60.154052  ],  [  24.839634,  60.163929  ],  [  24.844243,   60.168753  ]  ]  ]  ]  }  },  
  • 35. OpenLayers  with  WMS  and  GeoJSON  
  • 36. OpenLayers  with  WMS  and  GeoJSON  
  • 37. Source  code  and  demo:  OL  and  WMS   and  GeoJSON  
  • 38. Google  Maps   §  Easy  way  to  build  interac6ve  data  visualiza6ons  on  a   map  and  loca6on-­‐based  apps   §  hJps://developers.google.com/maps/documentaBon/ javascript/reference  
  • 40. Source  code  and  demo:  Google  Maps  
  • 41. KML  from  MySQL  database   #  one  6me  only   #  get  KML   #  create  table   #  ================   #===============   <?php     require('dbinfo.php');   @mysql_select_db($database)  or  die(  "Unable  to   select  database:"  .  mysql_error());    //  Opens  a  connec6on  to  a  MySQL  server.     $connec6on  =  mysql_connect  ($server,  $username,   $query="CREATE  TABLE  kml_poi_sample  (lat   $password);   decimal(10,5)  NOT  NULL,  lng  decimal(10,5)  NOT   if  (!$connec6on)     NULL,  descrip6on    varchar(100)  NOT  NULL,  id   int(11)  NOT  NULL  auto_increment,  PRIMARY  KEY     {   (`id`))";      die('Not  connected  :  '  .  mysql_error());   mysql_query($query);   }   mysql_close();     echo  "Database  created";   //  Sets  the  ac6ve  MySQL  database.     $db_selected  =  mysql_select_db($database,   #new  values   $connec6on);   #=================   if  (!$db_selected)       {   $query  =  "INSERT  INTO  kml_poi_sample  VALUES   ('$lat','$lng','$descrip6on',$maxid)";      die  ('Can't  use  db  :  '  .  mysql_error());   $result=mysql_query($query);   }   if  (!$result)  {    //  Selects  all  the  rows          die('Error:  '  .  mysql_error());   $sql  =  'select  id,name,  lat,  lng,  descrip6on  from   }   kml_poi_sample';          $result  =  mysql_query($sql);    
  • 42. KML  from  MySQL  database   //  Create  output   $kml  =  array('<?xml  version="1.0"  encoding="UTF-­‐8"?>');   //  End  XML  file   $kml[]  =  '<kml  xmlns="hTp://earth.google.com/kml/2.1">';   $kml[]  =  '  </Document>';   $kml[]  =  '<Document>';   $kml[]  =  '</kml>';   $kml[]  =  '<Style  id="downArrowIcon">';   $kmlOutput  =  join("n",  $kml);   $kml[]  =  '<IconStyle>';   header('Content-­‐type:  applica6on/vnd.google-­‐ earth.kml+xml');   $kml[]  =  '<Icon>';   #header('Content-­‐type:  text/xml');   $kml[]  =  '<href>hTp://maps.google.com/mapfiles/kml/pushpin/grn-­‐pushpin.png</href>';   echo  $kmlOutput;   $kml[]  =  '</Icon>';   ?>   $kml[]  =  '</IconStyle>';   $kml[]  =  '</Style>';     while  ($row  =  @mysql_fetch_assoc($result))   {      $kml[]  =  '  <Placemark  id="placemark'  .  $row['id']  .  '">';      $kml[]  =  '  <name>'  .  htmlen66es($row['name'])  .  '</name>';      $kml[]  =  '  <descrip6on>'  .  htmlen66es($row['descrip6on'])  .  '</descrip6on>';      $kml[]  =  '  <styleUrl>#downArrowIcon</styleUrl>';      $kml[]  =  '  <Point>';      $kml[]  =  '  <coordinates>'  .  $row['lng']  .  ','    .  $row['lat']  .  '</coordinates>';      $kml[]  =  '  </Point>';      $kml[]  =  '  </Placemark>';   }  
  • 43. KML  in  Google  Maps   §  hTps://maps.google.com/maps?q=hTp://service.fi/ map/kml/getkmlsample.php  
  • 44. KML  in  Google  Earth  
  • 45. Address  search  using  WFS   §  NLS  WFS  service   §  Send    hTp  post  request  and  get  back  XML/GML   §  (demonstrate  using  Firefox  Poster)   §  hTp://xml.nls.fi/Nimisto/Asiakasdokumentaa6o/ WFS/Kuvaus/getCapabili6es_vastaus.xml   §  hTp://xml.nls.fi/Maasto/Maasto6etokanta/ Asiakasdokumentaa6o/WFS/Kuvaus/ GetCapabili6es_vastaus.xml  
  • 46. Address  search:  Opas<nsilta  12  Helsinki   §  <?xml  version="1.0"  encoding="UTF-­‐8"?>   <wfs:GetFeature  version="1.1.0"   xmlns:oso="hTp://xml.nls.fi/OsoiTeet/Osoitepiste/2011/02"   xmlns:wfs="hTp://www.opengis.net/wfs"   xmlns:gml="hTp://www.opengis.net/gml"   xmlns:ogc="hTp://www.opengis.net/ogc"   xmlns:xsi="hTp://www.w3.org/2001/XMLSchema-­‐instance"   xsi:schemaLoca6on="hTp://www.opengis.net/wfs   hTp://schemas.opengis.net/wfs/1.1.0/wfs.xsd">    <wfs:Query  typeName="oso:Osoitenimi">      <ogc:Filter>                                                <ogc:And>                                                                <ogc:PropertyIsEqualTo>                                                                                <ogc:PropertyName>oso:kuntanimiFin</ogc:PropertyName>                                                                              <ogc:Literal>Helsinki</ogc:Literal>                                                                </ogc:PropertyIsEqualTo>                                                                <ogc:PropertyIsEqualTo>                                                                              <ogc:PropertyName>oso:katunimi</ogc:PropertyName>                                                                              <ogc:Literal>Opas4nsilta</ogc:Literal>                                                                </ogc:PropertyIsEqualTo>                                                                <ogc:PropertyIsEqualTo>                                                                              <ogc:PropertyName>oso:katunumero</ogc:PropertyName>                                                                              <ogc:Literal>12</ogc:Literal>                                                                </ogc:PropertyIsEqualTo>                                                </ogc:And>                                </ogc:Filter>   §   </wfs:Query>   </wfs:GetFeature>  
  • 48. Demo:  Address  search  using  HTTP  POST   and  WFS  
  • 49. Other  WFS  examples   §  GetCapabili4es   hTp://localhost:8080/geoserver/ows? service=wfs&version=1.1.0&request=GetCapabili6es     §  DescribeFeatureType     §  hTp://localhost:8080/geoserver/wfs? service=WFS&version=1.1.0&request=DescribeFeatureType&Typename=nls:munic ipali6es     §  GetFeature     §  hTp://localhost:8080/geoserver/wfs? service=WFS&version=1.1.0&request=GetFeature&Typename=nls:municipali6es& maxfeatures=1     §  GetFeature    in  JSON   §  hTp://localhost:8080/geoserver/ows? service=WFS&version=1.0.0&request=GetFeature&typeName=nls:municipali6es& maxFeatures=1&outputFormat=json   §  GetFeature  ETRS89   hTp://localhost:8080/geoserver/wfs? service=WFS&version=1.1.0&request=GetFeature&Typename=nls:municipali6es& maxfeatures=2&srsName=urn:x-­‐ogc:def:crs:EPSG:4258    
  • 50. Using  Geoloca<on   §  Geoloca6on  API  Specifica6on     §  hJp://dev.w3.org/geo/api/spec-­‐source.html   §  API  provides  scripted  access  to  geographical  loca6on   informa6on  associated  with  the  hos6ng  device  
  • 51. Coordinate  conversion   §  From  GPS  to  ETRS-­‐TM35FIN   §  From  GPS  to  ”Web  Mercator”  (used  by  Google  and   OpenStreetMap)   §  Proj4js  is  a  JavaScript  library  to  transform  point   coordinates  from  one  coordinate  system  to  another   §  hJp://trac.osgeo.org/proj4js/  
  • 53. Source  code  and  demo:  geoloca<on  and   coordinate  conversions  
  • 55. OpenStreetMap  and  OpenLayers  w/  loca<on  
  • 56. Source  code  and  demo:  Openstreetmap   and  the  current  loca<on  
  • 57. Spa<al  analysis   §  Spa6al  analysis  may  include  tasks  such  as   §  Who  are  my  neighbors?   §  In  which  postal  code  or  municipality  I’m  currently?   §  Spa6al  SQL  standardized  in  SQLMM  :  ISO/IEC  13249l   §  RelaBonship   §  True  or  false   §  Processing   §  Gives  you  a  new  geometry   §  Measurement   §  Calculates  something   §  You  may  use   §  Database  (SQL)   §  Map  server  (e.g.  Geoserver)   §  Javasicript  etc.  libraries  
  • 58. Geometry  types  and  topological  rela<onships  
  • 59. Spa<al  analysis  -­‐  func<ons   §  §  ST_Perimeter   ST_Point   §  ST_Area   §  ST_Intersec6on   §  ST_PointFromText   §  ST_AsBinary   §  ST_Intersects   §  ST_PointFromWKB   §  ST_AsText   §  ST_IsClosed   §  ST_PointN   §  ST_Boundary   §  ST_IsEmpty   §  ST_PointOnSurface   §  ST_Buffer   §  ST_IsRing   §  ST_PolyFromText   §  ST_Centroid   §  ST_IsSimple   §  ST_PolyFromWKB   §  ST_Contains   §  ST_IsValid   §  ST_Polygon   §  ST_ConvexHull   §  ST_Length   §  ST_Relate   §  ST_CoordDim   §  ST_LineFromText   §  ST_SRID   §  ST_Crosses   §  ST_LineFromWKB   §  ST_StartPoint   §  ST_Difference   §  ST_MLineFromText   §  ST_SymDifferenc   §  ST_Dimension   §  ST_MLineFromWKB   §  e   §  ST_Disjoint   §  ST_MPointFromText   §  ST_Touches   §  ST_Distance   §  ST_MPointFromWKB   §  ST_Transform   §  ST_EndPoint   §  ST_MPolyFromText   §  ST_Union   §  ST_Envelope   §  ST_MPolyFromWKB   §  ST_Within   §  ST_Equals   §  ST_NumGeometries   §  ST_WKBToSQL   §  ST_ExteriorRing   §  ST_NumInteriorRing   §  ST_WKTToSQL   §  ST_GeometryN   §  ST_NumPoints   §  ST_X   §  ST_GeometryType   §  ST_OrderingEquals   §  ST_Y   §  ST_GeomFromText   §  ST_Overlaps   §  ST_GeomFromWKB   §  ST_InteriorRingN  
  • 60. Spa<al  analysis  -­‐examples   §  In  which  municipality  I  am?   §  Select  nimi_fi  from  municipaliBes  where   Intersects(GeomFromText('POINT  (387324.2534026944   6678252.651510533)'),  GEOMETRY);   §  Neighboring  municipali6es   §  Select  nimi_fi  from  municipaliBes  where  Touches((select   GEOMETRY  from  municipaliBes  where  nimi_fi=‘Helsinki’),   GEOMETRY);   §  Municipali6es  in  50  km  circle  from  here   §  Select  nimi_fi  from  municipaliBes  where   Intersects(Buffer(GeomFromText('POINT  (387324.2534026944   6678252.651510533)'),  50000),  GEOMETRY);  
  • 61. Spa<al  analysis  in  prac<ce  using   Spa<alite  database  
  • 62. Tools  from  OpenGeo   §  hTp://live.osgeo.org  
  • 63. OSGeo-­‐Live  6.0  Contents   §  Browser  Clients   §  OpenLayers  -­‐  Browser  GIS  Client   §  Geomajas  -­‐  Browser  GIS  Client   §  Mapbender  -­‐  Geoportal  Framework   §  MapFish  -­‐  Web  Mapping  Framework   §  GeoMoose  -­‐  Web  GIS  Portal   §  Databases   §  PostGIS  -­‐  SpaBal  Database   §  SpaBaLite  -­‐  Lightweight  Database   §  Rasdaman  -­‐  MulB-­‐Dimensional  Raster  Database   §  pgRouBng  -­‐  RouBng  for  PostGIS  
  • 64. OSGeo-­‐Live  6.0  Contents   §  Desktop  GIS   §  Quantum  GIS  (QGIS)   §  GRASS  GIS   §  gvSIG  Desktop   §  User-­‐friendly  Desktop  Internet  GIS  (uDig)   §  Kosmo  Desktop   §  OpenJUMP  GIS   §  Spa6al  Tools   §  GeoKeJle    -­‐  ETL  (Extract,  Transform  and  Load)  Tool   §  GDAL/OGR    -­‐  GeospaBal  Data  TranslaBon  Tools   §  GMT  -­‐  Cartographic  Rendering   §  Mapnik  -­‐  Cartographic  Rendering   §  MapTiler  -­‐  Create  Map  Tiles   §  OTB  -­‐  Image  Processing   §  R  for  SpaBal  Data  -­‐  StaBsBcal  Programming   §  And  much  more…  
  • 65. Open  Source  Map  Applica<on  Framework   www.oskari.org    
  • 66. Spa<al  Data  Service  Pla_orm  -­‐  OSKARI   §  OSKARI  =  Open  Source  KarTaikkuna  (stands  for  Open   Source  map  window)   §  …but  OSKARI  is  more  than  just  a  map  window  in  a   Geoportal…   §  OSKARI  is  an  Open  Source  based    Spa4al  Data  Service  PlaIorm  –  key  principals:   §  Use  exisBng  OS  components:  e.g.  OpenLayers,  jQuery   §  All  developed  code  is  released  under  MIT/  EUPL  licenses   §  Flexible  architecture  allows  for  adding  funcBonality  both  on   the  server  and  client  side  
  • 68. Samples   §  All  the  code  samples  will  be  available  at  Github   Apps4Finland   §  hTps://github.com/Apps4Finland   §  And   §  hTps://github.com/reinij   §  …  use  at  your  own  risk   §  …  add  comments,  do  tes6ng  …  
  • 69. Interested  in  knowing  more…?   §  hTp://www.uli.se/ogc-­‐nordic-­‐interoperability-­‐day/agenda   §  September  3rd  in  Stockholm  
  • 70. Now:  any  ques<ons  and  comments?   Later  on:  firstname.lastname@nls.fi