Hot answers tagged ubuntu
19
You can use ubuntugis ppa, which contains everything you need:
$ sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
$ sudo apt-get update
$ sudo apt-get install qgis
The system will take after the necessary dependencies
Your problem also suggests that you have broken dependencies for qgis. One way to fix this is to clean your cache by running ...
13
While your database is technically spatial at this point, you would only be working with the inbuilt pg geometry types.
In order to complete your installation, you do need to run the scripts as suggested.
You can find them in your /usr/share/postgresql/[version number]/contrib/ postgis sub-directory.
You should see the following:
legacy_minimal.sql ...
11
If you have Ubuntu 12.04, then you should have PostgreSQL 9.1, which makes things awesome for PostGIS 2.0, where you can use use the new EXTENSION framework. To spatially enable a database, use the DDL from a SQL window:
CREATE EXTENSION postgis;
See other details for installing PostGIS 2.0 from source for Ubuntu 12.04 here.
If you are using PostGIS ...
9
Practice using an Oracle VM Virtual Box and create a Ubuntu [12.04 LTS] install (use the iso from here http://www.ubuntu.com/download/desktop) on your current Windows PC and get use to the differences (some good, some not so much).
Created an 8GB VDI (Virtual Disk Image) and added the iso to the virtual disk
You can 'Try' Ubuntu or 'Install' Ubuntu - If ...
8
At present ArcGIS Desktop is not supported on the Linux platform but you can install Server platform software on Linux such as ArcGIS Server.
For more details please check ESRI FAQ: Will ArcGIS run on Linux?
See also Desktop GIS for Linux (in Linux Journal)
7
I just found the solution.
After the steps above, one has to actually add the functions to the postgresql database:
$ sudo su postgres
$ psql -d routing -f
/usr/share/postlbs/routing_core.sql
$ psql -d routing -f
/usr/share/postlbs/routing_core_wrappers.sql
$ psql -d routing -f
/usr/share/postlbs/routing_topology.sql
I hope this ...
7
As tile caches are pregenerated map images, you will really be testing the underlying map / wms / image server. Unless you are testing against a pregenarated cache, in which case you are testing the web server itself (Apache / IIS etc.).
Stress testing for websites is often done using JMeter. There was a recent series of posts on using JMeter at ...
6
First choose a distributions where you can find lots of help. Changing to an new OS is really hard transitioning. At the moment ubuntu seems to be the more user friendly.
Secondly learn your tools. eg. to install something on an debian system you just apt-get them.
eg for python:
sudo apt-get install python
for python's gdal binding:
sudo apt-get ...
6
The same applications are available, but the general experience will be much smoother, especially updates. Package managment is one of the key user-facing strengths of Linux. Everything you need is already packaged and only a gui or command away. No need for separate downloads or anything like that.
So install one of the buntu flavours and add the UbuntuGIS ...
6
UPDATE:
Did some digging around on the QGIS site. Apparently you need to install the python-gis package if you want to use the python plugins.
sudo apt-get install python-qgis
You should now be able to add new plugins :)
If I'm not mistaken, you need to enable the Plugins Installer. Just activate it in Plugins Manager.
6
I installed QGis 1.9 with adding repositories to source list:
deb http://qgis.org/debian-nightly precise main
deb-src http://qgis.org/debian-nightly precise main
And public key:
gpg --keyserver keyserver.ubuntu.com --recv 1F9ADD375CA44993
gpg --export --armor 1F9ADD375CA44993 | sudo apt-key add -
So far works fine and no problems with getting ...
6
If you want a painless install, you might want to start over and use the OpenGeo Suite version of PostGIS.
$sudo wget -qO- http://apt.opengeo.org/gpg.key | apt-key add -
$sudo echo "deb http://apt.opengeo.org/ubuntu lucid main" >> /etc/apt/sources.list
$sudo apt-get update
$apt-cache search opengeo
$sudo apt-get install opengeo-postgis
Or you could ...
5
You just need to give yourself ownership of the the /.qgis directory where the plugins will be install. Use the change owner command in the terminal:
sudo chown "your username" ~/.qgis
You may also need to make the chown command recursive to cover the folders and files within the ~/.qgis folder:
sudo chown -R "your username" ~/.qgis
4
I have faced the same problem: "Internal Server Error with Ubuntu 12.04".
Everything looked OK to me (I even run successfully a perl fcgi script to test FCGI in my apache server). I continually got an Internal Server Error when I run a get Capabilities request. The apache log file said "Premature end of script headers: qgis_mapserv.fcgi".
The problem was ...
4
You certainly don't need 10 different shapefiles.
You can load the same shapefile 10 times (into 10 different layers) and use the query definition (in Layer Properties - General tab) to define the class. Then you can turn the layers off and on as you like. This takes a little time to set it up but at least it does not clutter your harddrive with million ...
4
Smaran - here's how I managed to get this done. As jdeolive points out, this is unsupported, and I cannot vouch for how the heck I got this to work. I haven't done a ton of troubleshooting, so it's not really ready for primetime.
I'm making the assumption that you're trying to run the latest versions of various software, like Postgres & PostGIS, etc. ...
3
yes, most open source GIS products are available for Ubuntu and linux, try www.osgeo.org for a list of products or better yet try their live dvd which has a lot of them already installed in a linux machine which you can run from the DVD or from a virtual machine
http://live.osgeo.org/
there are also other options out there as well
3
Technically the only officially supported ubuntu version 10.04, for which packages are tested extensively on. So i am not surprised there are issues on newer versions.
That said, that script is only mandatory if you want to use a new feature of the OpenGeo Suite 2.5, which is a client app building utility (to be announced officially soon) If you don't need ...
3
It is not necessary to install JAI and ImageIO in order to run GeoServer. These two libraries are used by GeoServer "only" to improve the raster processing performance, but are not needed for vector layers.
If you need JAI and ImageIO later i.e. after installing GeoServer, it is still possible to install them.
3
ECW libraries are not open source software and cannot be freely distributed. You need to add manually the ecw support in your local copy of gdal. On ubuntu do this:
wget
http://de-mirror.org/distro/gentoo/distfiles/libecwj2-3.3-2006-09-06.zip
unzip libecwj2-3.3-2006-09-06.zip
cd libecwj2-3.3
./configure
make
sudo make install
sudo gdal-ecw-build ...
3
It seems QGIS is removed from Debian and Ubuntu Precise repositories:
Ubuntu-Package-Search: QGIS
UbuntuUpdates Info about QGIS
Debian Bug Report
The PPAs from UbuntuGis do not provide packages for Ubuntu Precise at the moment:
ubuntugis
ubuntugis-unstable
Update:
ubuntugis-unstable starts providing aQGIS package for Ubuntu Precise..
3
I attempt to answer your questions below:
Does it make sense to keep PostgreSQL and Geoserver on two separate instances? Or is it better to focus on one, more powerful server?
By the reported number of layers and features I think one server should be enough, but I suggest you do the math and find out the cheapest combination, then move your way up if you ...
3
Given that you are doing DB and Java and probably on the same machine - get a machine with as much memory as you can. The more memory you give both of those pieces the happier they will be and the faster your response times. That said - you are also going to be disk intensive operations for both so get some fast disks. Depending on what you are doing with ...
3
The UbuntuGIS-Unstable repository (https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable) currently has QGIS 1.7.4 for Ubuntu 12.04. Despite the "Unstable" name, the packages are typically more stable than the QGIS unstable repository.
If you really want to avoid unstable versions of the packages, just be vigilant when you run updates, and keep an ...
3
While the ArcGIs 9.4 (later 10) Beta was underway I was made aware that Esri was looking into Ubuntu but at this stage it is not supported, and does not work.
In saying this it does depend on which portion of ArcGIS Server you are looking at. If you are looking at the database portion, then you can install the database on your Ubuntu Server and then install ...
3
Τhe header files cannot be found on your local filesystem so you need to specify the include dirs when installing gdal via pip.
first download gdal:
pip install --no-install GDAL
then specify where the headers are:
python setup.py build_ext --include-dirs=/usr/include/gdal/
then install it:
pip install --no-download GDAL
Here's another way to ...
3
So, solved it. Environment variables needed setting according to the KDE (rather than plain ubuntu) method.
Using the instructions here (http://userbase.kde.org/Session_Environment_Variables/en) i created a script called 'gdal-qgis.sh' that contained just "export GDAL_DATA=/usr/share/gdal/1.9", and saved it to $HOME/.kde/env. Rebooted, and i can now convert.
...
3
As you've already discovered UbuntuGIS is not a GIS itself but a repository of GIS and related software. I suggest you try installing QGIS (from UbuntuGIS or qgis.org) and having a look at the How do I do that in QGIS page.
3
That file is part of the libpq-dev package:
So try installing libpq-dev which is the development library for postgresql:
sudo apt-get install libpq-dev
3
Right now, only the backend software is available for Ubuntu (ArcServer, ArcSDK). This is because many enterprise-level companies run Ubuntu, SUSE, or other Linux servers and Windows workstations. However, ArcGIS is not the only fish in the sea. Using free and open-source software, you can do almost everything that ArcGIS can, and a number of things that ...
Only top voted, non community-wiki answers of a minimum length are eligible


