geolocalización con software libre
DESCRIPTION
Tecnologías y Herramientas para geolocalización con software libre http://www.youtube.com/watch?v=vRPAzCq-NqQTRANSCRIPT
![Page 2: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/2.jpg)
Acerca de ...
●Presidente de ASLE www.asle.ec
●Fundador de COPLEC.org www.coplec.org
●OSM Contributor
●Desarrollador de software
●Usuario de software libre
Breve presentación
![Page 3: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/3.jpg)
AGENDA
Geolocalización
Como usarla
Herramientas
Cartografía
![Page 4: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/4.jpg)
GEOLOCALIZACIÓN
Termino nuevo
Conjunto de tecnologías que utilizan la georeferenciación de elementos y tecnologías de internet.
Capacidad de determinar la ubicación de un dispositivo automáticamente.
Ventajas, desventajas o riesgos
![Page 5: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/5.jpg)
¿Como usarla, que necesito?
Dispositivo de hardware
Software de tratamiento
Conexión a Internet (opcional)
![Page 6: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/6.jpg)
Tecnologías
GPS (1m y 15m)
Redes WI-FI (30m y 100m)
Redes de telefonía móvil (50m y 500m urbano)
Direcciones IP
![Page 7: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/7.jpg)
¿Donde lo usan?
Redes Sociales y Sitios Web
Google Maps, Google Latitude, Facebook, Street View
Navegadores GPS
Waze, Navit, OVI Maps Trazado de Rutas (trackers) Localización de vehículos Estadísticas con datos de Redes Sociales
![Page 8: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/8.jpg)
¿Como usarla?
Geolocalización por IP
http://www.maxmind.com/PHP Example
$query = "http://geoip3.maxmind.com/a?l=" . $license_key . "&i=" . $ipaddress;$url = parse_url($query);$host = $url["host"];$path = $url["path"] . "?" . $url["query"];$timeout = 1;$fp = fsockopen ($host, 80, $errno, $errstr, $timeout);if ($fp) { fputs ($fp, "GET $path HTTP/1.0\nHost: " . $host . "\n\n"); while (!feof($fp)) { $buf .= fgets($fp, 128); } $lines = explode("\n", $buf); $country = $lines[count($lines)-1]; fclose($fp);} else { # enter error handing code here}echo $country;
![Page 9: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/9.jpg)
Geolocalización por IP
http://www.maxmind.com/
http://software77.net/geo-ip/PHP Example
$query = "http://geoip3.maxmind.com/a?l=" . $license_key . "&i=" . $ipaddress;$url = parse_url($query);$host = $url["host"];$path = $url["path"] . "?" . $url["query"];$timeout = 1;$fp = fsockopen ($host, 80, $errno, $errstr, $timeout);if ($fp) { fputs ($fp, "GET $path HTTP/1.0\nHost: " . $host . "\n\n"); while (!feof($fp)) { $buf .= fgets($fp, 128); } $lines = explode("\n", $buf); $country = $lines[count($lines)-1]; fclose($fp);} else { # enter error handing code here}echo $country;
![Page 10: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/10.jpg)
Flagfox
![Page 11: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/11.jpg)
AWstats
Herramienta de informes de análisis web
![Page 13: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/13.jpg)
Geolocalización por REDES de telefonía móvil
OpenCellID http://opencellid.org/ http://opencellid.org/cell/map
API
http://www.opencellid.org/cell/get?key=myapikey&mcc=250&mnc=99&cellid=29513&lac=0
![Page 14: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/14.jpg)
Geolocalización con GPS
Smartphones, tablets, camaras, etc.
private void comenzarLocalizacion(){ locManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE); //Obtenemos la última posición conocida Location loc = locManager.getLastKnownLocation(LocationManager.GPS_PROVIDER); //Mostramos la última posición conocida mostrarPosicion(loc); //Nos registramos para recibir actualizaciones de la posición locListener = new LocationListener() { public void onLocationChanged(Location location) { mostrarPosicion(location); } }; locManager.requestLocationUpdates( LocationManager.GPS_PROVIDER, 30000, 0, locListener);}
![Page 15: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/15.jpg)
Visualizar
OpenLayers
Mapfish
GeoDjango
MapServer
![Page 16: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/16.jpg)
OpenLayers
Libreria Javascript para visualizar mapas Web Map Service
Web Feature Service
Google Maps
OpenStreetMap
Virtual Earth
Yahoo! Maps
UMN MapServer
MapGuide Open Source
GeoServer
ArcGIS Server
![Page 17: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/17.jpg)
Mapfish
Framework Web Mapping, usa OpenLayers, ExtJS, GeoExt, escrito en python. (geoportales)
![Page 18: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/18.jpg)
Cartografía
Google Maps Yahoo Maps Bing Maps OpenStreetMaps OSM Cartografía propia
![Page 19: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/19.jpg)
OpenStreetMaps
OpenStreetMap (también conocido como OSM) es un proyecto colaborativo para crear mapas libres y editables.
Los mapas se crean utilizando información geográfica capturada con dispositivos GPS móviles, ortofotografías y otras fuentes libres.
Esta cartografía, tanto las imágenes creadas como los datos vectoriales almacenados en su base de datos, se distribuye bajo licencia Creative Commons Attribution-ShareAlike 2.0
Fuente:wikipedia
![Page 20: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/20.jpg)
¿Y por qué no utilizo Google Maps para mis datos?
Debido a que los datos están protegidos bajo derechos de autor y de propiedad de instituciones como el Instituto Geográfico Nacional u otras. Google/cualquiera posee su licencia. Si nosotros lo utilizamos deberemos pagar por ello.
![Page 21: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/21.jpg)
Y el resto ?
Yahoo Bing
Tanto Yahoo como Bing han llegado a un acuerdo con OpenStreetMap para permitir
usar sus fotografías aéreas.
Pero igualmente tienen restricciones de uso
![Page 22: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/22.jpg)
Mas sobre OSM
En febrero de 2011 el proyecto alcanzaba los 350.000 usuarios registrados, de los cuales en torno a 12.000 realizan alguna edición en la base de datos cada mes.
El número de usuarios suele doblarse cada cinco meses.
Los usuarios registrados pueden subir sus trazas desde el GPS y crear y corregir datos vectoriales mediante herramientas de edición creadas por la comunidad OpenStreetMap.
![Page 23: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/23.jpg)
Aplicaciones de OSM
Mapas en Línea
Cálculo de Rutas y Navegación
Software Cartográfico (planet.osm)
http://wiki.openstreetmap.org/wiki/Software/Desktop
![Page 24: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/24.jpg)
Herramientas de Edición
Potlach (Flash)
JOSM (Java)
Merkaartor (QT)
![Page 25: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/25.jpg)
Navit
Sistema de navegación vehicular Soporte GPS Vista 3D Touch Screen Plugins Datos Vectoriales de varias fuentes Multiplataforma: GNU/Linux, Windows,
Windows CE, Android, WebOS
![Page 26: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/26.jpg)
Navit
![Page 27: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/27.jpg)
Navit
![Page 28: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/28.jpg)
Comunidades de Software Libre en Ecuador
Asociación de Software Libre del Ecuador
www.asle.ec GNU/Linux y Software Libre
www.ecualug.orgwww.openecuador.orgwww.nuevared.org/equinux
Desarrollo de Software Librewww.coplec.org
![Page 29: Geolocalización con Software Libre](https://reader034.vdocuments.site/reader034/viewer/2022042816/559b3d841a28ab15178b4652/html5/thumbnails/29.jpg)
Presentación hecha 100% con Software Libre