This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Por defecto Ubuntu 12.04 no trae PostGIS 2.0, y lo necesitaba para hacer algunas pruebas, porque lo que leí sobre esta versión que tenia muchas novedades y especialmente en las capas raster. Así que manos a la obra para tener postgis 2.0 y postgresql 9.1. | |
Entramos a la consola y escribimos: | |
sudo apt-get install python-software-properties | |
sudo apt-add-repository ppa:sharpie/for-science | |
sudo apt-add-repository ppa:sharpie/postgis-nightly | |
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable | |
sudo apt-get update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install unetbootin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Quantum GIS 1.8 | |
Adicionar ao Repositório | |
# vim /etc/apt/sources.list | |
# PACOTES | |
deb http://qgis.org/debian lucid main | |
deb-src http://qgis.org/debian lucid main | |
#DEPENDENCIAS | |
#add-apt-repository ppa:ubuntugis/ubuntugis-unstable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Make sure you have write permissions and ownership on the .qgis directory | |
try running following commands: | |
sudo chmod 755 ~/.qgis | |
sudo chown -R <your username> ~/.qgis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NOTICE: ---------------------------------- | |
NOTICE: ID GRID =657 | |
NOTICE: TOTAL WAYS= 70 | |
NOTICE: MAX_VERSION= 7 | |
NOTICE: MIN_VERSION= 2 | |
NOTICE: ****************************Version = 2 | |
NOTICE: Amount= 39 | |
NOTICE: ****************************Version = 3 | |
NOTICE: Amount= 19 | |
NOTICE: ****************************Version = 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Instalar Skype correctamente en Ubuntu 11.10 | |
Desde Ubuntu 10.10, Skype siempre ha estado disponible en los repositorios oficiales de Ubuntu, aunque hay una opción para el usuario pudiendo descargar Skype desde su web oficial, es mejor para nosotros instalar Skype desde el repositorio, ya que se ha ajustado con cada nueva versión de Ubuntu. | |
http://fc03.deviantart.net/fs70/f/2011/147/5/1/skype_by_comsl-d3hc9p2.jpg | |
La corrección en Ubuntu 11.10 se refiere a un error que puede aparecer debido a bibliotecas compartidas, por lo que se aconseja instalar en Ubuntu desde el repositorio. Si ha tenido algún problema desintale y vuelva a instalar utilizando los siguienes comandos: | |
sudo apt-get remove --purge skype | |
sudo apt-get install skype:i386 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE FUNCTION get_min_version(the_geom geometry) | |
RETURNS int | |
AS $$ | |
DECLARE | |
_min_version int=0; | |
BEGIN | |
_min_version=(SELECT min(version) FROM tiger_version WHERE ST_Within(tiger_version.geom,the_geom)); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select count(*) from tiger_grid_us where average_v<1 --result = 11 | |
select count(*) from tiger_grid_us where average_v>=1 AND average_v<1.2 --result = 281037 | |
select count(*) from tiger_grid_us where average_v>=1.2 AND average_v<1.5 --result = 62177 | |
select count(*) from tiger_grid_us where average_v>=1.5 AND average_v<1.7 --result = 32127 | |
select count(*) from tiger_grid_us where average_v>=1.7 AND average_v<1.9 --result = 14016 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install python-software-properties | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java7-installer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://download.osgeo.org/geos/geos-3.3.6.tar.bz2 | |
tar xvfj geos-3.3.6.tar.bz2 | |
cd geos-3.3.6 | |
./configure | |
make | |
sudo make install | |
cd .. | |
fuente: http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1110src |