Saturday, June 2, 2012

Unable to connect: Access denied: HTTP proxy server forbids port 6667 tunneling

if you are using Pidgin IRC client behind a proxy and getting this error
"Unable to connect: Access denied: HTTP proxy server forbids port 6667 tunneling"

Select
Account --> (select your account) --> Edit Account

GoTo proxy tab and change proxy type to "No Proxy"

Friday, June 1, 2012

mercurial abort: error: Name or service not known abort: error: Name or service not known abort: error: Name or service not known

Q: when cloning a mercurial repository, if you are getting error

"abort: error: Name or service not known"

Solution:
If you are behind a proxy please make sure /etc/mercurial/hgrc or ~/.hgrc has correct proxy settings.
Mercurial also uses ENV variable http_proxy if set. you can set http_proxy variable in unix using

export http_proxy=proxy.mydomain.in:8080   

where proxy.mydomain.in is the host and 8080 is the port.


This error can also happen if you were behind proxy before and now you are not.

So to unset proxy setting for mercurial make sure in
/etc/mercurial/hgrc
~/.hgrc
you had commented out those lines

also clear the http_proxy ENV

you can use unset command for this

unset http_proxy

Tuesday, May 29, 2012

GSoC2012

OSSIM proposal has been accepted for this year's Google Summer of Code. This summer will be fully of C++ and python. :)

Full Proposal
http://www.google-melange.com/gsoc/homepage/google/gsoc2012

Weekly Updates
http://trac.osgeo.org/ossim/wiki/GsocUnderWaterImageProcessing

Source Code
https://bitbucket.org/bugbrains/gsoc2012

VRGeo on cloud

CDAC-B is providing cloud infrastructure for VRGeo

You can access cloud version on
http://vihang.garudaindia.in/vrgeo

steps for using VRGeo is available at
http://lsi.iiit.ac.in/steps.pdf

VRGeo on Google+
http://goo.gl/b5j2O

apache htacess directory listing

Apache allows to disable directory listing using htacess files.

By default in ubuntu apache document root directory is /var/www

you can edit configuration file located at /etc/apache2/sites-enabled/000-default

You have a folder called "private" in /var/www/private which contains some information. If your system is connected to internet and have public access anyone can get data from http://yourdomain.com/private !!

To disable directory listing try this:

create a file called .htaccess in /var/www/private
set your favourite editor
export EDITOR=vim

sudo $EDITOR .htaccess

Options -Indexes                #disable directory listing on current directory
or
Options All -Indexes          #disable directory listing recursively


LSIViewer - The Free online Geospatial Data Viewer


LSI viewer (Libre Spatial Information Viewer) [1] was developed for users who may not have access to a suite of GIS software tools but would like to just view/display and print/export the data they have.
LSIViewer is an Online Spatial Map Viewer for your Local Data including Map Styling. Basic Styling includes changing background color, pen color, fill color, label color, label size, pen width.  It allows to view Attribute Table and export the current map view with styling to a SVG/JPEG/PNG files. Currently it can be used as a Map Viewer for Shapefile (.shp) format data. Other data formats are planned to be supported in later versions.  LSIViewer doesnt depends on MapServer, Geoserver.
You can start a discussion, report bugs, give feedback on our redmine instance[2].

Developed and maintained by Lab For Spatial Informatics, IIIT Hyderbad

[1] http://lsi.iiit.ac.in/lsi/lsiviewer/
[2] http://lsi.iiit.ac.in/redmine/projects/lsiviewer

Install GRASS GIS 7.0 svn


Download GRASS GIS. you need an SVN client to checkout the source
cd ~/code

svn checkout https://svn.osgeo.org/grass/grass/trunk grass7



cd grass7

./configure --with-tcltk-includes=/usr/include/tcl8.5
--with-proj-share=/usr/share/proj --with-python
--with-gdal=/usr/local/bin/gdal-config --with-ffmpeg=yes
--with-ffmpeg-includes="/usr/include/libavcodec/
/usr/include/libavformat/ /usr/include/libswscale" --with-sqlite
--with-postgres --with-postgres-includes=/usr/include/postgresql/
--with-wxwidgets=/usr/bin/wx-config
--with-mysql-includes=/usr/include/mysql --with-opengl-libs=/usr/lib/

Compile using GNU Make
make
Install grass7. Default install location will be /usr/local/grass-7.0.svn
sudo make install
start GRASS GIS 7 using terminal. #$grass70