<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kudos Ltda. - Blog &#187; KML</title>
	<atom:link href="http://blog.gkudos.com/tag/kml/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gkudos.com</link>
	<description>.: Open Systems, Open Ideas :.</description>
	<lastBuildDate>Thu, 29 Apr 2010 23:25:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Geographical Visualization of Government Contracts In Colombia &#8211; VGICC</title>
		<link>http://blog.gkudos.com/2008/07/31/geographical-visualization-of-government-contracts-in-colombia-vgicc/</link>
		<comments>http://blog.gkudos.com/2008/07/31/geographical-visualization-of-government-contracts-in-colombia-vgicc/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 15:40:15 +0000</pubDate>
		<dc:creator>juanmendez</dc:creator>
				<category><![CDATA[Rich Internet Applications]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Google Earth Browser Plugin]]></category>
		<category><![CDATA[grails]]></category>
		<category><![CDATA[Information Visualization]]></category>
		<category><![CDATA[KML]]></category>
		<category><![CDATA[postgis]]></category>
		<category><![CDATA[web mapping]]></category>

		<guid isPermaLink="false">http://blog.gkudos.com/?p=35</guid>
		<description><![CDATA[
Project Description: (You can read the spanish version of this article here)

VGICC is a Proof of concept using the new Google Earth Browser Plug-in. This application takes advantage of the plug-in to visualize and interact with statistical and geographical information of government contracts in Colombia.
(Note: The information available in this application is only for testing [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" title="Kudos Ltda. - VGICC" src="http://static.gkudos.com/flash/contract/kudos_contrato_03.jpg" alt="" width="537" height="302" /></p>
<p><strong>Project Description: </strong>(You can read the spanish version of this article <a href="http://blog.gkudos.com/2008/07/28/visualizacion-geografica-de-informacion-contractual-colombiana-vgicc/">here</a>)<strong><br />
</strong></p>
<p>VGICC is a Proof of concept using the new Google Earth Browser Plug-in. This application takes advantage of the plug-in to visualize and interact with statistical and geographical information of government contracts in Colombia.</p>
<p>(<strong>Note:</strong> The information available in this application is only for testing purposes. Official data can be found at the Official Contracting Site of Colombia, “PUC, Portal Único de Contratación” <a href="http://www.contratos.gov.co/puc" target="_blank">http://www.contratos.gov.co/puc</a>/ )</p>
<p><strong>Online Links</strong></p>
<ul>
<li><a href="http://www.gkudos.com/contract/" target="_blank">Launch Application </a> (This application requires Google Earth’s Browser Plug-in. You can download it from this location::  <a href="http://code.google.com/apis/earth/" target="_blank">http://code.google.com/apis/earth/</a>)</li>
<li>Screencast 1: <a href="http://static.gkudos.com/flash/contract/swf/kudos_contrato_01.html" target="_blank">3D Visualization of contract statistics using Google Earth Browser Plug-in.</a></li>
<li>Screencast 2:<a href="http://static.gkudos.com/flash/contract/swf/kudos_contrato_02.html" target="_blank"> Browsing Contracts using VGICC </a></li>
</ul>
<p><strong>Project Challenge:</strong></p>
<p>Provide an interactive Geographic Rich Internet Application that allows users to visually explore and discover new relations of Government’s investments using spatial, statistical and public contract information of Colombia.</p>
<p>This Geographic Rich Internet Application uses Interactive Web Mapping techniques as an alternative tool to explore PUC´s data. (Current search engine is based solely on plain text filters).</p>
<p style="text-align: center;"><img class="aligncenter" title="Kudos Ltda - VGICC" src="http://static.gkudos.com/flash/contract/kudos_contrato_01.jpg" alt="" width="579" height="325" /></p>
<p><strong>Technical Challenge:</strong><br />
During development stages of this proof of concept some technical challenges must be confronted:</p>
<ul>
<li> <strong>Information Extraction:</strong>Although PUC (<a href="http://www.contratos.gov.co/puc/">http://www.contratos.gov.co/puc/</a>) lets public search options for general users, it doesn’t provide any free Web Service, RSS or interoperable API that could be integrated with external systems. However, thanks to the implementation of <a href="http://en.wikipedia.org/wiki/Web_scraping" target="_blank">Web Scrapping</a> techniques it was possible to automatically extract information from web pages published at PUC’s search portal.</li>
</ul>
<ul>
<li><strong>Transformation, Georreferencing and Data Loading:</strong> Once information extraction was accomplished, it was necessary to transform and georeference each one of the contracts against the available database of political-administrative divisions of Colombia. Furthermore, all data was stored in a geographic database managed by Postgres and Postgis.</li>
</ul>
<ul>
<li><strong>Interactive Visualization of Geographical and Statistical Information through Internet:</strong> May one of the biggest technical challenges of the VGICC was related to the implementation of the web visualization of geographical and statistical data using modern web technologies and tools.  Firstly, Google’s brand new “<a href="http://code.google.com/apis/earth/" target="_blank">Google Earth Browser Plug-in</a>”  was used to enable web browser based geographic visualization of data. One of the most interesting features of Google Earth and KML is the possibility of draw 3D objects over the earth globe. In this case, 3D objects are used to represent the amount of government investment in a particular state or county.  Secondly, it was possible to programmatically interact with the GE plug-in using JavaScript and KML (perhaps this is the most appealing feature of the plug-in for programmers and system integrators).  Finally, to provide a single and unified user experience based on Html it was necessary to use different JavaScript/Ajax techniques and tools.  This framework, as a whole, proved to be a suitable alternative for the implementation of geospatial browser based applications.</li>
</ul>
<p style="text-align: center;"><img class="alignnone" title="Kudos Ltda.  - VGICC" src="http://static.gkudos.com/flash/contract/kudos_contrato_04.jpg" alt="" width="602" height="336" /></p>
<p><strong>Basic Features:</strong><br />
Basically, the application allows geographic visualization of consolidated data by State and County.  There are two basic interactions:</p>
<ul>
<li>State selection using lists: A user selects a State using a combo box and the application dynamically loads Kml data from the server side and shows the results using the Google Earth Browser Plug-in. Camera views are relocated according to the selected State.</li>
</ul>
<ul>
<li>Contract search by feature selection on the map: A user can search a specific list of contracts related to a County. (State and County polygons are shown on the Google Earth Plug-in). Each balloon attached to a placemark on the map shows the amount of investment and quantity of contracts that take place in the given region and a link to the detailed list of contracts.  Such list also provides links to detailed information for each contract as well as a reference to the official related site at <a href="http://www.contratos.gov.co/puc/" target="_blank">http://www.contratos.gov.co/puc/</a>.</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" title="Kudos Ltda - VGICC" src="http://static.gkudos.com/flash/contract/kudos_contrato_05.jpg" alt="" width="600" height="341" /></p>
<p><strong>Benefits:</strong><br />
Provide alternative ways of data discovery and exploration of PUC’s data (Portal Único de Contratación de Colombia) using techniques based on Rich Internet Applications, geographic information and 3D visualization.</p>
<p><strong>Tools:</strong></p>
<ul>
<li><a href="http://code.google.com/apis/earth/" target="_blank">Google Earth Browser Plugin</a></li>
<li>Javascript, Ajax, <a href="http://www.adobe.com/devnet/spry/" target="_blank">Adobe Spry Framework for Ajax</a></li>
<li><a href="http://grails.org" target="_blank">Java, Grails</a></li>
<li>Postgresql, Postgis</li>
</ul>
<p><strong>Lessons Learned:</strong><br />
Nevertheless the amazing features of Google Earth Browser plug-in, there are some issues related to rendering that affect visualization in some computers.   For example,  this is an extract of the correct visualization of the application for a particular State in Colombia:</p>
<p style="text-align: left;"><img class="aligncenter" src="http://static.gkudos.com/flash/contract/ge_ok_plugin.jpg" alt="" width="598" height="350" /><br />
In other machines polygons are not rendered correctly:</p>
<p style="text-align: center;"><img class="aligncenter" title="Kudos Google Earth plugin error" src="http://static.gkudos.com/flash/contract/ge_error1.jpg" alt="" width="570" height="332" /></p>
<p>Or even in other machines rendering is completely different:</p>
<p style="text-align: center;"><img class="aligncenter" title="Kudos - Google Earth Plugin Error" src="http://static.gkudos.com/flash/contract/ge_error2.jpg" alt="" width="586" height="343" /></p>
<p>Such issue was reported at Google Groups. So far the issue stills open. (For more information look at <a href="http://groups.google.com/group/google-earth-browser-plugin/browse_thread/thread/699d6dad2a345210/fac604a4226d39c5" target="_blank">Google Earth Browser Plugin: Polygons don&#8217;t render correctly</a> )</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gkudos.com/2008/07/31/geographical-visualization-of-government-contracts-in-colombia-vgicc/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Visualización Geográfica de Información Contractual Colombiana (VGICC)</title>
		<link>http://blog.gkudos.com/2008/07/28/visualizacion-geografica-de-informacion-contractual-colombiana-vgicc/</link>
		<comments>http://blog.gkudos.com/2008/07/28/visualizacion-geografica-de-informacion-contractual-colombiana-vgicc/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 20:16:44 +0000</pubDate>
		<dc:creator>juanmendez</dc:creator>
				<category><![CDATA[Rich Internet Applications]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Google Earth Browser Plugin]]></category>
		<category><![CDATA[grails]]></category>
		<category><![CDATA[Information Visualization]]></category>
		<category><![CDATA[KML]]></category>
		<category><![CDATA[postgis]]></category>
		<category><![CDATA[web mapping]]></category>

		<guid isPermaLink="false">http://blog.gkudos.com/?p=22</guid>
		<description><![CDATA[
Descripción del Proyecto: (You can read the english version of this article here)
Prueba de concepto del Google Earth Browser Plugin donde se utilizan sus posibilidades como motor de visualización de Información Geográfica y estadística  a través de la creación de un aplicativo que permite explorar de forma interactiva la información de contratación estatal de Colombia [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" title="Kudos Ltda. - VGICC" src="http://static.gkudos.com/flash/contract/kudos_contrato_03.jpg" alt="" width="537" height="302" /></p>
<p><strong>Descripción del Proyecto:</strong> (You can read the english version of this article <a href="http://blog.gkudos.com/2008/07/31/geographical-visualization-of-government-contracts-in-colombia-vgicc/">here</a>)</p>
<p>Prueba de concepto del Google Earth Browser Plugin donde se utilizan sus posibilidades como motor de visualización de Información Geográfica y estadística  a través de la creación de un aplicativo que permite explorar de forma interactiva la información de contratación estatal de Colombia publicada en el Portal Único de Contratación (PUC, <a href="http://www.contratos.gov.co/puc/" target="_blank">http://www.contratos.gov.co/puc/</a>).</p>
<p>(<strong>Nota:</strong> La información publicada en este aplicativo es únicamente para efectos de prueba. Los datos oficiales del PUC puede encontrarlos en la dirección <a href="http://www.contratos.gov.co/puc/" target="_blank">http://www.contratos.gov.co/puc/</a> )</p>
<p><strong>Enlaces en Línea</strong></p>
<ul>
<li><a href="http://www.gkudos.com/contract/" target="_blank">Ver Aplicación en Línea </a> (Requiere el plugin de google earth que puede ser descargado en la siguiente ubicación:  <a href="http://code.google.com/apis/earth/" target="_blank">http://code.google.com/apis/earth/</a>)</li>
<li>Screencast 1: <a href="http://static.gkudos.com/flash/contract/swf/kudos_contrato_01.html" target="_blank">Visualización de Estadísticas en 3D</a></li>
<li>Screencast 2:<a href="http://static.gkudos.com/flash/contract/swf/kudos_contrato_02.html" target="_blank"> Consulta de Contratos </a></li>
</ul>
<p><strong>Desafíos del Proyecto:</strong><br />
Proveer un sistema de consultas interactivo basado en mapas y gráficos para el Portal Único de Contratación de Colombia  de manera que los usuarios puedan explorar y visualizar la información de contratación teniendo en cuenta la ubicación geográfica de las inversiones realizadas en el país.</p>
<p>Esta prueba de concepto de un sistema de consultas interactivas para el PUC permitiría a los usuarios una forma más eficiente para visualizar la información de contratación de Colombia en comparación a las búsquedas que actualmente existen donde únicamente se limitan a filtros por criterios alfanuméricos.</p>
<p style="text-align: center;"><img class="aligncenter" title="Kudos Ltda - VGICC" src="http://static.gkudos.com/flash/contract/kudos_contrato_01.jpg" alt="" width="579" height="325" /></p>
<p><strong>Desafío Técnico:</strong><br />
Para el desarrollo del proyecto se presentaron múltiples desafíos técnicos en diferentes temas:</p>
<ul>
<li> <strong>Extracción de Información: </strong>Aunque la información del Portal Único de Contratación puede ser consultada  libremente por los usuarios en la página http://www.contratos.gov.co/puc/, no existe en el momento un Servicio Web, RSS o Interfaz de programación abierto que permita su comunicación  con otros sistemas externos.  Para que nuestro sistema VGICC  pudiera utilizar la información del PUC  fue necesaria la implementación de técnicas de Web Scrapping (http://en.wikipedia.org/wiki/Web_scraping) que permitieran la extracción automática la información publicada en el Portal Único de Contratación.</li>
</ul>
<ul>
<li><strong>Transformación, Georreferenciación y Carga de Datos:</strong> Una vez extraída la información del PUC fue necesaria la transformación y Georreferenciación de la ubicación  de los contratos respecto a la división política de Colombia por Municipios.  Posteriormente dicha información fue cargada  en una base de datos espacial publicada en el motor Postgresql / Postgis.</li>
</ul>
<ul>
<li><strong>Visualización Interactiva de Información Geográfica y Estadísticas a través de Internet:</strong> Uno de los principales desafíos técnicos del VGICC fue el de permitir herramientas Web interactivas de fácil uso para la visualización de información geográfica y estadística.  Con el fin de suplir esta necesidad se valió de las utilidades de representación geográfica y 3D que presta el recientemente publicado servicio de Google Earth Browser Plugin (http://code.google.com/apis/earth/).  Dicho plugin permite la interacción con el motor de visualización de Google Earth a través de técnicas de programación basadas en KML, Javascript/AJAX.  Gracias a este marco de trabajo (tal como se demuestra en la prueba de concepto) es posible realizar aplicaciones Web que permitan explorar la información ya sea desde el punto de vista alfanumérico como el Geográfico.</li>
</ul>
<p style="text-align: center;"><img class="alignnone" title="Kudos Ltda.  - VGICC" src="http://static.gkudos.com/flash/contract/kudos_contrato_04.jpg" alt="" width="602" height="336" /></p>
<p><strong>Funcionalidades Básicas Implementadas:</strong><br />
Permite visualizar de manera geográfica información consolidada por Departamento y Municipio. Se implementaron dos formas básicas de interacción:</p>
<ul>
<li>Selección de Departamentos a través de Listas: Seleccionando un Departamento de una lista se hace un acercamiento al área que este cubre. Sobre el centroide de cada municipio de muestra una barra que es proporcional al monto total de contratación que ha tenido el municipio.</li>
</ul>
<ul>
<li>Filtros de Consulta a través de Selección en el Mapa: El usuario tiene la posibilidad de interactuar con la información de los municipios disponible en el Mapa de Google Earth.  En los globos de información de Google Earth se despliega la información de cuantos contratos y el monto de los contratos que afectan al municipio seleccionado. De la misma forma se habilita un link de “Ver contratos”,  que permite la consulta de todos los contratos que afectan a dicha región. Dicho listado a su vez permite ver la información detallada para cada uno de los contratos así como también el link a la información oficial publicada en el PUC (Portal único de Contratación).</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" title="Kudos Ltda - VGICC" src="http://static.gkudos.com/flash/contract/kudos_contrato_05.jpg" alt="" width="600" height="341" /></p>
<p><strong>Beneficios:</strong><br />
Permitir a los usuarios que consultan el Portal Único de Contratación formas alternativas de exploración y descubrimiento de información de las inversiones estatales realizadas en Colombia  a través de técnicas de Visualización en 3D y representación espacial / geográfica de la información de los contratos estatales desarrollados en el país.</p>
<p><strong>Herramientas:</strong></p>
<ul>
<li><a href="http://code.google.com/apis/earth/" target="_blank">Google Earth Browser Plugin</a></li>
<li>Javascript, Ajax, <a href="http://www.adobe.com/devnet/spry/" target="_blank">Adobe Spry Framework for Ajax</a></li>
<li><a href="http://grails.org" target="_blank">Java, Grails</a></li>
<li>Postgresql, Postgis</li>
</ul>
<p><strong>Lecciones Aprendidas:</strong><br />
No obstante las grandes virtudes que posee actualmente la herramienta Google Earth Browser Plugin, durante el desarrollo del VGICC  se encontraron algunos bugs de renderización del plugin entre diferentes versiones de navegador.</p>
<p>Por ejemplo se tiene el siguiente segmento de visualización para el departamento de Boyacá:</p>
<p style="text-align: left;"><img class="aligncenter" src="http://static.gkudos.com/flash/contract/ge_ok_plugin.jpg" alt="" width="598" height="350" /><br />
Sin embargo en algunas máquinas los polígonos se muestran de forma incompleta:</p>
<p style="text-align: center;"><img class="aligncenter" title="Kudos Google Earth plugin error" src="http://static.gkudos.com/flash/contract/ge_error1.jpg" alt="" width="570" height="332" /></p>
<p>O incluso en otros equipos la renderización es completamente inconsistente:</p>
<p style="text-align: center;"><img class="aligncenter" title="Kudos - Google Earth Plugin Error" src="http://static.gkudos.com/flash/contract/ge_error2.jpg" alt="" width="586" height="343" /></p>
<p>Dicha inconsistencia fue reportada en los foros de Google Groups pero hasta el momento no se ha dado una solución satisfactoria a la incidencia (Para más información ver <a href="http://groups.google.com/group/google-earth-browser-plugin/browse_thread/thread/699d6dad2a345210/fac604a4226d39c5" target="_blank">Google Earth Browser Plugin: Polygons don&#8217;t render correctly</a> )</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gkudos.com/2008/07/28/visualizacion-geografica-de-informacion-contractual-colombiana-vgicc/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
