AD DESCRIPTION
AD DESCRIPTION
Advertise Now!

Tổng hợp thủ thuật Blog

Khá nhiều bạn mail cho mình hỏi về các thủ thuật liên quan tới Blogspot, nhưng không có thời gian nên khó có thể trả lời hết được. Vì thế mình muốn tổng kết các Kho thủ thuật và tài nguyên cho Blogspot rất hữu ích mà mình biết.

Làm sao gửi file chia sẻ lớn hơn 1GB

Làm sao gửi file chia sẻ lớn hơn 1GB Làm sao gửi file chia sẻ lớn hơn 1GB Chia sẻ file cho bạn bè là chuyện hoàn toàn không đơn giản, khi kèm qua mail, nhất là mọi file quá lớn vài chục MB vô cùng khó khăn.

Chia sẻ file dung lượng lớn cực kỳ đơn giản với Pando

Chia sẻ file dung lượng lớn cực kỳ đơn giản với Pando Có bao giờ bạn gặp rắc rối khi muốn chia sẻ cho bạn bè của mình một số file thông qua Internet nhưng lại không biết upload chúng lên đâu để chia sẽ vì dung lượng của chúng lớn? Vậy thì bạn có thể nhờ đến sự giúp đỡ của Pando.

5 dịch vụ chia sẻ file trực tuyến tốc độ cao

Trên Internet có nhiều website miễn phí, hỗ trợ người sử dụng đăng ảnh, video... để chia sẻ nhanh chóng và dễ dàng với bạn bè mà không cần mất thời gian gửi từng e-mail. Với dịch vụ miễn phí.

My favourite cigarettes

Theo hiểu biết nông cạn của tôi thì có tất cả là 10 loại esse từ rẻ đến đắt, hôm nọ hỏi 1 bao golden leaf có giá tận 200k/hộp :-SS choáng :-S Sau đây là danh sách các loại esse.

Thứ Năm, 17 tháng 11, 2011

Ebook Bo-blog 1.4

Highslide JS

Cộng đồng sử dụng Bo-blog ở Việt Nam ngày càng đông, các website hỗ trợ người dùng ở Việt Nam đã có 3 web chính là: Freecodevn, Hội Quán Tin Học, VietBoblog... Vậy tại sao bạn ko sử dụng nó nhỉ.
Congtoan tiếp tục cập nhật thêm cuốn ebook về bo-blog, bản 1.4 này mình thêm một số bài viết mới như cài đặt host trên Cpanel 11 bằng hình ảnh chi tiết... dành cho các bạn mới tập làm quen với bo-blog, hy vọng nó sẽ giúp bạn phần nào, chắc chắn cuốn ebook này còn nhiều điểm thiếu sót, nhưng chắc là nó cũng đủ để bạn nào chưa biết có thể sử dụng bo-blog một cách thành thạo... Mong nhận được sự góp ý từ các bạn.

Download

Vertrigo Serv 2.21 Thủ thuật Bo-blog

Highslide JS

Phần mền này được tích hợp sẵn các thành phần như: Apache 2.0.63, PHP 5.2.6, MySQL 5.0.51b, SQLite 3.5.9, Smarty 2.6.19, PhpMyAdmin 2.11.7, ZendOptimizer 3.3.3, SQLiteManager 1.2.0...
Bạn chỉ việc cài gói này vào và có thể test bất cứ sources nào bằng PHP rất tiện lợi để cho bạn test thử các chức năng mới cho một blog... trước khi đưa lên host chính. Trong cuốn ebook về bo-blog của mình có hướng dẫn sử dụng gói phần mềm này, các bạn có thể tải cuốn ebook về để biết cách sử dụng nếu bạn chưa biêt.
VertrigoServ has been developed as a highly professional, easy to install package consisting of Apache, PHP, MySQL, multi-user, SQL Database Management System, SQLite, SQLiteManager, PhpMyAdmin and Zend Optimizer for Windows platform. With a convenient all-in-one installer, all components are installed in a single directory and can be used immediately after the installation process has completed. An uninstaller allows you to remove the VertrigoServ from hard disc. It is designed to be as small and flexible as possible and is therefore highly suitable for internet distribution. VertrigoServ is excellent both for beginners and for advanced users.

Noow

Watch any HD Video

Noow is a free HD video player

Crystal clear HD video delivers the quality and fresh look that transforms ordinary video files into exceptional works! 

Take advantage of the latest HD videos with Noow!

  • Watch any HD Video
  • Download any torrent file
  • Download any YouTube video
  • Organize & Manage your videos

Download & Play

Download any type of video files

With NOOW you can download any video and Torrent file,
whether it is an individual BitTorrent file or a torrent in feeds.
Just several easy steps to play, stop and resume
any of the downloads!

  • Watch any HD Video
  • Download any torrent file
  • Download any YouTube video
  • Organize & Manage your videos

YouTube

Download your favorite YouTube Movies

Download and save your favorite videos directly from YouTube! 

All you need to do is click the "Download This Video" button! 

The video will be downloaded into your media library right away!

  • Watch any HD Video
  • Download any torrent file
  • Download any YouTube video
  • Organize & Manage your videos

Organize & Manage

Search for all video files saved on your computer during the installation and create your own media library!

Organize and manage your playlists and feeds!

  • Watch any HD Video
  • Download any torrent file
  • Download any YouTube video
  • Organize & Manage your videos
Download Noow! Noow Player Version 0.99b is Free!

Noow

Thứ Sáu, 11 tháng 11, 2011

Installing GeoServer on Ubuntu

The easiest way to install and set up GeoServer is by installing the full OpenGeo Suite. The OpenGeo Suite comes complete with GeoServer as well as a full geospatial software stack, including utilities, data, and documentation. That said, OpenGeo also provides individual packages for installing the components separately.

This page will describe how to install GeoServer on Ubuntu 10.04 (Lucid). Earlier versions of Ubuntu are not supported at this time.

Access the OpenGeo APT repository

OpenGeo provides a repository for packages in APT (Debian) format. To access this repository, you need to first import the OpenGeo GPG key in to your apt registry:

Note

You will need to run these commands on an account with root access.

wget -qO- http://apt.opengeo.org/gpg.key | apt-key add -


Once added, you can add the OpenGeo APT repository (http://apt.opengeo.org) to your local list of repositories:



echo "deb http://apt.opengeo.org/ubuntu lucid main" >> /etc/apt/sources.list


Now update APT to pull in your changes:



apt-get update


Package management



Search for packages from OpenGeo:



apt-cache search opengeo


If the search command does not return any results, the repository was not added properly. Examine the output of the apt commands for any errors or warnings.



Now you can install GeoServer. The name of the package is opengeo-geoserver:



apt-get install opengeo-geoserver


After installation



When completed, GeoServer will be installed as a servlet inside the local version of Tomcat. Assuming that Tomcat is running on the default port 8080, you can verify that GeoServer is installed by navigating to the following URL:



http://localhost:8080/geoserver/


This will load the Web Administration Interface. Most management of GeoServer functionality can be done from this interface.



Note



The username and password for the GeoServer administrator account is admin / geoserver



For more information about running GeoServer, please see the GeoServer Documentation



Installing GeoServer on Ubuntu



 



OR





Installing geoserver on ubuntu 10.04



Following the below steps should get the binary release of geoserver running on your 10.04 ubuntu install. This should also work generically for other versions of ubuntu. This process does not step you through securing or completely preparing the geoserver for production use, these details are outside the scope of this tutorial; please review the appropriate sections on security and running in a production environment via the geoserver documentation. Also if you are intending to run this geoserver in a production environment you should review any firewall and/or system settings that may be appropriate for your use case.



Install necessary supporting libraries and applications.


I think this is complete, but it may not be. If you run into any missing packages please indicate which packages also need to be installed in the comments so that others may benefit from your effort.




sudo apt-get update
sudo apt-get install gdal-bin openjdk-6-jdk openjdk-6-jre python-gdal unzip


Download the latest stable or latest release of geoserver.


In my case I grabbed Geoserver 2.1-RC4. These instructions should apply generically to the 2.0.3 release and hopefully others.




cd ~
wget http://downloads.sourceforge.net/geoserver/geoserver-2.1-RC4-bin.zip


Extract the release into your directory of choice.


In my case I chose '/opt' if you choose a different directory and release please substitute accordingly.




cd /opt
sudo unzip ~/geoserver-2.1-RC4-bin.zip


Setup system for running geoserver.


Create a symlink


We want '/opt/geoserver' to point to '/opt/geoserver-RELEASE' so that we can easily upgrade geoserver at a later date.




sudo ln -s /opt/geoserver-2.1-RC4 /opt/geoserver


Download geoserver extensions.


Follow the extension download link for whichever version you downloaded in the previous step here. Grab any extensions you want to install. I grabbed the following;




  1. MySQL Data Store


  2. GDAL Coverage Store


  3. OGR output format



After downloading the extensions extract them to '/opt/geoserver/webapps/geoserver/WEB-INF/lib'.




cd ~
mkdir geoserver_extensions
cd geoserver_extensions
wget http://downloads.sourceforge.net/geoserver/geoserver-2.1-RC4-mysql-plugi...
wget http://downloads.sourceforge.net/geoserver/geoserver-2.1-RC4-gdal-plugin...
wget http://downloads.sourceforge.net/geoserver/geoserver-2.1-RC4-ogr-plugin.zip
find . -name \*.zip -exec unzip -o {} \;
sudo cp -rp *.jar /opt/geoserver/webapps/geoserver/WEB-INF/lib/


Add a geoserver user and group


Next we create a group and user that geoserver will run as:




sudo addgroup --system geoserver
sudo adduser --system --ingroup geoserver --no-create-home --disabled-password geoserver


Setup startup script


In order to start geoserver automatically at startup we need an init script. I grabbed the Debian/Ubuntu script located here.




cd /opt/geoserver/bin
sudo wget -O initd.sh http://docs.geoserver.org/latest/en/user/_downloads/geoserver_deb
sudo ln -s /opt/geoserver/bin/initd.sh /etc/init.d/geoserver
sudo chmod +x ./initd.sh


This script needs one slight modification to be better suited to ubuntu. Change the following line




# Default-Stop: S 0 1 6


to




# Default-Stop: 0 1 6


This should be line 7 of the file.



Change ownership of the geoserver directory


The geoserver install directory should be owned by the geoserver user and group we just created.




sudo chown -R geoserver:geoserver /opt/geoserver-2.1-RC4/


Set the default startup parameters


Use your editor of choice and create a new file '/etc/default/geoserver'. The commented lines, starting with '#', indicate the default as provided in the startup script.




#USER=geoserver
#GEOSERVER_DATA_DIR=/home/$USER/data_dir
GEOSERVER_DATA_DIR=/opt/geoserver/data_dir

#GEOSERVER_HOME=/home/$USER/geoserver
GEOSERVER_HOME=/opt/geoserver

#PATH=/usr/sbin:/usr/bin:/sbin:/bin

#DESC="GeoServer daemon"

#NAME=geoserver

#JAVA_HOME=/usr/lib/jvm/java-6-sun
#DAEMON="$JAVA_HOME/bin/java"
JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk
DAEMON="$JAVA_HOME/bin/java"

#JAVA_OPTS="-Xms128m -Xmx512m"
JAVA_OPTS="-Xms128m -Xmx512m -server"

#PIDFILE=/var/run/$NAME.pid

#SCRIPTNAME=/etc/init.d/$NAME


Set the geoserver to launch on startup



sudo update-rc.d geoserver defaults


Setup log directories



sudo mkdir /opt/geoserver/webapps/geoserver/data/logs
sudo chown geoserver:geoserver /opt/geoserver/webapps/geoserver/data/logs/


Configure OGR based WFS output format


This allows geoserver to export a bunch of formats that geoserver does not handle natively. The conversion is done through the ogr library see OGR Simple Feature Library for more information on the capabilities of the gdal/ogr library. The following XML lets geoserver know where to find the ogr2ogr binary and the GDAL_DATA directory. Add the following XML to '/opt/geoserver/data_dir/ogr2ogr.xml'




<OgrConfiguration>
<ogr2ogrLocation>/usr/bin/ogr2ogr</ogr2ogrLocation>
<gdalData>/usr/share/gdal16</gdalData>
<formats>
<Format>
<ogrFormat>MapInfo File</ogrFormat>
<formatName>OGR-TAB</formatName>
<fileExtension>.tab</fileExtension>
</Format>
<Format>
<ogrFormat>MapInfo File</ogrFormat>
<formatName>OGR-MIF</formatName>
<fileExtension>.mif</fileExtension>
<option>-dsco</option>
<option>FORMAT=MIF</option>
</Format>
<Format>
<ogrFormat>CSV</ogrFormat>
<formatName>OGR-CSV</formatName>
<fileExtension>.csv</fileExtension>
<singleFile>true</singleFile>
<mimeType>text/csv</mimeType>
</Format>
<Format>
<ogrFormat>KML</ogrFormat>
<formatName>OGR-KML</formatName>
<fileExtension>.kml</fileExtension>
<singleFile>true</singleFile>
<mimeType>application/vnd.google-earth.kml</mimeType>
</Format>
</formats>
</OgrConfiguration>


Start the geoserver



sudo /etc/init.d/geoserver start


Test the geoserver


Now if everything has gone according to plan the geoserver should be running and accessible on port 8080. The default username and password are admin and geoserver respectively. You should review the security documentation for geoserver to properly secure the login and points of access.



Troubleshooting


Note that it can take geoserver quite a bit of time to actually bind to port 8080 and start responding. If you attempt to access geoserver on port 8080 and get an error message then wait a few minutes and try again. You can check to see if the geoserver is running by doing the following



  

ps aux | grep java


This should show something like the following indicating that the geoserver process is running.



  

5487 ? Sl 0:21 /usr/lib/jvm/java-1.6.0-openjdk/bin/java -Xms128m -Xmx512m -server -DGEOSERVER_DATA_DIR=/opt/geoserver/data_dir -Djava.awt.headless=true -jar start.jar


If you see the geoserver process is running you can check to see if it has opened port 8080 and is listening for requests with the following




sudo lsof | grep TCP | grep geoserver


You should expect to see something like the following;




java 5487 geoserver 237u IPv6 20420 0t0 TCP *:46378 (LISTEN)
java 5487 geoserver 249u IPv6 20435 0t0 TCP *:http-alt (LISTEN)


If you do not see the above but the java process is running just wait a few minutes as it can sometimes take a while for the geoserver to bind to port 8080.





Comments




One tiny glitch


Submitted on April 6th, 2011 by Marc



Jeff - one tiny glitch that I had was when setting up log directories:



sudo mkdir /opt/geoserver/webapps/geoserver/data/logs





didn't work because the data directory didn't exist yet. I needed to:




sudo mkdir -p /opt/geoserver/webapps/geoserver/data/logs




Otherwise, I followed the instructions and was able to install the latest stable release (2.0.3 at this time) just fine.



After installing, I was able to see that everything worked via my browser by hitting:



http://localhost:8080/geoserver/web








JAVA_HOME problems


Submitted on April 6th, 2011 by Aaron



Hello Jeff. Thank you for posting such clear and concise instructions for installing Geoserver on Ubuntu.

I am, however, having the same problem with every approach I take to install. Everything seems to be fine, until I try to start Geoserver, when I get the JAVA_HOME environment is not defined. But it is defined. I have tried with Sun java as well as openjdk.



This was immediately after reboot:

quickstart@quickstart-VirtualBox:~$ cd geos/geoserver/bin


quickstart@quickstart-VirtualBox:~/geos/geoserver/bin$ sudo ./startup.sh


The JAVA_HOME environment variable is not defined


This environment variable is needed to run this program


quickstart@quickstart-VirtualBox:~/geos/geoserver/bin$ echo $JAVA_HOME


/usr/lib/jvm/java-6-openjdk



When I try to use the following command

sudo update-rc.d geoserver defaults


I get the error: file does not exist



Has anyone had this problem and fixed it?







JAVA_HOME woes


Submitted on April 6th, 2011 by Jeff



Aaron, it looks like you have skipped some of the steps I have outlined. Also your paths look different than what I outline above so hopefully you have extrapolated appropriately.



When attempting the 'sudo update-rc.d geoserver defaults' it is not finding the file '/etc/init.d/geoserver' please review the section 'Setup startup script' above and see if that helps get the file in place.



As an additional comment, regarding your JAVA_HOME.



If you are using bash, you need to export JAVA_HOME so either



export JAVA_HOME



or alternatively I usually declare and export environment variables in one fell swoop.



export JAVA_HOME=/usr/lib/jvm/java-6-openjdk



Environment variables must be exported to be available to child processes within the bash shell. However, the startup process you are attempting is not covered by my documentation.







woes


Submitted on April 6th, 2011 by Aaron



Thanks for the reply Jeff. The funny thing is that the file does exist. I see it under etc/init.d/



I think I need to start over from the beginning. Again. You are using the openjdk version of java right? I read some (old) articles that say to use only sun version, so that is what I have been trying. I assume my problem is in having two versions of java (I have the correct one selected in java-alternatives). This time I will try to use native openjdk java. This makes two places where the system cannot find files that I know are there.







The instructions here are for


Submitted on April 6th, 2011 by Jeff



The instructions here are for openjdk, and it is certainly possible that having sun-jdk installed as well is leading to some confusion.



If you are following my instructions the file /etc/init.d/geoserver should be a symbolic link. Perhaps the target file is missing? From your previous post it looks like you installed in a directory other than /opt/geoserver perhaps you forgot to change the target for the following command referenced above?





sudo ln -s /opt/geoserver/bin/initd.sh /etc/init.d/geoserver




These instructions have been tested with ubuntu 10.04, while they should also work for other versions of ubuntu, I have not tested other versions.



Regarding sun vs. open jdk:



I have seen numerous posts for various applications mention that only sun's java implementation should be used. However, I have yet to see any issue with running openjdk. I'm not claiming that there are not issues with openjdk and certain applications, but rather that I have never encountered any issues.







woes


Submitted on April 6th, 2011 by Aaron



After restoring a backup, I am running into similar errors during install. It seems I am having problems with paths.



My original installation was a virtual machine appliance with ubuntu 10.10. I have noticed before when using terminal commands where leading / are used, I get an error. But when I remove the leading / it works

example:


quickstart@quickstart-VirtualBox:~$ cd /geos


bash: cd: /geos: No such file or directory


quickstart@quickstart-VirtualBox:~$ cd geos


quickstart@quickstart-VirtualBox:~/geos$



The first error I get installing Geoserver following your guide is when creating the symlink: (with and without leading /)

quickstart@quickstart-VirtualBox:~/geos$ sudo ln -s /geos/geoserver-2.1-RC4 /geos/geoserver


ln: creating symbolic link `/geos/geoserver': No such file or directory


quickstart@quickstart-VirtualBox:~/geos$ sudo ln -s geos/geoserver-2.1-RC4 geos/geoserver


ln: creating symbolic link `geos/geoserver': No such file or directory



Previously, I simply created the symlink in the file browswer, not from bash. I suspect the problems are all related, but I have very limited experience with linux and fixing this is above my pay scale, so to speak. Any guidance you can give is appreciated.







I would suggest installing


Submitted on April 6th, 2011 by Jeff



I would suggest installing verbatim from my instructions rather than transposing paths.



When you omit the leading '/' you are instructing the shell that the path is *relative* to your current working directory. This will result in differing results depending on your current directory. The leading slash is preferable as it unambiguously refers to a location in the file path.



Basic Linux usage is outside the scope of this documentation.







Path Issues


Submitted on April 6th, 2011 by Aaron



After installing once more, following your instructions verbatim, it worked. Thanks again for providing such concise, and current, instructions!







Can you provide more detail


Submitted on April 8th, 2011 by bullparade



Can you provide more detail on adding extensions, particularly MrSID format? Also, I am running the WAR version, could you provide steps that cover that install and how to setup your environment?



Thanks.







outside scope


Submitted on April 8th, 2011 by Jeff



This documentation is concerned strictly with the binary install of geoserver. For the WAR installation please review the Web Archive (WAR) documentation at http://docs.geoserver.org



Regarding MrSID, I'm unfamiliar with that format and it is proprietary. It sounds like a job more appropriate to GDAL, perhaps the following is helpful osgeo.org's MrSID wiki, but it sounds like something that GDAL supports.



Regardless both of these requests are outside the scope of this writeup. Good Luck!







About Sun vs OpenJDK


Submitted on April 16th, 2011 by Andrea Aime



Hi,

about the Sun vs OpenJDK option, two observations:




  • the GeoServer and GeoTools developers use Sun JDK, as well as the automated build bots that build it various times a day (continous integration). So it may work well, but may also break unexpectedly


  • benchmarks showed in the past that OpenJDK is significantly slower than Sun JDK when it comes to drawing vector maps. If you only deal with raster data or just do WFS/WCS it's not going to be a big deal anyways







initd


Submitted on June 30th, 2011 by michsred



Hi,



I set up geoserver to run automaticaly after system boot using your instructions. This is what I get when I check if geoserver is running:



ps aux | grep java

110 7620 13.4 8.9 786872 140040 ? Sl 13:30 0:08 /usr/lib/jvm/java-6-sun/bin/java -Xms128m -Xmx512m -server -DGEOSERVER_DATA_DIR=/usr/local/geoserver/data_dir -Djava.awt.headless=true -jar start .jar


1000 9572 0.0 0.0 6152 644 pts/0 S+ 13:31 0:00 grep --color=auto java



sudo lsof | grep TCP | grep geoserver

java 7620 geoserver 202u IPv6 2855578513 TCP *:33630 (LISTEN)



and I can not connect to geoserver GUI via internet browser, funny thing is that this solution works on my Ubuntu Desktop running on localhost:8080 with absolutely no problems but It doesn't work on Ubuntu Server on port 80 (geoserver works on this Ubuntu Server on port 80 when I run it manualy).



Thank you in advance for any sugestions!







been through hours and hours of this


Submitted on July 11th, 2011 by tiredofiitall



Hello, I have been at installing geoserver on ubuntu for about a week. Searched many sites and been on geoserver chat for hours, cant seem to get it. I am willing to pay someone to install this on my dedicated server. replay with a way to contact you. Thank!!







TCP *:http-alt (LISTEN) seems to fail


Submitted on July 14th, 2011 by H Hobson



Hello,



I too want to thank your putting this install guide on the Internet.



By looking below, it appears that part is working. TCP *:http-alt (LISTEN) did not come up. Please let me know if you have run into this before. Thank you ! Harry



harry@harry-laptop:~/geoserver-2.1-RC4/bin$ sudo lsof | grep TCP | grep geoserver



lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/harry/.gvfs



Output information may be incomplete.



java 2450 geoserver 225u IPv6 74713 0t0 TCP *:46462 (LISTEN)







TCP *:http-alt (LISTEN) seems to fail --- never mind


Submitted on July 15th, 2011 by H Hobson



Never mind. The problem is something else







sudo: /etc/init.d/geoserver: command not found


Submitted on July 14th, 2011 by H Hobson



Hi,



This, most likely, is the real problem.



$:/opt/geoserver/bin$ sudo /etc/init.d/geoserver start

sudo: /etc/init.d/geoserver: command not found



Please let me know what I can look for solve this.



Thank you,

Harry







It looks like you skipped the


Submitted on July 22nd, 2011 by Jeff



It looks like you skipped the section "Setup startup script"







TCP *:http-alt (LISTEN) is absent


Submitted on August 24th, 2011 by James



This has been a tremendously detailed tutorial. Thank you. I have followed all the required steps, the results of the sudo lsof | grep TCP | grep geoserver command only yields the following:



java 1324 geoserver 217u IPv6 5336 0t0 TCP *:38705 (LISTEN)



The TCP *:http-alt (LISTEN) output is absent. Does any one know what the issue might be? I am installing this on Ubuntu 10.04 Server. I have designated the /var/www/geoserver as the home directory, so when I go to www.mydomain.com/geoserver, I get the list of files and folders in /var/www/geoserver.



The output of lsof | grep geoserver is below:

smbd 698 root 22u IPv6 3568 0t0 TCP *:microsoft-ds (LISTEN)


smbd 698 root 23u IPv6 3570 0t0 TCP *:netbios-ssn (LISTEN)


mysqld 1158 mysql 10u IPv4 4121 0t0 TCP localhost:mysql (LISTEN)


postgres 1180 postgres 3u IPv6 4859 0t0 TCP localhost:postgresql (LISTEN)


postgres 1180 postgres 6u IPv4 4860 0t0 TCP localhost:postgresql (LISTEN)


sshd 1233 root 3u IPv4 4648 0t0 TCP *:ssh (LISTEN)


sshd 1233 root 4u IPv6 4650 0t0 TCP *:ssh (LISTEN)


java 1324 geoserver 217u IPv6 5336 0t0 TCP *:38705 (LISTEN)


apache2 1375 root 3u IPv4 5133 0t0 TCP *:www (LISTEN)


samba 1382 root 22u IPv4 5224 0t0 TCP *:1024 (LISTEN)


samba 1382 root 25u IPv4 5229 0t0 TCP *:loc-srv (LISTEN)


apache2 1395 www-data 3u IPv4 5133 0t0 TCP *:www (LISTEN)


apache2 1398 www-data 3u IPv4 5133 0t0 TCP *:www (LISTEN)


apache2 1399 www-data 3u IPv4 5133 0t0 TCP *:www (LISTEN)


java 1424 root 34u IPv6 5300 0t0 TCP *:http-alt (LISTEN)


java 1424 root 41u IPv6 5302 0t0 TCP *:8009 (LISTEN)


java 1424 root 43u IPv6 5308 0t0 TCP localhost:8005 (LISTEN)


sshd 1482 root 3u IPv4 5351 0t0 TCP 192.168.1.11:ssh->dhcp-20-41.xxxx.xxxx.xxxx:50937 (ESTABLISHED)


sshd 1649 acer 3u IPv4 5351 0t0 TCP 192.168.1.11:ssh->dhcp-20-41.xxxx.xxxx.xxxx:50937 (ESTABLISHED)


apache2 1670 www-data 3u IPv4 5133 0t0 TCP *:www (LISTEN)


apache2 1674 www-data 3u IPv4 5133 0t0 TCP *:www (LISTEN)


apache2 1676 www-data 3u IPv4 5133 0t0 TCP *:www (LISTEN)


apache2 2421 www-data 3u IPv4 5133 0t0 TCP *:www (LISTEN)


apache2 2468 www-data 3u IPv4 5133 0t0 TCP *:www (LISTEN)


apache2 2536 www-data 3u IPv4 5133 0t0 TCP *:www (LISTEN)


sshd 2538 root 3r IPv4 53465 0t0 TCP 192.168.1.11:ssh->dhcp-20-41.xxxx.xxxx.xxxx:53820 (ESTABLISHED)


sshd 2640 acer 3u IPv4 53465 0t0 TCP 192.168.1.11:ssh->dhcp-20-41.xxxx.xxxx.xxxx:53820 (ESTABLISHED)


apache2 2646 www-data 3u IPv4 5133 0t0 TCP *:www (LISTEN)



I'd appreciate your advice.



Thanks again.







Linux packages also available


Submitted on August 12th, 2011 by OpenGeo



Hi all. Note that OpenGeo now hosts GeoServer as standard RPM and DEB packages to make it even easier to install via standard means on Linux.



Here are some details on Ubuntu:



Installing GeoServer on Ubuntu



And CentOS too, for completeness:



Installing GeoServer on CentOS







tuff to install on ubuntu


Submitted on September 13th, 2011 by Anonymous



i am also trying to install geoserver on ubuntu.

here i m getting a message of command not found


sudo: /etc/init.d/geoserver: command not found


please hep to resolve this


thanks







Jeff, Thanks a lot for great


Submitted on October 16th, 2011 by radek



Jeff,



Thanks a lot for great tutorial! Followed the steps and now can confirm it works without issues in 11.10.



r





Installing geoserver on ubuntu 10.04

Installing GeoServer on CentOS

The easiest way to install and set up GeoServer is by installing the full OpenGeo Suite. The OpenGeo Suite comes complete with GeoServer as well as a full geospatial software stack, including utilities, data, and documentation. That said, OpenGeo also provides individual packages for installing the components separately.

This page will describe how to install GeoServer on CentOS 5. Earlier versions of CentOS are not supported at this time.

Access the OpenGeo RPM repository

OpenGeo provides a repository for packages in RPM format. To access this repository, you need to first add the OpenGeo Yum repository to your local list of repositories: These commands differ depending on whether your system is 32 or 64 bit.

Note

You will need to run these commands on an account with root access.

For 32 bit systems:

cd /etc/yum.repos.d
wget http://yum.opengeo.org/centos/5/i386/OpenGeo.repo


For 64 bit systems:



cd /etc/yum.repos.d
wget http://yum.opengeo.org/centos/5/x86_64/OpenGeo.repo


Package management



Search for packages from OpenGeo:


yum search opengeo


If the search command does not return any results, the repository was not added properly. Examine the output of the yum command for any errors or warnings.



Now you can install GeoServer. The name of the package is opengeo-geoserver:



yum install opengeo-geoserver


After installation



When completed, GeoServer will be installed as a servlet inside the local version of Tomcat. Assuming that Tomcat is running on the default port 8080, you can verify that GeoServer is installed by navigating to the following URL:



http://localhost:8080/geoserver/


This will load the Web Administration Interface. Most management of GeoServer functionality can be done from this interface.



Note



The username and password for the GeoServer administrator account is admin / geoserver



For more information about running GeoServer, please see the GeoServer Documentation



Installing GeoServer on CentOS

Thứ Tư, 9 tháng 11, 2011

Ubuntu GIS project Issue Tracker and Wiki

This site provides project management support, bug/issue tracking, and viewing of the Subversion source code repository.

Login

To submit issues you need an OSGeo id

Report a Bug

Use the New Ticket button to report a bug. You must have an account and be logged in to submit a bug.

General Contents

Users

UbuntuGIS

UbuntuGIS

Your Ubuntu is ready for daily, professional GIS work. Getting started it's just a matter of minutes. After adding the UbuntuGIS repository corresponding to their distribution (in sources.list), you can easily install on your machine each of the GIS applications listed below (in brackets the package name), through the Synaptic Package Manager or typing sudo apt-get install program-name from the command line, just like any other package.

General Contents

For users

UbuntuGIS FAQ

  • Q: Is UbuntuGIS another, separate, distribution? Or a subset of packages that I can install as a whole on my machine? Or an external repository?

    • A: An external repository (PPA). UbuntuGIS is a repository that can be added in your sources.list which will provide up to date packages.

  • Q: Do you just repackage the DebianGIS packages?

    • A: Basically, yes. We rebuild/adapt the DebianGIS packages in the different Ubuntu distributions.

  • Q: Can I install DebianGIS packages on Ubuntu?

    • A: You can try, but it's not recommended. Ubuntu and Debian have source compatibility (e.g. they are built from the same sources), but binary compatibility is not guaranteed to work. Add to this that many packages may have different names due to different compile environments, and you'll see it can be a bit frustrating. However, it might work for you if you manage to tweak the packages to work.


For developers and packagers

See also

UbuntuGIS Packages

You can see the current packages that are in the UbuntuGIS repository on our launchpad page: https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable

Quantum GIS (QGIS) packages

Quantum GIS is now in the UbuntuGIS repository, but also provides a Debian/Ubuntu repository for nightly builds of the trunk development version. See:

http://www.qgis.org/wiki/Download#Ubuntu

UbuntuGIS - Ubuntu Wiki

Installing MapServer on Ubuntu

With this post I will show hot to install MapServer 4.10.3 in Ubuntu 7.10 (but this procedure should work also for previous Ubuntu versions) from repositories.

1) set Ubuntu sources needed for this software

Add universe ( http://archive.Ubuntu.com/gutsy/universe ) and multiverse repositories to your sources (by default are not in Ubuntu)

sudo gedit /etc/apt/sources.list


and uncomment this two lines:



deb http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse


save the sources.list file and then then update your sources:



sudo apt-get update


2) Install MapServer



now download and install MapServer:



sudo apt-get install cgi-mapserver mapserver-bin mapserver-doc php5-mapscript python-mapscript


MapServer 4.10.3 will be installed (latest of MapServer 4.x serie, the actual MapServer is at 5.0.0), as indicated by typing:



/usr/lib/cgi-bin/mapserv -v
MapServer version 4.10.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG


This is where packages have been installed:




  • mapserv is installed from cgi-MapServer package in /usr/lib/cgi-bin


  • command line utilities (like shp2img) are installed by the mapserver-bin package in /usr/bin


  • some documentations is installed by the mapserver-cod package in /usr/share/doc/mapserver-doc



Test mapserv for cgi by typing (it should work as far you have left the default web site in Apache 2.2): http://localhost/cgi-bin/mapserv



Make sure your MapServer instance is now working before continuing with the other installation steps of this tutorial.



Having this instance correctly working is as much important as to have an updated version of your browser when you go to free poker sites, or when you make a connectivity check to a freshly installed RDBMS.



3) Download MapServer Demo



Download the MapServer 4.x Demo Application from the MapServer web site: http://maps.dnr.state.mn.us/mapserver_demos/workshop.zip



extract the zip file wherever you like, for example i have extracted it here: /home/corti/public_html/mapserverdemo



4) Configure Apache httpd



Configure an httpd virtual host for MapServer. For example we will create a mapserverdemo virtual host editing the default file



sudo gedit /etc/apache2/sites-available/default


this is how I created this virtual host (you may need to change path according to where you have extracted the demo zip file):



<VirtualHost *:80>
ServerName mapserverdemo
DocumentRoot /home/corti/public_html/mapserverdemo

<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>


ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<span class="nt">&lt;Directory</span> <span class="err">&quot;/usr/lib/cgi-bin&quot;</span><span class="nt">&gt;</span>
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
<span class="nt">&lt;/Directory&gt;</span>

ErrorLog /var/log/apache2/mapserverdemo_error.log.
LogLevel warn
CustomLog /var/log/apache2/mapserver_access.log combined
ServerSignature On


</VirtualHost>



now let's add a mapserverdemo host:



sudo gedit /etc/hosts


and add this line: 127.0.0.1 mapserverdemo



save the file and restart Apache:



sudo /etc/init.d/apache2 restart


create a tmp directory in your mapserverdemo root, with writing permissions for the Apache user



Now if you go to http://mapserverdemo/workshop/ you will see a form, but after that it will not work as far we need to add the html form settings to our settings. If you go at: http://mapserverdemo/cgi-bin/mapserv you should get this response:



No query information to decode. QUERY_STRING is set, but empty.


5) Configure the MapServerDemo



Now let's configure the demo with our settings. Edit this section in index.html file (wherever you have extracted the demo), according to your settings:



    <!-- EDIT THE FORM ACTION -->
<form name="demo" method="GET" action="/cgi-bin/mapserv" onSubmit="submit_form()">
.......
<!-- EDIT THESE HIDDEN VARIABLES -->
<input type="hidden" name="map" value="/home/corti/public_html/mapserverdemo/workshop/itasca.map">
<input type="hidden" name="program" value="/cgi-bin/mapserv">
<input type="hidden" name="root" value="/mapserver_demos/workshop">
<input type="hidden" name="map_web_imagepath" value="/home/corti/public_html/mapserverdemo/tmp/">
<input type="hidden" name="map_web_imageurl" value="/tmp/">


go to: http://mapserverdemo/workshop/ and the demo should work. Enjoy!



Installing MapServer on Ubuntu

Adding Ubuntu GIS repository to your system's software sources

To use Ubuntu GIS packages, you need to add the repository to your system's software sources.

Verify that your ubuntu distribution is supported by the Ubuntu GIS project: List of the supported distributions

Add the sources.list entries

Ubuntu GIS has two different PPA:

  • Stable: updated every six months, contains a stable state of the unstable ppa ( https://launchpad.net/~ubuntugis/+archive/ppa )
    sources.list entries:
       deb http://ppa.launchpad.net/ubuntugis/ppa/ubuntu <codename> main 
    deb-src http://ppa.launchpad.net/ubuntugis/ppa/ubuntu <codename> main



  • Unstable: updated frequently, contains the up-to-date packages. This ppa may break something. ( https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable )


    sources.list entries:

       deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu <codename> main 
    deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu <codename> main




Convenient Method


Starting with Ubuntu 9.10 (Karmic Koala), a convenient new command is available for adding Launchpad PPA (Personal Package Archive) repositories via the command line: add-apt-repository.



sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable


or for the stable PPA:



sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ubuntugis/ppa


That's it! (And make sure you install only one of the two repositories and not both)



Manual Method


See the sources.list entries above and replace the <codenane> tag by your distribution codename. The command "lsb_release -c" will tell you what is the codename of your system.



1. Open the file /etc/apt/sources.list with a text editor and append the entries to the file.



2. Authenticate the repository. Open your terminal and enter:



sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 314DF160 


314DF160 is the OpenPGP key of the Ubuntu GIS repository



If you prefer adding the entries using the GUI, see this page: https://launchpad.net/+help/soyuz/ppa-sources-list.html



3. Update your system's package list:



sudo apt-get update


Download in other formats:


UbuntuGISRepository – UbuntuGIS

Thứ Bảy, 5 tháng 11, 2011

The OpenGeo Suite

See videos and screenshots of the OpenGeo Suite in action or try our online demos to edit data, style layers, and compose maps.

Videos

Watch these short videos to learn what the OpenGeo Suite can do for you. Keep checking back, as we'll be adding more videos soon!

Publish a Map
The OpenGeo Suite allows you to easily create and embed a dynamic map in any web page. Use your data, or pull data from a variety of sources. Create mashups with Google, or make your own custom map.
The Dashboard
Manage all components of the OpenGeo Suite, from PostGIS to GeoServer to GeoExplorer, from one convenient interface. Try the Dashboard online.

Screenshots

Here you'll find screenshots of the OpenGeo Suite in action. To really get to know the OpenGeo Suite, you'll want to try it out for yourself.

Manage the components of the OpenGeo Suite with the Dashboard. Try the Dashboard online.

Customize file system data and passwords from one convenient interface.

Use PostGIS, a geospatial database built on top of PostgreSQL, to manage your data.

Import shapefiles directly into your PostGIS database with pgShapeloader.

Serve your data with GeoServer, and output in many popular formats such as OpenLayers and Google Earth.

Use embedded tools such as Suite Analytics to view and manage server load.

Easily import shapefiles and data tables from PostGIS, ArcSDE, and Oracle.

Add, modify and delete geographic features with GeoEditor, a web-based JavaScript application. Try GeoEditor online.

Style your maps with Styler, a graphical style editor. Try Styler online.

Styler allows for deep visual customization, including scale- and attribute-based styling.

GeoExplorer can replace standard desktop-based GIS tools. Try GeoExplorer online.

Compose and publish your maps with GeoExplorer.

Embed composed maps in your websites and applications.

View your layers in 3D with Google Earth.

Learn how to develop your own applications built on the OpenGeo Suite using the included Recipe Book.

Comes packaged with complete, web-based documentation.

Get help when you need it on the OpenGeo forum

Homepage

OpenGeo : See

Thứ Sáu, 28 tháng 10, 2011

Hà nội của tôi


Hà Nội Project: 

Đây là WebGIS Hà Nội. (Chỉ sử dụng được trong giờ hành chính Nụ cườiNụ cườiNụ cườiVì chưa có tiền.)

Projeck đang trong quá trình thử nghiệm. Mong các bạn đóng góp ý kiến.

Thứ Năm, 27 tháng 10, 2011

Autodesk MapGuide Enterprise, Autodesk MapGuide Studio training guide

image

Chapter 1: Introduction to Autodesk MapGuide Enterprise ..............................  1
Lesson: Introduction to Autodesk MapGuide Server ..........................................  2
About MapGuide Server  ...........................................................................  3
About MapGuide Web Server Extensions .................................................  4
About MapGuide Site Administration .......................................................  6
Lesson: Introduction to Autodesk MapGuide Studio ..........................................  8
About Autodesk MapGuide Studio ...........................................................  9
Finding Data  ............................................................................................  10
Building Layers  ........................................................................................  11
Making Maps  ..........................................................................................  13
Placing Maps on the Internet .................................................................  15
About Viewers  ......................................................................................... 18
Lesson: Feature Data Objects ‐ FDO ................................................................  19
About Feature Data Objects ‐ FDO .........................................................  20
FDO Application Programming Interface (API) ........................................  21
Chapter Summary  ...........................................................................................  23
 
Chapter 2: Autodesk MapGuide Enterprise Server .......................................... 25
Lesson:  Installation  ............................................................................................  26
Installing MapGuide Enterprise Server for Windows ..............................  29
Exercise: Installing Autodesk MapGuide Enterprise Server 
and Web Extensions  ....................................................................... 31
Lesson: Server Configuration  ............................................................................  35
About the Site Administrator ..................................................................  36
Exercise: Create New User Groups .........................................................  41
Exercise: Create New Users  ....................................................................  43
Exercise: Assign Roles  .............................................................................  45
Exercise: Create Alias  ..............................................................................  47
Exercise: Load a Package  ......................................................................... 48
Chapter Summary  ...............................................................

Chapter 3: Authoring with Autodesk MapGuide Studio ............................... 51
Lesson: Data Connections  .............................................................................  52
About Data Management  ...................................................................  53
Connecting with FDO Data Sources ....................................................  54
About Unmanaged Data Sources ........................................................  55
Using Data Source Preview .................................................................  56
About Feature Joins  ............................................................................  58
Exercise: Using Studio to Create Project Folders ................................. 60
Exercise: Creating a Data Connection to a Microsoft Access 
Database  ....................................................................................  62
Exercise: Creating a Data Connection to a SHP Folder ........................  65
Exercise: Creating a Join between SHP and ODBC Database ...............  67
Lesson: Data Loading  ....................................................................................  69
About Data Loading  ............................................................................  70
Loading Raster Data  ............................................................................  72
Exercise: Load SHP Files with a Load Procedure .................................  74
Exercise: Load Raster Files with a Load Procedure .............................  77
Lesson: Layers  ...............................................................................................  79
About Layers  .......................................................................................  80
User‐Defined Line Styles and Symbols ................................................  84
Advanced Stylization  ...........................................................................  87
Exercise: Create a Point Layer from a Database .................................. 92
Exercise: Create a Themed Zoning Layer ............................................  94
Exercise: Create a Roads Layer ...........................................................  97
Exercise: Create a Layer with Joined Database .................................  100
Exercise: Create an Airphoto Layer ...................................................  103
Lesson: Maps  ............................................................................................... 105
Create the Map  .................................................................................  106
Add Layers  ......................................................................................... 107
Exercise: Create a New Map .............................................................  109
Chapter Summary  .......................................................................................  112
 
Chapter 4: Basic and Flexible Web Layouts ...............................................  113
Lesson: Basic Web Layouts  .........................................................................  114
About Web Layouts  ........................................................................... 115
Exercise: Create a New Web Layout .................................................  117
About Customizing Basic Layouts .....................................................  120
Built‐in Commands  ............................................................................ 121
Custom Commands  ...........................................................................  122
Exercise: Customize the Web Layout ...............................

Lesson: Flexible Web Layouts ...................................................................... 129
About Flexible Web Layouts .............................................................  130
Layout Templates  ..............................................................................  131
Exercise: Create a Flexible Web Layout ............................................. 133
About Toolbars  ..................................................................................  136
Customizing the Search Component .................................................  138
Creating an Overview Map ...............................................................  141
Exercise: Customize the Task Pane .................................................... 143
Exercise: Create a Search Component ..............................................  145
Chapter Summary  .......................................................................................  149
 
Chapter 5: Application Development ......................................................... 151
Lesson: Development Language Options ....................................................  152
About Programming Languages ........................................................  153
PHP, ASP.NET, and JSP/Java ...............................................................  154
Lesson: Web Server Extensions API ............................................................  157
About Site Service  ............................................................................. 158
Resource Service  ...............................................................................  159
Feature, Mapping, Drawing, and Rendering Services .......................  162
Exercise: Explore the Web Server Extensions API Help .....................  165
Lesson: FDO, Viewer, and Studio APIs ......................................................... 168
FDO API  .............................................................................................  169
About the Viewer API  .......................................................................  172
About the Studio API  ........................................................................  178
Lesson: Choosing Your Development IDE .................................................... 186
IDEs  ...................................................................................................  187
Chapter Summary  .......................................................................................

Download

Thứ Ba, 25 tháng 10, 2011

Free Online OS to Access From Any Part of The Web

1. EyeOS
eyeOS is an open source web desktop following the cloud computing concept that leverages collaboration and communication among users. It is mainly written in PHP, XML, and JavaScript. It acts as a platform for web applications written using the eyeOS Toolkit. It includes a Desktop environment with 67 applications and system utilities. It is accessible by portable devices via its mobile front end. Discover today the new eyeOS 2.0 with new base applications, desktop, kernel, libraries and services. Download
2. GLIDE
It is notable for operating on both desktop operating systems and mobile operating systems. Glide OS 4.0 is a comprehensive Ad-Free cloud computing solution. Glide provides a free suite of rights-based productivity and collaboration apps. This online operating system supports Windows, Mac-OS X, Linux, Solaris and Windows Mobiles also. Glide Premium Monthly for about $5 a month gets you 10GB. Download
3. Kidoz
The KIDO’Z Kid’s Web Environment is the safe, easy and fun way for young kids to surf their favorite sites, watch videos, play games, send emails, create and communicate without knowing how to read and write. Due to the fact there are any kids with different cultural and familiar backgrounds, this company has designed an inclusive way to satisfy a wide variety of preferences, so your kids have fun no mater where they are coming from. Download
4.  ZimdeskOS


ZimdeskOS is your computer on the web – the entire functionality of a PC – online. There is nothing to install. A web browser and internet connection are all you need to access your desktop, files and favourite applications. You can access your data anytime from anywhere, from any PC. It has a attractive graphics and a well organized menu system. Rather than group items together in the typical Windows-style pop up menu, you can choose from office applications, internet, media, or games. Some of the games are kind of fun, and the word processor and spreadsheet applications are perfectly serviceable. The Zim Manager allows users to find and organize files, set permissions, and compress files.Download


5. Atoolo
As an individual desktop and storage-location for your data, atoolo.com is accessable from any computer over the world – the only requirement is access to the internet. The newly launched English version offers an ajax interface along with 1GB of storage, an address book, messenger, PostAts, a type of sticky note, and image galleries, among other things.This new awesome free online-platform combines useful tools for daily work on PC. Download  and Desktop
6. Tonido
Tonido allows you to access and share your content directly through a web browser without uploading or worrying about storage limits. Share files, music, photos and calendar, download torrents and even manage your finances straight from your desktop. Free. This site also provides SDK for third party developers and an application hosting infrastructure. Tonido gives you the opportunity to get an array of applications, as well as a workspace, in addition to web share a wide variety of Photos and Jukebox.


7. Lucid desktop
Lucid is a free, open source web desktop, or webOS that lets you:
* Access your media, office documents, and other files anywhere.
* Stay up to date with Twitter, RSS feeds, and what’s happening on the web.
* Create great web applications in ridiculously short amounts of time.


8. Starforce

* Your desktop on the Web
* 5 GB storage & File Explorer
* Microsoft Office 2007
* Chat with your friends using Messenger
9. Cornelios
CorneliOS is an easy-to-use and cross-browser “Web Desktop Environment”, “Web Operating System” or “Web Office” and comes with a set of cool applications. CorneliOS includes a Content Management System (CMS) so that you can easily set up and manage your own website as well as a Database Management System that allows to rapidly build any kind of database application. Get CorneliOs now
10. Schmedley
Schmedley is the startpage that has so much more to offer. It is definitely the most visually appealing of the startpages out there, and their widgets, or schmidgets, are designed in a way that makes your web life so much easier. Just personalize Your Page Internet Search Image Search Weather Movies Games YouTube Google Maps Stocks Amazon RSS Clock Sticky and many more. The IM client they use is Meebo, allowing you to chat on any of the IM services out there from one convenient spot.

11. http://www.silveos.com/

12. http://www.gopc.net/ trả phí

13. http://dekoh.com

14. http://www.oos.cc



Nguồn

Thứ Hai, 24 tháng 10, 2011

Georeferencing using QGIS

Georeferencing using Quantum GIS (QGIS)

This process follows the basic principles of georeferencing

.

  • Input options: Most image files. QGIS on most platforms does not open JPEG2000 images, so you will need to convert these to TIFF. See GDAL conversion and transformation
  • Output options: A georeferenced image file - GeoTIFF
  • Strengths: It is free, open-source software, and intuitive to use. It offers a good range of coordinate systems, transformation methods, and image formats.
  • Weaknesses: Software is in development and can be regularly updated. This means it is always improving but can therefore be necessary to keep learning how to use it.
Software Download and Installation:
QGIS can be downloaded from the official Quantum GIS website. Once installed, you will also need to enable the Georeferencer plugin.
  • Open QGIS and from the menubar select Plugins > Manage Plugins, and select the GDAL Georeferencer plugin.
    Install QGIS Georeferencer Plugin

Workflow:

  1. Open your map in your Image Editing software.
    Crop the non-geographic parts of the map; ie. remove the margin areas outside the map boundaries. Some useful free software for editing and cropping images includes ImageMagick, Irfanview and GIMP.
  2. Open the QGIS software.
  3. To begin, you need to add a base map layer that you will use to georeference your map.
    A base map layer is basically an already georeferenced map.
    In QGIS we have the option of adding base mapping that is held in different file formats.
    It is possible to add images or datasets, and these can be either locally or remotely stored.
    Option 1 - Add a georeferenced image file - Raster Layer:
    Click this link to view a list of georeferenced maps we have available for you to use.
    From the top menu bar, click Layer, then select Add Raster Layer
    Adding a Raster Layer in Quantum GIS
    Use the File Browser to locate the base map file you want to add.
    Select it and click Open.
    The map should now be displayed in your workspace.
    All maps you add are displayed as layers in the Layers window found on the left hand side of the QGIS workspace.
    Quantum GIS Layers Window
    If you right click on a layer in the Layers window a menu will be displayed. Two useful zoom options are available in this menu. Use Zoom to Layer Extent to zoom to the extents of that Map Layer. Use Zoom to best Scale to zoom to the maps actual size based on its resolution.
    Note: Changing the Coordinate System of your Project or a Layer
    When QGIS is started, it sets the coordinate system to either that of your last project or defaults to the WGS84 Coordinate System. It is advisable to specify the coordinate system your project will use. Under the Settings option in the top menu bar, select Project Properties. The Project Properties dialogue box will be displayed. This dialogue box has options to select from a list of available coordinate systems or to search for a specific coordinate system by it's EPSG number. You can also change any Layers' coordinate system at any time by right clicking it in the Layers window and selecting Properties from the menu.
    Our georeferenced maps use either the
    British National Grid (EPSG:27700), or the Spherical Mercator coordinate systems. For further information, see our page on Coordinate Reference Systems.
    Option 2. Add a Web Map Service (WMS) layer from a web server.
    Click this link to view a list of WMS layers we have available for you to use.
    From the top menu bar, click Layer, then select Add WMS layer.
    Adding a WMS Layer in Quantum GIS
    The Add Layers From A Server window will open.
    Add WMS Window in Quantum GIS
    Add WMS Layer New Button Click the New button to set up a new WMS connection
    The Create a new WMS Connection dialogue box will open.
    Add WMS Layer New Button
    In the Name field type a name for the WMS connection (eg. Bartholomew Post Office plan, 1865).
    In the URL field, type the URL of the WMS layer you would like to add.
    If you are using one of our WMS layers, copy and paste it from our list of WMS layers
    You can of course, add a WMS layer from your own or another server that you are able to access.
    OK Button in QGIS Once you have completed these fields click the OK button. This will return you to the Add Layer from a Server window.
    Add WMS Layer Connect Button Now click the Connect button to connect to the WMS Layer.
    The WMS Layer will now be displayed as a list of layers.
    These layers correspond to the zoom levels of the WMS layer.
    Click on all the layers to select them.
    Add WMS Window in Quantum GIS
    Add WMS Layer Add Button Now click the Add button to finish adding the WMS layer to your workspace
    The WMS layer should now be displayed in your workspace and you can use the zoom and pan tools to navigate and view it within the QGIS workspace. You will find these in the toolbars displayed above the workspace.
    Pan and Zoom Tools in Quantum GIS
    Note: Changing the Coordinate System of your WMS Layer
    By default, QGIS uses the WGS84 coordinate system, and will add and project your layers accordingly. It is possible to select a different coordinate system for a WMS layer when adding it to your workspace. When following the workflow above, once you have connected to your WMS layer and it is displayed as a list in the Add Layer from a Server window, click the Change coordinate reference system button. A dialogue box will be displayed with options to select from a list of available coordinate systems or to search for a specific coordinate system by it's EPSG number. You can also change any Layers' coordinate system at any time by right clicking it in the Layers window found on the right hand side of your workspace and selecting Properties from the menu.
    Our georeferenced maps use either the
    British National Grid (EPSG:27700), or the Spherical Mercator coordinate systems. For further information, see our page on Coordinate Reference Systems.
  4. We are now ready to add the map we want to Georeference.
    From the top menu bar click Plugins and select Georeferencer then Georeferencer.
    This opens the Georeferencer window.
    Georeferencer Window in Quantum GIS
  5. We now want to open the map we would like to Georeference.
    In the Georeferencer window's top menu bar click File and select Open Raster.
    Now use the File Browser to locate the base map file you want to add.
    Select it and click Open.
    Your map should now be displayed in the Georeferencer window.
  6. To georeference your map you need to add sets of Control Points to move it in to the correct position.
    These sets of Control Points are used to link known locations on your map, and the georeferenced base map you have added.
    Use the zoom and pan tools found at the top of the Georeferencer window to move the map to a location that you want to set a Control Point.
    Control Point Tools in Quantum GIS
    Now go to the Workspace window that displays your base map.
    Use the pan and zoom tools at the top of this window to move the base map to the same location.
    Pan and Zoom Tools in Quantum GIS
    Return to the Georeferencer window and select the Add Control Point Tool.
    Now click on your map in the Georeferencer window where you want to set a Control Point.
    Adding Control Points in Quantum GIS
    This will set a point on your map and bring up the Enter Map Coordinates dialogue box.
    Enter Map Coordinates in Quantum GIS
    From Map Button in Quantum GIS Click the From map canvas button. The Workspace window will now be displayed.
    Now click on the base map at the matching location where you want to link your Control Point.
    Adding Control Points in Quantum GIS
    You will again be returned to the Georeferencer window.
    OK Button in QGIS Click OK to link the points you have set and finish setting this Control Point.
    The minimum number of Control Points you need to set is three. For a better fit you will need to add more control points.
    The Control Points you set are displayed in the Georeferencer Control Point (GCP) table at the bottom of the Georeferencer window.
    GCP Table in Quantum GIS
    Note: Deleting Control Points
    If you are not happy with the placement of a Control Point and would like to delete it you can do so by right clicking the entry in the Georeferencer Control Point Table and seleting delete. You can also delete Control Points using the Delete Control Point tool. Select this tool from the Georeferencing toolbar, then use it to click on the Control Point in either the Georeferencer window or the Workspace window.
  7. After placing the required number of Control Points, the Georeferencer window should look like this:
    Georeferencer points in QGIS
  8. To finish and save your Georeferenced map correctly you need specify what transformation method will be used to transform it in to its new georeferenced position.
    From the top menu bar of the Georeferencer window click Settings and select Transformation Settings.
    Transformation Settings in QGIS
    The Transformation Settings window is displayed.
    Transformation Settings in QGIS
    From the drop down menus, choose the Transformation Type and Resampling Method that will be used to output the new Georeferenced version of your map.
    Under Output Raster, browse to the location you would like to save your Georeferenced Map and give it a suitable file name.
    You can also specify the coordinate system the Georeferenced version map will be projected according to.
    For British National Grid, specify EPSG:27700 in the Target SRS field.
    Click the Load in QGIS checkbox.
    This will add the new Georeferenced map to QGIS once saved so that you can check the result.
    OK Button in QGIS Click OK
    Start Georeferencing Button To finish and export your georeferenced map, click the Start Georeferencing button found in the Main Toolbar at the top of the QGIS Workspace.
    Note: Further information for choosing Transformation Type and Resampling Method:
    In QGIS there are several methods for transforming the image, these include the linear / affine transformation, the Helmert, the 1st, 2nd and 3rd order polynomials, and the thin plate spline. These different Transformation Methods interpret your Control Points in different ways, and control how the map you are georeferencing is fitted and warped to your georeferenced base map.
    For best fit, the thin-plate spline or higher-number polynomial transformations are often best. The spline transformation, as a true rubber sheeting method, transforms the source Control Points exactly to the target Control Points, and optimises for local accuracy opposed to global accuracy.
    The Helmert transformation is often used for converting between coordinate systems in three-dimensional space. The higher-order polynomial transformations involve different degrees of warping, both of the source Control Points, and the pixels in between them.
    The Resampling method determines how the pixels are output for our new Georeferenced map, determining how they are converted from one pixel array to another. The Nearest Neighbour default ususally gives good results.

Nguồn