Tag Info

Hot answers tagged

23

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 ...


12

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 ...


12

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 ...


10

Τ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 ...


9

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)


8

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.


8

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 ...


7

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 ...


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 ...


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

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


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

CentOS will work if you stick with a version that corresponds to one of the supported versions of RHEL but I doubt you'll have much luck with Ubuntu.


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

In Project Settings, you can specify if absolute or relative paths should be used. Dropbox can be a good solution if your files don't grow too big for the free data plan. If you provide more information about your requirements, we might be able to offer different solutions.


6

Sharpie is alright, but recently UbuntuGis team came in with some stable packages: https://launchpad.net/~ubuntugis/+archive/ppa?field.series_filter=precise, try them. apt-add-repository deb http://ppa.launchpad.net/ubuntugis/ppa/ubuntu precise main apt-add-repository deb-src http://ppa.launchpad.net/ubuntugis/ppa/ubuntu precise main apt-get install ...


6

The plugin manager and installer have been merged into a single tool now


6

This annoying issue occurs because libgdal was forked between libgdal1 and libgdal1h last year. Ubuntu GIS stable uses libgdal or libgdal1, Ubuntugis unstable uses libgdal1h. GDAL is a translator library for raster geospatial data formats. As a library, it presents a single abstract data model to the calling application for all supported formats. The ...


5

I have it on a verbal authority from ESRI that they were looking at Ubuntu during the ArcGIS 10 Beta. so based on this it is in the pipeline but how far they have gotten I could only speculate


5

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 ...


5

The Intergraph ECW JPEG2000 SDK v5.0 has been released and includes linux support. The ubuntugis-unstable ppa has been updated to include SDK v5.0 support in libgdal-ecw-src. Notes: As at 27 July 2013 build fails on 32bit Ubuntu ECW/JP2ECW drivers fail using Python bindings, gdal executables work fine. This SDK is licensed for Desktop use only and has ...


5

Yes, doing the following before running PIP appears to work: export CPLUS_INCLUDE_PATH=/usr/include/gdal export C_INCLUDE_PATH=/usr/include/gdal


5

selimnairb's answer is close but you wont have the headers unless you've installed libgdal-dev: sudo apt-get install libgdal-dev with that done, export CPLUS_INCLUDE_PATH=/usr/include/gdal export C_INCLUDE_PATH=/usr/include/gdal and then pip install GDAL The compilation ran to completion and I have GDAL in my virtual env. Phew!


5

You have the nightly builds (that's were 1.9.90+git20120502+6229eec~precise1 comes from - but strangly rather old) and a stable repository (either the qgis.org repository or ubuntugis) in your /etc/apt/sources.list. You should use just one.


5

i can install postgre 9.2 and postgis 2.03 using: -- INSTALL POSTGRESQL -- remove previous version sudo apt-get remove postgresql -- require sudo apt-get install libpq-dev sudo apt-get install python-software-properties sudo apt-get install software-properties-common -- add new repository sudo add-apt-repository ppa:pitti/postgresql sudo apt-get ...


5

Ok, although it is funny to answer my own question I think it might be useful also for other QGIS users. If you go to Muon Package Manager and in Software sources remove all QGIS related repositories like Ubuntugis etc. then you add these (obtained from QGIS website): deb http://qgis.org/debian-nightly raring main deb-src http://qgis.org/debian-nightly ...


5

Probably not exactly a GIS question, but since I have some notes about this, I will paste some of it here. When I need to access amazon services through gui, I use xubuntu (since it is more lightweight) and VNC. The following steps do the install, assuming you have xubuntu-desktop already installed. It comes from several online resources patched together ...


5

By default, you don't have PostGIS 2.0 but 1.5 (see http://packages.ubuntu.com/fr/precise/postgresql-9.1-postgis) By doing CREATE EXTENSION postgis; you're trying to initialize from PostgreSQL with the new loading mechanism a PostGIS version (1.5) that do not support it and in this case, you will need to follow the PostGIS 1.5 official doc If you need 2.0, ...


5

OpenGeo Suite 4 no longer creates a default database or user account. You can create these using the following steps: Run sudo su postgres -c psql to connect to the database. At the psql prompt enter CREATE ROLE opengeo PASSWORD 'opengeo' SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN; to create the opengeo user with the password opengeo. Now quit psql with ...



Only top voted, non community-wiki answers of a minimum length are eligible